struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yogita sharma <>
Subject Ajax call on onchange event
Date Fri, 06 Mar 2009 08:20:29 GMT
I am making an ajax call on, onchange event, here is the code I am using for

                     <s:select id="name" name="name" list="myList"/>
                      <sx:bind sources="name" events="onchange"
targets="div" href="%{#url}"/>

 Depending on the value of select list, I need to populate the contents of
Div, But I am not able to get the value of "name" in my ajax action class,
it's printing null instead. I have defined setter, getters for the "name"
parameter in my ajax action clas. Am I missing something?

Thanks in advance for the help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message