[solved] bind calculate doesn't insert value in instance

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[solved] bind calculate doesn't insert value in instance

Libelah
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: bind calculate doesn't insert value in instance

Alessandro Vernet
Administrator
On Apr 1, 2009, at 8:42 AM, Libelah wrote:

> <xforms:bind id="total-bind" nodeset="total" type="xs:decimal"
> relevant="true()" calculate="sum(../items/item[./bool=1]/amount)" />

The code looks right, but it is hard to say without seeing a full  
example. Could you post here a simple example that runs in the XForms  
sandbox and shows the problem? (Also see: http://www.orbeon.com/ops/doc/home-faq#reporting-issues)

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

solved

Libelah
CONTENTS DELETED
The author has deleted this message.