-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3618888
By: matteo_barbieri
Hi Tom,
I played a bit trying to implement the XUL rendering (the feature I think will be a big step forward for ZK).
I simply edited the zhtml package to fit XUL aspect for now.
I modified the lang.xml setting the language name to "xul" the namespace to "...there.is.only.xul" (I don't remember what) and the extension to a stupid "mozzul".
Plus I have changed some component in lang.xml and in java classes.
But when I point the browser to my test file, it shows me the xul code.
I think this happens because ZK is not used to render the page.
Is there something I'm missing?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3618893
By: fernando_deleon
in ur web xml file u may need the zk servlet to map xul instead of zul?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3619278
By: tomyeh
You have to set the mime type to let the browser know it is a XUL file.
To do that in ZK, you have declare the following line in your desktop.dsp
<%@ page contentType="text/xul;charset=UTF-8" %>
Take a look at desktop.dsp in zhtml.jar.
I am not sure the mine type is text/xul or others. Please verify it.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3619295
By: tomyeh
Henri told me the mime type is
application/vnd.mozilla.xul+xml
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3619348
By: matteo_barbieri
Thank you.
I'll try this evening
Asked: 2006-03-08 22:53:13 +0800
Seen: 436 times
Last updated: Mar 09 '06