Administrator
|
--- Hank Ratzesberger <[hidden email]> wrote:
> I am unable to populate the simplest xforms:select1 control with > items. I tried to follow the Controls example, although unlike those > examples, the xhtml namespace is the null prefix namespace. Hi Hank, The <xforms:itemset nodeset="..."> expression was referring to the wrong instance (items instead of enums). Also the XForms instance() function returns the root element, so just after the instance() you should have a child element name, not the name of the root element. I have attached the updated file to this email. You can try it in the XForms sandbox: http://www.orbeon.com/ops/goto-example/xforms-sandbox Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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 hank.xhtml (5K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
(back from travels)
Aha, thank you, I was misunderstanding what instance() would return, etc., and I presume this was unrelated to #303803 which is now closed. Very best, Hank ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Thursday, July 28, 2005 3:17 PM Subject: Re: [ops-users] xforms, select controls, items nodeset > --- Hank Ratzesberger <[hidden email]> wrote: > >> I am unable to populate the simplest xforms:select1 control with >> items. I tried to follow the Controls example, although unlike those >> examples, the xhtml namespace is the null prefix namespace. > > Hi Hank, > > The <xforms:itemset nodeset="..."> expression was referring to the wrong > instance (items instead of enums). Also the XForms instance() function > returns the root element, so just after the instance() you should have a > child element name, not the name of the root element. I have attached the > updated file to this email. You can try it in the XForms sandbox: > > http://www.orbeon.com/ops/goto-example/xforms-sandbox > > Alex > > -- > Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -------------------------------------------------------------------------------- > > -- > 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 > -- 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 |
Administrator
|
--- Hank Ratzesberger <[hidden email]> wrote:
> Aha, thank you, I was misunderstanding what > instance() would return, etc., and I presume this was > unrelated to #303803 which is now closed. Exactly, #303803 happened to be a problem only when <xforms:itemset> was used in an <xforms:repeat>, which was not your case. Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |