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

Re: [XForms 2] New feature - Patterns to reduce the need for actions

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 27 May 2009 10:40:21 -0700
Message-Id: <B88A2E6C-0CFC-4BC3-B5BC-A204BD3F68CE@orbeon.com>
To: Forms WG <public-forms@w3.org>
Quick note on this:

We need to weigh adding features to core XForms vs. providing a  
powerful extension mechanism which authors can use to extend the  
language.

Specifically, in Orbeon Forms we have been implementing XBL 2, and  
once you have something like that, the need for adding higher-level  
constructs to the core language is quite reduced.

-Erik

On May 27, 2009, at 8:21 AM, Steven Pemberton wrote:

> My opinion is that in XForms 2, the need for actions should be  
> greatly reduced. Actions should be for rarely occurring situations.
>
> The most obvious case is in <repeat>, where you have to do a lot of  
> work to add and delete items.
>
> My proposal is along the lines of
>
> 	<repeat bind="whatever" methods="insert delete">
> 		...
> 	</repeat>
>
> An implementation would be required to add some way of inserting and  
> deleting elements. How that is done is left to implementations.
>
> Without the attribute, there would be no system-supplied method to  
> insert or delete, though you could still do it with actions. You  
> could also just allow deletes, or just allow inserts.
>
> The other place where you regularly need actions is in switch, but  
> that is the subject of another mail.
>
> Steven
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Wednesday, 27 May 2009 17:41:25 UTC

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