Sorry, forgot to add the build number:
3.6.0.200803121728
----- Original Message -----
Sent: Wednesday, March 26, 2008 1:32
PM
Subject: Cannot find a matching
1-argument function named {http://orbeonorg/oxf/xml/xforms}evaluate()
Hello,
I'm trying to bind a control dynamically to a
model element via an expression evaluation, but so far no luck. Below is the
model (simplified), the view part and later the error I receive.
Help is appreciated,
Thanks.
JL
<xf:instance
id="form-data"
xmlns="">
<test-data>
<test>
<widgetList>
<widget widgetCode="foo"> <!-- this element will repeat
-->
<name/>
<widgetParentCode
/>
</widget>
</widgetList>
</test>
</test-data>
</xf:instance>
in the view:
<xf:input
ref="xxforms:evaluate('concat(''/test/widgetList/widget[@widgetCode='',
widgetParentCode ,
'']/name'')')">
<xf:label>This is a child of widget named
</xf:label>
</xf:input>
The namespace declarations in the form are as
follows:
Isn't the
evaluate() function take a single argument?
Exception Class |
org.orbeon.saxon.trans.StaticError |
Message |
XPath syntax error in {...widgetParentCode, '']/name''...}: Cannot find a matching 1-argument function named {http://orbeonorg/oxf/xml/xforms}evaluate()
|
--
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