Hi,

How do you use the resource model in this behavior ?

On Mon, Dec 5, 2011 at 1:36 PM, cosmindumy <[email protected]> wrote:
> I solved the localization for most of the components except one. This is
> BeatyTipBehavior
> This is the code:
> sourceLanguageTooltip = new Label("sourceLanguageTooltip");
>        BeautyTipBehavior behavior = new BeautyTipBehavior(new
> ResourceModel("baloise.order.create.ordercreate.sourcelanguagetooltip"));
>        behavior.setFadeInOut(true);
>        sourceLanguageTooltip.add(behavior);
>
> It give me the message that it doesn't find the key, but surely the key is
> there. Any idea?
> I've got the same error with the code
> myLabel = new Label("id", new Model<String>(new
> ResourceModel("key").getObject()) ). but i solved by passing the
> ResourceModel directly to label. But for TolltipBehavior I found no
> solution.
>
> Thanks
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4160300.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to