-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
I'm using ZK8 with MVVM as usual along Bootstrap and DataTables plugin. So i've created a Grid styled with DataTables and all is working correctly, but only if i have one page. Since i have a checkbox binded with "enabled" field of my object i get the error:
Cannot read property 'checked' of undefined
This happens when i have two pages and the communication between client and server doesn't work anymore. I suspect because the checkbox is not shown in the table.
EDIT: This happens here:
zul.wgt.Checkbox.zk.$extends.bind_ @zk.wpd:72
EDIT2: This happens here. "c" is undefined
if(c.checked!=c.defaultChecked){c.checked=c.defaultChecked}
Hello afxgroup,
Your assumption is correct, thus you should re-think how you will set up your components or please post your code so we can check it out.
For more information please read the following:
http://books.zkoss.org/wiki/ZKDeveloper'sReference/UIComposing/IDSpace
Best Regards,
Darksu
Asked: 2016-01-15 10:15:26 +0800
Seen: 25 times
Last updated: Jan 19 '16
Failed to load the resource timepicker.css.dsp and others
Any news on zk7 / bootstrap3 ?
How to adapt style in my project
Zkmax.jar does not exist in zk 7 librairies
How can I change my website's colors?
ZK 7: Bootstrap support for combobox/bandbox ?
ZK 7: Bootstrap support for datebox ?