Hi, Wicket behaves the same way in both cases. It is just that the browser doesn't send request parameter for "price" when the HTML is invalid. That's why it is null at the server side.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 27, 2016 at 11:13 PM, Viktor Micskó <[email protected]> wrote: > Hi, > > > Thank you, this was the reason indeed. > > Just for the archive: forms in tables seem to work fine as long as you > don't update form fields via AJAX, but Labels are updated correctly. > > > Kind Regards, > Viktor Micsko > > On Wed, Jan 27, 2016 at 9:33 AM, Thomas Matthijs <[email protected]> wrote: > > > > o) I also found that this only happens when the markup looks like this, > > > i.e. the form is inside the table (See HomePage.html): > > > > > > <table> > > > <form wicket:id="form"> > > > ... > > > </form> > > > </table> > > > > > > ...but not when the form is outside (see WorkingPage.html) > > > > > > <form wicket:id="form"> > > > <table> > > > ... > > > </table> > > > </form> > > > > > > The first markup would be preferred so that the existing values line up > > > nicely with the form fields. > > > > <form> is not allowed to be in table, see > > https://developer.mozilla.org/en/docs/Web/HTML/Element/table > > > > You are still building html, it has to be (mostly) valid > > > > Kind regards > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
