using xforms:output in xforms:label

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

using xforms:output in xforms:label

Ryan Puddephatt
All,
    I'm trying to do the following
 

<xforms:group ref="instance('criteria-instance')/filters/filter[1]" id="criteria-context-section1-row1-col1">
   <xforms:input ref="special-display/display-value" id="profitCenterPath-section1-row1-col1">
      <xforms:label model="resources-model">
         <xforms:output model="resources-model" ref="instance('grouping-resources')/filters/label[@name = xxforms:context('criteria-context-section1-row1-col1')/@name]"/>
      </xforms:label>
   </xforms:input>
</xforms:group>

But it appears the xxforms:context is not able to find the enclosed xforms:group, if I use @ref on the label it works fine, but I wanted to add ': ' to the end of all the labels without having to store it

Any ideas?

Thanks

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws