Hi All,

As part of a registration form, I want to have a checkbox that
lets the user agree to some terms:

( ) I agree to the _Terms of Service_

Where _Terms of Service_ should be a link to another page
with some legal mumbo jumbo.

The obvious code is:

<s:checkbox label="I agree to the <a href='legal.html'>Terms of Service</a>" name="agreeToTerms"/>

Unfortunately the HTML for <a> is encoded and rendered as code,
rather than as HTML:

( ) I agree to the <a href='legal.html'>Terms of Service</a>

Viewing the source shows that < and > have been changed to
&lt; and &gt;, respectively.

Is there a way to tell struts not to use the label text as-is?

                  - David -



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

Reply via email to