[Seaside] Why do forms contain unstyled divs?
Stefan Schmiedl
s at xss.de
Fri Apr 25 19:15:25 UTC 2008
On Fri, 25 Apr 2008 12:09:45 -0700
"Avi Bryant" <avi at dabbledb.com> wrote:
> On Fri, Apr 25, 2008 at 11:50 AM, Stefan Schmiedl <s at xss.de> wrote:
>
> > I see that the implementors have taken steps to keep required elements
> > out of sight. Still, both above and below my form content, div's without
> > styles remain. Is there a specific reason for not specifying a hiding
> > style to the wrapping div instead/additionally to hiding the contents?
>
> Different browsers do very different things when you hit enter inside
> a text input, and this is a browser hack to ensure that the
> defaultAction callback you have provided gets executed. IIRC,
> Internet Explorer will take the first "visible" submit button in the
> form, which is why "hidden" doesn't work.
Thanks for the clarification, Avi.
Tongue-in-cheek question: Any plans on building another web framework?
I learned to use IOWA a few years ago, probably right before you left
it for building Seaside, now I'm learning Seaside and ...
s.
More information about the seaside
mailing list