2007-08-28
grails 与 extjs 整合
网上一个例子
http://dev.puchbauer.com/extui/extUi
下载地址
http://dev.puchbauer.com/extui/war/extui-0.1.war
同时上面也是grails的一个未发行的一个插件 的演示版本
http://plugins.grails.org/grails-ext-ui/
在grails的controller中获得json的方法是
http://dev.puchbauer.com/extui/extUi
下载地址
http://dev.puchbauer.com/extui/war/extui-0.1.war
同时上面也是grails的一个未发行的一个插件 的演示版本
http://plugins.grails.org/grails-ext-ui/
在grails的controller中获得json的方法是
import grails.converters.*
def list = {
def listResult = [ total: Book.count(), items: Book.list(params)]
render listResult as JSON
}
如果对domain中的属性改名称用
def treeNodes = Book.list().collect { book -> return [text: book.title, cls: 'file', leaf: true] }
下面是我收集到的相关资料
- 14:00
- 浏览 (1886)
- 评论 (3)
- 分类: grails
- 进入论坛
- 发布在 Groovy on Grails 圈子
- 相关推荐
评论
forgetdavi
2007-09-09
我也用了一些Groovy
lordhong
2007-09-02
agile_boy
2007-08-30
感谢dellsoft的实践!
不知道有人用extjs做过产品/项目没有?
不知道有人用extjs做过产品/项目没有?
发表评论
提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则
- 浏览: 14509 次
- 性别:

- 来自: 济南

- 详细资料
搜索本博客
我的相册
detail
共 1 张
共 1 张
最新评论
-
grails 导出 excel
你确认在你的controller中定义这个XlsExportService 吗 ...
-- by dellsoft -
grails 导出 excel
不能执行:java.lang.NullPointerException: Can ...
-- by ourfirebird -
jsecurity 资料
一直在关注中,其基于pojo的特性还是很诱人的.
-- by agile_boy -
extjs dwr spring
谢谢,学习,学习
-- by fang_qi -
grails 文档出来了
英文也够明白的啊,我觉得这个比其他的框架文档都要好,都很详细的,不用翻译了吧:)
-- by Fly_m






评论排行榜