I have troubles using external instances, even though I try to do
everything exactly like in the xforms-i18n and blog examples. Using this test.xml: -----------------------test.xml--------------------------- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms"> <xhtml:head> <xhtml:title>Test</xhtml:title> <xforms:model> <xforms:instance id="countries-instance" src="countries-instance" /> </xforms:model> </xhtml:head> <xhtml:body> empty </xhtml:body> </xhtml:html> ------------------------------------------------------ and these page-flow definitions: -------------------------------------- <!-- Testing --> <page path-info="/sui/test.xml" view="test.xml" /> <!-- Misc Utility Pages --> <page path-info="/sui/countries-instance" view="iso_3166-1_list_en.xml" /> -------------------------------------- I get a "response cannot be null" error. I tried with absolute paths, urls, etc; all the same. The countries-intance shows up fine when I open it in a browser. From the tomcat logs it's never even called from test.xsl - why?? Any help very welcome, I don't see a way out of this... Mathias -- 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 |
Mathias,
You need to put the full path in there /sui/countries-instance Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Mathias Picker [mailto:[hidden email]] >Sent: 18 April 2006 12:42 >To: ops-users >Subject: [ops-users] Trouble with external xforms instance > >I have troubles using external instances, even though I try to do >everything exactly like in the xforms-i18n and blog examples. > >Using this test.xml: > >-----------------------test.xml--------------------------- ><xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms"> > > <xhtml:head> > <xhtml:title>Test</xhtml:title> > > <xforms:model> > <xforms:instance id="countries-instance" src="countries-instance" /> > </xforms:model> > </xhtml:head> > <xhtml:body> > empty > </xhtml:body> ></xhtml:html> >------------------------------------------------------ > >and these page-flow definitions: >-------------------------------------- ><!-- Testing --> ><page path-info="/sui/test.xml" view="test.xml" /> > ><!-- Misc Utility Pages --> ><page path-info="/sui/countries-instance" >view="iso_3166-1_list_en.xml" /> >-------------------------------------- > >I get a "response cannot be null" error. I tried with absolute paths, >urls, etc; all the same. The countries-intance shows up fine when I open >it in a browser. From the tomcat logs it's never even called from >test.xsl - why?? > >Any help very welcome, I don't see a way out of this... > >Mathias > -- 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 |
Am Dienstag, den 18.04.2006, 12:26 +0100 schrieb Ryan Puddephatt:
> Mathias, > You need to put the full path in there /sui/countries-instance Ryan, I did that. Same error. In the meantime I discovered that absolute urls do work (my first test of this must have had a typo), so I sort of solved this for me for now. But I still cannot get any sort of path based src attribute to work: neither "countries-instance" nor "/sui/countries-instance" nor "sui/countries-instance" work. And I do not know why, or how_to_find_out what goes on. That's what bugs me the most ;) Thanks, Mathias > > Ryan > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > >-----Original Message----- > >From: Mathias Picker [mailto:[hidden email]] > >Sent: 18 April 2006 12:42 > >To: ops-users > >Subject: [ops-users] Trouble with external xforms instance > > > >I have troubles using external instances, even though I try to do > >everything exactly like in the xforms-i18n and blog examples. > > > >Using this test.xml: > > > >-----------------------test.xml--------------------------- > ><xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > > xmlns:xforms="http://www.w3.org/2002/xforms"> > > > > <xhtml:head> > > <xhtml:title>Test</xhtml:title> > > > > <xforms:model> > > <xforms:instance id="countries-instance" src="countries-instance" /> > > </xforms:model> > > </xhtml:head> > > <xhtml:body> > > empty > > </xhtml:body> > ></xhtml:html> > >------------------------------------------------------ > > > >and these page-flow definitions: > >-------------------------------------- > ><!-- Testing --> > ><page path-info="/sui/test.xml" view="test.xml" /> > > > ><!-- Misc Utility Pages --> > ><page path-info="/sui/countries-instance" > >view="iso_3166-1_list_en.xml" /> > >-------------------------------------- > > > >I get a "response cannot be null" error. I tried with absolute paths, > >urls, etc; all the same. The countries-intance shows up fine when I open > >it in a browser. From the tomcat logs it's never even called from > >test.xsl - why?? > > > >Any help very welcome, I don't see a way out of this... > > > >Mathias > > > > > > einfaches Textdokument-Anlage (message-footer.txt) > -- > 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 |
In reply to this post by Mathias Picker
It works in the nightly build from
http://forge.objectweb.org/nightlybuilds/ops/ops/ Thanks, Alex Mathias Am Dienstag, den 18.04.2006, 11:41 +0000 schrieb Mathias Picker: > I have troubles using external instances, even though I try to do > everything exactly like in the xforms-i18n and blog examples. > > Using this test.xml: > > -----------------------test.xml--------------------------- > <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms"> > > <xhtml:head> > <xhtml:title>Test</xhtml:title> > > <xforms:model> > <xforms:instance id="countries-instance" src="countries-instance" /> > </xforms:model> > </xhtml:head> > <xhtml:body> > empty > </xhtml:body> > </xhtml:html> > ------------------------------------------------------ > > and these page-flow definitions: > -------------------------------------- > <!-- Testing --> > <page path-info="/sui/test.xml" view="test.xml" /> > > <!-- Misc Utility Pages --> > <page path-info="/sui/countries-instance" > view="iso_3166-1_list_en.xml" /> > -------------------------------------- > > I get a "response cannot be null" error. I tried with absolute paths, > urls, etc; all the same. The countries-intance shows up fine when I open > it in a browser. From the tomcat logs it's never even called from > test.xsl - why?? > > Any help very welcome, I don't see a way out of this... > > Mathias > > > einfaches Textdokument-Anlage (message-footer.txt) > -- > 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
|
In reply to this post by Mathias Picker
Hi Mathias,
I don't see any error in the code in your first email. You are saying that your code works now but that you still have cases that do not work while you think they should. If you can find those, feel free to send here the files that we need to drop in the resources directory to reproduce the problem. Alex On 4/18/06, Mathias Picker <[hidden email]> wrote: > Am Dienstag, den 18.04.2006, 12:26 +0100 schrieb Ryan Puddephatt: > > Mathias, > > You need to put the full path in there /sui/countries-instance > > Ryan, > > I did that. Same error. In the meantime I discovered that absolute urls > do work (my first test of this must have had a typo), so I sort of > solved this for me for now. > > But I still cannot get any sort of path based src attribute to work: > neither "countries-instance" nor "/sui/countries-instance" nor > "sui/countries-instance" work. > > And I do not know why, or how_to_find_out what goes on. That's what bugs > me the most ;) > > Thanks, > > Mathias > > > > > > > > Ryan > > > > Ryan Puddephatt > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > > > >-----Original Message----- > > >From: Mathias Picker [mailto:[hidden email]] > > >Sent: 18 April 2006 12:42 > > >To: ops-users > > >Subject: [ops-users] Trouble with external xforms instance > > > > > >I have troubles using external instances, even though I try to do > > >everything exactly like in the xforms-i18n and blog examples. > > > > > >Using this test.xml: > > > > > >-----------------------test.xml--------------------------- > > ><xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > > > xmlns:xforms="http://www.w3.org/2002/xforms"> > > > > > > <xhtml:head> > > > <xhtml:title>Test</xhtml:title> > > > > > > <xforms:model> > > > <xforms:instance id="countries-instance" src="countries-instance" /> > > > </xforms:model> > > > </xhtml:head> > > > <xhtml:body> > > > empty > > > </xhtml:body> > > ></xhtml:html> > > >------------------------------------------------------ > > > > > >and these page-flow definitions: > > >-------------------------------------- > > ><!-- Testing --> > > ><page path-info="/sui/test.xml" view="test.xml" /> > > > > > ><!-- Misc Utility Pages --> > > ><page path-info="/sui/countries-instance" > > >view="iso_3166-1_list_en.xml" /> > > >-------------------------------------- > > > > > >I get a "response cannot be null" error. I tried with absolute paths, > > >urls, etc; all the same. The countries-intance shows up fine when I open > > >it in a browser. From the tomcat logs it's never even called from > > >test.xsl - why?? > > > > > >Any help very welcome, I don't see a way out of this... > > > > > >Mathias > > > > > > > > > > > einfaches Textdokument-Anlage (message-footer.txt) > > -- > > 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 > > > -- 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 |
Alex, it's solved in the nightly builds.
Thanks, Mathias Am Donnerstag, den 27.04.2006, 20:01 -0700 schrieb Alessandro Vernet: > Hi Mathias, > > I don't see any error in the code in your first email. You are saying > that your code works now but that you still have cases that do not > work while you think they should. If you can find those, feel free to > send here the files that we need to drop in the resources directory to > reproduce the problem. > > Alex > > On 4/18/06, Mathias Picker <[hidden email]> wrote: > > Am Dienstag, den 18.04.2006, 12:26 +0100 schrieb Ryan Puddephatt: > > > Mathias, > > > You need to put the full path in there /sui/countries-instance > > > > Ryan, > > > > I did that. Same error. In the meantime I discovered that absolute urls > > do work (my first test of this must have had a typo), so I sort of > > solved this for me for now. > > > > But I still cannot get any sort of path based src attribute to work: > > neither "countries-instance" nor "/sui/countries-instance" nor > > "sui/countries-instance" work. > > > > And I do not know why, or how_to_find_out what goes on. That's what bugs > > me the most ;) > > > > Thanks, > > > > Mathias > > > > > > > > > > > > > > Ryan > > > > > > Ryan Puddephatt > > > Software Engineer > > > TFX Group - IT UK > > > 1 Michaelson Square > > > Livingston > > > West Lothian > > > Scotand > > > EH54 7DP > > > > > > * [hidden email] > > > ( 01506 407 110 > > > 7 01506 407 108 > > > > > > > > > >-----Original Message----- > > > >From: Mathias Picker [mailto:[hidden email]] > > > >Sent: 18 April 2006 12:42 > > > >To: ops-users > > > >Subject: [ops-users] Trouble with external xforms instance > > > > > > > >I have troubles using external instances, even though I try to do > > > >everything exactly like in the xforms-i18n and blog examples. > > > > > > > >Using this test.xml: > > > > > > > >-----------------------test.xml--------------------------- > > > ><xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > > > > xmlns:xforms="http://www.w3.org/2002/xforms"> > > > > > > > > <xhtml:head> > > > > <xhtml:title>Test</xhtml:title> > > > > > > > > <xforms:model> > > > > <xforms:instance id="countries-instance" src="countries-instance" /> > > > > </xforms:model> > > > > </xhtml:head> > > > > <xhtml:body> > > > > empty > > > > </xhtml:body> > > > ></xhtml:html> > > > >------------------------------------------------------ > > > > > > > >and these page-flow definitions: > > > >-------------------------------------- > > > ><!-- Testing --> > > > ><page path-info="/sui/test.xml" view="test.xml" /> > > > > > > > ><!-- Misc Utility Pages --> > > > ><page path-info="/sui/countries-instance" > > > >view="iso_3166-1_list_en.xml" /> > > > >-------------------------------------- > > > > > > > >I get a "response cannot be null" error. I tried with absolute paths, > > > >urls, etc; all the same. The countries-intance shows up fine when I open > > > >it in a browser. From the tomcat logs it's never even called from > > > >test.xsl - why?? > > > > > > > >Any help very welcome, I don't see a way out of this... > > > > > > > >Mathias > > > > > > > > > > > > > > > > einfaches Textdokument-Anlage (message-footer.txt) > > > -- > > > 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 > > > > > > > > > -- > Blog (XML, Web apps, Open Source): > http://www.orbeon.com/blog/ > > einfaches Textdokument-Anlage (message-footer.txt) > -- > 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 |
Free forum by Nabble | Edit this page |