grails升級到1.2.0遇到的問題
摘要: grails 升級到1.2.0 版本之后需要注意的
1.默認的webserver是tomcat.
如果想切換為jetty。grails uninstall-plugin tomcat
grails install-plugin jetty
2. 有了很多標準的規范,比如 :
1).
必須放入
標簽之內。
2).urlmap中 "/test_$guid?"(controller:"test",action:"list")
"/" (controller:"index",action:"list")
閱讀全文
posted @
2010-01-05 16:55 冰是沒有未來的,因為它的永恒|
編輯
grails quartz
摘要: http://svn.codehaus.org/grails-plugins/grails-quartz/tags/RELEASE_0_4_1/
閱讀全文
posted @
2009-12-11 15:56 冰是沒有未來的,因為它的永恒|
編輯
restful webservice 返回json格式的string出現的問題
摘要: 在測試發現 當數組返回json格式的String的時候,如果數組中只有一個,則返回的json格式不是數組形式,而是單一對象格式。
閱讀全文
posted @
2009-10-15 09:28 冰是沒有未來的,因為它的永恒|
編輯
Using Grails Object Relational Mapping
摘要: url :http://efforts.embedded.ufcg.edu.br/web/?p=7
閱讀全文
posted @
2009-09-01 09:28 冰是沒有未來的,因為它的永恒|
編輯
beforeUpdate或者beforeUpdate不起作用
摘要: 例子 class Hotel{
static constraints = {
name()
crTime(nullable:true)
upTime(nullable:true)
}
String name
Date crTime
Date upTime
def beforeInsert = {
crTime = new Date()
}
def beforeUpdate = {
upTime = new Date()
}
}
crTime(nullable:true)
upTime(nullable:true)不設 保存或更新靜默失?。╞eforeInsert或beforeUpdate 不起作用)
閱讀全文
posted @
2009-08-28 15:50 冰是沒有未來的,因為它的永恒|
編輯