-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4107370
By: roxcastaneda
if I were to use zk in eclipse with a .JSP file extension in my pages, will I still be able to use the Content Assist or ctrl-space and have the popup window to help me view all proper ZUL elements and attributes?
If yes, how do I do it? I saw the http://en.wikibooks.org/wiki/ZK/How-Tos#Eclipse
but its just for .zul extension files.
More power to ZK!!!
-rocky
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4111688
By: c_armeanu
That depends on the JSP/xml editor you use.
Anyway, to mix zul/zhtml/jsp you need to add the xml schema descriptor to your
jsp:
<x:hbox spacing="0" width="100%"
xmlns:x="http://www.zkoss.org/2005/zul"
xmlns:zk="http://www.zkoss.org/2005/zk"
xmlns:a="http://www.zkoss.org/2005/zk/annotation">
... whatever jsp/zul/...
</x:hbox>
-Chris
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4112555
By: roxcastaneda
Yup i tried that but how can i use the content assist or ctrl-space in eclipse thus allowing me to view all the zul elements and attributes?
-rocky
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4112617
By: roxcastaneda
Oh i tried it further, and was able to achieve what i wanted thanks for your help.
For reference this is what i did and it worked.
All the best,
-rocky
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> <?page id="zultest" language="xhtml"?> <html xmlns:zk="http://www.zkoss.org/2005/zk" xmlns:x="http://www.zkoss.org/2005/zul"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul
http://www.zkoss.org/2005/zul/zul.xsd ">
<x:window>
<x:label value="test" />
</x:window>
</html>
Asked: 2007-01-17 12:25:08 +0800
Seen: 236 times
Last updated: Jan 20 '07