-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488621
By: nobody
in the view of my point(from your demos),zk supports multi markup languages in the single page using xml name space, I try a test follow the user guide,using zk namespace in zhtml file:
<?taglib uri="/web-inf/tld/zul/core.dsp.tld" prefix="u" ?> <html xmlns:zk="http://www.potix.com/2005/zk">
<head>
<link rel="stylesheet" type="text/css" href="${u:getThemeUri()}" />
<title>zhtml demo</title>
</head>
<body>
<input type="button" value="Add Item" />
<zk:button label="zkbutton" />
</body>
</html>
server has exception:com.potix.zk.ui.metainfo.DefinitionNotFoundException: Language not found: http://www.potix.com/2005/zk
my question is:how to mix multi markup languages in the single page?how to distinguish muiti component?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488636
By: tomyeh
Please read the user guide first (page 23).
The zk namespace you referenced is for special ZK elements, such as zscript.
If you want XUL component set (button?), use the XUL name space.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488660
By: nobody
thanks a lot, I have got the new version guide
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488754
By: nobody
one more question:in the former page,I have two buttons:zk button and html button.I can prefer zk button with name space zk:button,but how can I use html button?I tried XHTML's name space,but it doesn't work. thanks.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488775
By: tomyeh
Please be more specific, such as source and log.
My wild sugest:
Since you use zhtml as the extension, the HTML namespace is taken as default.
In other words, you don't have to specify the namespace again. Of course, it is harmless if you specify again (as long as no typo).
Anyway, you could do
<html xmlns:x="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
<button> <!-- this is HTML button -->
<x:button> <!-- this is XUL button -->
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3488816
By: nobody
but HTML button does not work well in the zhtml extension file,try:
<button>button</button>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3489306
By: tomyeh
It is a bug. It is fixed in the lastest nightly build.
Asked: 2005-12-22 02:33:46 +0800
Seen: 1,152 times
Last updated: Dec 22 '05