Dear,
I'm using a ComboBoxItem, connected to a RestDataSource.
1. If I type some text, then my remote servlet is invoked, and the result is correctly filtered : ok
2. If I close the combo and try again : ok
3. If I click the down arrow (to display the full content of the list), my remote servlet is invoked, and the result is correctly displayed : ok
4. Now, if i try to type some texte into the combo (after step 3), nothing happens, no result and no invocation of my remote servlet : ko
5. If I try to click the down arrow, the result is correctly displayed but my remote servlet is not invoked : ko
My main problem is step 4 (the step 5 is not really a problem), it means that if I click once it get all the combo content, then typing into the combo do not work anymore :( (looks like working with a cache, but there is something i don't understand).
Below, some parameters of my combo:
Plateform is :
Mac OSX 10.5
Trunk version of smartgwt
GWT 1.6.4
It does the samething with hosted mode, firefox, IE or safari
Please help...
With my best regards.
Alexandre
I'm using a ComboBoxItem, connected to a RestDataSource.
1. If I type some text, then my remote servlet is invoked, and the result is correctly filtered : ok
2. If I close the combo and try again : ok
3. If I click the down arrow (to display the full content of the list), my remote servlet is invoked, and the result is correctly displayed : ok
4. Now, if i try to type some texte into the combo (after step 3), nothing happens, no result and no invocation of my remote servlet : ko
5. If I try to click the down arrow, the result is correctly displayed but my remote servlet is not invoked : ko
My main problem is step 4 (the step 5 is not really a problem), it means that if I click once it get all the combo content, then typing into the combo do not work anymore :( (looks like working with a cache, but there is something i don't understand).
Below, some parameters of my combo:
Code:
localisationSection = new ComboBoxItem( "localisationSection" ); localisationSection.setWidth( "*" ); localisationSection.setCompleteOnTab( true ); localisationSection.setColSpan( 2 ); localisationSection.setTextMatchStyle( TextMatchStyle.SUBSTRING ); final DataSource dataSource = new DataSource(); dataSource.setDataURL( "localisationSection.rpc" ); dataSource.setID( "localisationSection" ); localisationSection.setValueField( "id" ); localisationSection.setOptionDataSource( dataSource ); localisationSection.setDisplayField( "displayField" ); localisationSection.setAutoFetchData( false ); localisationSection.setFilterLocally( false );
Mac OSX 10.5
Trunk version of smartgwt
GWT 1.6.4
It does the samething with hosted mode, firefox, IE or safari
Please help...
With my best regards.
Alexandre
Comment