W3C home > Mailing lists > Public > www-forms@w3.org > March 2005

RE: is XForms suitable for my problem ?

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 31 Mar 2005 12:22:48 +0100
Message-ID: <B506A5D4-DB9A-4A86-B59B-4C6CA773E995@S009>
To: "'LEBUR Guillaume'" <guillaume.lebur@justice.fr>
Cc: <www-forms@w3.org>


> I have another question.
> The form would contain a list of documents, with the ability 
> to re-order them : by clicking on a button you would be able 
> to make a document element move one position up or down 
> inside its folder.
> I've searched in the documentation and found the 
> <xforms:insert> and <xforms:delete> instructions that can add 
> or remove form controls.
> I could create a copy of the element to move and place it at 
> the new position, then remove the original one, but isn't 
> there a more appropriate instruction to move form elements ?

Well, there isn't anything that will 'move' an element -- you have to copy
and delete. However, in XForms 1.1 there are two new actions -- xf:delete
and xf:duplicate -- that are more powerful than xf:insert and xf:delete, and
don't suffer from some of their limitations. Implementers are already adding
XForms 1.1 features to their processors, so you may find the processor you
are using already has these new actions. (Our processor does, and I think
the Novell IE plug-in does, too. I'm sure other implementers will comment on
whether they do, or not.)



Mark Birbeck
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
Received on Thursday, 31 March 2005 11:23:16 UTC

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