You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Allen Lee <Al...@asu.edu> on 2008/10/09 23:27:23 UTC
html tags in a struts label
Hey there,
Is there a way to embed HTML in the label attribute of a struts tag? Right
now it looks like it escapes everything and leaves everything there
verbatim. I'd like to be able to embed hrefs and apply formatting to the
labels in my struts forms (and get the benefit of the contextual validation
instead of lumping errors all at the top of the form..). I can always
recreate the <label for='...'>...</label> to adhoc my way to a solution most
of the time but I was hoping there'd be a cleaner way.
Thanks!
Allen
Re: html tags in a struts label
Posted by Dave Newton <ne...@yahoo.com>.
--- On Thu, 10/9/08, Allen Lee wrote:
> Is there a way to embed HTML in the label attribute of a struts tag?
I think you'd need to modify the template (controlheader-core.ftl, IIRC?)
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org