>>
>> I finally also found a working example here:
>> http://javachamp.blogspot.com/2008/06/struts-2-ajax-drop-down-example.html
>>
>> You can actually get rid of any javascript functions and just publish the
>> topic in the onchange and use die struts div tag to do the
gt;> Did you try publishing a topic onchange and having the div have that
>> topic in its listenTopics?
>>
>> Dave
>>
>>
>> --- On Thu, 8/7/08, Markus Doring <[EMAIL PROTECTED]> wrote:
>>
>>> From: Markus Doring <[EMAIL PROTECTED]&g
;
>
>onchange="dojo.event.topic.publish('imgByRegion_topic');return false;"
> theme="ajax"/>
>
> namespace="/ajax" includeParams="none"/>
> listenTopics="imgByRegion_topic" theme="ajax&quo
s Doring <[EMAIL PROTECTED]>
>> Subject: struts2 select onchange to trigger ajax call
>> To: user@struts.apache.org
>> Date: Thursday, August 7, 2008, 3:37 PM
>> I would like to have an onchange event from a select element
>> to trigger an
>> AJAX call that repla
Did you try publishing a topic onchange and having the div have that topic in
its listenTopics?
Dave
--- On Thu, 8/7/08, Markus Doring <[EMAIL PROTECTED]> wrote:
> From: Markus Doring <[EMAIL PROTECTED]>
> Subject: struts2 select onchange to trigger ajax call
> To: u
onChange", anch, "onClick");
}
thanks,
Markus
--
View this message in context:
http://www.nabble.com/struts2-select-onchange-to-trigger-ajax-call-tp18878122p18878122.html
Sent from the Struts -
6 matches
Mail list logo