Applied the patch from JIRA Issue # List-Multi form column sorting". Thanks to Bruno Busco for helping and patience.

As this is my first commit to framework, I'd really appreciate if you could review this commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@702236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bilgin Ismet Ibryam
2008-10-06 19:29:40 +00:00
parent f95cbbbea9
commit 2687706c7c
6 changed files with 220 additions and 3 deletions
@@ -49,15 +49,16 @@ under the License.
<service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
<field-map field-name="inputFields" env-name="exampleCtx"/>
<field-map field-name="entityName" value="Example"/>
<field-map field-name="orderBy" env-name="parameters.sortField"/>
</service>
</actions>
<field name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${exampleId}" target="EditExample?exampleId=${exampleId}"/>
</field>
<field name="exampleName" title="${uiLabelMap.CommonName}"><display/></field>
<field name="exampleName" title="${uiLabelMap.CommonName}" sort-field="true"><display/></field>
<field name="exampleTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="ExampleType"/></field>
<field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem"/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
<field name="description" title="${uiLabelMap.CommonDescription}" sort-field="true"><display/></field>
</form>
<!-- Typically, this extended form wouldn't be necessary. The parent form (ListExamples) would