This post was updated on .
Hi there,
is it possible to nest xxforms:evaluate() expressions? I need something like this in an attribute of some instance-data. This attribute is used then as follows to calculate the label which will be displayed.: <xforms:select1 ref="instance('tree-select')/select1" appearance="xxforms:tree" id="tree-id" incremental="true"> <xforms:itemset nodeset="instance('treedata')/descendant::*"> <xforms:label value="xxforms:evaluate(@Label)"/> <xforms:value value="@Value"/> </xforms:itemset> </xforms:select1> In the attribute of the instance I need something like this: <SRN Label="concat(xxforms:evaluate(concat('instance(''main-instance2'')/Servicerufnummern/SRN[','3',']/Bezeichner')),xxforms:evaluate(concat('instance(''main-instance2'')/Servicerufnummern/SRN[','3',']/@ID')))" Value=""> </SRN> As you can see I need to nest evaluates. I got the following error if I use this: [No error message provided.] Has someone an idea? Thanks Michael |
Administrator
|
Michael,
I haven't had time to try your example. Did you find a workaround? -Erik On Wed, Jul 1, 2009 at 6:09 AM, Myxlyxl<[hidden email]> wrote: > > Hi there, > > is it possible to next xxforms:evaluate() expressions? I need something like > this in an attribute of some instance-data. This attribute is used then as > follows to calculate the label which will be displayed.: > > <xforms:select1 ref="instance('tree-select')/select1" > appearance="xxforms:tree" id="tree-id" incremental="true"> > <xforms:itemset nodeset="instance('treedata')/descendant::*"> > <xforms:label value="xxforms:evaluate(@Label)"/> > <xforms:value value="@Value"/> > </xforms:itemset> > </xforms:select1> > > In the attribute of the instance I need something like this: > > <SRN > Label="concat(xxforms:evaluate(concat('instance(''main-instance2'')/Servicerufnummern/SRN[','3',']/Bezeichner')),xxforms:evaluate(concat('instance(''main-instance2'')/Servicerufnummern/SRN[','3',']/@ID')))" > Value=""> > </SRN> > > As you can see I need to nest evaluates. I got the following error if I use > this: > [No error message provided.] > > > Has someone an idea? > > Thanks > Michael > -- > View this message in context: http://www.nabble.com/Nested-evaluate%28%29-expressions--tp24289510p24289510.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > > -- > 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 > > -- 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 |
Free forum by Nabble | Edit this page |