File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts form window oriented?

erwin reinhoud
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a selection window build from a list in the actionForm. To make a selection from this list multiple ids are needed which are contained in the list. So, after a selection is made (hidden radio in table row) the ids are retrieved from the list based on the index (selected row).

The problem is that multiple selection windows can exist for an user, so with every last request the list is reset with backend data. So, opening first window with 10 results and then a second with 5 results will give a indexOutOfBoundException if the 10th row is selected of the first window.

Question: How to make struts window oriented?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic