Quantcast
Channel: ZK Forum - Individual question feed
Viewing all 76 articles
Browse latest View live

Error: Webappinit

$
0
0
I have the error when I start an application and i don't know because. Grave: Failed to invoke class org.zkoss.zkmax.init.WebAppInit java.lang.NoSuchMethodError: javax.servlet.ServletContext.addServlet(Ljava/lang/String;Ljava/lang/Class;)Ljavax/servlet/ServletRegistration$Dynamic; at org.zkoss.zkmax.ui.comet.CometAsyncServlet.install(CometAsyncServlet.java:56) at org.zkoss.zkmax.init.WebAppInit.init(WebAppInit.java:32) at org.zkoss.zk.ui.util.Configuration.invokeWebAppInits(Configuration.java:732) at org.zkoss.zk.ui.impl.AbstractWebApp.init(AbstractWebApp.java:204) at org.zkoss.zk.ui.http.SimpleWebApp.init(SimpleWebApp.java:58) at org.zkoss.zk.ui.http.WebManager.(WebManager.java:228) at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540) at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.plugin.AbstractJettyRunMojo$1.filesChanged(AbstractJettyRunMojo.java:409) at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:493) at org.mortbay.util.Scanner.reportDifferences(Scanner.java:359) at org.mortbay.util.Scanner.scan(Scanner.java:286) at org.mortbay.util.Scanner$1.run(Scanner.java:246) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source)

Java Script error zk.wpd in Explorer

