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

mod_proxy_ajp with zk leading to timeout errors

$
0
0
Hi, We are using hybris application that internally uses ZK framework (version 8.0). Apache is the proxy server before hybris and communication between Apache and hybris is done using AJP. We are using mod_proxy_ajp module for communication. We are seeing the following errors in the logs of Apache: `[Wed Jul 19 16:32:25.898151 2017] [proxy_ajp:error] [pid 38976:tid 140482065696512] [client 10.129.80.151:63250] AH00992: ajp_read_header: ajp_ilink_receive failed, [Wed Jul 19 16:32:25.898177 2017] [proxy_ajp:error] [pid 38976:tid 140482065696512] (70007)The timeout specified has expired: [client 10.129.80.151:63250] AH00878: read response failed from 10.129.80.152:8009 (10.129.80.152), ` The requests are getting timed out and the request which is getting time out is as follows: 10.129.80.151 |- |- |[20/Jul/2017:15:45:48 +0530] |POST /backoffice/zkcomet?dtid=z_io60 HTTP/1.1 |200 |- |67.101 |h |Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 10.129.80.151 |- |- |[20/Jul/2017:15:45:48 +0530] |POST /backoffice/zkau HTTP/1.1 |200 |2820 |73.200 | |Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 /zkcomet is taking 67 seconds and as a result tomcat application server responds back with 500 leading to server being unavailable to serve the request. Is this a known issue with ZK? I read zk 6.5.1 has issues with apache mod proxy but ours an upper version. Please help as we don't seem to get around with this issue. Thanks in advance. Saurabh

Disable selection on tree

$
0
0
I have the following scenario. I have one icon inside one treecell, and when I click in it I don't want to trigger the treeitem selection. I made the following fiddle to exemplify. http://zkfiddle.org/sample/2g2798c/3-Disable-selection-on-click-in-icon-inline-with-treecell How can I archive this behavior? Thanks,

Wrong value exception in TextBox

$
0
0
Hello, My client has an exception on a textbox, it says that an invalid value has been entered. I've tried reproducing the bug locally but in vain. So I was wondering what kind of special characters or just characters might cause this exception ? I've tried sending a null value, I've tried numerous special characters but I never have this exception thrown... Thanks for your help :) Here's a piece of the stack trace I have: Caused by: java.lang.Exception: type : org.zkoss.zk.ui.WrongValueException, message : Valeur illégale at org.zkoss.zul.SimpleConstraint.wrongValue(SimpleConstraint.java:369) at org.zkoss.zul.SimpleConstraint.validate(SimpleConstraint.java:336) at org.zkoss.zul.impl.InputElement.validate(InputElement.java:340) at org.zkoss.zul.impl.InputElement.setText(InputElement.java:291) at org.zkoss.zul.Textbox.setValue(Textbox.java:55)

import org.zkoss.zats.ZatsException cannot be resolved

$
0
0
I need to use ZATS Mimic for my project but I always encounter these errors: - The import org.zkoss.zats.ZatsException cannot be resolved - Zats environment cannot be resolved to a type I'm stuck. What can possibly be wrong?

Session timeout management

$
0
0
Hello All , I am trying to use session time out management in a ZK web application. So I used the automatic time-out function from Zk with a time duration of some minutes. Now I want a view this countdown timer in my webapplication (for example showing it in this way HH:MM:SS).So Please help me, if there are any methods to solve this directly using ZK timeout functions. Thanks and Regards

What can be an easy approach to change the mode of layout from Hlayout to Vlayout?

$
0
0
I want to use multiple windows in my screen, each window contains an applet holder to show PDF document. Each windows can be added by clicking a list item. Now Hlayout is used to hold these windows. so whenever a new window is added the whole space will be share all available windows. And my requirement is to change to mode with an onSelect event of menuItem. **Selecting upon a particular menu item , the mode should be changed.** That is all opened windows should be changed to Vlayout mode and if any list item is clicked, then new window should be added to Vlayout. If the mode is changed to Hlayout, in that case also newly added window should be added. Now I am using seperate Hlayout and Vlayout components for my requirement. It is consuming more memory space. Is there any easy approach to proceed for the above requirement. I am looking a solution like "orient" attribute kind of solution. orient can be used to change the mode. But it can't be used for layout componenet.

Pivottable custom calculator

