Ignore:
Timestamp:
Jan 29, 2010, 6:08:49 PM (10 years ago)
Author:
jahn
Message:

Updated editing of Events. RemoteFunction? calls work. Still needs cleaning up (but its Friday evening).

File:
1 edited

Legend:

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

    r120 r150  
    1 <g:each in="${protocolInstance.values}">
     1<% def list = [] %>
     2<g:each in="${protocolInstance.parameters}" > <% list.add( it )%> </g:each>
     3<% list.sort{ a,b -> a.name <=> b.name }%>
    24
    3 <tr class="prop">
     5<g:each in ="${list}" >
     6    <tr class="prop">
    47
    5     <td valign="top" class="name">
    6     <label for="protocolInstance"><g:message code="${it.protocolParameter.name}" /></label>
    7     </td>
     8         <td valign="top" class="name" width=200>
     9         <label for="protocolInstance"><g:message code="${it.name}" /></label>
     10         </td>
    811
    9     <td valign="top" class="name">
    10      <g:textField name="protocolInstance.${it.id}" value="${it.value}" />
    11      </td>
    12 
    13 </tr>
    14 
    15 
     12         <td valign="top" class="name">
     13         <g:textField name="protocolParameter.${it.id}" value="${parameterStringValues[it.name]}" />
     14         </td>
     15    </tr>
    1616</g:each>
Note: See TracChangeset for help on using the changeset viewer.