Re: [Xsltforms-support] <xf:trigger><xf:label ref="myLabelDoesNotSeemToWork"/></xf:trigger>
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-02-02 20:32:44
|
Because of this simple workaround, label/@ref support is now at very low priority in my plans... -Alain > label/@ref <mailto:label/@ref> is not implemented presently in XSLTForms. > > I took a look at implementing it, but it's not trivial, because the > xsltforms.xsl doesn't have a match rule for xf:label; instead, it's > scattered about in the various controls and control states. > > Alain would have to respond about his plans, but in the absence of an > implementation, use <xf:label><xf:output ref="..." /></xf:label> instead. > > ------------------------------------------------------------------------ > *From:* christophe geiser [mailto:chr...@e-...] > *Sent:* Monday, February 01, 2010 8:16 AM > *To:* Xsl...@li... > *Subject:* [Xsltforms-support] <xf:trigger><xf:label > ref="myLabelDoesNotSeemToWork"/></xf:trigger> > > Hi all > > I am doing some tests before trying to migrate my XRX app to > XSLTForms, and triggers' label with ref attribute does not seem to > produce the expected result. > > I am missing something there, or is this feature not yet implemented : > > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xf="http://www.w3.org/2002/xforms"> > <head> > <title>XSLTForms test various</title> > <xf:model> > <xf:instance xmlns="" id="test"> > <cart> > <items> > <item>windshield wipers</item> > </items> > </cart> > </xf:instance> > </xf:model> > </head> > <body> > <xf:trigger ><xf:label > ref="instance('test')/items/item[1]"></xf:label></xf:trigger> > </body> > </html> > > Cheers > Christophe > -- > Christophe Geiser, social entrepreneur > e-Smile, solutions in monitoring and information management > -- |