Ignore:
Timestamp:
Dec 21, 2010, 12:04:37 AM (10 years ago)
Author:
work@…
Message:
  • BIG refactoring / rewrite of the wizard to use the ajaxflow plugin, part one of ticket #183
Location:
trunk/grails-app/views
Files:
33 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/common/_topnav.gsp

    r1266 r1286  
    1212                <li><g:link controller="study" action="list">View studies</g:link></li>
    1313                </sec:ifNotLoggedIn>
    14                 <li><g:link controller="wizard" action="index" params="[jump:'create']">Create a new study</g:link></li>
    15                 <li><g:link controller="wizard" action="index" params="[jump:'edit']">Edit a study</g:link></li>
     14                <li><g:link controller="studyWizard" action="index" params="[jump:'create']">Create a new study</g:link></li>
     15                <li><g:link controller="studyWizard" action="index" params="[jump:'edit']">Edit a study</g:link></li>
    1616                <li><g:link controller="importer" action="index">Import study data</g:link></li>
    1717        <li><g:link controller="simpleQuery" action="index">Search study data</g:link></li>
  • trunk/grails-app/views/study/list.gsp

    r1181 r1286  
    3434                                                <td><input type="checkbox" name="id" value="${studyInstance.id}" id="${studyInstance.title}"></td>
    3535                                                <td><g:link action="show" id="${studyInstance?.id}"><img src='${fam.icon(name: 'application_form_magnify')}' border="0" alt="view study" /></g:link></td>
    36                                                 <td><g:if test="${studyInstance.canWrite(loggedInUser)}"><g:link class="edit" controller="wizard" params="[jump:'edit']" id="${studyInstance?.id}"><img src='${fam.icon(name: 'application_form_edit')}' border="0" alt="edit study" /></g:link></g:if><g:else><img src='${fam.icon(name: 'lock')}' border="0" alt="you have no write access to shis study" /></g:else> </td>
     36                                                <td><g:if test="${studyInstance.canWrite(loggedInUser)}"><g:link class="edit" controller="studyWizard" params="[jump:'edit']" id="${studyInstance?.id}"><img src='${fam.icon(name: 'application_form_edit')}' border="0" alt="edit study" /></g:link></g:if><g:else><img src='${fam.icon(name: 'lock')}' border="0" alt="you have no write access to shis study" /></g:else> </td>
    3737                                                <td>${fieldValue(bean: studyInstance, field: "code")}</td>
    3838                                                <td>
     
    7777                <div class="buttons">
    7878                        <sec:ifLoggedIn>
    79                                 <span class="button"><g:link class="create" controller="wizard" params="[jump:'create']"><g:message code="default.new.label" args="[entityName]"/></g:link></span>
     79                                <span class="button"><g:link class="create" controller="studyWizard" params="[jump:'create']"><g:message code="default.new.label" args="[entityName]"/></g:link></span>
    8080                        </sec:ifLoggedIn>
    8181                </div>
  • trunk/grails-app/views/study/show.gsp

    r1266 r1286  
    216216                                <g:hiddenField name="id" value="${studyInstance?.id}"/>
    217217                                <g:if test="${studyInstance.canWrite(loggedInUser)}">
    218                                         <span class="button"><g:link class="edit" controller="wizard" params="[jump:'edit']" id="${studyInstance?.id}">${message(code: 'default.button.edit.label', default: 'Edit')}</g:link></span>
     218                                        <span class="button"><g:link class="edit" controller="studyWizard" params="[jump:'edit']" id="${studyInstance?.id}">${message(code: 'default.button.edit.label', default: 'Edit')}</g:link></span>
    219219                                </g:if>
    220220                                <g:if test="${studyInstance.isOwner(loggedInUser)}">
Note: See TracChangeset for help on using the changeset viewer.