- From: Dominique ARNOU <dominique.arnou@edfgdf.fr>
- Date: Mon, 23 Feb 2004 14:54:17 +0100
- To: www-forms@w3.org
Mark,
Thanks for your response, but I don't know where is the library for this
function, how add it in my configuration ? Can you explain that ? Where can
I find generic help for these extension functions (HTMLserialize,
bubble,...) ?
Dominique
mark.birbeck@x-port.net@w3.org on 23/02/2004 13:00:49
Envoyé par : www-forms-request@w3.org
Pour : Dominique ARNOU/SDP/EMC/EDFGDF/FR@EDFGDF
cc : www-forms@w3.org
Objet : RE: Sort
Hi Dominique,
> Is there anyway that I can sort elements into an instance
> without submit it to server ? I understand that xslt can do
> that, but I want to stay on the same form after sorting my
> array... can xforms does that ?
There are plans to add such features to the core of XForms. In the
meantime, if your implementation allows it, you could use extension
functions as a temporary solution:
<model functions="sort:bubble">
<instance src="http://www.somedata.com/x.xml" />
<bind id="nsSorted" nodeset="sort:bubble(/a/b, order)" />
</model>
.
.
.
<select1 ref="order">
<label>What order ...</label>
<item>
<label>Ascending</label>
<value>asc</value>
</item>
<item>
<label>Descending</label>
<value>desc</value>
</item>
</select1>
<repeat bind="nsSorted">
...
</repeat>
Regards,
Mark
Mark Birbeck
CEO and CTO
x-port.net Ltd.
http://www.formsPlayer.com/
Received on Monday, 23 February 2004 09:06:04 UTC