Hi all,
In my project, I use an external xml file with xi:include in my instance. However, this xml file can change. So I would like to know if it is possible to access the new values of this xml file without reloading the xhtml page ?? Thank you for your answers Best regards Damien. -- 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
|
Damien,
Do you mean that you load an instance using xforms:instance/@src, and that the XML document pointed to by @src contains XInclude instructions? -Erik Peymirat Damien wrote: > Hi all, > > > In my project, I use an external xml file with xi:include in my > instance. However, this xml file can change. So I would like to know if > it is possible to access the new values of this xml file without > reloading the xhtml page ?? > > Thank you for your answers > > Best regards > > Damien. Orbeon - XForms Everywhere: 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 |
In reply to this post by Peymirat Damien
No, In fact I load a document with <xi:include href="versions.xml"/> instruction in xforms:instance
versions.xml is a simple xml file : <value>the value</value> I call this value using <xforms:output ref="/form/version/value"/> I also have a xforms:select1 instruction and each time I select an item, the value of versions.xml is changing. However, the value of my xforms:output is not changing. I think the version.xml is loaded at the beginning and that is why the value doesn't change. So I wonder how to do to have the new value ?? Thanks you Damien. -----Message d'origine----- De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez Envoyé : mardi 8 août 2006 19:25 À : [hidden email] Objet : Re: [ops-users] xi:include Damien, Do you mean that you load an instance using xforms:instance/@src, and that the XML document pointed to by @src contains XInclude instructions? -Erik Peymirat Damien wrote: > Hi all, > > > In my project, I use an external xml file with xi:include in my > instance. However, this xml file can change. So I would like to know > if it is possible to access the new values of this xml file without > reloading the xhtml page ?? > > Thank you for your answers > > Best regards > > Damien. Orbeon - XForms Everywhere: 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 |
Administrator
|
Damien,
You don't say exactly where you perform xi:include. That may make all the difference. -Erik Peymirat Damien wrote: > No, In fact I load a document with <xi:include href="versions.xml"/> instruction in xforms:instance > > versions.xml is a simple xml file : <value>the value</value> > > I call this value using <xforms:output ref="/form/version/value"/> > > I also have a xforms:select1 instruction and each time I select an item, the value of versions.xml is changing. > > However, the value of my xforms:output is not changing. I think the version.xml is loaded at the beginning and that is why the value doesn't change. So I wonder how to do to have the new value ?? > > > Thanks you > > Damien. > > > > -----Message d'origine----- > De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez > Envoyé : mardi 8 août 2006 19:25 > À : [hidden email] > Objet : Re: [ops-users] xi:include > > > Damien, > > Do you mean that you load an instance using xforms:instance/@src, and > that the XML document pointed to by @src contains XInclude instructions? > > -Erik > > Peymirat Damien wrote: >> Hi all, >> >> >> In my project, I use an external xml file with xi:include in my >> instance. However, this xml file can change. So I would like to know >> if it is possible to access the new values of this xml file without >> reloading the xhtml page ?? >> >> Thank you for your answers >> >> Best regards >> >> Damien. > > > ------------------------------------------------------------------------ > > > -- > 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 -- Orbeon - XForms Everywhere: 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 |
Erik,
the xi:include instruction is performed in view.xhtml Thanks > Damien, > > You don't say exactly where you perform xi:include. That may make all > the difference. > > -Erik > > Peymirat Damien wrote: >> No, In fact I load a document with <xi:include href="versions.xml"/> >> instruction in xforms:instance >> >> versions.xml is a simple xml file : <value>the value</value> >> >> I call this value using <xforms:output ref="/form/version/value"/> >> >> I also have a xforms:select1 instruction and each time I select an item, >> the value of versions.xml is changing. >> >> However, the value of my xforms:output is not changing. I think the >> version.xml is loaded at the beginning and that is why the value doesn't >> change. So I wonder how to do to have the new value ?? >> >> >> Thanks you >> >> Damien. >> >> >> >> -----Message d'origine----- >> De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez >> Envoyé : mardi 8 août 2006 19:25 >> À : [hidden email] >> Objet : Re: [ops-users] xi:include >> >> >> Damien, >> >> Do you mean that you load an instance using xforms:instance/@src, and >> that the XML document pointed to by @src contains XInclude instructions? >> >> -Erik >> >> Peymirat Damien wrote: >>> Hi all, >>> >>> >>> In my project, I use an external xml file with xi:include in my >>> instance. However, this xml file can change. So I would like to know >>> if it is possible to access the new values of this xml file without >>> reloading the xhtml page ?? >>> >>> Thank you for your answers >>> >>> Best regards >>> >>> Damien. >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> 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 > > > -- > Orbeon - XForms Everywhere: > 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 |
Administrator
|
What I meant is: please show the exact code ;-)
-Erik Peymirat Damien wrote: > Erik, > > the xi:include instruction is performed in view.xhtml > > > Thanks > > >> Damien, >> >> You don't say exactly where you perform xi:include. That may make all >> the difference. >> >> -Erik >> >> Peymirat Damien wrote: >>> No, In fact I load a document with <xi:include href="versions.xml"/> >>> instruction in xforms:instance >>> >>> versions.xml is a simple xml file : <value>the value</value> >>> >>> I call this value using <xforms:output ref="/form/version/value"/> >>> >>> I also have a xforms:select1 instruction and each time I select an item, >>> the value of versions.xml is changing. >>> >>> However, the value of my xforms:output is not changing. I think the >>> version.xml is loaded at the beginning and that is why the value doesn't >>> change. So I wonder how to do to have the new value ?? >>> >>> >>> Thanks you >>> >>> Damien. >>> >>> >>> >>> -----Message d'origine----- >>> De : Erik Bruchez [mailto:[hidden email]] De la part de Erik Bruchez >>> Envoyé : mardi 8 août 2006 19:25 >>> À : [hidden email] >>> Objet : Re: [ops-users] xi:include >>> >>> >>> Damien, >>> >>> Do you mean that you load an instance using xforms:instance/@src, and >>> that the XML document pointed to by @src contains XInclude instructions? >>> >>> -Erik >>> >>> Peymirat Damien wrote: >>>> Hi all, >>>> >>>> >>>> In my project, I use an external xml file with xi:include in my >>>> instance. However, this xml file can change. So I would like to know >>>> if it is possible to access the new values of this xml file without >>>> reloading the xhtml page ?? >>>> >>>> Thank you for your answers >>>> >>>> Best regards >>>> >>>> Damien. >>> >>> ------------------------------------------------------------------------ >>> >>> >>> -- >>> 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 >> >> -- >> Orbeon - XForms Everywhere: >> 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 -- Orbeon - XForms Everywhere: 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 |
Free forum by Nabble | Edit this page |