-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix many broken links - Set correct code block syntax - Add locale param to select, timeZoneSelect, localeSelect and datePicker tags
- Loading branch information
Showing
94 changed files
with
413 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
Within the `<% %>` brackets you can declare variables: | ||
|
||
[source,xml] | ||
[,] | ||
---- | ||
<% now = new Date() %> | ||
---- | ||
|
||
and then access those variables later in the page: | ||
|
||
[source,xml] | ||
[,] | ||
---- | ||
<%=now%> | ||
---- | ||
|
||
Within the scope of a GSP there are a number of pre-defined variables, including: | ||
|
||
* `application` - The http://docs.oracle.com/javaee/1.4/api/javax/servlet/ServletContext.html[javax.servlet.ServletContext] instance | ||
* `applicationContext` The Spring http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/ApplicationContext.html[ApplicationContext] instance | ||
* `flash` - The link:{controllersRef}/flash.html[flash] object | ||
* `grailsApplication` - The http://docs.grails.org/latest/api/grails/core/GrailsApplication.html[GrailsApplication] instance | ||
* `application` - The {javaee}javax/servlet/ServletContext.html[javax.servlet.ServletContext] instance | ||
* `applicationContext` The Spring {springapi}org/springframework/context/ApplicationContext.html[ApplicationContext] instance | ||
* `flash` - The {controllersRef}/flash.html[flash] object | ||
* `grailsApplication` - The {grailsapi}grails/core/GrailsApplication.html[GrailsApplication] instance | ||
* `out` - The response writer for writing to the output stream | ||
* `params` - The link:{controllersRef}/params.html[params] object for retrieving request parameters | ||
* `request` - The http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/HttpServletRequest.html[HttpServletRequest] instance | ||
* `response` - The http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/HttpServletResponse.html[HttpServletResponse] instance | ||
* `session` - The http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/HttpSession.html[HttpSession] instance | ||
* `webRequest` - The http://docs.grails.org/latest/api/org/grails/web/servlet/mvc/GrailsWebRequest.html[GrailsWebRequest] instance | ||
* `params` - The {controllersRef}/params.html[params] object for retrieving request parameters | ||
* `request` - The {javaee}javax/servlet/http/HttpServletRequest.html[HttpServletRequest] instance | ||
* `response` - The {javaee}javax/servlet/http/HttpServletResponse.html[HttpServletResponse] instance | ||
* `session` - The {javaee}javax/servlet/http/HttpSession.html[HttpSession] instance | ||
* `webRequest` - The {grailsapi}org/grails/web/servlet/mvc/GrailsWebRequest.html[GrailsWebRequest] instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.