The answer is easier if this .tag file contains no recursive calls.
The issue is that the .tag file receives attributes through jstl-el, not ognl. You can use the jstl-el c:set tag to promote that value into a namespace that's also accessible from ognl.

Alex Siman wrote:
/WEB-INF/tags/formField.tag
--------------------------------------------------------------
<%@ attribute name="fieldName" %>
<c:set var="fieldNameInTag" scope="request" value="${fieldName}"/>
<s:property value="%{#request.fieldNameInTag}"/>

-Dale

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

Reply via email to