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 th
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?
Harald Geritzer wrote:
Now, when you @Inject the messages in the OptionModel it is null when
you try to acc
Now, when you @Inject the messages in the OptionModel it is null when
you try to access it in getLabel() and I was wondering if that is
intended? Now I have to pass the catalog from my wrapper component
(SelectCountry) with its own catalog to my SelectModel which passes it
down to the OptionModel.
You have to be aware:
@Inject is intended for pages, components...
and if your option model is a service
then you have to inject services by declaring it in the constructor.
Davor Hrg
On 2/10/08, Olivier Jacquet <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> I'm trying to build a select component whi