Skip to content

Commit

Permalink
Use unique name for widget propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Jan 12, 2025
1 parent c8a84fc commit 179bf93
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
* @attr disabled Makes the resulting inputs and selects to be disabled. Is treated as a Groovy Truth.
* @attr readonly Makes the resulting inputs and selects to be made read only. Is treated as a Groovy Truth.
* @attr locale The locale to use for display formatting. Defaults to the current request locale and then the system default locale if not specified.
* @attr selectClass css class added to each select tag
* @attr selectDateClass css class added to each select tag
*/
Closure datePicker = { attrs ->
def out = out // let x = x ?
Expand Down Expand Up @@ -798,8 +798,8 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
if (attrs.readonly) {
out << ' readonly="readonly"'
}
if (attrs.selectClass) {
out << ' class="'+attrs.selectClass+'"'
if (attrs.selectDateClass) {
out << ' class="'+attrs.selectDateClass+'"'
}
out << '>'

Expand All @@ -825,8 +825,8 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
if (attrs.readonly) {
out << ' readonly="readonly"'
}
if (attrs.selectClass) {
out << ' class="'+attrs.selectClass+'"'
if (attrs.selectDateClass) {
out << ' class="'+attrs.selectDateClass+'"'
}
out << '>'

Expand Down Expand Up @@ -854,8 +854,8 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
if (attrs.readonly) {
out << ' readonly="readonly"'
}
if (attrs.selectClass) {
out << ' class="'+attrs.selectClass+'"'
if (attrs.selectDateClass) {
out << ' class="'+attrs.selectDateClass+'"'
}
out << '>'

Expand All @@ -881,8 +881,8 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
if (attrs.readonly) {
out << ' readonly="readonly"'
}
if (attrs.selectClass) {
out << ' class="'+attrs.selectClass+'"'
if (attrs.selectDateClass) {
out << ' class="'+attrs.selectDateClass+'"'
}
out << '>'

Expand Down Expand Up @@ -915,8 +915,8 @@ class FormTagLib implements ApplicationContextAware, InitializingBean, TagLibrar
if (attrs.readonly) {
out << 'readonly="readonly"'
}
if (attrs.selectClass) {
out << ' class="'+attrs.selectClass+'"'
if (attrs.selectDateClass) {
out << ' class="'+attrs.selectDateClass+'"'
}
out << '>'

Expand Down

0 comments on commit 179bf93

Please sign in to comment.