Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can I select a row in the table

 
samir mohamed
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

When I make queries to a database, I display the ressults in the table using <layout:collection> defined in struts-layout.tld, as follows

<layout:collection name="users" styleClass="ARRAY">
<layout:collectionItem title="users.id" property="id"/>
<layout:collectionItem title="users.name" property="name"/>
<layout:collectionItem title="users.price" property="price"/>
</layout:collection>

how can I select a row in the table, I want to perform some queries upon the row selection, like delete, diplay details, etc..

Best Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic