Sometimes it helps to just ask "what is wrong with my setup?" instead of
stating "this does not work" (which might be true, but not on this case).
Consider looking at the examples in showcase.

regards
musachy

On 6/23/07, Mansour <[EMAIL PROTECTED]> wrote:

From the documentation
http://struts.apache.org/2.0.8/docs/ajax-tags.html#AjaxTags-submitTag

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

<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>






---------------------------------------------------------------------
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