• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2Jquery <sjg:> tag

 
James Peter
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please read the grid docs in the wiki.

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



Johannes
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic