Dear Orbeon,
I am using select1 with an XPath expression in the items label to format the label properly like so: <xforms:itemset nodeset="$list/*"> <xforms:label ref="substring(@id, if ($id-start-idx) then $id-start-idx else 0)" /> <xforms:value ref="@id" /> </xforms:itemset> I would like to do the same with fr:autocomplete, but it doesn't seem to evaluate the XPath expression. Is this by design? Can this feature be added? Many thanks! -Gino PS HAPPY EASTER!
Gino Miceli
Forest Information Systems Specialist Food and Agriculture Organization of the United Nations FAO-Finland Cooperation Programme Sustainable Forest Management in a Changing Climate Forest Management Division, Rm. D-406 Viale delle Terme di Caracalla, s.n.c. 00153 Rome, Italy http://www.fao.org/forestry |
Administrator
|
Gino,
Are you saying that with the auto complete, <xforms:label ref="@id"/> works but <xforms:label ref="substring(...)"/> doesn't? Alex On Thu, Apr 1, 2010 at 7:58 AM, gino-m <[hidden email]> wrote: > > Dear Orbeon, > > I am using select1 with an XPath expression in the items label to format the > label properly like so: > > <xforms:itemset nodeset="$list/*"> > <xforms:label ref="substring(@id, if ($id-start-idx) then $id-start-idx > else 0)" /> > <xforms:value ref="@id" /> > </xforms:itemset> > > I would like to do the same with fr:autocomplete, but it doesn't seem to > evaluate the XPath expression. Is this by design? Can this feature be > added? > > Many thanks! > -Gino > > PS HAPPY EASTER! > > ----- > > Gino Miceli > Forestry Information Systems Specialist > > Food and Agriculture Organization of the United Nations > FAO-Finland Cooperation Programme > Sustainable Forest Management in a Changing Climate > Forest Management Division, Rm. D-406 > Forestry Department > Viale delle Terme di Caracalla, s.n.c. > 00153 Rome, Italy > Tel: +39 06 570.56765 > Fax: +39 06 570.55137 > Website: http://www.fao.org/forestry > > -- > View this message in context: http://n4.nabble.com/XPath-expression-in-labels-w-fr-autocomplete-tp1748176p1748176.html > Sent from the Orbeon Forms (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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Yes, exactly!
Is this a known issue, or am I doing something wrong? Cheers, Gino
Gino Miceli
Forest Information Systems Specialist Food and Agriculture Organization of the United Nations FAO-Finland Cooperation Programme Sustainable Forest Management in a Changing Climate Forest Management Division, Rm. D-406 Viale delle Terme di Caracalla, s.n.c. 00153 Rome, Italy http://www.fao.org/forestry |
Administrator
|
Gino,
I tried this in a unit test we have, and couldn't reproduce the problem. So could you send us a simple XForms file that runs in the XForms sandbox and that we can use to reproduce this? Alex On Tue, Apr 6, 2010 at 4:07 AM, gino-m <[hidden email]> wrote: > Yes, exactly! > > Is this a known issue, or am I doing something wrong? > > Cheers, > Gino > Gino Miceli Forestry Information Systems Specialist Food and Agriculture > Organization of the United Nations FAO-Finland Cooperation Programme > Sustainable Forest Management in a Changing Climate Forest Management > Division, Rm. D-406 Forestry Department Viale delle Terme di Caracalla, > s.n.c. 00153 Rome, Italy Tel: +39 06 570.56765 Fax: +39 06 570.55137 > Website: http://www.fao.org/forestry > ________________________________ > View this message in context: RE: XPath expression in labels > w/fr:autocomplete > Sent from the Orbeon Forms (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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |