Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery Grid in struts2 - beginner

Im new to struts2 and JQuery programming. Im my application, when the loginAction is called and if the user is an Admin i direct them to the AdminLoadAction. This action loads the adminHome.jsp. What i need is for adminHome.jsp to use a JQueryGrid to display all the customers in the system. Right now my AdminLoadAction returns success (i use jdbc to connect to DB so i query my db and get a List of all the customers in the system, which works fine).

I have been trying to find good step by step kind of tutorials but havent found any. Can Some one give an idea of what change will i need to do to achieve this. So far i have downloaded and added the struts2-jquery plugin, struts2-jquery-grid plugin and the struts2-json plugin to my project.

Thanks!

like image 698
rr87 Avatar asked Feb 18 '26 14:02

rr87


1 Answers

Have you already seen this slides?

http://www.slideshare.net/johannesgeppert1/introduction-into-struts2-jquery-grid-tags

Another good point to start is study the examples in the Showcase and Showcase Grid App. And take a look at the Wiki Pages around the Grid Tag.

Johannes

like image 159
Johannes Avatar answered Feb 20 '26 05:02

Johannes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!