How reload the struts2-jquery autocompleter X with value selected from
another struts2-jquery autocompleter Y
I have the two strut2 Jquery autocompleter box called x,y in my jsp page.
If i change x , then automatically y also should change according to
selected value of x.In struts dojo tags i used listen topics to reload .
But strut2 jquery not able to reload .
my code
<sj:autocompleter
id="mapNameList"
name="map_name"
list="%{mapNameList}"
selectBox="true"
selectBoxIcon="true"
onChangeTopics="autocompleteChange"
onFocusTopics="autocompleteFocus"
onSelectTopics="autocompleteSelect"
/>
<label for="map_type">MapType: </label>
<sj:autocompleter
id="mapTypeList"
name="map_type"
list="%{mapTypeList}"
selectBox="true"
selectBoxIcon="true"
onChangeTopics="autocompleteChange"
onFocusTopics="autocompleteFocus"
onSelectTopics="autocompleteSelect"
/>
No comments:
Post a Comment