[opencms-dev] OpenCms and ZK

Roman Uhlig roman.uhlig at knve.de
Mon Nov 20 12:35:42 CET 2006


Hi,

was someone of you able to get ZK running with OpenCms? (ZK is an Ajax
framework without the need of coding JavaScript:
http://sourceforge.net/projects/zk1/)

The problem seems to get the ZK file extension .zul connected to the ZK
loader servlet. OpenCms seems to break the connection somehow, which is
usually done like this within web.xml:

<servlet>
	<description>ZK loader for evaluating ZK pages</description>
	<servlet-name>zkLoader</servlet-name>
	<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
	<init-param>
		<param-name>update-uri</param-name>
		<param-value>/zkau</param-value>
	</init-param>
	<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
	<servlet-name>zkLoader</servlet-name>
	<url-pattern>*.zul</url-pattern>
</servlet-mapping>

<mime-mapping>
	<extension>zul</extension>
	<mime-type>text/html</mime-type>
</mime-mapping>


It works fine inside a standalone webapp, but not with OpenCms. Any ideas
how to plug that into OpenCms?

Thanks in advance,
Roman
-- 
View this message in context: http://www.nabble.com/OpenCms-and-ZK-tf2668499.html#a7441000
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list