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]