| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Grails
Revision: 7250
Author: graeme
Date: 24 Jul 2008 04:54:22
Changes:added ability to changed type of
Files:| ... | ...@@ -66,7 +66,7 @@ | |
| 66 | 66 | * Creates a submit button |
| 67 | 67 | */ |
| 68 | 68 | def submitButton = {attrs -> |
| 69 | attrs.type = "submit" | |
| 69 | attrs.type = attrs.type ?: "submit" | |
| 70 | 70 | attrs.tagName = "submitButton" |
| 71 | 71 | if (request['flowExecutionKey']) { |
| 72 | 72 | attrs.name = attrs.event ? "_eventId_${attrs.event}" : "_eventId_${attrs.name}" |