struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Rhoads <brho...@zethcon.com>
Subject Setting value at runtime in logic:equal
Date Tue, 21 Jun 2005 17:38:41 GMT

How do I test statusCode for some other property in my orderObj, instead 
of hard coding "On Hold" as I'm doing now?

 <logic:iterate id='orderObj' collection='<%= 
request.getAttribute("orders")  %>'>
        <tr class=lstLine1>
            <td>
                <logic:equal name="orderObj" property="statusCode" 
value="On Hold">
                    <html:multibox property='selectedOrders' 
disabled="false">
                        <bean:write name="orderObj" property="orderID" 
filter="true"/>-<bean:write name="orderObj" property="shipID" 
filter="true"/>
                    </html:multibox>
                 </logic:equal>
            </td>
        </tr>
    </logic:iterate>

Thanks for the help.

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


Mime
View raw message