struts2中的JQuery Grid - 初学者 [英] JQuery Grid in struts2 - beginner

查看:23
本文介绍了struts2中的JQuery Grid - 初学者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 struts2 和 JQuery 编程的新手.我是我的应用程序,当调用 loginAction 并且用户是管理员时,我将他们定向到 AdminLoadAction.此操作加载 adminHome.jsp.我需要的是 adminHome.jsp 使用 JQueryGrid 来显示系统中的所有客户.现在我的 AdminLoadAction 返回成功(我使用 jdbc 连接到数据库,所以我查询我的数据库并获取系统中所有客户的列表,这工作正常).

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).

我一直在努力寻找好的循序渐进的教程,但还没有找到.有人可以知道我需要做些什么改变才能实现这一目标.到目前为止,我已经下载并添加了 struts2-jquery 插件、struts2-jquery-grid 插件和 struts2-json 插件到我的项目中.

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.

谢谢!

推荐答案

你已经看过这个幻灯片了吗?

Have you already seen this slides?

http://www.slideshare.net/johannesgeppert1/引入到struts2-jquery-grid-tags

另一个很好的起点是研究 Showcase 中的示例和 展示网格应用程序.并查看围绕 Grid Tag 的 Wiki 页面.

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.

约翰内斯

这篇关于struts2中的JQuery Grid - 初学者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