0

Child not allowed in org.zkoss.zul.Html

asked 2014-01-17 11:59:38 +0800

mhof gravatar image mhof
11 1

Hi there,

I am trying to add a enumeration list in my popup, but without any success.

What i tried:

<z:popup id="tarif1popup" width="300px">
 <z:html>TEST</z:html>
</z:popup>

<z:popup id="tarif1popup" width="300px">
 <z:html><![CDATA[TEST]]></z:html>
</z:popup>

But everytime I get the Exception below. Does someone have an idea whats the problem with that? Do i need a special library or entry in my page? I am using zul.jar, zk.jar V6.5.2

at org.zkoss.zk.ui.AbstractComponent.checkParentChild(AbstractComponent.java:1059) at org.zkoss.zk.ui.AbstractComponent.insertBefore(AbstractComponent.java:1081) at org.zkoss.zk.ui.AbstractComponent.appendChild(AbstractComponent.java:1286) at org.zkoss.jsp.zul.impl.Utils.adjustChildren(Utils.java:84) at org.zkoss.jsp.zul.impl.BranchTag.doComponentContent(BranchTag.java:73) at org.zkoss.jsp.zul.impl.LeafTag.doTag(LeafTag.java:123) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp.jspxmethz005fhtml005f0(formjsp.java:970) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp.access$40(formjsp.java:960) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke64(formjsp.java:3055) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke(formjsp.java:3326) at org.zkoss.jsp.zul.impl.BranchTag.doComponentContent(BranchTag.java:64) at org.zkoss.jsp.zul.impl.LeafTag.doTag(LeafTag.java:123) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp.jspxmethz005fpopup005f1(formjsp.java:955) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp.access$2(formjsp.java:941) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke1(formjsp.java:1074) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke(formjsp.java:3137) at org.zkoss.jsp.zul.impl.BranchTag.doComponentContent(BranchTag.java:64) at org.zkoss.jsp.zul.impl.LeafTag.doTag(LeafTag.java:123) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke0(formjsp.java:1000) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp$Helper.invoke(formjsp.java:3134) at org.zkoss.jsp.zul.impl.RootTag$MyRichlet.service(RootTag.java:310) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:436) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:312) at org.zkoss.jsp.zul.impl.RootTag.doTag(RootTag.java:265) at org.apache.jsp.WEB002dINF.views.tierversicherung.formjsp.jspService(formjsp.java:156) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-01-17 18:42:14 +0800

chillworld gravatar image chillworld flag of Belgium
5337 4 9
https://github.com/chillw...

Very simpel, see what you can add in the menupopup. And if you search good you will see that HTML is not ome of then. Greetz chill

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-01-17 11:59:38 +0800

Seen: 22 times

Last updated: Jan 17 '14

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