-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Once I put back "apply="org.zkoss.bind.BindComposer" to my ZUL file,got additional error message likes below:
<window id="personinforList" title="Person Information" border="normal" apply="org.zkoss.bind.BindComposer" viewmodel="@id('vm') @init('XXXXXX.PersonInforViewModel')">
2020-05-20 14:49:01.253 WARN 18616 --- [nio-8080-exec-3] org.zkoss.zk.ui.metainfo.Parser : file:/C:/Users...20New/view/PersonInfor.zul:5:81: If the attribute of viewModel is being used, then "org.zkoss.bind.BindComposer" will be applied automatically. Notice that if you want to use another Composer, you will need to apply the "org.zkoss.bind.BindComposer" yourself. 2020-05-20 14:49:01.377 WARN 18616 --- [nio-8080-exec-3] org.zkoss.bind.impl.BinderImpl : you are using a composer [PersonInforViewModel [selectedPerson=null, personalList=null]] as a view model 2020-05-20 14:49:01.409 ERROR 18616 --- [nio-8080-exec-3] org.zkoss.bind.impl.ParamCall :
java.lang.NullPointerException: null at com.lianan.data.viewmodel.PersonInforViewModel.initSetup(PersonInforViewModel.java:53)
2 | No.2 Revision |
Once I put back "apply="org.zkoss.bind.BindComposer" to my ZUL file,got additional error message likes below:
<window id="personinforList" title="Person Information" border="normal" apply="org.zkoss.bind.BindComposer" viewmodel="@id('vm') @init('XXXXXX.PersonInforViewModel')">
2020-05-20 14:49:01.253 WARN 18616 --- [nio-8080-exec-3] org.zkoss.zk.ui.metainfo.Parser : file:/C:/Users...20New/view/PersonInfor.zul:5:81: If the attribute of viewModel is being used, then "org.zkoss.bind.BindComposer" will be applied automatically. Notice that if you want to use another Composer, you will need to apply the "org.zkoss.bind.BindComposer" yourself. 2020-05-20 14:49:01.377 WARN 18616 --- [nio-8080-exec-3] org.zkoss.bind.impl.BinderImpl : you are using a composer [PersonInforViewModel [selectedPerson=null, personalList=null]] as a view model 2020-05-20 14:49:01.409 ERROR 18616 --- [nio-8080-exec-3] org.zkoss.bind.impl.ParamCall :
java.lang.NullPointerException: null
at com.lianan.data.viewmodel.PersonInforViewModel.initSetup(PersonInforViewModel.java:53)XXXXXXX.PersonInforViewModel.initSetup(PersonInforViewModel.java:53)