Fixed Freemarker-generated list navigation introduced in rev 930660. That code never worked. Also fixed some Webtools FindGeneric screen issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1064944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian Crum
2011-01-29 02:35:22 +00:00
parent 6b0c0c461d
commit 2e1ad5b135
5 changed files with 18 additions and 17 deletions
@@ -18,22 +18,21 @@ under the License.
-->
<form method="post" action="<@ofbizUrl>FindGeneric?entityName=${entityName}</@ofbizUrl>">
<input type="hidden" name="find" value="true"/>
<table class="basic-table hover-bar" cellspacing="0">
<input type="hidden" name="searchOptions_collapsed" value="true"/>
<table class="basic-table" cellspacing="0">
<tr class="header-row-2">
<td>${uiLabelMap.WebtoolsFieldName}</td>
<td>${uiLabelMap.WebtoolsPk}</td>
<td>${uiLabelMap.WebtoolsFieldType}</td>
<td>&nbsp;</td>
</tr>
<#assign alt_row = false>
<#list fieldList as field>
<tr<#if alt_row> class="alternate-row"</#if>>
<tr>
<td>${field.name}</td>
<td><#if field.isPk == 'Y'>*</#if></td>
<td>${field.javaType},&nbsp;${field.sqlType}</td>
<td><input type="text" name="${field.name}" value="${field.param}" size="40"/></td>
</tr>
<#assign alt_row = !alt_row>
</#list>
<tr>
<td colspan="3"><h3>${uiLabelMap.WebtoolsToFindAll} ${entityName}, ${uiLabelMap.WebtoolsLeaveAllEntriesBlank}</h3></td>
@@ -18,7 +18,7 @@ under the License.
-->
<#if (arraySize > 0)>
<#assign commonUrl="FindGeneric?${curFindString}&amp;searchOptions_collapsed=${(parameters.searchOptions_collapsed)?default(\"false\")}&amp;"/>
<@htmlTemplate.nextPrev commonUrl=commonUrl listSize=arraySize viewSize=viewSize viewIndex=viewIndex highIndex=highIndex />
<@htmlTemplate.nextPrev commonUrl=commonUrl listSize=arraySize viewSize=viewSize viewIndex=viewIndex highIndex=highIndex commonDisplaying=commonDisplaying/>
</#if>
<table class="basic-table hover-bar" cellspacing="0">
<tr class="header-row-2">