I still don't what wrong with this. I fixed few problems but still can not get the javascript function to execute when the request is being made. It send the request but the values for the form are not populated. Hopefully someone can find out what's wrong with my code.



<script type="text/javascript" language="javascript">
dojo.event.topic.subscribe("/disableAll" , function(data, type, request) {
 showMessage();
});
</script>

<table>
   <tr>
<td><s:a href="javascript://" onclick="changeState(true);">edit</s:a>
       <td><s:url id="ajaxSubmit" value="/updateAccount.action" ></s:url>

       <s:submit theme="ajax" href="%{ajaxSubmit}" formId="MyData"
       notifyTopics="/disableAllfd" > save </s:submit>
</td>
   </tr>
</table>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to