Olivier Jacquet schrieb:
Yes, I figured out that much by now (I'm not that experienced with Java).
Yet, I think it is a feasable use case that you would want access to a
message catalog in an OptionModel, no?
well, guess you could write your own SelectModel, create it in your page and pass the messagecatalog
as a
constructor parameter to the SelectModel
class MyPage {
@Inject
private Messages messages;
private MyLocaleModel myLocaleModel;
void onPrepare() {
myLocaleModel = new MyLocaleModel(messages);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]