Localized string retrieved with a warning message

2008-09-18 Thread Azzeddine Daddah
Hi, I get the following warning message when trying to retrieve a localized string: *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

Re: Localized string retrieved with a warning message

2008-09-18 Thread Michael Sparer
string to my pages but I don't get warnings. Gr. Azzeddine - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/Localized-string-retrieved-with-a-warning-message-tp19547462p19547514.html Sent from the Wicket - User mailing list archive

Re: Localized string retrieved with a warning message

2008-09-18 Thread Azzeddine Daddah
me why am I getting this warning. I use the same strategy to add localized string to my pages but I don't get warnings. Gr. Azzeddine - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/Localized-string-retrieved

Re: Localized string retrieved with a warning message

2008-09-18 Thread Erik van Oosten
Are you sure that message is coming from this code? This code looks quite alright to me (though you could replace StringResourceModel(x, this, null) with ResourceModel(x), and change the parameter type to IModelString). Regards, Erik. Azzeddine Daddah wrote: Thanks Michael, I did but