Now this wont make any sense. I added the theme attr to the form, and
it's working on all the buttons except the first one in the list!
Here' my code:
<table id="row">
<thead>
<tr>
<th>Task Id</th>
<th>Service Name</th>
<th>Unit Count</th>
<th>Rate/Unit</th>
<th>cost</th>
<th>Edit</th>
<th>Save</th>
</tr>
</thead>
<tbody>
<s:iterator value="taskList" status="stat" id="row">
<s:form action="updateTask" id="form_${id}"
method="post" theme="ajax">
<s:if test="#stat.odd == true">
<tr class="odd">
</s:if>
<s:else>
<tr class="even">
</s:else>
<div id="DIV_${id}">
<td><s:textfield value="${id}" name="task.id" /></td>
<td><s:submit theme="ajax" /></td>
</div>
</tr>
</s:form>
</s:iterator>
</tbody>
</table>
I have three in my testing list that I would like to update and save
through an action. The second and third items are firing a request but
not the first one. They are all generated in a loop and have the same code !
Mansour wrote:
Dave Newton wrote:
--- Mansour <[EMAIL PROTECTED]> wrote:
How do I know if there is traffic on the wire?
Use Live HTTP Headers, Firebug, Ethereal, etc.
I used Live HTTP Headers, and there's nothing on the wire. There's no
request.
Did you say that the action worked in a non-Ajaxily?
Yes if I remove the ajax theme, it works fine. This will work:
<td><s:submit type="button" /></td>
This will never work:
<td><s:submit type="button" theme="ajax"/></td>
d.
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel
today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]