Hi,
i'd like to discuss with you for in case you've found it before.
I've got a div <div id="result">...</div> that I fill with my ajax results
so I present a list inside of the result div, then user clicks on an element
and the response goes inside for editing.
Then in the edition details I've added two buttons, a submit and a cancel
like this:
<s:submit id="submit" name="submit" targets="result"
key="accept" theme="ajax" action="save-blog"/>
<s:submit id="cancel" name="cancel"
action="edit-blog-cancel" theme="ajax" onclick="form.onsubmit=null"
key="cancel" targets="result"/>
And I've found that the one I've marked with cancel button never executes
the cancel method in my action unless I delete the theme="ajax" attribute...
¿May this be a bug?
--
"Sit tibi terra levis"
http://yayocaturas.blogspot.com/