We have a mutli-language Application where Button values are rendered with
wrong and escaped Strings. Therefore our Button components have a default
Model which property is used to set the "value" attribute.
For example in French, the default Model String of a specific button is "S'
abonner" but the rendered value String is "S' abonner". 

Simplified it looks like this:


Just if I set


the Button value is rendered with the correct value (not escaped).
I think, that the method Button#onComponentTag(ComponentTag) should use
getDefaultModelObject() (which is a String) instead of
getDefaultModelObjectAsString().
Or do I miss something?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Button-value-with-escaped-Model-String-tp4653650.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to