We had a similar problem. What we did was to rewrite the table to use div's instead, and not <table>, since then you're allowed to have forms around individual lines.
Den 17. nov. 2010 kl. 16.38 skrev Igor Vaynberg: > not that i know of. > > -igor > > On Wed, Nov 17, 2010 at 6:36 AM, Alec Swan <[email protected]> wrote: >> Did you mean "noT" allowed? >> >> If so, is there any other way to submit all tables in a row besides >> having a form around the entire table? >> >> Thanks >> >> On Wed, Nov 17, 2010 at 12:04 AM, Igor Vaynberg <[email protected]> >> wrote: >>> 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] >>> >>> >> >> --------------------------------------------------------------------- >> 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]