$
0
0
I am trying to use the distinct count calculator which is found here (https://www.zkoss.org/wiki/ZK_Pivottable_Essentials/Customization/Custom_Calculator) It seems to total the distinct entries at the bottom total line, however I would also like a distinct count on each row. I can't attach an image, but the link is below (remove space before //): (https://p3.mdxperience.com/pub/example.png) The way it's currently working is that it counts the number of distinct accounts in the list, but I would like to count the number of distinct accounts for each CPT field, then just sum the total as normal. Is it possible to do this? Thanks

ZATS with tomcat

$
0
0
I would like to use ZATS, but it is impossible for me to remove all dependencies to the Tomcat jars. Is there workaround to use ZATS and keep Tomcat in the project? If I start my junit test, then I get NoClassDefFoundError for LogFactory. And this seems to happen because a jar in Jetty should be used, but Tomcat is found.

vlayout spacing not working

$
0
0
Using 8.0.2.2 version spacing dosen't have any effect is this a bug?

ZK Calendar: "More" popup doesn't open

$
0
0
I have an application developed in zk 5.09. Zk Calendar works fine, but when there are many events in one day, even if i click on "more" the popup doesn't open. I need to set some options in particular? Is it possible to capture this event? [Image1](http://imageshack.us/a/img16/1511/morea.png) [Image2](http://imageshack.us/a/img201/6760/popupw.png)

Can't copy text values from listbox

$
0
0
After last update of Google Chrome (Version: 60.0.3112.90), i'm unable copy text values from listbox rows to clipboard at all. Can anyone help me please? Unfortunately i can't add link because my karma is insufficient to publish links. Error can see on official ZK demo site. Thank you

ZK8 - how is FormDirty determined

$
0
0
We have just upgraded to ZK8. We have a lot of forms as follows: ........ The formComponent setFormDataModified method makes the submit button visible if dirty is true. In ZK8 I notice if I change a text field on the form then the formDataStatus.dirty returns true and the submit button is displayed. However if I change the text field value back to the previous value then the formDataStatus.dirty still returns true. This behaviour wis different to ZK7 where the formDataStatus.dirty would return false if the text field value was changed back to the original. Is there anything else I need to implement to make it work the way it used to in ZK7 ?

Loading different templates depending on the data from a tree model

$
0
0
I have this situation. I have a treemodel on the left part of the page with 3 levels. EquipmentClass, EquipmentType and Equipment. Each level has to load a different template, EquipmentClass.zul , EquipmentType.zul and Equipment.zul. I've tried several stuff so far, but I always find any problem at some point. What's the best approach to do this? This case doesn't work for me, because in the template, I'll do some save and load of Media fields, and that's not well handled in the zul, and I can't access the @ref p from viewmodel ``` ``` Next case doesn't work neither for me, because even I get the data in the template from the selectedId, if the selectedId changes, it doesn't get binded to the template, because the variable is 'sent' when the template gets constructed ``` ``` Note that: @DependsOn({"type"}) public String getTemplateName() { return this.type == null ? "" : "/app/thg/equipments/equipments/"+ type +".zul"; } I hope you can address me with this situation. Disclaimer: I'm a really newbie in ZK

zk and webseal

$
0
0
Hi everybody Im building an app with ZK + Spring + MyBatis The principal page has the next structure:
Head mP2 < *****************" ); for(Object s = new Object();enu.hasNext();s = enu.next()) System.out.println( "ZZZ>>> " + s + " : " + Executions.getCurrent().getHeader( s.toString() ) ) ; javax.servlet.http.HttpSession sess = (javax.servlet.http.HttpSession)session.getNativeSession(); Enumeration enu2 = sess.getAttributeNames(); System.out.println( "******* > Session mP2< *****************" ); for( Object s = new Object() ; enu2.hasMoreElements() ; s = enu2.nextElement() ) System.out.println( "ZZZ>>> " + s + " : " + session.getAttribute( s.toString() ) ) ; Map attributos = Executions.getCurrent().getAttributes(); Iterator keys = attributos.keySet().iterator(); System.out.println( "******* > request mP2< *****************" ); for( Object s = new Object() ; keys.hasNext() ; s = keys.next() ) System.out.println( "ZZZ>>> " + s + " : " + attributos.get( s.toString() ) ) ; System.out.println( "****************************************" ); ]]>
I have a menubar that populate dinamically, and when i click on any menuitem it loads the iframe called iframeArea with other app's. All app's lives on the same clustered WAS server, but request go throw WebSeal security. After first click session timeouts. Question, is what is happening with session?? regards;

default image src

$
0
0
Is there any way to specify a default src for the image in case of the giving source patth doesn't exist?

Render and binding with command global-command

$
0
0
I have this in my template ``` ``` Where the command update makes the vmApp.selected to change, and the global-command set some variables in the template. My problem is that the template is rendered after the global-command is executed. IS there any way to do this?

Widget class required for <Detail iCCP6a> with default

$
0
0
I'm trying to implement an masterDetail grid using richlet. but when I added this part of code Rows rows = new Rows(); rows.setParent(grid); Row row = new Row(); row.setParent(rows); Label label = new Label("text"); label.setParent(row); Detail detail = new Detail(); detail.setParent(row); detail.appendChild(new Label("detail test")); I got an org.zkoss.zk.ui.UiException: Widget class required for with default. I'm using Zk-EE 8.0.5

ERROR o.z.z.u.s.ConfigParser - Unable to load a listener

$
0
0
I'm working with `zk 8.0.5 Enterprise Edition` within `eclipse plugins projects`. when I add `zkex` to Required Plugin in `MANIFEST.MF` and I lunch the application I have a bunch of exceptions. I did not found a clear documentation about how to include zkex.> 14:11:17.931 [main] ERROR> o.z.z.u.s.ConfigParser - Unable to> load a listener,> [null:bundleresource://818.fwk76432244/metainfo/zk/config.xml:29:12]> org.zkoss.zk.ui.UiException:> bundleresource...244/metainfo/zk/config.xml:29:12:> Unable to load> org.zkoss.zkex.init.WebAppInit> at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:929)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:287)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:281)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:219)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.WebManager.(WebManager.java:133)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:141)> [zk.osgi.jar:8.0.5]> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)> [org.eclipse.jetty.servlet_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)> [org.eclipse.jetty.servlet_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.Server.start(Server.java:387)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.Server.doStart(Server.java:354)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at com.castortech.iris.ba.webviewer.server.JettyServer.start(JettyServer.java:52)> [com.castortech.iris.ba.webviewer/:na]> at com.castortech.iris.ba.webviewer.server.JettyServer.postStartUp(JettyServer.java:104)> [com.castortech.iris.ba.webviewer/:na]> at org.eclipse.emf.emfstore.internal.server.EMFStoreController.handlePostStartupListener(EMFStoreController.java:306)> [org.eclipse.emf.emfstore.server/:na]> at org.eclipse.emf.emfstore.internal.server.EMFStoreController.run(EMFStoreController.java:205)> [org.eclipse.emf.emfstore.server/:na]> at com.castortech.iris.vision.ServerApplication$1.run(ServerApplication.java:58)> [com.castortech.iris.vision/:na]> at com.castortech.iris.vision.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:202)> [com.castortech.iris.vision/:na]> at org.eclipse.ui.internal.Workbench$60.run(Workbench.java:2988)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1094)> [org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621.jar:na]> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)> [org.eclipse.core.databinding.observable_1.5.0.v20140320-1340.jar:na]> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)> [org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621.jar:na]> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)> [org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948.jar:na]> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)> [org.eclipse.core.databinding.observable_1.5.0.v20140320-1340.jar:na]> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at com.castortech.iris.vision.ServerApplication.start(ServerApplication.java:71)> [com.castortech.iris.vision/:na]> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)> [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native> Method) ~[na:1.8.0_141]> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown> Source) ~[na:1.8.0_141]> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown> Source) ~[na:1.8.0_141]> at java.lang.reflect.Method.invoke(Unknown> Source) ~[na:1.8.0_141]> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> Caused by:> java.lang.NoClassDefFoundError:> org/zkoss/zk/ui/util/WebAppInit> at java.lang.ClassLoader.defineClass1(Native> Method) ~[na:1.8.0_141]> at java.lang.ClassLoader.defineClass(Unknown> Source) ~[na:1.8.0_141]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:398)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at java.lang.ClassLoader.loadClass(Unknown> Source) ~[na:1.8.0_141]> at java.lang.Class.forName0(Native Method) ~[na:1.8.0_141]> at java.lang.Class.forName(Unknown Source) ~[na:1.8.0_141]> at org.zkoss.lang.Classes.forNameByThread(Classes.java:269)> ~[zcommon.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:915)> [zk.osgi.jar:8.0.5]> ... 53 common frames omitted Caused by:> java.lang.ClassNotFoundException:> org.zkoss.zk.ui.util.WebAppInit cannot> be found by zkex_8.0.5> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at java.lang.ClassLoader.loadClass(Unknown> Source) ~[na:1.8.0_141]> ... 72 common frames omitted 14:11:17.947 [main] ERROR> o.z.z.u.s.ConfigParser - Unable to> load a listener,> [null:bundleresource://818.fwk76432244/metainfo/zk/config.xml:32:12]> org.zkoss.zk.ui.UiException:> bundleresource...244/metainfo/zk/config.xml:32:12:> Unable to load> org.zkoss.zkex.init.DesktopInit> at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:929)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:287)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:281)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:219)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.WebManager.(WebManager.java:133)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:141)> [zk.osgi.jar:8.0.5]> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)> [org.eclipse.jetty.servlet_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)> [org.eclipse.jetty.servlet_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)> [org.eclipse.jetty.webapp_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.Server.start(Server.java:387)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.server.Server.doStart(Server.java:354)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)> [org.eclipse.jetty.util_9.2.9.v20150224.jar:9.2.9.v20150224]> at com.castortech.iris.ba.webviewer.server.JettyServer.start(JettyServer.java:52)> [com.castortech.iris.ba.webviewer/:na]> at com.castortech.iris.ba.webviewer.server.JettyServer.postStartUp(JettyServer.java:104)> [com.castortech.iris.ba.webviewer/:na]> at org.eclipse.emf.emfstore.internal.server.EMFStoreController.handlePostStartupListener(EMFStoreController.java:306)> [org.eclipse.emf.emfstore.server/:na]> at org.eclipse.emf.emfstore.internal.server.EMFStoreController.run(EMFStoreController.java:205)> [org.eclipse.emf.emfstore.server/:na]> at com.castortech.iris.vision.ServerApplication$1.run(ServerApplication.java:58)> [com.castortech.iris.vision/:na]> at com.castortech.iris.vision.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:202)> [com.castortech.iris.vision/:na]> at org.eclipse.ui.internal.Workbench$60.run(Workbench.java:2988)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1094)> [org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621.jar:na]> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)> [org.eclipse.core.databinding.observable_1.5.0.v20140320-1340.jar:na]> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)> [org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621.jar:na]> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)> [org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948.jar:na]> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)> [org.eclipse.core.databinding.observable_1.5.0.v20140320-1340.jar:na]> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)> [org.eclipse.ui.workbench_3.107.100.201502261938.jar:na]> at com.castortech.iris.vision.ServerApplication.start(ServerApplication.java:71)> [com.castortech.iris.vision/:na]> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)> [org.eclipse.equinox.app_1.3.300.v20150423-1356.jar:na]> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)> [org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native> Method) ~[na:1.8.0_141]> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown> Source) ~[na:1.8.0_141]> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown> Source) ~[na:1.8.0_141]> at java.lang.reflect.Method.invoke(Unknown> Source) ~[na:1.8.0_141]> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)> [org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]> Caused by:> java.lang.NoClassDefFoundError:> org/zkoss/zk/ui/util/DesktopInit> at java.lang.ClassLoader.defineClass1(Native> Method) ~[na:1.8.0_141]> at java.lang.ClassLoader.defineClass(Unknown> Source) ~[na:1.8.0_141]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:398)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at java.lang.ClassLoader.loadClass(Unknown> Source) ~[na:1.8.0_141]> at java.lang.Class.forName0(Native Method) ~[na:1.8.0_141]> at java.lang.Class.forName(Unknown Source) ~[na:1.8.0_141]> at org.zkoss.lang.Classes.forNameByThread(Classes.java:269)> ~[zcommon.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:915)> [zk.osgi.jar:8.0.5]> ... 53 common frames omitted Caused by:> java.lang.ClassNotFoundException:> org.zkoss.zk.ui.util.DesktopInit> cannot be found by zkex_8.0.5> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)> ~[org.eclipse.osgi_3.10.100.v20150529-1857.jar:na]> at java.lang.ClassLoader.loadClass(Unknown> Source) ~[na:1.8.0_141]> ... 72 common frames omitted 14:11:17.947 [main] ERROR> o.z.z.u.s.ConfigParser - Unable to> load a listener,> [null:bundleresource://818.fwk76432244/metainfo/zk/config.xml:36:15]> org.zkoss.zk.ui.UiException:> bundleresource...244/metainfo/zk/config.xml:36:15:> Unable to load> org.zkoss.zkex.rt.QuotaPacketRegister> at org.zkoss.zk.ui.sys.ConfigParser.parseClass(ConfigParser.java:929)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:287)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:281)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:219)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.WebManager.(WebManager.java:133)> [zk.osgi.jar:8.0.5]> at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:141)> [zk.osgi.jar:8.0.5]> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)> [org.eclipse.jetty.server_9.2.9.v20150224.jar:9.2.9.v20150224]> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)> [org.eclipse.jetty.servlet_9.2.9.v20150224.jar:9.2.9.v20150224]

combobox with password type zk 8.0.5

$
0
0
Hi, I'm using an autocomplete combobox to let the input text, and optionally pick items from the autocomplete list. However, the same combobox, based on application flags, could also need the user to enter text securely (that is, using the setType("password") method). But setting the password type on a combobox seems to do nothing, even though it's actually documented and the combobox is simulated using Input fields. Is there any way to make the setType actually work? I'm using Zk 8.0.5 in Java code (no zul). Thanks

after component rendering event

$
0
0
is there anyway to have an event fired just after the creation of the component ? so I can get some information like the width ? If I don't specify the height or width getHeight() and getWidth() always return null. is it possible to get the dimension of the component after being rendered ?
Viewing all 9640 articles
Browse latest View live