I'am trying to use xul-files. Running it in the browser it works fine, calling an dtml-document with the contents of the xul-file it doesn't work right. The pagesource is ok. Is there a naming convention for the xul-files or something else? Axel
On Sat, 2002-09-14 at 09:35, Axel Missbach wrote:
I'am trying to use xul-files. Running it in the browser it works fine, calling an dtml-document with the contents of the xul-file it doesn't work right. The pagesource is ok. Is there a naming convention for the xul-files or something else?
It may be Content-type: header ------------- Hannu
Hi Axel, what ever "xul" schould be, is there a particular reason to use DTML-Documents to store them? It sounds like "file" could be appropriate. Anyway - you have to set content-type to whatever ".xul" schould be (if on windows look in options/filetypes) Hint: if you upload it as file, the browser sends your workstation mapping filetype with it, so you see the correct mimetype in zope. Regards Tino --On Samstag, 14. September 2002 09:35 +0200 Axel Missbach <Axel.Missbach@t-online.de> wrote:
I'am trying to use xul-files. Running it in the browser it works fine, calling an dtml-document with the contents of the xul-file it doesn't work right. The pagesource is ok. Is there a naming convention for the xul-files or something else?
Axel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
You will probably need to set the correct mime-type (I'm not sure what that is though). Phil Axel Missbach wrote:
I'am trying to use xul-files. Running it in the browser it works fine, calling an dtml-document with the contents of the xul-file it doesn't work right. The pagesource is ok. Is there a naming convention for the xul-files or something else?
Axel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Axel.Missbach@t-online.de -
Hannu Krosing -
Phil Harris -
Tino Wildenhain