In the standard
struts tags, your only option is to use scriptlets instead of nesting tags.
However, in cases like this, I prefer to use the struts-el version of the tags. They allow you to embed EL expressions in the tags.
Using your example, the code would be:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el" prefix="html-el" %>
<html-el:hidden property="color" value="${colorSet.colorValue}"/>
Just remember to include the struts-el.jar file in your classpath.
[ December 18, 2005: Message edited by: Merrill Higginson ]