- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Thu, 31 Mar 2005 12:22:48 +0100
- To: "'LEBUR Guillaume'" <guillaume.lebur@justice.fr>
- Cc: <www-forms@w3.org>
Guillaume, > 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.) Regards, Mark Mark Birbeck CEO 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 http://www.formsPlayer.com/
Received on Thursday, 31 March 2005 11:23:16 UTC