I am using the following:
myCom.setMarkupId (getLocalizer().getString ("handle", MyPanel.this, new
Model (handleId)));

but still getting WARNing:

Tried to retrieve a localized string for a component that has not yet been
added to the page. This can sometimes lead to an invalid or no localized
resource returned. Make sure you are not calling Component#getString()
inside your Component's constructor.

What would be the correct way to get a property resource when a String value
is needed?
-- 
View this message in context: 
http://www.nabble.com/localizer-and-variables-tp16548684p24227247.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to