Re: <alb-form> xhtml 'strict' conformance
Andrew McNamara <[email protected]> Sun, 17 Apr 2005 19:16:12 +1000
| Newsgroups | gmane.comp.web.albatross.general |
|---|---|
| Message-ID | <[email protected]> |
>I have a suggestion for a slight change of the behaviour of the <alb-form> >tag. Depending on what Context class one is using, hidden <input>-tags >containing __albform__ and/or __albstate__ are appended just before >closing the form. > >Since in 'strict' XHTML putting an <input> tag directly inside a <form> is >illegal, Sigh - you are quite correct. >I would suggest enclosing the tag with a <div>. Since the >contents are not rendered (they are hidden, afterall), the <div> produces >a box of zero proportions and therefore should not hurt (tested with >Gecko, KHTML and Opera engines, could anyone check on IE?). > >What do you think? At the moment I have patched my albatross copy, but I >find that a sub-optimal solution (since I have to pin the package on my >system or it might be overwritten in the future, preventing it from >getting future bugfixes). I think your suggestion appropriate. I'll make the change. Thanks for the heads-up. -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/