0

Method setController not found for class org.zkoss.zul.Div

asked 2016-10-11 03:13:05 +0800

RianAfriyadi gravatar image RianAfriyadi
1

Hello I had tried implement AngularJS + ZKoss MVVM on ZKoss official tutorial https:<slash><slash>www.zkoss.org<slash>zk-angular-demo<slash>getting_started But after completing all step I got error:

org.zkoss.zk.ui.metainfo.PropertyNotFoundException: Method setController not found for class org.zkoss.zul.Div org.zkoss.zk.ui.metainfo.Property.resolve(Property.java:186) org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:202) org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:857) org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:826) org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:735) org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:699) org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:872) org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:826) org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:735) org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:699) org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:442) org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:356) org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

Did anyone know how to fix it? Thanks

delete flag offensive retag edit

Comments

Don't you need to use apply as attributen for setting a controller?

chillworld ( 2016-10-11 06:10:24 +0800 )edit

No, because I use MVVM. The controller is javascript. I follow the step on https://www.zkoss.org/zk-angular-demo/getting_started

RianAfriyadi ( 2016-10-11 06:37:42 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-10-11 03:13:05 +0800

Seen: 23 times

Last updated: Oct 11 '16

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