Id is there as I have mentioned above. The actually html that is generated
for the example above is and to me it looks like form is not properly
positioned in the table. Am I wrong?

Thanks

Before refresh!

<div class="t-zone tapestry-zone" id="zone">
    <div class="" style="display: none;">
        <input
value="0l3Pd9zAj3I6qxABtW5NMGczHjE=:H4sIAAAAAAAAAFvzloG1XIZBKiknMTk7Kb9C3yM1MackI7gksaS02ConP7+guIhBL78oXS+xIDE5I1WvJLEgtbikqNJULzm/KDUnMwlI5xbk56XmlRTr+QDVq5jq+p+8pslQfZKJgaGigMqGG0Y+Wfs5bfvlhcQZ7keS4UFAeaAUyIhUt6L83GAQL8U5JxOoJCwxpzRVd/qhKx0MCn+ZGBh9GLiTERIlDEI+WYllifo5iXnp+sElRZl56dYVBSUMgrqGRgYWhuaGFsaG5pYmQHa5AoMcdjcDHQkWBbrbFK+7kxKLU/Uck4CCicklbpmpOSkqwaklpQWqoYe5H4oe/wN1Xn5eSVF+jl9ibmohQx0DK8g5HDA7iHKFI6muCCjKT04tLg4uTcrNLC7OzM87vC7FJO3bvHO0SAomnwrSNN3FVtsTYzgoBFjQo8PMzNyYiIAA6eUoYeCCCcQbENYE0sOD300gJXzkONvcxNKUHGcbDqyzQQQ5zjaim7NJTYFmBgIfLOKW9NhCUqASgwIOwzPzsotBeaIEaIUL0VYAdYFzUglmvvLP7Jj0T6o9D5zTOSAFkWcKPJtzIWwEAGhib//hBQAA"
name="t:formdata" type="hidden">
    </div>
    [key[-1208171831794208],value[true],
key[-1208171831796673],value[true], key[-1208171831797495],value[false],
key[-1208171831798317],value[true]]
    <a id="linksubmit" href="#">
        refresh
    </a>
    <table>
        <tbody>
        <tr>
            <td></td>
*            <form onsubmit="javascript:return
Tapestry.waitForPage(event);" action="/healthstatus.form" method="post"
id="form" class="t-prevent-submission"></form>*
            <td>
                <input checked="checked" id="checkbox" name="checkbox"
type="checkbox"><img id="checkbox_icon" class="t-error-icon" alt=""
src="/assets/d539589c9facbc5d/core/spacer.gif" style="display: none;">
            </td>
            <td>
                <input checked="checked" id="checkbox_0" name="checkbox_0"
type="checkbox"><img id="checkbox_0_icon" class="t-error-icon" alt=""
src="/assets/d539589c9facbc5d/core/spacer.gif" style="display: none;">
            </td>
            <td>
                <input id="checkbox_1" name="checkbox_1"
type="checkbox"><img id="checkbox_1_icon" class="t-error-icon" alt=""
src="/assets/d539589c9facbc5d/core/spacer.gif" style="display: none;">
            </td>
            <td>
                <input checked="checked" id="checkbox_2" name="checkbox_2"
type="checkbox"><img id="checkbox_2_icon" class="t-error-icon" alt=""
src="/assets/d539589c9facbc5d/core/spacer.gif" style="display: none;">
            </td>
        </tr>
        </tbody>
    </table>
</div>

After Refresh!

<div class="t-zone tapestry-zone" id="zone" style="">
    <div class="" style="display: none;">
        <input
