0

Problem with Hibernate + FCKEditor.jar files

asked 2007-05-02 21:53:52 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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?

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2007-05-03 00:45:42 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: robbiecheng



Please try the latest freshly of ZK.

/Robbie

link publish delete flag offensive edit

answered 2007-05-03 10:12:24 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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?


link publish delete flag offensive edit

answered 2007-05-03 10:21:07 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

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: 2007-05-02 21:53:52 +0800

Seen: 345 times

Last updated: May 03 '07

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