Hi,
 
i'm trying to figure out a way to use a <bean:write> tag inside a <struts:checkbox> tag.  Is there a way???
 
This is what it should look like:
 
<jsp:useBean
    id="ViewOrderForm"
    scope="session"
    class="goes.somewhere.ViewOrderForm"
/>
 
<struts:form action="<%=request.getContextPath()+ \"/redirectAction.do\" %>"
          name="RedirectForm"
          type="goes.somewhere.RedirectForm" >
<struts:iterate id="element"
            name="ViewOrderForm"
            property="orderLI"
        >
 
    <struts:checkbox property="remove" value="<bean:write name="element" property="itemPK" />" />
 
</struts:iterate>
 
 
What it would do is submit the rendered value for the "remove" array of checkboxes so as to easily find and remove the correct item.
 
Any help is appreciated,
 
 
Chris Evans
Canlink Interactive Technologies

Reply via email to