source: trunk/grails-app/views/wizard/pages/_three.gsp @ 101

Last change on this file since 101 was 101, checked in by duh, 12 years ago
  • refactored the wizard initial page to dynamically load pageOne, instead of rendering pageOne within the template itself. This was done because otherwise both the mainPage and pageOne had to contain duplicate logic. The ajaxified webflow works better this way.
  • added an <wizard:ajaxFlowRedirect...> tag which renders javascript code executing a jQuery ajax call (it actually wraps around <wizard:button...> tag but lifts the ajax call out of the button and wraps javascript tags around it)
  • improved the help / tooltip workings
  • extended the <wizard:button...> with an afterSuccess argument which executes some javascript after success. This is different from the default submitToRemote 'after' behaviour which is always executed in parallel with the ajax success call (hence, you javascript cannot access ajax result data while the afterSuccess method can)
  • Property svn:keywords set to Rev Author Date
File size: 2.1 KB
Line 
1<%
2        /**
3         * Wizard page three
4         *
5         * @author Jeroen Wesbeek
6         * @since 20100113
7         * @package wizard
8         * @see dbnp.studycapturing.WizardTagLib::previousNext
9         * @see dbnp.studycapturing.WizardController
10         *
11         * Revision information:
12         * $Rev: 101 $
13         * $Author: duh $
14         * $Date: 2010-01-20 16:01:26 +0000 (wo, 20 jan 2010) $
15         */
16%>
17<wizard:pageContent>
18        <wizard:textFieldElement name="myThirdName" value="a lotta description" description="very fancy help text">
19                <img src="http://www.grails.org/images/new/grailslogo_topNav.png"/><br/>
20                This is made with <a href="http://www.grails.org/" target="_new">Grails</a>...
21        </wizard:textFieldElement>
22        <wizard:textFieldElement name="myZero" value="12" description="more than four?" maxlength="4">
23                you cannot enter more than 4 elements here, and also the
24                width of this field is automatically scaled to the maximum character
25                size
26        </wizard:textFieldElement>
27        <wizard:textFieldElement name="myThirdName" value="a lotta description" description="long help text">
28                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pretium dignissim tellus, id pharetra erat tempus sed. Sed bibendum libero eu lorem pretium nec fermentum ligula faucibus. Morbi gravida interdum ornare. Praesent lectus mi, ullamcorper nec semper nec, vulputate ornare elit. Nam eros metus, egestas a varius eget, facilisis ac purus. Maecenas lectus erat, rutrum id consequat ac, scelerisque ut diam.</p>
29                <p>Donec euismod, tellus facilisis semper elementum, neque lorem volutpat ante, ac consectetur lectus ante sit amet neque. Donec hendrerit, libero quis suscipit iaculis, lacus ligula viverra nibh, eu condimentum diam dui sit amet quam. Praesent turpis orci, laoreet sodales adipiscing eget, ultrices at augue. Nullam sed dolor a velit posuere euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Ut libero mauris, fermentum id congue sit amet, pharetra in purus. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
30                <p>Nullam a blandit quam. Cras porta tempus lectus, vel varius lacus vulputate in. Aenean ac nunc lectus, hendrerit tempor elit. Sed ut varius diam.</p>
31        </wizard:textFieldElement>
32</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.