0

Playing with Mozilla XUL

asked 2006-03-08 22:53:13 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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?


delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2006-03-08 22:56:39 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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?

link publish delete flag offensive edit

answered 2006-03-09 06:18:13 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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.

link publish delete flag offensive edit

answered 2006-03-09 06:33:24 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

link publish delete flag offensive edit

answered 2006-03-09 07:32:41 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3619348

By: matteo_barbieri

Thank you.
I'll try this evening

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-03-08 22:53:13 +0800

Seen: 436 times

Last updated: Mar 09 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More