Re: disable attribute escaping
Hi, you can use #setEscapeModelStrings(false) to write non-escaped values into the body of tags. Why do you want to produce invalid XML/HTML? Sven On 06/12/2013 04:28 PM, Alfonso Quiroga wrote: Martin, thanks but I've already try that, and it does not work because when ComponentTag>>writeOutput() finally writes the attribute, it will escape characters. Thanks anyway On Tue, Jun 11, 2013 at 3:11 PM, Martin Grigorov wrote: Hi, textField.setEscapeModelStrings(false) On Tue, Jun 11, 2013 at 7:33 PM, Alfonso Quiroga wrote: Hi, looking at ComponentTag class, method writeOutput()... I suspect that is *impossible* to disable attribute escaping. I'm needing this because I use a read-only textfield, with values like "í", etc. where I don't want escaping. Any solution? thanks in advance - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: disable attribute escaping
Martin, thanks but I've already try that, and it does not work because when ComponentTag>>writeOutput() finally writes the attribute, it will escape characters. Thanks anyway On Tue, Jun 11, 2013 at 3:11 PM, Martin Grigorov wrote: > Hi, > > textField.setEscapeModelStrings(false) > > > On Tue, Jun 11, 2013 at 7:33 PM, Alfonso Quiroga > wrote: > >> Hi, looking at ComponentTag class, method writeOutput()... I suspect >> that is *impossible* to disable attribute escaping. >> >> I'm needing this because I use a read-only textfield, with values like >> "í", etc. where I don't want escaping. >> >> Any solution? >> >> thanks in advance >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: disable attribute escaping
Hi, textField.setEscapeModelStrings(false) On Tue, Jun 11, 2013 at 7:33 PM, Alfonso Quiroga wrote: > Hi, looking at ComponentTag class, method writeOutput()... I suspect > that is *impossible* to disable attribute escaping. > > I'm needing this because I use a read-only textfield, with values like > "í", etc. where I don't want escaping. > > Any solution? > > thanks in advance > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
disable attribute escaping
Hi, looking at ComponentTag class, method writeOutput()... I suspect that is *impossible* to disable attribute escaping. I'm needing this because I use a read-only textfield, with values like "í", etc. where I don't want escaping. Any solution? thanks in advance - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org