Changeset 889


Ignore:
Timestamp:
Sep 16, 2010, 10:38:02 AM (6 years ago)
Author:
vinlud
Message:

Selectable results

File:
1 edited

Legend:

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

    r791 r889  
    2626        <div class="element">
    2727          <div class="description">Material (e.g. 'liver')</div>
    28           <div class="input"><g:select name="organ" from="" value="${organ}" noSelection="['':'--- select organ/tissue ---']"/></div>
     28          <div class="input"><g:select name="organs" from="${organs}" value="" noSelection="['':'--- select organ/tissue ---']"/></div>
    2929        </div>
    3030      </div>
     
    3636          <g:if test="${showFirstRowCompounds}">
    3737          <div id="compoundRow1">
    38             <div class="descriptionSA">Compound</div><div class="input"><g:textField name="sa_compound" value=""/></div><div class="descriptionSA">Operator</div><div class="input" id="operatorInput"><g:select name="operator" from="${operators}" value="="/></div><div class="descriptionSA">Value</div><div class="input"><g:textField name="sa_value" value=""/></div>
     38            <div class="descriptionSA">Compound</div><div class="input"><g:textField name="sa_compound" value=""/></div><div class="descriptionSA">Operator</div><div class="input" id="operatorInput"><g:select name="sa_operator" from="${operators}" value="="/></div><div class="descriptionSA">Value</div><div class="input"><g:textField name="sa_value" value=""/></div>
    3939          </div>
    4040          </g:if>
     
    7575                <thead>
    7676                    <tr>
     77                        <g:sortableColumn property="id" title="Result" />
    7778                        <g:sortableColumn property="id" title="${message(code: 'study.id', default: 'ID')}" />
    7879                        <g:sortableColumn property="title" title="${message(code: 'study.title.label', default: 'Study')}" />
     
    8384                <g:each in="${listStudies}" var="Study" status="i" >
    8485                  <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     86                    <td><g:checkBox name="study${Study.id}" value="${true}" /></td>
    8587                    <td><g:link url="[action:'show',controller:'study', id:Study.id]">${fieldValue(bean: Study, field: "id")}</g:link></td>
    8688                    <td><g:link url="[action:'show',controller:'study', id:Study.id]">${fieldValue(bean: Study, field: "title")}</g:link></td>
Note: See TracChangeset for help on using the changeset viewer.