W3C home > Mailing lists > Public > www-forms@w3.org > July 2006

Re: Use cases for multiple models

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 13 Jul 2006 16:00:17 +0200
Message-ID: <44B651F1.8080608@orbeon.com>
To: 'www-forms' <www-forms@w3.org>

Mark Seaborne wrote:
 > Erik,
 > When I first started using XForms I tended to use multiple models as
 > a convenient packaging device. So I tried to keep "business data +
 > rules" in one model, captions and values for enumerations in
 > another, and instances used to manage presentation logic/control in
 > a third. It just seemed a neat way of working, and I assumed it was
 > one of the reasons for allowing multiple models in one containing
 > document. I know a number of other form authors have independently
 > done exactly the same thing.  However, I subsequently learned that I
 > was in error to do this, and that the favoured approach of the WG
 > was one form, one model. By-the-way, is this actually stated
 > anywhere in the rec.? If not, should it be? I couldn't find anything
 > obvious, although it is hinted at in the section on multiple models
 > in one containing document.

I don't think there is anything in the spec, and that is one reason I
was asking for use cases ;-)

 > Another possibility for multiple models in one form is MarkB and Raman's
 > idea of using complete XForms as form controls. Obviously that isn't
 > catered for at the moment, but it is a neat idea.

Absolutely, this one is a great idea, but for XForms 1.2 or 2.0 ;-)


Orbeon - XForms Everywhere:
Received on Thursday, 13 July 2006 14:13:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:18 UTC