Hi,
I tried form submit like the following code. But, I found that every time when
I clicked on the submit button, the dojo.event.topic was called twince. Is
there anybody who has the same experience?
dojo.event.topic.subscribe("/notifyevent", function(data, type, request) {
alert('Notify event');
});
<s:form action="someaction" validate="true">
<s:textfield id="id" name="id" cssStyle="display:none"/>
<s:submit theme="ajax" notifyTopics="/notifyevent"/>
</s:form>
Thanks,
Willa
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com