aspose file tools*
The moose likes Struts and the fly likes Indexed properties problem- Confusing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Indexed properties problem- Confusing" Watch "Indexed properties problem- Confusing" New topic
Author

Indexed properties problem- Confusing

Swathi Prakash
Ranch Hand

Joined: Jan 18, 2005
Posts: 49
hai all,,

Please Help me.. How to use indexed properties..my jsp code i pasted below..i Dont knoe how to create the Form bean and how to get the values of jsp to action..

<%ArrayList values=(ArrayList)request.getAttribute("myarray"); %>
<logic:iterate id="MyBean" name="IPOListForm" collection="<%=values%>" property="MyArray">
<html:text name="MyBean" indexed="true" property="bidqty" indexed="true"/>
</logic:iterate>

this code generates number of text boxes according to the size of the arraylist..then how cani get the values in action .. and how to create the form for this page ...please help me..

Swathi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Indexed properties problem- Confusing