struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour <>
Subject Re: ajax - Submit a form
Date Mon, 21 May 2007 19:45:21 GMT
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) {

        <td><s:a href="javascript://" 
        <td><s:url id="ajaxSubmit" value="/updateAccount.action" ></s:url>

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message