Changeset 418
- Timestamp:
- May 17, 2010, 11:56:00 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r416 r418 157 157 158 158 if (!flow.subjects) { 159 flow.subjects = [ ]159 flow.subjects = [:] 160 160 flow.subjectTemplates = [:] 161 161 } … … 341 341 } 342 342 343 flow.eventGroups[increment] = new EventGroup( name: groupName)343 flow.eventGroups[increment] = new EventGroup( name: groupName ) 344 344 }.to "events" 345 345 on("deleteEventGroup") { … … 651 651 // walk through eventGroups 652 652 def g = 0 653 flow.eventGroups.each() { 653 654 flow.eventGroups.each() { eventGroup -> 654 655 def e = 0 655 def eventGroup = it656 656 657 657 // reset events 658 658 eventGroup.events = new HashSet() 659 659 660 // walkthrough events660 // iterate through events 661 661 flow.events.each() { 662 662 if (params.get('event_' + e + '_group_' + g) == 'on') { -
trunk/grails-app/views/wizard/pages/_events.gsp
r416 r418 53 53 <div class="firstColumn">${eventId + 1}</div> 54 54 <div class="firstColumn"> 55 <wizard:ajaxButton name="delete " src="../images/icons/famfamfam/delete.png" alt="delete this subject" class="famfamfam" value="-" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" before="\$(\'input[name=do]\').val(${eventId});" afterSuccess="onWizardPage()"/>55 <wizard:ajaxButton name="deleteEvent" src="../images/icons/famfamfam/delete.png" alt="delete this subject" class="famfamfam" value="-" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" before="\$(\'input[name=do]\').val(${eventId});" afterSuccess="onWizardPage()"/> 56 56 </div> 57 57 <wizard:templateColumns id="${eventId}" entity="${events[ eventId ]}" template="${events[ eventId ].template}" name="event_${eventId}" class="column" /> 58 58 <g:if test="${eventGroups}"><g:each var="eventGroup" status="j" in="${eventGroups}"> 59 59 <div class="column"> 60 <g:if test="${eventGroup.events.find{ it == event } }">60 <g:if test="${eventGroup.events.find{ it == events[ eventId ] } }"> 61 61 <input type="checkbox" name="event_${eventId}_group_${j}" checked="checked" /> 62 62 </g:if><g:else> -
trunk/web-app/WEB-INF/tld/grails.tld
r70 r418 5 5 http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" 6 6 version="2.0"> 7 <description>The Grails (Groovy on Rails)custom tag library</description>7 <description>The Grails custom tag library</description> 8 8 <tlib-version>0.2</tlib-version> 9 9 <short-name>grails</short-name> 10 10 <uri>http://grails.codehaus.org/tags</uri> 11 12 11 13 12 <tag> -
trunk/web-app/css
-
Property
svn:ignore
set to
main.css
-
Property
svn:ignore
set to
-
trunk/web-app/images
-
Property
svn:ignore
set to
skin
grails_logo.jpg
leftnav_btm.png
leftnav_midstretch.png
leftnav_top.png
springsource.png
-
Property
svn:ignore
set to
-
trunk/web-app/js
- Property svn:ignore
-
old new 1 1 jquery 2 2 prototype 3 application.js
-
- Property svn:ignore
Note: See TracChangeset
for help on using the changeset viewer.