0

ZUl can't wotk in zk 3.6.3

asked 2009-11-03 20:43:13 +0800

windbbs gravatar image windbbs
3

My zul ca't work in zk 3.6.3
But it can work in zk 3.6.2

When I upgrade to zk 3.6.3 and run my web it
show the error message as below


org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: borderlayout in [LanguageDefinition: xul/html], [SYS file:/C:/Java/workspace/CIM/zk/cim_test.zul line 31 col 16]
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:740)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:567)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:841)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:567)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:841)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:211)
	org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:102)
	org.zkoss.zk.ui.metainfo.PageDefinitions$MyLoader.parse(PageDefinitions.java:196)
	org.zkoss.web.util.resource.ResourceLoader.load(ResourceLoader.java:94)
	org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:219)
	org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:193)
	org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134)
	org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:132)
	org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition(PageDefinitions.java:142)
	org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition(AbstractUiFactory.java:115)
	org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:221)
	org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:165)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-11-04 16:33:30 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

check if really all old jars are replaced with the new jars.
Additionally you can clean the Tomcat working Directory. Remove and add new the deployed project.

best
Stephan

link publish delete flag offensive edit

answered 2009-11-16 15:42:26 +0800

barema gravatar image barema
69 1

I'm having the exact same problem after upgrading to 3.6.3 and 5.0 RC:

org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: detail OR
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: group

I've cleaned the Tomcat working directory, in 5.0 RC I count a total of 15 jars (all jars in the zip), next to that I can find the org.zkoss.zul.Detail and org.zkoss.zul.Group classes; web.js.zul.grid.Group.js; ...
I just don't get it.

I'm using the community edition, which clearly states that the "master-detail" view for grids is part of it.

Barema

link publish delete flag offensive edit

answered 2009-11-16 15:58:40 +0800

barema gravatar image barema
69 1

I've found a fix, but not the kind I like:
I've copied all the jars from the zkdemo-app into my lib-folder (replacing all the jars from the default install, and adding some more)

Now everything works perfect, but I'm afraid it means some jars may be missing in the original download (community edition).
I've seen a similar post on the forum with the simple reply "replace community edition by enterprise edition"

Anyway, for now, mine works ... but this doesn't seem the appropriate solution.

Regards,
Barema

link publish delete flag offensive edit

answered 2009-11-16 18:47:03 +0800

PeterKuo gravatar image PeterKuo
481 2

You can read the post.

ZK 5 RC Released
http://www.zkoss.org/forum/listComment/9738

What community version has now, it will has in the future.

It's temporary chaos.

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: 2009-11-03 20:43:13 +0800

Seen: 978 times

Last updated: Nov 16 '09

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