Eugene wrote:
> Could you please provide me with more details:
> if I define variable with <bean:define id="x" value="SELECTED"/>
> Do we have any other way to call this "x" except <bean:write name="x"/> ?
>
> <logic:iterate id="currency" collection="<%=hashData.get("currency")%>">
> <logic:equal name="instrument" property="currency" value='<bean:write
name="currency" property="code"/>'>
> ...
> </logic:equal>
> ...
> </logic:iterate>
If I've got it right...
<c:forEach items="${hashData.currency}" var="curr">
<c:if test="${curr.code == instrument.currency}">
...display something...
</c:if>
</c:forEach>
Once you start needing tags-within-tags, switching to Struts-EL and JSTL
makes life *much* easier!
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management