Ignore:
Timestamp:
Feb 7, 2011, 4:07:54 PM (12 years ago)
Author:
robert@…
Message:
  • Number of seconds for the rest controller to keep data in cache is now a configuration option
  • After searching, it is possible to choose which action to perform on the search results.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/advancedQuery/index.gsp

    r1487 r1501  
    1414                                        <g:if test="${j > 0}">,</g:if>
    1515                                        {
     16                                                label: "${entity.key.toString().encodeAsJavaScript()}.${field.toString().encodeAsJavaScript()} ${entity.key.toString().encodeAsJavaScript()} ${field.toString().encodeAsJavaScript()}",
     17                                                show: "${(field[0].toUpperCase() + field[1..-1]).encodeAsJavaScript()}",
    1618                                                value: "${entity.key.toString().encodeAsJavaScript()}.${field.toString().encodeAsJavaScript()}",
    17                                                 show: "${(field[0].toUpperCase() + field[1..-1]).encodeAsJavaScript()}",
    18                                                 label: "${entity.key.toString().encodeAsJavaScript()}.${field.toString().encodeAsJavaScript()}",
    1919                                                entity: "${entity.key.toString().encodeAsJavaScript()}"
    2020                                        }
     
    4949        </div>
    5050</g:if>
    51 
    52 <a href="<g:createLink action="list" />">View previous queries</a>
    5351
    5452<form id="input_criteria">
     
    9189        <g:form action="search" method="get">
    9290                <label for="entity">Search for</label><g:select from="${entitiesToSearchFor}" optionKey="key" optionValue="value" name="entity" /><br />
     91                <label for="entity">Searchtype</label><g:select from="${searchModes}" name="operator" /><br />
    9392                <label for="criteria">Criteria</label>
    9493                <ul id="criteria">
     
    9998        </g:form>
    10099</div>
    101 
     100<p class="options">
     101        <g:link class="listPrevious" action="list">Previous searches</g:link>
     102</p>
    102103<br  clear="all" />
    103104</body>
Note: See TracChangeset for help on using the changeset viewer.