you can publish more then one topics like this:
<sj:select
href="%{remoteurl}"
id="selectWithReloadTopic"
formIds="formSelectReload"
reloadTopics="reloadsecondlist,reloadthirdlist"
name="echo" list="reloadList"
emptyOption="true"
headerKey="-1"
headerValue="Please Select a Framework"/>
nani2ratna wrote:
>
> Hi Johannes,
>
> Can you tell me how to change this example to work for single select box.
> I mean If user change anything in select box, another 2 select boxes need
> to get change their data.
>
> Thanks in advace
> Ratna
>
>
> Johannes Geppert wrote:
>>
>> Maybe this helps you.
>>
>> http://code.google.com/p/struts2-jquery/wiki/SelectTag#A_simple_Doubleselect_with_Topics
>>
>> Best Regards
>>
>> Johannes Geppert
>>
>>
>> nani2ratna wrote:
>>>
>>> Hi Guys,
>>>
>>> I have 2 select boxes. If user changes one select box, then data in
>>> second one should be changed and reload from database.
>>> So when user changes first select box, asynchronous action should be
>>> called and should get the data from data base
>>> and upload that data to select box.
>>>
>>> Sorry for my english.
>>>
>>> Thanks
>>> RS
>>>
>>
>>
>
>
-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context:
http://old.nabble.com/select-box-dynamic-loads-depends-on-another-select-box-tp27238090p27355701.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]