-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4291904
By: benahoare
I'm developing a web application using the hibernate support provided by ZK.
I downloaded the .war file published in the ZK+Hibernate smalltalk (http://www.zkoss.org/smalltalks/hibernatezk/hibernatezk.dsp ) and I'm using this example as base to build my application.
I need to include the FCKEditor component in some pages, but when I try to include this tag, the ZK launches the following error:
"SEVERE: Failed to load addon
java.lang.IllegalArgumentException: class org.zkforge.fckez.FCKeditor must implement interface org.zkoss.zk.ui.Component"
I suppose that the problem is the zk.jar file located in the example.war lib directory, does not contain the required class to build the FCKEditor.
I've tried to solve this problem applying the following changes, but none of these worked:
1. In order to use the zk.jar files located in the tomcat's lib directory, I copied to that place the hibernate .jar files located in the lib directory of example application and deleted the last one . Result: The FCKEditor works correctly, but the hibernate support does not works.
2. I just copied the fckeditor jar file to the example app lib directory. Result:
the error does not appear anymore, but the FCKeditor does not load (just appears an empty panel)
Any ideas to solve this problem?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4292247
By: robbiecheng
Please try the latest freshly of ZK.
/Robbie
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4292778
By: benahoare
Hello Robbie,
Thanx for your answer.
I've downloaded the last version of ZK (2.3.0).
With this version, the FCKeditor works correctly, but when I tried to copy the Hibernate jars of the example app,
The example app was builded with an old version of zk. (2.1.2)
So, where I can find a hibernate jars. for the last version of ZK?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4292787
By: robbiecheng
You could download the latest version of Hibernate here.
http://www.hibernate.org/6.html
/Robbie
Asked: 2007-05-02 21:53:52 +0800
Seen: 345 times
Last updated: May 03 '07