6.1.1 Understanding Controllers and Actions》的相关内容

ZK plugin for Grails

Grails : agile, industrial strength, rapid web application development made easy! ZK: the simplest way to make Web applications rich! Do you want to combine both of them? 1. Install &a ...
by flyisland 2007-10-31 浏览 (1523) 回复 (2) 关键字: grails zk

怎么方便的遍历整个app里面的controllers,和actions

我想给我自己写的系统加入基于角色的权限管理 用的是rails recipes 里面推荐的方法 32号 把所有的controllers里面的actions放到一张rights里面 但是构建rights表的时候难道要手动 把 controller 名字以及 action的名字一个一个复制到表里面去? 而且以后controllers actions增加我也不用太麻烦 有没有简便点的办法让我可以通 ...
by danoyang 2007-04-05 浏览 (2484) 回复 (5) 关键字:

6.1 Controllers

A controller handles requests and creates or prepares the response and is request-scoped.  In other words a new instance is created for each [request|controllers]. A controller can generate the r ...
by Javabengou 2008-03-18 浏览 (283) 回复 (0) 关键字:

6.1.3 Models and Views

h4. Returning the Modelh4. 返回模型(Model)A model is essentially a map that the view uses when rendering. The keys within that map translate to variable names accessible by the view. There are a couple of ...
by Javabengou 2008-03-19 浏览 (407) 回复 (0) 关键字:

6.1.2 Controllers and Scopes

h4. Available Scopesh4.可用范围(Scopes)Scopes are essentially hash like objects that allow you to store variables. The following scopes are available to controllers:范围(Scopes)本质上就像hash对象,允许你存储变量。下列为contro ...
by Javabengou 2008-03-18 浏览 (392) 回复 (0) 关键字:

在Grails中如何配置过滤器?我找不到web.xml!

突然发现找不到地方写过滤器配置,因为WEB-INF中没有web.xml文件! 使用grails war生成的war包中倒是有,看来是临时生成的! 现在我想配置自己的过滤器该往哪里写?!
by zengsun 2007-12-02 浏览 (956) 回复 (10)

过滤器在有插件的情况下怎么使用?

我建了一个过滤器放在grails-app/conf下 class SecurityFilters{ def filters = { allURIs(uri:'/userManager/**') { if(!session.user.isLoggedIn()){ redirect(action:'show',controller:"log ...
by xiao0556 2008-05-14 浏览 (405) 回复 (3)

以前装了Acegi0.2版的插件,现在出0.3了,可不知道怎么升级?

我试了换掉所有的路径,结果运行不了,参考资料中也没有说到过如何删除或是升级。
by oksonic 2008-06-04 浏览 (491) 回复 (6)

Flex With Spring [转]

来源:  http://coenraets.org/flex-spring       What is Spring?Spring is one of the most popular Java frameworks. The foundation ofthe Spring framework is a lightweight comp ...
by mikel 2007-11-23 浏览 (1299) 回复 (1)

如何自定义首页的urlmapping

在grails-app/conf/*UrlMappings.groovy文件中定义了应用的URL映射规则: class GForumUrlMappings { static mappings = { "/$controller/$action?/$id?"{ constraints { // apply c ...
by zengsun 2007-07-12 浏览 (728) 回复 (5)

在NetBeans IDE中创建Grails插件

在NetBeans IDE中创建Grails插件,下面是一个最简单的例子,只是给你展示流程,最有用的文章我推荐下面这些:     *      The Plug-in Developers Guide     *      Phone N ...
by ╱/罒呍唲 2008-07-28 浏览 (643) 回复 (1) 关键字: netbeans

NetBeans6.5 M1 众多期待的特性一览表!

NetBeans6.5 M1 众多期待的特性一览表! Netbeans 6.5 M1 已经发布,最新版本的NetBeans 增强了许多功能,同时也引入了许多值得期待的新特性. 其中我比较喜欢的是DataBase 的改进,Eclipse 项目导入变得比以前更方便了,可以正确的区分Web项目 和普通项目,还有Spring   Hibernate 增强. GUI 中新增了JD ...
by gml520 2008-06-25 浏览 (4453) 回复 (16) 关键字: netbeans 6.5 m1

Grails 1.0-RC2 发布

Grails 1.0-RC2 发布,看到新增不少功能,心中窃喜啊     现在简介一下主要变动:    移植到最新的spring2.5    新的参考文档    去官方文档,个人感觉挺舒服的,而且也很有条理         内容协商(C ...
by agile_boy 2007-12-04 浏览 (946) 回复 (3) 关键字: grails

相关问答

赞助商链接