0

Component definition not found: a

asked 2010-11-10 06:04:59 +0800

bylexus gravatar image bylexus
9

Hi All,

I'm a complete newby to zk, so I'm sure that one is an easy thing:

I try to create a simple hyperlink element (<a href> html) in my zul file, but the page dies with a DefinitionNotFound exception:

My zul file:

<window .... with some attrs>
  <a href="http://to.somewhere" label="mylink" />
</window>

dies with:

org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: a in [LanguageDefinition: xul/html]

What am I doing wrong? All other components like buttons, captchas, layouts etc work like a charm.

Many thanks for help

alex

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-11-10 06:25:30 +0800

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

updated 2010-11-10 06:25:57 +0800

The tagslibs are missing.

<?xml version="1.0" encoding="UTF-8"?>
<zk xmlns="http://www.zkoss.org/2005/zul"
	xmlns:h="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">

     <window .... with some attrs>
         <h:a href="http://to.somewhere" label="mylink" />
    </window>

</zk>

link publish delete flag offensive edit

answered 2010-11-10 07:22:07 +0800

bylexus gravatar image bylexus
9

Hi terrytornado,

Many thanks, worked. It seems to be a documentation lack in the official developer's guide manual. You only get a hint in the FAQ section, which is really not the place I will look for component descriptions ;-)

thank,
alex

link publish delete flag offensive edit

answered 2014-03-20 17:33:39 +0800

aheda gravatar image aheda
1

where can i get spreasheet related taglibs? i am getting org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: file:///C:/Thi...figuration/customScore.zul:10:11: Component definition not found: spreadsheet in [LanguageDefinition: xul/html] MY ZUL file is <spreadsheet src="/WEB-INF/jsp/configuration/SpreadSheetDemo.xls" maxrows="200" maxcolumns="40" hflex="1" vflex="1"></spreadsheet> </zk>

link publish delete flag offensive edit

answered 2014-03-20 17:56:34 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

Try it:

 <window xmlns:h="xhtml">

    <h:a href="https://www.facebook.com/index.php?l_s=r"  >click</h:a>

</window>
link publish delete flag offensive edit

answered 2014-03-20 19:33:00 +0800

aheda gravatar image aheda
1

Thanks for the reply but i am sorry i couldn't relate this to my issue.

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: 2010-11-10 06:04:59 +0800

Seen: 362 times

Last updated: Mar 20 '14

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