posted 12 years ago
Hello everyone.
I have following code
<c:forEach var="locn" items="#{com.locationQuotes}" varStatus="rowCounter">
<c:if test="${com.commodityCode == pvo.metal}">
<c:if test="${locn.location == pvo.location}">
<c:set var="#{locn.sp}" value="#{pvo.sp}"/>
<c:set var="#{locn.csp}" value="#{pvo.csp}"/>
<c:set var="#{locn.ic}" value="#{pvo.ic}"/>
<td width="32%" id ="#{pvo.equoteId}" class="ewTD" name="td-${locn.subscriptionCd}-last_price">#{locn.pfTick}</td>
<c:set var="flag" value = "Y" />
</c:if>
</c:if>
</c:forEach>
So while executing
<c:set var="#{locn.sp}" value="#{pvo.sp}"/>
<c:set var="#{locn.csp}" value="#{pvo.csp}"/>
<c:set var="#{locn.ic}" value="#{pvo.ic}"/>
values are not getting set. Please help on this also if any alternative is there then please reply for that.