value="OHPu1s/F1j43AgG7qrgl2qJCnwQ=:H4sIAAAAAAAAAFvzloG1XIZBKiknMTk7Kb9C3yM1MackI7gksaS02ConP7+guIhBL78oXS+xIDE5I1WvJLEgtbikqNJULzm/KDUnMwlI5xbk56XmlRTr+QDVq5jq+p+8pslQfZKJgaGigMqGG0Y+Wfs5bfvlhcQZ7keS4UFAeaAUyIhUt6L83GAQL8U5JxOoJCwxpzRVd/qhKx0MCn+ZGBh9GLiTERIlDEI+WYllifo5iXnp+sElRZl56dYVBSUMgrqGRgYWhuaGFsaG5pYmQHa5AoMcdjcDHQkWBbrbFK+7kxKLU/Uck4CCicklbpmpOSkqwaklpQWqoYe5H4oe/wN1Xn5eSVF+jl9ibmohQx0DK8g5HDA7iHKFI6muCCjKT04tLg4uTcrNLC7OzM87vC7FJO3bvHO0SAomnwrSNN3FVtsTYzgoBFjQo8PMzNyYiIAA6eUoYeCCCcQbENYE0sOD300gJXzkONvcxNKUHGcbDqyzQQQ5zjaim7NJTYFmBgIfLOKW9NhCUqASgwIOwzPzsotBeaIEaIUL0VYAdYFzUglmvvLP7Jj0T6o9D5zTOSAFkWcKPJtLIGyMNzFJTDVJSjVIMTExTwMA0VBQt+8FAAA="
name="t:formdata" type="hidden">
    </div>
    [key[-1208171831794208],value[true],
key[-1208171831796673],value[true], key[-1208171831797495],value[false],
key[-1208171831798317],value[false]]
    <a id="linksubmit_44ae4be0d447f" href="#">
        refresh
    </a>
    <table xmlns="http://www.w3.org/1999/xhtml";>
        <tbody>
        <tr>
            <td></td>
*            <form action="/healthstatus.form" method="post"
id="form_44ae4be0d447f" class="t-prevent-submission"></form>*
            <td>
                <input checked="checked" id="checkbox_44ae4be0d447f"
name="checkbox" type="checkbox"><img id="checkbox_44ae4be0d447f_icon"
class="t-error-icon" alt="" src="/assets/d539589c9facbc5d/core/spacer.gif"
style="display: none;">
            </td>
            <td>
                <input checked="checked" id="checkbox_44ae4be0d447f_0"
name="checkbox_0" type="checkbox"><img id="checkbox_44ae4be0d447f_0_icon"
class="t-error-icon" alt="" src="/assets/d539589c9facbc5d/core/spacer.gif"
style="display: none;">
            </td>
            <td>
                <input id="checkbox_44ae4be0d447f_1" name="checkbox_1"
type="checkbox"><img id="checkbox_44ae4be0d447f_1_icon"
class="t-error-icon" alt="" src="/assets/d539589c9facbc5d/core/spacer.gif"
style="display: none;">
            </td>
            <td>
                <input id="checkbox_44ae4be0d447f_2" name="checkbox_2"
type="checkbox"><img id="checkbox_44ae4be0d447f_2_icon"
class="t-error-icon" alt="" src="/assets/d539589c9facbc5d/core/spacer.gif"
style="display: none;">
            </td>
        </tr>
        </tbody>
    </table>
</div>


On Mon, Jun 2, 2014 at 1:56 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Sun, 01 Jun 2014 13:02:33 -0300, Boris Horvat <horvat.z.bo...@gmail.com>
> wrote:
>
>  Well from what I can see, it is not possible to put form in the middle of
>> the table, so that means I will have to put it around the table. However
>> for me this is a bit tricky cause inside I have a lot of loop iteration
>> for the same source, hence when the form is submitted those loops will try
>> to
>> populate the same source.
>>
>
> Loop nor Form check whether they're inside a <table> or anything like
> that. Your problem is elsewhere. In addition, you didn't set an HTML id in
> your zone: <t:zone t:id="zone">. t:id isn't (HTML) id. Try <t:zone
> t:id="zone" id="zone">. Geoff just warned you you're generating invalid
> HTML.
>
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Sincerely
*Boris Horvat*

Reply via email to