I was able to, with a bit of reading get the i18n working greate, and with the help got them to work in custom tags.
Now I have an issue, where the docs mention Unknown Translation as a config option. However I get the following error
Also the docs Unknown is spelled incorrectly on the closing tag.
The config.xml file does not validate with the framework’s schema. & The error details are:
[Error] :201:22: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘UnknownTranslation’. One of ‘{"":UknownTranslation}’ is expected.
As for your url mapping, that would work, basically /:uniqueString/:pageString
Will create two variables in the request collection
uniqueString =
pageString =
As for the {0} in the resource bundle strings, you should be able to use that, however, to replace them, I am not that quite familiar with it. You might want to post it in the forums also so we can get mr Paul Hastings to answer that question.
With the urlMapping, the problem I am having is the url itself.
/space/andrew-scott/test
I would hope would run the controller (handler) space, with the action defined in the routes.cfm however that is not the case. As it appears that I have to still do /space/action/andrew-scott/test as I was hoping to default the action or something. This is maybe not possible with Coldbox?
I kind of figured it out, I think I had a bug somewhere.
You talk about on the route itself, I found that if I do not pass an action. It will default to index, I am not sure how to override that if I need too.
Yeah that’s what I do like about Coldbox, its ease and power. There are a few things that I don’t know if they are possible or not, for example I do the following.
Which would run the handler myController.someAction, then I will need to setup a view for this. However, I was wondering if there is a possibility that the default eventView is the name of the action?
Now if you can incorporate GORM style into Coldfusion to give us DDD, you would be a winner in my books.
I love how grails has done some of its implementations and I was really happy to see that Grails and ColdBox are very very similar. what is DDD?
I have been pondering on several ideas on how to create a thin layer on top of existing ORM’s (Transfer/Reactor) for ColdBox, to leverage conventions, but still very early in just research. What would you like to see?