If you add <s:head debug="true" /> and use the ajax theme, is any error
logged?

musahcy

On 5/21/07, Mansour <[EMAIL PROTECTED]> wrote:

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]




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to