Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!