" type="text/css"/>

Query results

${search.getNumResults()} resultresults found with
<% def resultFields = search.getShowableResultFields(); def extraFields = search.getShowableResultFieldNames(resultFields); %>
Type Id ${fieldName}
<% /* The value of this checkbox will be moved to the form (under this table) with javascript. This way the user can select items from multiple pages of the paginated result list correctly. See also http://datatables.net/examples/api/form.html and advancedQueryResults.js */ %> ${search.entity} ${result.id} <% def fieldValue = resultFields[ result.id ]?.get( fieldName ); if( fieldValue ) { if( fieldValue instanceof Collection ) { fieldValue = fieldValue.collect { it.toString() }.findAll { it }.join( ', ' ); } else { fieldValue = fieldValue.toString(); } } else { fieldValue = ""; } %> ${fieldValue}