Hello There,

I am new to struts and have a requirement where i have to connect the
autocompleter with the div e.g. when autocompleter's value changes  i need
to refresh the contents of the div. i have written the following code to
achieve that.

The Div Code
--------------
<s:div cssClass="formcontainer" href="%{EmailDistributionList_Load}"
theme="ajax" listenTopics="distributionListNameChange" autoStart="false"
formId="EmailDistributionList" >

The AutoCompleter Code
-------------------------
<s:autocompleter name="emailDistributionList.distributionListName"
keyName="emailDistributionList.id"
                        list="emailDistributionLists"  listKey="id"
                        listValue="distributionListName" searchType="substring" 
notifyTopics="distributionListNameChange" theme="ajax" />

When the jsp loads it tries to refresh the page over and over submitting the
request to EmailDistributionList_Load action.

Any pointers would be greatly appreciated.

Thanks
Manish

-- 
View this message in context: 
http://www.nabble.com/Connecting-s%3Aautocompleter-and-s%3Adiv-tp16467820p16467820.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to