Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.3, 0.4
-
Fix Version/s: 1.1-beta3
-
Component/s: Controllers
-
Labels:None
Description
Implement auto ticketing using g:form tag - via an implicit model var preferably so non-GSP views could use the same ticketing logic and caching. Controllers would then dedupe tickets before calling actions, and we could have something like this for action declarations:
def save = {
// perform saving
}
def saveInvalid = {
// handle invalid submission
}
Issue Links
- is duplicated by
-
GRAILS-3653
Prevent Double Submits
-
Love it. Double form submission is a big pain and having this built into grails out of the box would be great. I would not mind doing this by default with any form that is submitted; only if a closure for double form submission is declared, it would execute that logic.