File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

placing a button in logic:iterate tag....

 
Sherry Chandra
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

i am having a problem with logic:iterate tag in Struts. Actually i want to have a button in each row that is created by the iterate tag so that when someone clicks the button he can update that particular row. For this i need the index of the row that has been clicked. i have a arraylist in session scope which has the rows from the database in the form of DO's.

i read somewhere that i need to keep a String and a int fields in the form bean and have a function like getIndex() but that too is not workin...it is always returning 0.

i dont know what is wrong. If hope u got my point.

Thanks in advance.
With Regds,
Sherry
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Web App Frameworks forum.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic