Dave Newton wrote:
--- Mansour <[EMAIL PROTECTED]> wrote:
If the submit button is used inside a form (href is
not required on this case), the form will be
submitted asynchronously:
This is note true. It can never submit from inside a
form. This will never anything. It will never make
any thing. I am using 2.0.6
I'm pretty sure it *is* true, as I have several Ajax
forms built precisely in this way.
You have your <s:head.../>? Any msgs if in debug mode?
No, there are no msgs in the debug mode. And yes I have this : <s:head
theme="ajax" debug="true" />
Any traffic on the wire when you hit submit?
I dont see anything changing. I set a break point in the action but
nothing happens.
How do I know if there is traffic on the wire?
Why not move to 2.0.8?
I didn't want to because I started already with 2.0.6 and was thinking
of migrating after I finnish this project. However, I did it already and
I am using 2.0.8 hopefully it fixes my problem. BUT NO LUCK.
Here's as part of 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}">
<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>
d.
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the
tools to get online.
http://smallbusiness.yahoo.com/webhosting
---------------------------------------------------------------------
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]