form tag is now allowed as a child of tr

-igor

On Tue, Nov 16, 2010 at 9:29 PM, Alec Swan <[email protected]> wrote:
> Hello,
>
> I have a <table> with <thead> containing the table header, <tbody>
> containing a list of records and <tfoot> containing a
> <tr><form>..</form></tr> which allows the user to add a new record to
> the table. The table is rendered using DataView class and is updated
> using AJAX after the form submission.
>
> This works as expected in IE. The user enters new record data, submits
> the form which causes table to get updated with the new record.
>
> In Firefox, the form in thead gets hidden after that table is
> refreshed. So, effectively the user can no longer add a new row.
>
> What is causing this and how to solve this?
>
> Thanks!
>
> P.S. Here is the form markup that Wicket generates for the form after
> it is submitted (note style="width: 0px; height: 0px;.." part)
>
> <tr>
> <form method="post" wicketpath="msPanel_variableListPanel_addForm"
> id="addForm1b4"
> action="?wicket:interface=modal-dialog-pagemap:6:msPanel:variableListPanel:addForm::IFormSubmitListener::">
> <div style="width: 0px; height: 0px; position: absolute; left: -100px;
> top: -100px; overflow: hidden;"></div><input type="hidden"
> id="addForm1b4_hf_0" name="addForm1b4_hf_0">
>                                 <td>..</td>
> </tr>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to