Changeset 289 for trunk/grails-app/views/eventDescription
- Timestamp:
- Mar 22, 2010, 2:56:15 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/eventDescription/showMyProtocolFilled.gsp
r249 r289 251 251 252 252 253 254 255 256 257 258 259 260 261 262 263 264 253 <tr class="prop"> 265 <td id='test'> Protocol </td> 266 <td> <g:select name="protocol" from="${dbnp.studycapturing.Protocol.list()}" value="${protocol}" optionKey="id" optionValue="name" 254 <td id='test'> Protocol </td> 255 256 <% def protocols = dbnp.studycapturing.Protocol.list() %> 257 <td> 258 <g:if test="${protocol==null}"> 259 <g:select name="protocol" from="${protocols}" optionKey="id" optionValue="name" noSelection="['':'-- Select Protocol -- ']" 267 260 onchange= "${remoteFunction( action:'showProtocolParameters', update:'showProtocolParameters', params:'\'id=\'+this.value' )}; deleteHiddenDialogs();" /> 261 </g:if> 262 263 <g:else> 264 <g:select name="protocol" from="${protocols}" optionKey="id" optionValue="name" value='${protocol.id}' 265 onchange= "${remoteFunction( action:'showProtocolParameters', update:'showProtocolParameters', params:'\'id=\'+this.value' )}; deleteHiddenDialogs();" /> 266 </g:else> 268 267 </td> 268 269 269 270 </tr> 271 270 272 271 273
Note: See TracChangeset
for help on using the changeset viewer.