W3C home > Mailing lists > Public > public-forms@w3.org > May 2008

Re: what happens if someone puts a model inside a form tag?

From: John Boyer <boyerj@ca.ibm.com>
Date: Fri, 16 May 2008 15:24:44 -0700
To: Erik Bruchez <ebruchez@orbeon.com>
Cc: "public-forms (new)" <public-forms@w3.org>, public-forms-request@w3.org
Message-ID: <OFD2FAB5EB.2885114A-ON8825744B.007A1147-8825744B.007B215E@ca.ibm.com>
Perhaps, though the main use AFAIK for multiple models in an HTML page is 
multiple forms, which is why models don't talk to each other.

I would expect that an HTML page that contained multiple form tags would 
not require use of the model attribute in any of the forms because the 
(first) model in the form tag is merged with the implicit model.

So this is another bit  of change from current practice in XForms 1.1.

Still, allowing multiple models within a form tag is possible but will 
cause the author to learn the model attribute and will cause confusion 
among people who don't realize that if they have two model that they want 
to talk to each other, then what they have is one model.

Cheers,
John M. Boyer, Ph.D.
Senior Technical Staff Member
Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw





Erik Bruchez <ebruchez@orbeon.com> 
Sent by: public-forms-request@w3.org
05/15/2008 04:45 PM

To
"public-forms (new)" <public-forms@w3.org>
cc

Subject
Re: what happens if someone puts a model inside a form tag?







> I think it is reasonable to say that a single form tag should not 
> have more than one model element child.

Mmmh, I think that would be an unnecessary limitation.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Friday, 16 May 2008 22:25:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:48 UTC