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)不设 保存或更新静默失败(beforeInsert或beforeUpdate 不起作用)
  
阅读全文
				
					posted @ 
2009-08-28 15:50 冰是没有未来的,因为它的永恒| 
编辑