$
0
0
Hellooo!! I work with zk version 6.5.2 I would like avoid validation before submit and I have tryed this solution: The code noValidateOnBlur.js that I have used is: zk.afterLoad("zul.inp", function () { zk.$package("zul.inp").TextboxNoErrorOnCtrlKey = zk.$extends(zul.inp.Textbox, { doBlur_: function (event) { this.getConstraint().getFlags().NO_EMPTY=false; this.$supers("doBlur_", event); //FAIL THIS LINE this.getConstraint().getFlags().NO_EMPTY=true; } }); }); and the .zul: It's working well for me in Chrome but when I execute in Explorer and move out the text fails in line .js(noted aboved) Message: An object array or arguments were expected Line: 9 Character: 9732 Code: 0 URI: /myportal/zkau/web/439b83ff/js/zk.wpd What is wrong? Thanks in advance (Sorry for my bad English)

IllegalStateException - too many parameters error

$
0
0
I am running into an issue which occurs randomly on various pages that work correctly 99% of the time. We have bumped the number of parameters allowed on the jboss connector but that seems to be irrelevant when this happens since it's in some type of loop. So no matter how high we set the max params eventually it will pass it and blow up. Here is the output from the exception, perhaps there are some clues in the ZK messages as to what is going on? Any help appreciated, I HAVE to solve this as it's happening at a customer site. 10:44:27,160 DEBUG [org.apache.tomcat.util.http.Parameters] (ajp--127.0.0.1-8009-4) Start processing with input [dtid=z_ivq&cmd_0=onAnchorPos&uuid_0=lY4Qe1&data_0=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_1=onAnchorPos&uuid_1=lY4Qe1&data_1=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_2=onAnchorPos&uuid_2=lY4Qe1&data_2=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_3=onAnchorPos&uuid_3=lY4Qe1&data_3=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_4=onAnchorPos&uuid_4=lY4Qe1&data_4=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_5=onAnchorPos&uuid_5=lY4Qe1&data_5=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_6=onAnchorPos&uuid_6=lY4Qe1&data_6=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_7=onAnchorPos&uuid_7=lY4Qe1&data_7=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_8=onAnchorPos&uuid_8=lY4Qe1&data_8=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_9=onAnchorPos&uuid_9=lY4Qe1&data_9=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_10=onAnchorPos&uuid_10=lY4Qe1&data_10=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_11=onAnchorPos&uuid_11=lY4Qe1&data_11=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_12=onAnchorPos&uuid_12=lY4Qe1&data_12=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_13=onAnchorPos&uuid_13=lY4Qe1&data_13=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_14=onAnchorPos&uuid_14=lY4Qe1&data_14=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_15=onAnchorPos&uuid_15=lY4Qe1&data_15=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_16=onAnchorPos&uuid_16=lY4Qe1&data_16=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_17=onAnchorPos&uuid_17=lY4Qe1&data_17=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_18=onAnchorPos&uuid_18=lY4Qe1&data_18=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_19=onAnchorPos&uuid_19=lY4Qe1&data_19=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_20=onAnchorPos&uuid_20=lY4Qe1&data_20=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_21=onAnchorPos&uuid_21=lY4Qe1&data_21=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_22=onAnchorPos&uuid_22=lY4Qe1&data_22=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_23=onAnchorPos&uuid_23=lY4Qe1&data_23=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_24=onAnchorPos&uuid_24=lY4Qe1&data_24=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_25=onAnchorPos&uuid_25=lY4Qe1&data_25=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_26=onAnchorPos&uuid_26=lY4Qe1&data_26=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_27=onAnchorPos&uuid_27=lY4Qe1&data_27=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_28=onAnchorPos&uuid_28=lY4Qe1&data_28=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_29=onAnchorPos&uuid_29=lY4Qe1&data_29=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_30=onAnchorPos&uuid_30=lY4Qe1&data_30=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_31=onAnchorPos&uuid_31=lY4Qe1&data_31=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_32=onAnchorPos&uuid_32=lY4Qe1&data_32=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_33=onAnchorPos&uuid_33=lY4Qe1&data_33=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_34=onAnchorPos&uuid_34=lY4Qe1&data_34=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_35=onAnchorPos&uuid_35=lY4Qe1&data_35=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_36=onAnchorPos&uuid_36=lY4Qe1&data_36=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_37=onAnchorPos&uuid_37=lY4Qe1&data_37=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_38=onAnchorPos&uuid_38=lY4Qe1&data_38=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_39=onAnchorPos&uuid_39=lY4Qe1&data_39=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_40=onAnchorPos&uuid_40=lY4Qe1&data_40=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_41=onAnchorPos&uuid_41=lY4Qe1&data_41=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_42=onAnchorPos&uuid_42=lY4Qe1&data_42=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_43=onAnchorPos&uuid_43=lY4Qe1&data_43=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_44=onAnchorPos&uuid_44=lY4Qe1&data_44=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_45=onAnchorPos&uuid_45=lY4Qe1&data_45=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_46=onAnchorPos&uuid_46=lY4Qe1&data_46=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_47=onAnchorPos&uuid_47=lY4Qe1&data_47=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_48=onAnchorPos&uuid_48=lY4Qe1&data_48=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_49=onAnchorPos&uuid_49=lY4Qe1&data_49=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_50=onAnchorPos&uuid_50=lY4Qe1&data_50=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_51=onAnchorPos&uuid_51=lY4Qe1&data_51=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_52=onAnchorPos&uuid_52=lY4Qe1&data_52=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_53=onAnchorPos&uuid_53=lY4Qe1&data_53=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_54=onAnchorPos&uuid_54=lY4Qe1&data_54=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_55=onAnchorPos&uuid_55=lY4Qe1&data_55=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_56=onAnchorPos&uuid_56=lY4Qe1&data_56=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_57=onAnchorPos&uuid_57=lY4Qe1&data_57=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_58=onAnchorPos&uuid_58=lY4Qe1&data_58=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_59=onAnchorPos&uuid_59=lY4Qe1&data_59=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_60=onAnchorPos&uuid_60=lY4Qe1&data_60=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_61=onAnchorPos&uuid_61=lY4Qe1&data_61=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_62=onAnchorPos&uuid_62=lY4Qe1&data_62=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_63=onAnchorPos&uuid_63=lY4Qe1&data_63=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_64=onAnchorPos&uuid_64=lY4Qe1&data_64=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_65=onAnchorPos&uuid_65=lY4Qe1&data_65=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_66=onAnchorPos&uuid_66=lY4Qe1&data_66=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_67=onAnchorPos&uuid_67=lY4Qe1&data_67=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_68=onAnchorPos&uuid_68=lY4Qe1&data_68=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_69=onAnchorPos&uuid_69=lY4Qe1&data_69=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_70=onAnchorPos&uuid_70=lY4Qe1&data_70=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_71=onAnchorPos&uuid_71=lY4Qe1&data_71=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_72=onAnchorPos&uuid_72=lY4Qe1&data_72=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_73=onAnchorPos&uuid_73=lY4Qe1&data_73=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_74=onAnchorPos&uuid_74=lY4Qe1&data_74=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_75=onAnchorPos&uuid_75=lY4Qe1&data_75=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_76=onAnchorPos&uuid_76=lY4Qe1&data_76=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_77=onAnchorPos&uuid_77=lY4Qe1&data_77=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_78=onAnchorPos&uuid_78=lY4Qe1&data_78=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_79=onAnchorPos&uuid_79=lY4Qe1&data_79=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_80=onAnchorPos&uuid_80=lY4Qe1&data_80=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_81=onAnchorPos&uuid_81=lY4Qe1&data_81=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_82=onAnchorPos&uuid_82=lY4Qe1&data_82=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_83=onAnchorPos&uuid_83=lY4Qe1&data_83=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_84=onAnchorPos&uuid_84=lY4Qe1&data_84=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_85=onAnchorPos&uuid_85=lY4Qe1&data_85=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_86=onAnchorPos&uuid_86=lY4Qe1&data_86=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_87=onAnchorPos&uuid_87=lY4Qe1&data_87=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_88=onAnchorPos&uuid_88=lY4Qe1&data_88=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_89=onAnchorPos&uuid_89=lY4Qe1&data_89=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_90=onAnchorPos&uuid_90=lY4Qe1&data_90=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_91=onAnchorPos&uuid_91=lY4Qe1&data_91=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_92=onAnchorPos&uuid_92=lY4Qe1&data_92=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_93=onAnchorPos&uuid_93=lY4Qe1&data_93=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_94=onAnchorPos&uuid_94=lY4Qe1&data_94=%7B%22top%22%3A638%2C%22left%22%3A22%7D&cmd_95=onAnchorPos&uuid_95=lY4Qe1&data_95=%7B%22top%22%3A638.4000244140625%2C%22left%22%3A22%7D&cmd_96=onAnchorPos&uuid_96=lY4Qe1&data_96=%7B%22top%22%3A624%2C%22left%22%3A22%7D&cmd_97=onAnchorPos&uuid_97=lY4Qe1&data_97=%7B%22top%22%3A568%2C%22left%22%3A22%7D&cmd_98=onAnchorPos&uuid_98=lY4Qe1&data_98=%7B%22top%22%3A528%2C%22left%22%3A22%7D&cmd_99=onAnchorPos&uuid_99=lY4Qe1&data_99=%7B%22top%22%3A488%2C%22left%22%3A22%7D&cmd_100=onAnchorPos&uuid_100=lY4Qe1&data_100=%7B%22top%22%3A432%2C%22left%22%3A22%7D&cmd_101=onAnchorPos&uuid_101=lY4Qe1&data_101=%7B%22top%22%3A392%2C%22left%22%3A22%7D&cmd_102=onAnchorPos&uuid_102=lY4Qe1&data_102=%7B%22top%22%3A336%2C%22left%22%3A22%7D&cmd_103=onAnchorPos&uuid_103=lY4Qe1&data_103=%7B%22top%22%3A315%2C%22left%22%3A22%7D&cmd_104=onScrollPos&uuid_104=lY4Qe1&data_104=%7B%22top%22%3A57%2C%22left%22%3A0%7D&cmd_105=onAnchorPos&uuid_105=lY4Qe1&data_105=%7B%22top%22%3A581.4000244140625%2C%22left%22%3A22%7D&cmd_106=onAnchorPos&uuid_106=lY4Qe1&data_106=%7B%22top%22%3A581%2C%22left%22%3A22%7D&cmd_107=onSelect&uuid_107=lY4Qe1&data_107=%7B%22items%22%3A%5B%22lY4Q2q0%22%5D%2C%22reference%22%3A%22lY4Q2q0%22%2C%22clearFirst%22%3Afalse%2C%22pageX%22%3A722%2C%22pageY%22%3A605%2C%22which%22%3A1%2C%22x%22%3A701%2C%22y%22%3A169%7D&cmd_108=onAnchorPos&uuid_108=lY4Qe1&data_108=%7B%22top%22%3A581.4000244140625%2C%22left%22%3A22%7D] 10:44:27,175 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/oneview/monitor].[auEngine]] (ajp--127.0.0.1-8009-4) Servlet.service() for servlet auEngine threw exception: java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([100]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector. at org.apache.tomcat.util.http.Parameters.addParameter(Parameters.java:199) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:383) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:229) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.Request.parseParameters(Request.java:2874) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.Request.getParameter(Request.java:1291) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:363) [jbossweb-7.0.13.Final.jar:] at org.zkoss.zk.au.http.DHtmlUpdateServlet$3.getDesktopId(DHtmlUpdateServlet.java:733) [zk.jar:7.0.0] at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:531) [zk.jar:7.0.0] at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485) [zk.jar:7.0.0] at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494) [zk.jar:7.0.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:701) [rt.jar:1.6.0_30]

