File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts2Jquery <sjg:> tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2Jquery <sjg:> tag" Watch "Struts2Jquery <sjg:> tag" New topic
Author

Struts2Jquery <sjg:> tag

James Peter
Ranch Hand

Joined: Sep 15, 2010
Posts: 115
Hi All,

I need to display my data using <sjg:grid tag in struts2jquery.

I want to pass the list of data bean from action class to jsp page and render grid. My code is like below.



in the jsp


But it is not rendering the table. please let me know where i am doing wrong.

Thanks
Peter
Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
please read the grid docs in the wiki.

for the grid you need a JSON Action which provides the data for the grid.



Johannes


My Java and Webprogramming Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts2Jquery <sjg:> tag