Changeset 103 for trunk/grails-app/views
- Timestamp:
- Jan 21, 2010, 1:56:10 PM (12 years ago)
- Location:
- trunk/grails-app/views/wizard
- Files:
-
- 1 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/wizard/common/_error.gsp
r88 r103 1 1 <% 2 /**3 * Wizard error template4 *5 * @authorJeroen Wesbeek6 * @since201001147 * @package wizard8 * @seedbnp.studycapturing.WizardTagLib9 * @seedbnp.studycapturing.WizardController10 *11 * Revision information:12 * $Rev$13 * $Author$14 * $Date$15 */2 /** 3 * Wizard error template 4 * 5 * @author Jeroen Wesbeek 6 * @since 20100114 7 * @package wizard 8 * @see dbnp.studycapturing.WizardTagLib 9 * @see dbnp.studycapturing.WizardController 10 * 11 * Revision information: 12 * $Rev$ 13 * $Author$ 14 * $Date$ 15 */ 16 16 %> 17 <div id="wizardError" class="error"/> 17 <g:if test="${errors}"> 18 <div id="wizardError" class="error" title="errors"> 19 <g:each in="${errors}" var="error" status="e"> 20 <p> 21 <g:if test="${!e}"><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 50px 0;"></span></g:if> 22 ${error.key} → ${error.value} 23 </p> 24 </g:each> 25 </div> 26 <script type="text/javascript"> 27 $(function() { 28 $("div#wizardError").dialog({ 29 bgiframe: true, 30 modal: true, 31 width: 600, 32 buttons: { 33 Ok: function() { 34 $(this).dialog('close'); 35 } 36 } 37 }); 38 }); 39 </script> 40 </g:if> -
trunk/grails-app/views/wizard/common/_wizard.gsp
r102 r103 21 21 <wizard:ajaxFlowRedirect form="form#wizardForm" name="next" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="attachHelpTooltips()" /> 22 22 </div> 23 < g:render template="common/error"/>23 <!--g:render template="common/error"//--> 24 24 </g:form> 25 25 </div>
Note: See TracChangeset
for help on using the changeset viewer.