Yes they are submitted provided that the submit button is inside the form. Here's my code :

       <tr>
       <td>
<s:submit href="/updateAccount.action" value="Save from inside the form w/o ajax" > </s:submit>
       </td>
       </tr>
   </s:form>
</table>
<hr />

   <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="disableInputs(false);">edit</s:a>
       <td><s:url id="ajaxSubmit" value="/updateAccount.action" ></s:url>
       <s:submit  href="%{ajaxSubmit}"   notifyTopics="/disableAll"
           theme="ajax" formId="MyData"> save using ajax </s:submit>
        </td>
   </tr>
</table>




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

Reply via email to