[Seaside] Nested form tags

Andrew Catton andrew at smallthought.com
Thu Nov 3 23:51:16 CET 2005


On 11/3/05, Avi Bryant <avi.bryant at gmail.com> wrote:
>
> On Nov 3, 2005, at 2:05 PM, Ramon Leon wrote:
>
>
> >
> >
> >
> >> I believe I found the bug that causes the weird effects that
> >> have been observed when nesting forms.
> >>
> >>
> >>
> >
> > I would think the bug would be nesting forms in the first place, I
> > believe that's invalid html, form tags should not be nested.
> >
>
> That's true, but this lets us take more appropriate action - either
> throwing a meaningful error, or possibly just ignoring the inner form
> and treating it all as one big one (which, I think, is my
> preference). So I'm very grateful that Michel took the time to
> figure this out...


I think I'd prefer if we had an #ensureForm: version, that would just submit
the one big form, and still have #form: around, which would error out when
nesting; this might capture some mistaken composition..

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liststest.squeakfoundation.org/pipermail/seaside/attachments/20051103/f12ac5b3/attachment.htm


More information about the Seaside mailing list