0

error zkcalendar: UiException

asked 2009-08-05 09:09:57 +0800

drugo gravatar image drugo
6 1

Hi good morning.
I have a problem when installing the demo ( "zkcalendar"), which gives me the problem is in the calendar.zul.
The problem after testing I think that in this instance divarrow, divtab, editevent These are macros that are declared at the beginning of file "calendar.zul.
If you remove these items ( "divarrow, divtab, editevent") gives no error, but I do not function logically.
I think the problem is in the macro-uri. I have respected the directory structure.
Sorry for my English.

Trace of the error:
05-Aug-2009 9:50:44 org.apache.catalina.startup.Catalina start
INFO: Server startup in 5093 ms
05-Aug-2009 9:51:04 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service () for servlet exception zkLoader launched
org.zkoss.zk.ui.UiException: Event listeners not support native content
at org.zkoss.zk.ui.metainfo.Parser.parseAttribute (Parser.java: 929)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 676)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 564)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 838)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 564)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 838)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 211)
at org.zkoss.zk.ui.metainfo.Parser.parse (Parser.java: 102)
org.zkoss.zk.ui.metainfo.PageDefinitions at $ MyLoader.parse (PageDefinitions.java: 196)
at org.zkoss.web.util.resource.ResourceLoader.load (ResourceLoader.java: 94)
org.zkoss.util.resource.ResourceCache at $ Info.load (ResourceCache.java: 219)
Info org.zkoss.util.resource.ResourceCache at $ <init> (ResourceCache.java: 193)
at org.zkoss.util.resource.ResourceCache.get (ResourceCache.java: 134)
at org.zkoss.web.util.resource.ResourceCaches.get (ResourceCaches.java: 131)
at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinition (PageDefinitions.java: 142)
at org.zkoss.zk.ui.impl.AbstractUiFactory.getPageDefinition (AbstractUiFactory.java: 115)
at org.zkoss.zk.ui.http.ExecutionImpl.getPageDefinition (ExecutionImpl.java: 357)
at org.zkoss.zk.ui.impl.AbstractExecution.createComponents (AbstractExecution.java: 189)
at org.zkoss.zk.ui.HtmlMacroComponent.afterCompose (HtmlMacroComponent.java: 84)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 637)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0 (UiEngineImpl.java: 631)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 587)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild (UiEngineImpl.java: 563)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0 (UiEngineImpl.java: 531)
at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate (UiEngineImpl.java: 498)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0 (UiEngineImpl.java: 378)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage (UiEngineImpl.java: 299)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process (DHtmlLayoutServlet.java: 230)
at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet (DHtmlLayoutServlet.java: 166)
at javax.servlet.http.HttpServlet.service (HttpServlet.java: 689)
at javax.servlet.http.HttpServlet.service (HttpServlet.java: 802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java: 252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java: 173)
at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java: 213)
at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java: 178)
at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java: 126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java: 105)
at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java: 107)
at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java: 148)
at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java: 869)
at org.apache.coyote.http11.Http11BaseProtocol $ Http11ConnectionHandler.processConnection (Http11BaseProtocol.java: 664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java: 527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java: 80)
at org.apache.tomcat.util.threads.ThreadPool $ ControlRunnable.run (ThreadPool.java: 684)
At java.lang.Thread.run (Thread.java: 595)

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-08-09 10:37:16 +0800

iantsai gravatar image iantsai
2755 1

Sorry, but I have tested Zkdemo in my environment, and it worked fine, so could you please give more detail of your Webproject and ZK versions?
and how you get your zkdemo contnet?

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-08-05 09:09:57 +0800

Seen: 1,067 times

Last updated: Aug 09 '09

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