Continued work done by Anil Patel about implementation of Ajax.Autocompleter enhancement for form widget text box.
There is now a generic screen (and controller entries) that can be used by Ajax autocompleter fields. See the example in the example component. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659488 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -173,8 +173,8 @@ under the License.
|
||||
<form name="AddExampleFeatureAppl" type="single" target="example_createExampleFeatureAppl" title="">
|
||||
<auto-fields-service service-name="createExampleFeatureAppl"/>
|
||||
<field name="exampleId"><hidden/></field>
|
||||
<field name="exampleFeatureId" id-name="exampleFeatureId"><text server-autocomplete-target="ExampleFeatureOptions"></text></field>
|
||||
<!-- <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}" id-name="exampleFeatureId"><lookup target-form-name="LookupExampleFeature"/></field> -->
|
||||
<field name="exampleFeatureId" id-name="exampleFeatureId"><text server-autocomplete-target="ajaxAutocompleteOptions" server-autocomplete-params="entityName=ExampleFeature&fieldName=exampleFeatureId&selectFields=[exampleFeatureId, description]&sortByFields=[-exampleFeatureId]"></text></field>
|
||||
<!-- <field name="exampleFeatureId" title="${uiLabelMap.ExampleFeature}" id-name="exampleFeatureId"><lookup target-form-name="LookupExampleFeature"/></field> -->
|
||||
<field name="exampleFeatureApplTypeId" title="${uiLabelMap.CommonType}">
|
||||
<drop-down allow-empty="false">
|
||||
<entity-options entity-name="ExampleFeatureApplType" description="${description}">
|
||||
|
||||
Reference in New Issue
Block a user