Paste the code of the behavior.
I want to see what you do with the model inside.
Use any pastebin service to paste the code because it is easier to
read formatted and highlighted code ;-)

On Mon, Dec 5, 2011 at 1:48 PM, cosmindumy <[email protected]> wrote:
> I'm afraid I don't understand your question? What do you mean by "how do you
> use ResourceModel" ?
> Actually I have a class LTooltipBehavior that extends BeautyTipBehavior, but
> i alson tried with BeautyTipBehavior as you saw in the example and it didn't
> work.
>
> Here is the original code:
>  targetLanguageToolTip = new Label("targetLanguageToolTip");
>        targetLanguageToolTip.add(new LTooltipBehavior(new
> ResourceModel("baloise.order.create.ordercreate.targetlanguagetooltip")).setFadeInOut(true));
>        targetLanguageToolTip.setOutputMarkupId(true);
>
> and I also tried for test the following as you saw thinking that the problem
> is in my behavior:
>
> sourceLanguageTooltip = new Label("sourceLanguageTooltip");
>        BeautyTipBehavior behavior = new BeautyTipBehavior(new
> ResourceModel("baloise.order.create.ordercreate.sourcelanguagetooltip"));
>        behavior.setFadeInOut(true);
>        sourceLanguageTooltip.add(behavior);
>        sourceLanguageTooltip.setOutputMarkupId(true);
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4160335.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