org.zkoss.zel.PropertyNotFoundException: Property 'check' not found on type org.zkoss.zul.Checkbox

ZK-Tracker | davout | 4 years ago
  1. 0

    Having recently upgraded a project from ZK R6 to R6.02 I've detected a bug with having a checkbox element in a grid template. <grid id="scenarios" model="@load(vm.scenarioModel) @save(vm.scenarioModel,before='compareScenarios')"> <auxhead> <auxheader colspan="4"> <button label="Compare scenarios" disabled="@load(vm.cannotCompare)" onClick="@command('compareScenarios')"/> <space /> <button label="Change existing scenarios" /> <space /> <button label="Add new scenario" onClick="@command('addScenario')"/> </auxheader> </auxhead> <columns> <column label="Compare" width="90px" align="center"/> <column label="Scenario name" /> <column label="Links" /> <column label="Evaluation state" /> </columns> <template name="model" var="item"> <row> <checkbox check="@bind(item.selected)" onCheck="@command('selectionChange',state=self.checked, scenarioID=item.ID)"/> <a label="@load(item.title)" /> <a label="@load(item.links)" /> <a label="@load(item.evaluationState)" /> </row> </template> </grid> Take out the check="@bind(item.selected)" attribute setting and it works fine in R6.0.2. This code worked fine in R6. The following error is reported: 19-Sep-2012 06:02:33 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1351 SEVERE: >>org.zkoss.zel.PropertyNotFoundException: Property 'check' not found on type org.zkoss.zul.Checkbox >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:304) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:255) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:429) >> at org.zkoss.zel.BeanELResolver.getType(BeanELResolver.java:115) >> at org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131) >> at org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131) >> at org.zkoss.xel.zel.XelELResolver.getType(XelELResolver.java:95) >> at org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:210) >> at org.zkoss.zel.impl.ValueExpressionImpl.setValue(ValueExpressionImpl.java:256) >> at org.zkoss.xel.zel.ELXelExpression.setValue(ELXelExpression.java:50) >> at org.zkoss.bind.impl.BindEvaluatorXImpl.setValue(BindEvaluatorXImpl.java:50) >> at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:81) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) >> at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1800) >> at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1777) >> at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1780) >> at org.zkoss.bind.tracker.impl.BindUiLifeCycle$1.onEvent(BindUiLifeCycle.java:69) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2736) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2685) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) >> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) >> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) >> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) >> at org.zkoss.web.servlet.Servlets.forward(Servlets.java:837) >> at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:277) >> at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:286) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:392) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >> at org.apache.catalina.core.StandardHostValve

    ZK-Tracker | 4 years ago | davout
    org.zkoss.zel.PropertyNotFoundException: Property 'check' not found on type org.zkoss.zul.Checkbox
  2. 0

    Having recently upgraded a project from ZK R6 to R6.02 I've detected a bug with having a checkbox element in a grid template. <grid id="scenarios" model="@load(vm.scenarioModel) @save(vm.scenarioModel,before='compareScenarios')"> <auxhead> <auxheader colspan="4"> <button label="Compare scenarios" disabled="@load(vm.cannotCompare)" onClick="@command('compareScenarios')"/> <space /> <button label="Change existing scenarios" /> <space /> <button label="Add new scenario" onClick="@command('addScenario')"/> </auxheader> </auxhead> <columns> <column label="Compare" width="90px" align="center"/> <column label="Scenario name" /> <column label="Links" /> <column label="Evaluation state" /> </columns> <template name="model" var="item"> <row> <checkbox check="@bind(item.selected)" onCheck="@command('selectionChange',state=self.checked, scenarioID=item.ID)"/> <a label="@load(item.title)" /> <a label="@load(item.links)" /> <a label="@load(item.evaluationState)" /> </row> </template> </grid> Take out the check="@bind(item.selected)" attribute setting and it works fine in R6.0.2. This code worked fine in R6. The following error is reported: 19-Sep-2012 06:02:33 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1351 SEVERE: >>org.zkoss.zel.PropertyNotFoundException: Property 'check' not found on type org.zkoss.zul.Checkbox >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:304) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:255) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:429) >> at org.zkoss.zel.BeanELResolver.getType(BeanELResolver.java:115) >> at org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131) >> at org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131) >> at org.zkoss.xel.zel.XelELResolver.getType(XelELResolver.java:95) >> at org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:210) >> at org.zkoss.zel.impl.ValueExpressionImpl.setValue(ValueExpressionImpl.java:256) >> at org.zkoss.xel.zel.ELXelExpression.setValue(ELXelExpression.java:50) >> at org.zkoss.bind.impl.BindEvaluatorXImpl.setValue(BindEvaluatorXImpl.java:50) >> at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:81) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) >> at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) >> at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1800) >> at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1777) >> at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1780) >> at org.zkoss.bind.tracker.impl.BindUiLifeCycle$1.onEvent(BindUiLifeCycle.java:69) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2736) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2685) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) >> at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) >> at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) >> at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) >> at org.zkoss.web.servlet.Servlets.forward(Servlets.java:837) >> at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:277) >> at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:286) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:392) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >> at org.apache.catalina.core.StandardHostValve

    ZK-Tracker | 4 years ago | davout
    org.zkoss.zel.PropertyNotFoundException: Property 'check' not found on type org.zkoss.zul.Checkbox
  3. 0

    ViewModels does not reload correctly and requires server restart

    Google Groups | 4 years ago | Enrico Sasdelli
    org.zkoss.zel.PropertyNotFoundException: Property 'message' not found on type mvvm.iter.IndexViewModel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when mixing ZK creation EL with zkbind on reference or element of collection {code} <?xml version="1.0" encoding="UTF-8"?> <?page title="Auto Generated index.zul"?> <zk> <zscript><![CDATA[ ListModelList lm0= new ListModelList(); class A { public A(String s, Long v) { s_= s; v_= v; } public String getData() { return s_; } String s_= null; Long v_= null; } // Make first entry in ListModel ListModelList list= new ListModelList(); list.add(new A("RE: Bandbox Autocomplete Problem", 0L)); list.add(new A("RE: It's not possible to navigate a listbox' ite", 1L)); list.add(new A("RE: FileUpload", 2L)); lm0.add(new Object[] {"Today", list }); // Make second entry in ListModel list= new ListModelList(); list.add(new A("RE: Opening more than one new browser window", 10L)); list.add(new A("RE: SelectedItemConverter Question", 11L)); lm0.add(new Object[] { "Yesterday", list }); // Make third entry in ListModel list= new ListModelList(); list.add(new A("RE: Times_Series Chart help", 30L)); list.add(new A("RE: SelectedItemConverter Question", 31L)); lm0.add(new Object[] { "Last week", list }); class VM { public ListModel getLm0() { return lm0; } } ]]></zscript> <window title="Hello World!!" border="normal" width="800px" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('VM')" > <label value="You are using: ${desktop.webApp.version}"/> <listbox id="lb" model="@load(vm.lm0)" > <listhead> <listheader hflex="3"/> <listheader hflex="6"/> </listhead> <template name="model"> <listitem> <custom-attributes inner_list="${each[1]}" scope="component"/> <listcell> <label value="@load(each[0])"/> </listcell> <listcell> <listbox model= "@load(inner_list)"> <template name="model"> <listitem> <listcell label="${each.data}"> </listcell> </listitem> </template> </listbox> </listcell> </listitem> </template> </listbox> </window> </zk> {code} {code} >>org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384) >> at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) >> at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) >> at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) >> at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) >> at org.zkoss.zk.xel.impl.SimpleEvaluator.evaluate(SimpleEvaluator.java:72) >> at org.zkoss.zk.ui.metainfo.AbstractEvalRef.evaluate(AbstractEvalRef.java:48) >> at org.zkoss.zk.xel.ExValue.getValue(ExValue.java:109) >> at org.zkoss.zk.ui.metainfo.Property.getValue(Property.java:134) >> at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:227) >> at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) >> at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:816) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2156) >> at org.zkoss.bind.impl.BindListitemRenderer.render(BindListitemRenderer.java:70) >> at org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2638) >> at org.zkoss.zul.Listbox.renderItems(Listbox.java:2756) >> at org.zkoss.zul.Listbox.service(Listbox.java:3479) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:699) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1193) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) >> at org.eclipse.jetty.server.Server.handle(Server.java:349) >> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) >> at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) >> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) >> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) >> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) >> at java.lang.Thread.run(Thread.java:662) {code}

    ZK-Tracker | 4 years ago | dennis
    org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl
  6. 0

    Error when mixing ZK creation EL with zkbind on reference or element of collection {code} <?xml version="1.0" encoding="UTF-8"?> <?page title="Auto Generated index.zul"?> <zk> <zscript><![CDATA[ ListModelList lm0= new ListModelList(); class A { public A(String s, Long v) { s_= s; v_= v; } public String getData() { return s_; } String s_= null; Long v_= null; } // Make first entry in ListModel ListModelList list= new ListModelList(); list.add(new A("RE: Bandbox Autocomplete Problem", 0L)); list.add(new A("RE: It's not possible to navigate a listbox' ite", 1L)); list.add(new A("RE: FileUpload", 2L)); lm0.add(new Object[] {"Today", list }); // Make second entry in ListModel list= new ListModelList(); list.add(new A("RE: Opening more than one new browser window", 10L)); list.add(new A("RE: SelectedItemConverter Question", 11L)); lm0.add(new Object[] { "Yesterday", list }); // Make third entry in ListModel list= new ListModelList(); list.add(new A("RE: Times_Series Chart help", 30L)); list.add(new A("RE: SelectedItemConverter Question", 31L)); lm0.add(new Object[] { "Last week", list }); class VM { public ListModel getLm0() { return lm0; } } ]]></zscript> <window title="Hello World!!" border="normal" width="800px" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('VM')" > <label value="You are using: ${desktop.webApp.version}"/> <listbox id="lb" model="@load(vm.lm0)" > <listhead> <listheader hflex="3"/> <listheader hflex="6"/> </listhead> <template name="model"> <listitem> <custom-attributes inner_list="${each[1]}" scope="component"/> <listcell> <label value="@load(each[0])"/> </listcell> <listcell> <listbox model= "@load(inner_list)"> <template name="model"> <listitem> <listcell label="${each.data}"> </listcell> </listitem> </template> </listbox> </listcell> </listitem> </template> </listbox> </window> </zk> {code} {code} >>org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl >> at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:260) >> at org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:211) >> at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:384) >> at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:87) >> at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) >> at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) >> at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) >> at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) >> at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) >> at org.zkoss.zk.xel.impl.SimpleEvaluator.evaluate(SimpleEvaluator.java:72) >> at org.zkoss.zk.ui.metainfo.AbstractEvalRef.evaluate(AbstractEvalRef.java:48) >> at org.zkoss.zk.xel.ExValue.getValue(ExValue.java:109) >> at org.zkoss.zk.ui.metainfo.Property.getValue(Property.java:134) >> at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:227) >> at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) >> at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:816) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2156) >> at org.zkoss.bind.impl.BindListitemRenderer.render(BindListitemRenderer.java:70) >> at org.zkoss.zul.Listbox$Renderer.render(Listbox.java:2638) >> at org.zkoss.zul.Listbox.renderItems(Listbox.java:2756) >> at org.zkoss.zul.Listbox.service(Listbox.java:3479) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:699) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1193) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:558) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) >> at org.eclipse.jetty.server.Server.handle(Server.java:349) >> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) >> at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) >> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) >> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) >> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) >> at java.lang.Thread.run(Thread.java:662) {code}

    ZK-Tracker | 4 years ago | dennis
    org.zkoss.zel.PropertyNotFoundException: Property 'data' not found on type org.zkoss.bind.impl.ReferenceBindingImpl

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.zel.PropertyNotFoundException

      Property 'check' not found on type org.zkoss.zul.Checkbox

      at org.zkoss.zel.BeanELResolver$BeanProperties.get()
    2. The ZK EL Library
      CompositeELResolver.getType
      1. org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:304)
      2. org.zkoss.zel.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:255)
      3. org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:429)
      4. org.zkoss.zel.BeanELResolver.getType(BeanELResolver.java:115)
      5. org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131)
      6. org.zkoss.zel.CompositeELResolver.getType(CompositeELResolver.java:131)
      6 frames
    3. The ZKoss Common Library
      XelELResolver.getType
      1. org.zkoss.xel.zel.XelELResolver.getType(XelELResolver.java:95)
      1 frame
    4. The ZK EL Library
      ValueExpressionImpl.setValue
      1. org.zkoss.zel.impl.parser.AstValue.setValue(AstValue.java:210)
      2. org.zkoss.zel.impl.ValueExpressionImpl.setValue(ValueExpressionImpl.java:256)
      2 frames
    5. The ZKoss Common Library
      ELXelExpression.setValue
      1. org.zkoss.xel.zel.ELXelExpression.setValue(ELXelExpression.java:50)
      1 frame
    6. ZK Bind
      BindUiLifeCycle$1.onEvent
      1. org.zkoss.bind.impl.BindEvaluatorXImpl.setValue(BindEvaluatorXImpl.java:50)
      2. org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:81)
      3. org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171)
      4. org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372)
      5. org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1800)
      6. org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1777)
      7. org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1780)
      8. org.zkoss.bind.tracker.impl.BindUiLifeCycle$1.onEvent(BindUiLifeCycle.java:69)
      8 frames
    7. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2736)
      2. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2685)
      3. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648)
      4. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463)
      8. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316)
      9. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215)
      10. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135)
      10 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    9. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
      6 frames
    10. The ZKoss Web Library
      Servlets.forward
      1. org.zkoss.web.servlet.Servlets.forward(Servlets.java:837)
      1 frame
    11. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:277)
      2. org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:286)
      3. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:392)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316)
      5. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215)
      6. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135)
      6 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      11. org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:119)
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      13. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
      14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      15. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
      16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      17. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
      18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      19. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      20. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      21. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
      22. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
      23. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
      23 frames
    15. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
      2 frames
    16. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4 frames