Grid Control - Struts Integration

Good news for all you Struts developers! Our powerful grid can now integrate with the Struts framework. In reality, there's not much to it other than binding to the grid's set of data via the <jsp:useBean> tag.

In this example, a backend Struts action retrieves the grid's data from the database and then places it in the HTTP request object. In the JSP, once the data is "bound to" using the <jsp:useBean> tag, it is then passed into the grid via the datasrc attribute. From there, all actions against the grid (e.g. sort, page) are carried out via the <dotj:form> tag. Note that it is recommended to use the <dotj:form> tag when integrating with Struts.
Messages
 
Icon Message Forum Thread Name Email
 
My Icon M22 General 6 support support@dotjonline.com
  My Icon M23 New Tags / Features 7 support support@dotjonline.com
  My Icon M24 Email Tags 8 support support@dotjonline.com
  My Icon M25 Form Tags 9 support support@dotjonline.com
  My Icon M26 Format Tags 10 support support@dotjonline.com
Page 1 of 4 [ 1 2 3 4  ]  

Displaying page 1 - Rows 1 to 5
The above grid contains 18 records.

  Download Raw Data     Download Formatted Data
 DisplayGridAction.java   



          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.