0

why Component definition not found???

asked 2009-10-26 09:35:01 +0800

cmd gravatar image cmd
69 1

updated 2009-10-26 09:37:00 +0800

Component definition not found: OFC in [LanguageDefinition: xul/html]
---Why???
i have put the jofc2-1.0-0.jar and zkofc.jar and xstream-1.3.1.jar into the web-inf/lib and zul:
<OFC id="mychart" title="Pie Chart Demo" width="500" height="250" type="pie" threeD="true" />

has thus error.
the url is: http://docs.zkoss.org/wiki/Open_Flash_Charts_with_ZK

thanks.

delete flag offensive retag edit

9 Replies

Sort by ยป oldest newest

answered 2009-10-27 06:14:47 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Which ZK version you are using?

link publish delete flag offensive edit

answered 2009-10-28 00:51:42 +0800

cmd gravatar image cmd
69 1

the error both on 3.6.2 5.0rc1

link publish delete flag offensive edit

answered 2009-10-28 22:05:25 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Try this. (to lowercase)

<ofc id="mychart" title="Pie Chart Demo" width="500" height="250" type="pie" threeD="true" />

link publish delete flag offensive edit

answered 2009-10-30 23:22:13 +0800

cmd gravatar image cmd
69 1

it deosn't work.
the exceptioin is Component definition not found as before

link publish delete flag offensive edit

answered 2009-11-02 22:39:43 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

But, I download their war file and modify the zul file with the previous example, and it works without "Component definition not found".

link publish delete flag offensive edit

answered 2009-12-17 02:10:51 +0800

andersviklund gravatar image andersviklund
93 2

Could you give some more details how you solved the problem?

link publish delete flag offensive edit

answered 2009-12-18 00:36:39 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

updated 2009-12-18 00:36:54 +0800

You have to use the lower case in the zul file, like (<ofc>).

link publish delete flag offensive edit

answered 2011-09-15 04:59:50 +0800

sandhya123 gravatar image sandhya123
45 1

updated 2011-09-15 05:00:26 +0800

Hey iam using zkoss version 5.0.2 and iam also getting the same error coming ...component definition not found iam using the same jar files as mentioned in ofctest.war
<ofc id="mychart" title="Pie Chart Demo" width="500" height="250" type="pie" threeD="true" />

Can you please help me in resolving this issue

link publish delete flag offensive edit

answered 2011-10-17 21:10:48 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

I am not sure whether the ofctest.war can work with ZK 5.0.2.

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-10-26 09:35:01 +0800

Seen: 1,479 times

Last updated: Oct 17 '11

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