You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grails is a web based application framework based on the Groovy language that endorses the DRY (don't repeat yourself) and coding-by-convention philosophies. Grails runs on the Java Virtual Machine and thus has access to the entire Java Platform.
9
11
@@ -21,7 +23,10 @@ With Grails you can easily create web applications thanks to:
21
23
22
24
- powerful web framework with dynamic tag libraries and support for Groovy Server Pages (GSP)
To upgrade your existing Grails projects you must run "grails upgrade" for each project.
67
+
68
+
There are some unavoidable issues that may affect you when upgrading to 0.5 from a previous version:
69
+
70
+
1. Your custom taglibs that call other tags will need to be changed. Tags called from within a tag now return a string containing the content instead of writing to out, so you must do something like:
71
+
72
+
out << theOtherTag(attrs)
73
+
74
+
2. Your taglibs, if they call their own closures as if they are methods, will not function correctly if the closure has less than 3 arguments. Change such code to:
75
+
76
+
yourClosureName.call(args)
77
+
78
+
3. Tag bodies return strings instead of writing to out, so you must change code that calls body() to:
79
+
80
+
out << body()
81
+
82
+
4. View loading mechanisms have changed, so if you need to load a view directly or check for its existence, you must now use a resource loader:
0 commit comments