Do what the log message recommends to do: Don't call getString() in your
constructor.
Note that there are several other causes why a string might be retrieved
from the localizer prematurely, e.g. when calling
StringResourceModel#getString().
Hope this helps
Sven
On 11/09/2012 07:02 AM, chaitanya b wrote:
hi,
I am using wicket tabs functionality. its working fine. but i am getting war
message in log file.
The war message is like below
Localizer [WARN] 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. Offending
component: [MarkupContainer [Component id = panel]]
Can any one please provide me a solution avoid the warn message in log file
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Getting-warn-message-in-log-file-while-using-tabs-functionlaity-in-wicket-tp4653738.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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]