Hi there. Your html syntax is invalid. The only elements allowed to be nested 
directry after a <tr> tag are: <th> and <td>. Put your form in a <td>.

Regards,
Poko

On Nov 18, 2010, at 15:32, jcgarciam <[email protected]> wrote:

> 
> I know it may be cumbersome and need more work, but why not use an outer
> form with hidden fields and use that form to submit your row changes? or
> each form per line could be different?
> 
> On Thu, Nov 18, 2010 at 6:46 AM, Einar Bjerve [via Apache Wicket] <
> [email protected]<ml-node%[email protected]>
>> wrote:
> 
>> 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 <[hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=0>>
>> 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 <[hidden 
>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=1>>
>> wrote:
>>>>> form tag is now allowed as a child of tr
>>>>> 
>>>>> -igor
>>>>> 
>>>>> On Tue, Nov 16, 2010 at 9:29 PM, Alec Swan <[hidden 
>>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=2>>
>> 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: [hidden 
>>>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=3>
>>>>>> For additional commands, e-mail: [hidden 
>>>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=4>
>>>>>> 
>>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden 
>>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=5>
>>>>> For additional commands, e-mail: [hidden 
>>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=6>
>>>>> 
>>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden 
>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=7>
>>>> For additional commands, e-mail: [hidden 
>>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=8>
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=9>
>>> For additional commands, e-mail: [hidden 
>>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=10>
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=11>
>> For additional commands, e-mail: [hidden 
>> email]<http://user/SendEmail.jtp?type=node&node=3048343&i=12>
>> 
>> 
>> 
>> ------------------------------
>> View message @
>> http://apache-wicket.1842946.n4.nabble.com/Form-in-tfoot-disappears-after-submission-tp3046160p3048343.html
>> 
>> To start a new topic under Apache Wicket, email
>> [email protected]<ml-node%[email protected]>
>> To unsubscribe from Apache Wicket, click 
>> here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=>.
>> 
>> 
> 
> 
> 
> -- 
> Sincerely,
> JC (http://www.linkedin.com/in/jcgarciam)
> Work smarter, not harder!.
> 
> -- 
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Form-in-tfoot-disappears-after-submission-tp3046160p3048648.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> 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