Hi,

I've written my own class that extends ComponentStringResourceLoader (i
might change it to extend some other class)

At any rate, when loadStringResource(Component component, String key) is
called, and the component is a panel I can call "getModel" and retrieve the
model.

When the component is a Page, it comes in as
MarkupInheritanceResolver$TransparentWebMarkupContainer - and getModel
returns null (even if the page has had the model set).

So... how do I determine is the component is a page? - what is the condition
I should check?
-- 
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--tp16930303p16930303.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