Not unique in window modal

$
0
0
I'm sorry for my English. I have a modal window created to show messages of error and when I execute it more than once it gives me the following error. window.detach () does not it finish the modal window? Not unique in ID space [Page bI1Q7]: errorMessageBoxWindow @Command public void closeWindowModal() { win.detach(); } Than you

Error handling: How to propagate sensible error message?

$
0
0
Hi, In my zul file I have such code: The problem is, that when getAllPreposes() throws sensible RuntimeException with e.g. "DB connection problem" message, zk anyway shows me "Error reading 'allPrepos' on type com.cisco.prepos.PreposViewModel at [jndi:/localhost/zul/layout/pre_pos.zul, line:11]" but not the actuall reason... How can I propagate sensable error message? Or at least full stacktrace. Thanks! ALF

Problem timer

$
0
0
Please, help with timer.. I have the following code: @Command @NotifyChange("*") public void timer() throws JAXBException, ServiceException { getStatusSystemActive(); } @NotifyChange({ "logsList", "slotsList", "statusSystem", "groupAsignationList" }) public void getStatusSystemActive() throws JAXBException, ServiceException { statusSystem = statusSystemService.getStatusSystem(); errorXml = statusSystemService.isError(); getErrorMessageBoxGeneric(); if (statusSystem != null) { if (statusSystem.getStatus().equals("STOP")) { setStatusSystem(true); } else { setStatusSystem(false); } if (statusSystem.getEvento().equals("STOP")) { eventoSystem = true; } else { eventoSystem = false; } if (statusSystem.getModo().equals("IN")) { modoSystem = true; } else { modoSystem = false; } } } But I do not achieve this "label" is updated. For example: if it has to put START and is in STOP, if the timer is executed the value does not update me to START. Thank you.

