Re: [Wicket-user] Escaping German Umlauts

2007-06-03 Thread Kent Tong
Johannes Schneider johannes at familieschneider.info writes: I have found this method and discovered that it is not used within component. But I can't propose anything because I am a newbie to Wicket ;). Try: public class EscapingTextField extends TextField { public

Re: [Wicket-user] Escaping German Umlauts

2007-06-03 Thread Eelco Hillenius
On 5/31/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Johannes Schneider: can anyone tell me how I can escape German umlauts when using TextFields or Labels? Component.setEscapeModelStrings( true) does not replace them. And I really don't want to create a custom IModel

Re: [Wicket-user] Escaping German Umlauts

2007-06-03 Thread Johannes Schneider
Hi, I think it works as expected. Thanks for the fast change. Johannes Schneider Eelco Hillenius wrote: On 5/31/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Johannes Schneider: can anyone tell me how I can escape German umlauts when using TextFields or Labels?

Re: [Wicket-user] Escaping German Umlauts

2007-06-01 Thread Johannes Schneider
Hi, Jean-Baptiste Quenot wrote: Have a look at Strings#escapeMarkup(String, boolean, boolean) The last argument is called convertToHtmlUnicodeEscapes and by reading the Javadoc I think it does what you want. But now, that doesn't mean you can use it from the Component or

Re: [Wicket-user] Escaping German Umlauts

2007-05-31 Thread Jean-Baptiste Quenot
* Johannes Schneider: can anyone tell me how I can escape German umlauts when using TextFields or Labels? Component.setEscapeModelStrings( true) does not replace them. And I really don't want to create a custom IModel for every component I add Have a look at