Do you mean override the onbeforerender method of the current class or inside
the class of myCom object? Could you give an example?
> myCom.setMarkupId (getLocalizer().getString ("handle", MyPanel.this, new
> Model (handleId)));
igor.vaynberg wrote:
>
> set it in onbeforerender
>
> -igor
>
> On Fri, Jun 26, 2009 at 2:03 PM, OjO<[email protected]> wrote:
>>
>> 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]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/localizer-and-variables-tp16548684p24227830.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]