The import org.zkoss.chart cannot be resolved

$
0
0
Hello everyone I need help about this error, I do not know what the vesrion of zkoss to download to solve this kind of problem. thank you

Error "Only one child is allowed"

$
0
0
I have code:
Redirect to login page.....
I have updated to the version 7.0.2 and the error takes place: "Only one child and one caption is allowed: Center y6FP0#mainContent". Do I believe that it is for the label "center", it is possible?.

How to load zul file from .jar

$
0
0
I have a problem with load a zul file from jar. First project "zk-utils" containing zul file in *src/web/zul/pages/ui_text.zul*. This project is used as jar in next project. In next project I have added jar file as dependency into pom.xml. I can use classes and methods from this jar, but zul file will not load (Error: Page not found: ~./ui_text.zul). I use to create file: *Executions.createComponents("~./zul/pages/ui _text.zul" , null, null);* Please help me solve this problem.

ZK Customize the error message for Constraints

$
0
0
I am using zk `textbox` with constraint something like this Now issue is that rater showing proper error message its showing `illegal value` i want to know how to customize the error message ? So when user will input any wrong value it will show proper error message

No X11 DISPLAY variable was set

$
0
0
**Hi,** I have an problem in zk's application when export data to pdf format; the message error is follow: **No X11 DISPLAY variable was set, but this program performed an operation which requires it.** The application's server is tomcat 7 and running on linux ubuntu 12.04. **Thanks from Colombia.**

Zk7.0.3 : ShowNotification -> error on closing modal

$
0
0
Hello I display a notification message at the end of an action by using this code: Clients.showNotification("Succes", Clients.NOTIFICATION_TYPE_INFO, null, null, 3000); Then when the message **is still diplayed**, I open a modal by clicking on a button. See the code below: The Java code of the command: Window modal; @Command public void openModal() { modal = (Window) Executions.createComponents( "/modal.zul", null, null); modal.focus(); } The problem is when I close the opened modal i have a zk error like that : [17/09/14 16:59:14] ERROR (DesktopImpl) : [Desktop z_mqb:/index.zul] client error: N'a pas été traité rm this.$(...) is null (TypeError) After this error the modal is locked and i have to refresh to make it disappear. Note that if I wait the auto-close of the notification message before opening the modal I don't have any problem when I close the modal. I can observe this problem since the upgrade in zk 7.0.3 version. Thanks for your help!

