You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steven Yang <ke...@gmail.com> on 2008/10/29 10:37:47 UTC

Re: SPAM WARNING!: RE: Struts2 : Calling AJAX function on button click(ONLY)

Hi
on thing i noticed is that you have a notifyTopics attribute on you submit
tag which i dont think is necessary and used wrong.
i havent used dojo for a long time, so i am not sure if they changed any api
or settings.
but just a reminder you might need to take a look.

you dont have to specify href on your div.
you can change it or assign a href in your onclick function like
dojo.byId("resultDiv").href = "/example/result.action";

see if this help