I thank you ! On Mon, 18 Feb 2002 22:55:20 +1100 Arron Bates <[EMAIL PROTECTED]> wrote: >It's because you're trying to use the non-nesting tags in a nested >manner. Basically the text tags don't know that they're inside the >iterate tags. > >If you're running the nightly build, change the <html:text> to ><nested:text> and the <logic:iterate> to <nested:iterate>. If you're not >on the nightly build, get the tags in separate jar form from here... >http://www.keyboardmonkey.com/struts and do the same. > >Only other way is indexed tags, but you're already trying to logically >nest, so keep nestin'. > >The nested tags are the exact fit to what you expected from the tags. > >Arron. > >[EMAIL PROTECTED] wrote: > >>Here is my problem : >> >>I have a from with an according form class : >>public class OrderForm extends ActionFrom >>{ >>private String name; // name of the person that is ordering >>private ArrayList orderItems; // list of ordered items. >> >>// getters and setters ... >>} >> >>Each order item is a bean like this : >>public class ProductBean >>{ >>private String productName; // the name of the product >>private int number; // how many of this product do you want >> >>// getters and setters .. >>} >> >>I have a form on a jsp that diplayes a textbox for the name of the person that >>wants to order, and a textbox for each product so you can enter a number . >>The problem is that these numbers are not stored in the according ProductBeans. >> >>Here is my form. ( processOrder uses an OrderFrom >><html:form action="processOrder"> >><html:text name="orderFrom" property="name" /> >><logic:iterate id="item" name="orderForm" property="orderItems"> >><bean:write name="item" property="productName" /> >><html:text name="item" property="number" /> >><br/> >></logic:iterate> >> >><html:submit /> >></html:form> >> >> >>If I click the submit button, my action is called. The name is on the >>OrderForm, but there is not 1 number filled out !! >> >>How is this possible and how do I need to handle this problem . >> >>Thanks ! >>Geert >> >> >> > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >
-- Get your firstname@lastname email at http://Nameplanet.com/?su -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>