Ignore:
Timestamp:
Mar 8, 2010, 12:19:54 AM (9 years ago)
Author:
jahn
Message:

Functionality of dynamic protocol parameter selection improved. The java scripts lines still need to be cleaned and put into a seperate fiel to be included by a grails source tag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/eventDescription/edit.gsp

    r220 r241  
    1111
    1212    <body>
     13
     14
    1315        <div class="nav">
    1416            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
     
    3133
    3234
    33 
    34             <g:form method="post" >
     35           <% println eventDescriptionInstance.toString() %>
     36            <g:form action="save" method="post" id="${eventDescriptionInstance.id}" onsubmit="addHiddenDialogsToForm();">
    3537                <g:hiddenField name="id" value="${eventDescriptionInstance?.id}" />
    3638                <g:hiddenField name="version" value="${eventDescriptionInstance?.version}" />
     
    8991
    9092
    91                             <tbody id="protocolPartial">
    92                                 <g:include action="showMyProtocol" controller="eventDescription" id="${eventDescriptionInstance.id}" />
    93                             </tbody>
    94 
    95 
    96 
    9793
    9894                        </tbody>
    9995                    </table>
    10096                </div>
     97                                <g:include action="showMyProtocol" controller="eventDescription" id="${eventDescriptionInstance.id}" />
    10198                <div class="buttons">
    102                     <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
    103                     <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
     99                    <span class="button"><g:submitButton name="save" class="save" value="${message(code: 'default.save.label', default: 'Save')}" /></span>
     100                    <span class="button"><g:submitToRemote class="delete" action="list" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
    104101                </div>
    105102            </g:form>
Note: See TracChangeset for help on using the changeset viewer.