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
* @attr base Sets the prefix to be added to the link target address, typically an absolute server URL. This overrides the behaviour of the absolute property, if both are specified.x≈
158
158
* @attr contextPath the context path to use (relative to the application context path). Defaults to "" or path to the plugin for a plugin view or template.
159
159
* @attr dir the name of the directory within the grails app to link to
160
160
* @attr file the name of the file within the grails app to link to
161
-
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
161
+
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
162
162
* @attr plugin The plugin to look for the resource in
163
163
*/
164
164
def resource = { attrs->
@@ -195,17 +195,17 @@ class ApplicationTagLib implements ApplicationContextAware, InitializingBean {
195
195
}
196
196
197
197
/**
198
-
* General linking to controllers, actions etc. Examples:
198
+
* General linking to controllers, actions etc. Examples:<br/>
* @attr controller The name of the controller to use in the link, if not specified the current controller will be linked
204
204
* @attr action The name of the action to use in the link, if not specified the default action will be linked
205
205
* @attr uri relative URI
206
206
* @attr url A map containing the action,controller,id etc.
207
207
* @attr base Sets the prefix to be added to the link target address, typically an absolute server URL. This overrides the behaviour of the absolute property, if both are specified.
208
-
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
208
+
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
209
209
* @attr id The id to use in the link
210
210
* @attr fragment The link fragment (often called anchor tag) to use
211
211
* @attr params A map containing URL query parameters
@@ -249,16 +249,16 @@ class ApplicationTagLib implements ApplicationContextAware, InitializingBean {
249
249
/**
250
250
* Creates a grails application link from a set of attributes. This
251
251
* link can then be included in links, ajax calls etc. Generally used as a method call
* @attr controller The name of the controller to use in the link, if not specified the current controller will be linked
257
257
* @attr action The name of the action to use in the link, if not specified the default action will be linked
258
258
* @attr uri relative URI
259
259
* @attr url A map containing the action,controller,id etc.
260
260
* @attr base Sets the prefix to be added to the link target address, typically an absolute server URL. This overrides the behaviour of the absolute property, if both are specified.
261
-
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
261
+
* @attr absolute If set to "true" will prefix the link target address with the value of the grails.serverURL property from Config, or http://localhost:<port> if no value in Config and not running in production.
262
262
* @attr id The id to use in the link
263
263
* @attr fragment The link fragment (often called anchor tag) to use
264
264
* @attr params A map containing URL query parameters
@@ -336,12 +336,12 @@ class ApplicationTagLib implements ApplicationContextAware, InitializingBean {
Copy file name to clipboardExpand all lines: src/java/org/codehaus/groovy/grails/plugins/web/taglib/CountryTagLib.groovy
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -287,7 +287,7 @@ class CountryTagLib {
287
287
* @attr id the DOM element id - uses the name attribute if not specified
288
288
* @attr keys A list of values to be used for the value attribute of each "option" element.
289
289
* @attr optionKey By default value attribute of each <option> element will be the result of a "toString()" call on each element. Setting this allows the value to be a bean property of each element in the list.
290
-
* @attr optionValue By default the body of each <option> element will be the result of a "toString()" call on each element in the "from" attribute list. Setting this allows the value to be a bean property of each element in the list.
290
+
* @attr optionValue By default the body of each <option> element will be the result of a "toString()" call on each element in the "from" attribute list. Setting this allows the value to be a bean property of each element in the list.
291
291
* @attr multiple boolean value indicating whether the select a multi-select (automatically true if the value is a collection, defaults to false - single-select)
292
292
* @attr noSelection A single-entry map detailing the key and value to use for the "no selection made" choice in the select box. If there is no current selection this will be shown as it is first in the list, and if submitted with this selected, the key that you provide will be submitted. Typically this will be blank - but you can also use 'null' in the case that you're passing the ID of an object
293
293
* @attr disabled boolean value indicating whether the select is disabled or enabled (defaults to false - enabled)
@@ -306,7 +306,7 @@ class CountryTagLib {
306
306
}
307
307
308
308
/**
309
-
* Take a country code and output the country name, from the internal data
309
+
* Take a country code and output the country name, from the internal data.<br/>
310
310
* Note: to use message bundle to resolve name, use g:message tag
* @attr id the DOM element id - uses the name attribute if not specified
654
655
* @attr from The list or range to select from
655
656
* @attr keys A list of values to be used for the value attribute of each "option" element.
656
-
* @attr optionKey By default value attribute of each <option> element will be the result of a "toString()" call on each element. Setting this allows the value to be a bean property of each element in the list.
657
-
* @attr optionValue By default the body of each <option> element will be the result of a "toString()" call on each element in the "from" attribute list. Setting this allows the value to be a bean property of each element in the list.
657
+
* @attr optionKey By default value attribute of each <option> element will be the result of a "toString()" call on each element. Setting this allows the value to be a bean property of each element in the list.
658
+
* @attr optionValue By default the body of each <option> element will be the result of a "toString()" call on each element in the "from" attribute list. Setting this allows the value to be a bean property of each element in the list.
658
659
* @attr value The current selected value that evaluates equals() to true for one of the elements in the from list.
659
660
* @attr multiple boolean value indicating whether the select a multi-select (automatically true if the value is a collection, defaults to false - single-select)
660
661
* @attr valueMessagePrefix By default the value "option" element will be the result of a "toString()" call on each element in the "from" attribute list. Setting this allows the value to be resolved from the I18n messages. The valueMessagePrefix will be suffixed with a dot ('.') and then the value attribute of the option to resolve the message. If the message could not be resolved, the value is presented.
@@ -829,7 +830,7 @@ class FormTagLib {
829
830
}
830
831
831
832
/**
832
-
* A helper tag for creating radio button groups
833
+
* A helper tag for creating radio button groups.
833
834
*
834
835
* @attr name REQUIRED The name of the group
835
836
* @attr values REQUIRED The list values for the radio buttons
0 commit comments