0

Group component not found

asked 2008-09-26 11:40:45 +0800

Adanlessossi gravatar image Adanlessossi
105 3

Hello, It's me again trying to dig into the nitty gritty of ZK...

Am using ZK 3.5.0 since it was released. When I try to use the <group> element, i receive the following message:

Component definition not found: group in [LanguageDefinition: xul/html], [SYS

Is that normal? Or do i missed something???

Thank for your help!

-bad

delete flag offensive retag edit

13 Replies

Sort by ยป oldest newest

answered 2008-09-29 06:53:45 +0800

dennis gravatar image dennis
3669 1 6
http://www.javaworld.com....

group ? do you mean groupbox?

link publish delete flag offensive edit

answered 2008-09-29 06:58:16 +0800

Adanlessossi gravatar image Adanlessossi
105 3

Yes Sir... I mean the <group> element after <rows> for grouping elements... itworks on my developer machine but not on the productive one... and there is no difference between both... any idea??

link publish delete flag offensive edit

answered 2008-09-29 07:23:16 +0800

dennis gravatar image dennis
3669 1 6
http://www.javaworld.com....

oh, that group..
Did you add zkex.jar to the web-inf lib?

link publish delete flag offensive edit

answered 2008-09-29 07:29:26 +0800

Adanlessossi gravatar image Adanlessossi
105 3

yes i've added all zk jars inclusive the zkex.jar in my web-inf lib directory... what could be the problem?? i need to demo this grouping stuff... Please Help!!!

link publish delete flag offensive edit

answered 2008-09-29 07:35:54 +0800

dennis gravatar image dennis
3669 1 6
http://www.javaworld.com....

updated 2008-09-29 07:36:26 +0800

Maybe the first step is posting your code and exception stack here. :)

link publish delete flag offensive edit

answered 2008-09-29 10:46:22 +0800

Adanlessossi gravatar image Adanlessossi
105 3

Here is my code

<grid>
<rows>
<group label="Search Results" open="false"/>
<row >
<listbox id="searchResultGrid" mold="paging" pageSize="20" multiple="true" />
</row>
</rows>
</grid>

and the Stack Trace is:

org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: group in [LanguageDefinition: xul/html], [SYS file:/C:/WDL/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ZKPlayground/wdl.zul line 30 col 46]
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:699)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:566)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:774)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:566)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:774)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:566)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:774)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:566)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:774)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:210)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:101)
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:229)
org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:203)
org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:144)
org.zkoss.web.util.resource.ResourceCaches.get(ResourceCaches.java:131)
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:219)
org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:167)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Please Help!!!

link publish delete flag offensive edit

answered 2008-09-29 13:14:05 +0800

dennis gravatar image dennis
3669 1 6
http://www.javaworld.com....

double check your zk version, group is only available in 3.5.
an easy to verify this :
1.create a simple page <window/>,
2.link to this page, right click the browser and view the source,
there should be a javascript which set some information to variable. ex:
zk_ver=
zk.build=
what is the value in your page.?

3. if the version is 3.5 and not FL , please check there is any error log when you startup the application server.

link publish delete flag offensive edit

answered 2008-09-30 07:44:15 +0800

Adanlessossi gravatar image Adanlessossi
105 3

Thanks Dennis...
The problem is the ZK version... I used the old library...

link publish delete flag offensive edit

answered 2010-12-23 10:34:49 +0800

markdamne gravatar image markdamne
33

Hello guy, I've the same problem, I use zk 5.05. I'm forced to change version?
Thank

link publish delete flag offensive edit

answered 2010-12-24 09:26:29 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi Mark,
Did you add zkex.jar to the web-inf lib?
it included in ZK PE.

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: 2008-09-26 11:40:45 +0800

Seen: 933 times

Last updated: Jan 05