source: trunk/grails-app/views/wizard/pages/_assays.gsp @ 836

Last change on this file since 836 was 836, checked in by keesvb, 11 years ago

added some example assay templates, started with implementation of assay and assay group steps in wizard

File size: 1.6 KB
Line 
1<%
2/**
3 * Assays page
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100817
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardTagLib::previousNext
9 * @see     dbnp.studycapturing.WizardController
10 *
11 * Revision information:
12 * $Rev$
13 * $Author$
14 * $Date$
15 */
16%>
17<wizard:pageContent>
18        <span class="info">
19                <span class="title">Add assays to your study</span>
20                In this step you can define the various assays that were performed within this study.
21                The actual (omics) data for these assays should reside in one of the assay modules that is coupled to this database (see Assay Modules).
22        </span>
23
24        <wizard:textFieldElement name="addNumber" description="Number of assays to add" error="addNumber" value="${values?.addNumber}" size="4" maxlength="4">
25                The number of subjects to add to your study
26        </wizard:textFieldElement>
27        <wizard:templateElement name="template" description="Template" value="${assay?.template}" entity="${dbnp.studycapturing.Assay}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
28                Choose the type of assay you would like to add
29        </wizard:templateElement>
30        <%
31            // TODO: switch single flow.assay to multiple flow.assays and finish this page
32        %>
33        <g:if test="${assay}">
34        <wizard:templateElements entity="${assay}" />
35        </g:if>
36        <wizard:ajaxButtonElement name="add" value="Add" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()">
37        </wizard:ajaxButtonElement>
38
39       
40</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.