Remember that JSTL and struts are not the same.
Therefore, JSTL tags cant auto pick up the current element that a Struts tag
is looking at.
You should have: 

<nested:iterate id="foo" property="lineItems">
<!--
FS: <c:out value="${foo.fulfillmentStatus}"/>
SO: <c:out value="${foo.sampleOrigin}"/>
-->
<c:if test="${foo.fulfillmentStatus == 'In Process' && foo.sampleOrigin ==
'special_order'}">
... THIS IS NEVER DISPLAYED SINCE JSTL TAGS CAN'T FIND VARS ...
</c:if>
</nested:iterate>       

PS: (Not sure how you even get it to show up without the id attribute?)

-Tim

-----Original Message-----
From: Hunter Hillegas [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 1:20 PM
To: Struts List
Subject: Scope Issues Between Struts Tags and JSTL


I am trying to use both Struts tags and JSTL in a page.

I have the following:



Now, my JSTL tags can't find these variables in any scope. How should I
properly address the data?

Thanks,
Hunter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to