Error not Unique in ID space in a template

$
0
0
I have this View in ZK:
EmailPasswordConfirm-PasswordRoleMnosEditRemove
And i do not why in

Inter web app problem

$
0
0
I realize a test of inter web app but i don't achieve that it works. I have the following pages: App1 index.zul: App2 index.zul: And i have the error in Eclipse: GRAVE: Servlet.service() para servlet zkLoader lanzó excepción org.zkoss.zk.ui.UiException: Page not found: ~app2/index.zul I have error in tomcat: java.lang.StackOverflowError I have to set some thing more... Thank you

JS error thrown after moving Panel

$
0
0
I am currently using zk 7.0.0 CE. (I have asked in another thread how to upgrade!) I am building an interface with multiple movable/adjustable panels. I have just discovered that a JavaScript error is thrown from zk code when I move a Panel, and all my client-side code seems to stop functioning after that. I am assuming this error is causing my other client-side code not to run. (I am guessing that's normal for a js error?) Below is a minimal zul example that causes the error to be thrown in Chrome, after you drag the panel at all and release it. Error visible in Developers console. Panel text The error in the Chrome console is: > Uncaught ReferenceError: wgt is not defined> in zul.wnd.wpd The code snippet causing the issue seems to be the wgt reference here: _aftermove:function(c,b){c.control.zsync();zk(wgt).redoCSS(-1,{fixFontIcon:true})},_startsizing:zul.wnd Help?

Why is ZK resetting my run configuration ?

$
0
0
Hello, I use Eclipse with the ZK Editor plugin. In order to run my Hello World project on a Google server ZK created for me, I need to edit the run configuration to add doublequotes around the `javaagent` VM argument (because there is a space in the path). The problem is that everytimes I do `Run as > Run on server` on my project, ZK is resetting the configuration to its default values, removing my doublequotes... and obviously it's not working anymore. Do you have any solution to this ? Thanks !

Problem deploy tomcat (Help me)

$
0
0
Help me, please!!! I have an application that when I deploy in 'jetty server' running, but when I deploy on tomcat not find me the paths of .zul pages. Example. * When I deploy to jetty, the url that appears is: http://localhost:8080/index.zul * When I deploy to tomcat, the url that appears is: http://localhost:808/dimensiona/index.zul When I select an option from the sidebar in working jetty and tomcat not find the path. Page sidebar: If I change href from 'href="/resources/page.zul"' to 'href="resources/page.zul"' when I select one navitem works fine on tomcat, but when I select another navitem not work because the wrong path appears. Example: Tomcat: - if I select navitem resources, it works: http://localhost:8080/dimensiona/resources/page.zul - if then select navitem configparms, it not works: http://localhost:8080/dimensiona/resources/configparms/page.zul. I hope I explained well, sorry for the English, thanks

Tags shiro

$
0
0
Has anyone used shiro and taglib? I'm trying to use shiro with tags and always gives the error 'tag is not bound'. Thank you.

zk.wpd JS error, with window inside window

$
0
0
I am gettting JS errors on zk.wpd >TypeError: Cannot read property 'offsetHeight' of null>>Failed to mount: Cannot read property 'offsetHeight' of null>>TypeError: ao is null>>in zk.wpd script file I have narrowed it down to a cause... that is I have a zul page where i have created a child window to be opened as a popup i.e. initially hidden, inside an parent window, but for some reason it works properly for few times and than all of a sudden it starts to throw strange JS errors from zk.wpd as i mentioned in my initial question. If i comment the child window and run application, there is no issue at all. I can't understand as of now, why it is happening but will update this post again if I find a solution. **the child window is** it is a part of **parent window** with few other grids and listboxes `CHILD WINDOW GOES HERE` `ALONG WITH OTHER GRIDS AND OTHER tags` ``

Uncaught TypeError: Cannot read property 'offsetHeight' of null

$
0
0
I am getting below errors while trying to display zul files, this error occurs on allmost all browsers> **TypeError: Cannot read property 'offsetHeight' of null**>> **Failed to mount: Cannot read property 'offsetHeight' of null**>> TypeError: ao is null >>in **zk.wpd script file** Most of the times it works properly but only sometimes i get this error, i am not able to determine what is the root cause for it, will really appriciate if someone can point me to right direction to solve this issue.
Viewing all 76 articles
Browse latest View live