Have you considered wrapping your parameters in models? In the
model.getObject you can then use your own toString function.

Maurice

On Wed, Apr 9, 2008 at 11:27 AM, TonyVegas <[EMAIL PROTECTED]> wrote:
>
>  Hi!
>
>  When setting a string via StringResourceModel and using parameters, the
>  default operation in Wicket for retreiving the parameters' strings is to
>  call PropertyVariableInterpolator.getValue(final String variableName) within
>  the localizer.
>  This operation retreives the string by simply calling the toString-method of
>  the parameter.
>
>  Our object's string representation is retreived by another operation though.
>  So we need to call this operation rather than the toString.
>  Is there any method to achieve this other than overwriting the localizer?
>
>  Greetings,
>  Tony
>  --
>  View this message in context: 
> http://www.nabble.com/StringResourceModel-parameter-substitutions-question-tp16582995p16582995.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]

Reply via email to