Well.. there is no such thing as a nested form in HTML so why lying to your children is better? ;)
** Martin 2009/3/13 Jeremy Thomerson <[email protected]>: > Think of the children! :) When your children grow up and become > programmers and take over your code, they open it and see <tr action="/foo"> > - is that very clear? > > Wicket should enforce a form being rendered only with a form tag - that > makes sense. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Fri, Mar 13, 2009 at 4:15 AM, Martin Makundi < > [email protected]> wrote: > >> > What is the use of being able to attach a form to a <table>? There is >> > absolutely NONE. >> >> Not necessary TABLE but it is very useful to replace with, for example TR. >> >> ** >> Martin >> >> > >> > On Fri, Mar 13, 2009 at 10:02 AM, Martin Makundi >> > <[email protected]> wrote: >> >>>> I wonder if (nested) forms should simply be allowed to have any tag >> >>>> name the programmer desires? >> >>> >> >>> No. Because 99% of the time the programmer is not aware that the form >> >>> is used in a nested fashion: the form usually is on a Panel, that is >> >>> used inside another form. The panel is standalone and should use form >> >>> tags. >> >> >> >> Yes, but there is no harm done if it is ALLOWED to have another tag >> >> name. If the user uses <form there is no harm done and the backward >> >> compatibility would take care of replacing <form> with <div>. >> >> >> >> ** >> >> Martin >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> > >> > >> > >> > -- >> > Become a Wicket expert, learn from the best: http://wicketinaction.com >> > Apache Wicket 1.3.5 is released >> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. >> > >> > --------------------------------------------------------------------- >> > 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]
