Hi Isomorphic,
Please help me to find out how AutoComplete works. I'm using autoComplete in TextItem but not working.
Below is my code:
TextItem txtStreet= new TextItem("txtStreet","");
txtStreet.setTitleAlign(Alignment.RIGHT);
txtStreet.setTitleStyle("heading");
txtStreet.setLength(40);
txtStreet.setGlobalTabIndex(3);
txtStreet.setAutoComplete(AutoComplete.NATIVE);
ds.xml file:
<DataSource ID="Station" serverType="generic">
<fields>
<field name="txtStreet" type="text" />
</fields>
<serverObject lookupStyle="spring" bean="stationBean" />
<operationBindings>
<binding operationType="fetch" serverMethod="fetch">
<serverObject lookupStyle="spring" bean="stationBean" />
</binding>
<binding operationType="update" serverMethod="save">
<serverObject lookupStyle="spring" bean="stationBean" />
</binding>
</DataSource>
Please refer me how to use it.
I'm running on
SmartClient Version: v10.0p_2015-10-27/PowerEdition Deployment (2015-10-27)
GWT 2.7.0
java 1.8 (64bit)
FireFox 25 and above, Chrome latest, IE 9
Please help me to find out how AutoComplete works. I'm using autoComplete in TextItem but not working.
Below is my code:
TextItem txtStreet= new TextItem("txtStreet","");
txtStreet.setTitleAlign(Alignment.RIGHT);
txtStreet.setTitleStyle("heading");
txtStreet.setLength(40);
txtStreet.setGlobalTabIndex(3);
txtStreet.setAutoComplete(AutoComplete.NATIVE);
ds.xml file:
<DataSource ID="Station" serverType="generic">
<fields>
<field name="txtStreet" type="text" />
</fields>
<serverObject lookupStyle="spring" bean="stationBean" />
<operationBindings>
<binding operationType="fetch" serverMethod="fetch">
<serverObject lookupStyle="spring" bean="stationBean" />
</binding>
<binding operationType="update" serverMethod="save">
<serverObject lookupStyle="spring" bean="stationBean" />
</binding>
</DataSource>
Please refer me how to use it.
I'm running on
SmartClient Version: v10.0p_2015-10-27/PowerEdition Deployment (2015-10-27)
GWT 2.7.0
java 1.8 (64bit)
FireFox 25 and above, Chrome latest, IE 9
Comment