Thanks for your reply,
Maybe it's because I am using a <wicket:message key="foobar"/> in the
markup?!
There isn't really any code to show. I put the wicket:message into the
page, then i check the params coming in to the method.
I'll have a bit more of a play I think, but I would be interested in what
your results are with the <wicket:message key="foobar"/>
Rgds
Ned
Michael Sparer wrote:
>
> I just subclassed ComponentStringResourceLoader and tried calling
> getString("foobar"); from a page (that extends another page). There
> instanceof Page returns true. Maybe it'd be helpful to see some code (and
> your usecase 'cause maybe there's another way to do it).
>
> regards
> Michael
>
--
View this message in context:
http://www.nabble.com/loadStringResource%28Component-component%2C-String-key%29---correct-method-to-check-if-the-component-IS-a-Page--tp16930303p16955733.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]