You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "CRANFORD, CHRIS" <Ch...@setech.com> on 2010/02/12 21:07:30 UTC

s:select and indents

Is it possible to use the s:select tag in order to render a list of
values by allowing spaces to be used to indent the options in a
tree-like hierarchy or is there another preferenced way of doing this?

I found in the select.ftl template where I could change
"${itemValue?html}" to "${itemValue)" and it would work as I expected,
but I am wondering if there is another way to do this without modifying
the standard simple template for this UI object.

Thanks
Chris



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


Re: s:select and indents

Posted by DustFrog <ke...@goowy.com>.
Would using the optgroup tag in conjunction with the select tag meet your
needs?  Refer to the HTML documentation: 
http://struts.apache.org/2.0.14/docs/optgroup.html
-- 
View this message in context: http://old.nabble.com/s%3Aselect-and-indents-tp27568708p27570656.html
Sent from the Struts - User mailing list archive at Nabble.com.


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