|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
form inside table not displayed on ajax callHi all,
I have a table with various rows in them with an action link per row. When pressing the action link, that row disappears, and new rows are inserted. It works as a charm, except when the newly inserted rows are surrounded by a <form> tag, so inside the form, there are <tr> tags. What happens then is... nothing! The row with the action link disappears as it should, but the new rows are not rendered. In the Ajax-debug-window I see the table is returned as expected, including the form and new rows. When I turn on these extra rows on the initial run (so everything visible) the table renders correctly, showing everything. When I move the form inside a row, it works fine... but that's not enough.. Cannot imagine this is really a Wicket problem... Using Wicket 1.3.6 + Firefox Any tips appreciated! Antoine. -- --8<--8<-- take your photos everywhere you go - http://www.memolio.com --8<--8<-- We don't see things as they are, we see things as we are. - Anais Nin Whether you think you can or whether you think you can't, you're right. - Henry Ford --8<--8<-- |
|
|
Re: form inside table not displayed on ajax callhtml spec does not allow you to nest a form tag inside a table tag
unless the form is inside a td -igor On Wed, Jul 1, 2009 at 2:06 PM, Antoine van Wel<antoine.van.wel@...> wrote: > Hi all, > > > I have a table with various rows in them with an action link per row. > When pressing the action link, that row disappears, and new rows are > inserted. > It works as a charm, except when the newly inserted rows are surrounded by a > <form> tag, so inside the form, there are <tr> tags. > What happens then is... nothing! The row with the action link disappears as > it should, but the new rows are not rendered. > In the Ajax-debug-window I see the table is returned as expected, including > the form and new rows. > > When I turn on these extra rows on the initial run (so everything visible) > the table renders correctly, showing everything. > When I move the form inside a row, it works fine... but that's not enough.. > > Cannot imagine this is really a Wicket problem... Using Wicket 1.3.6 + > Firefox > > > Any tips appreciated! > > Antoine. > > -- > > --8<--8<-- > take your photos everywhere you go - http://www.memolio.com > --8<--8<-- > We don't see things as they are, we see things as we are. - Anais Nin > Whether you think you can or whether you think you can't, you're right. - > Henry Ford > --8<--8<-- > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: form inside table not displayed on ajax callwhy, of course...
thanks for your quick reply! Antoine. On Wed, Jul 1, 2009 at 11:47 PM, Igor Vaynberg <igor.vaynberg@...>wrote: > html spec does not allow you to nest a form tag inside a table tag > unless the form is inside a td > > -igor > > On Wed, Jul 1, 2009 at 2:06 PM, Antoine van > Wel<antoine.van.wel@...> wrote: > > Hi all, > > > > > > I have a table with various rows in them with an action link per row. > > When pressing the action link, that row disappears, and new rows are > > inserted. > > It works as a charm, except when the newly inserted rows are surrounded > by a > > <form> tag, so inside the form, there are <tr> tags. > > What happens then is... nothing! The row with the action link disappears > as > > it should, but the new rows are not rendered. > > In the Ajax-debug-window I see the table is returned as expected, > including > > the form and new rows. > > > > When I turn on these extra rows on the initial run (so everything > visible) > > the table renders correctly, showing everything. > > When I move the form inside a row, it works fine... but that's not > enough.. > > > > Cannot imagine this is really a Wicket problem... Using Wicket 1.3.6 + > > Firefox > > > > > > Any tips appreciated! > > > > Antoine. > > > > -- > > > > --8<--8<-- > > take your photos everywhere you go - http://www.memolio.com > > --8<--8<-- > > We don't see things as they are, we see things as we are. - Anais Nin > > Whether you think you can or whether you think you can't, you're right. - > > Henry Ford > > --8<--8<-- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > -- --8<--8<-- take your photos everywhere you go - http://www.memolio.com --8<--8<-- We don't see things as they are, we see things as we are. - Anais Nin Whether you think you can or whether you think you can't, you're right. - Henry Ford --8<--8<-- |
| Free embeddable forum powered by Nabble | Forum Help |