What do you mean that browser displays & as &? Is it in source
code? Because that is right. The & needs to be escaped, but unless
your browser is broken the user should never see & unless he looks
to source code.

Anyway, label.setEscapeModelStrings(false) prevents wicket from escaping it.

-Matej

On Jan 13, 2008 1:35 PM,  <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I use
>
> Label(id, "A & B") and the "&" is supposed to be kept
> as is since it is what the title would read.
>
> but the browser displays
>
> A &amp; B
>
> What should I do to avoid this?
>
> Thanks



-- 
Resizable and reorderable grid components.
http://www.inmethod.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to