xiaochong / zkui

Grails ZK UI Plugin
http://grails.org/plugin/zkui
GNU Lesser General Public License v3.0
24 stars 8 forks source link

Zkui-mvvm demo does not work with ZK 6.0.2 #72

Closed aaloise closed 12 years ago

aaloise commented 12 years ago

zkui-mvvm demo is not working with ZK 6.0.2.FL.

When "New" button is pressed the app says:

"Cannot convert zkui.mvvm.Order : null of type class zkui.mvvm.Order to class org.zkoss.zul.Listitem"

zkui 0.5.1 with ZK 6.0.1 works fine.

ghost commented 12 years ago

Same configuration.

ViewModel receives GET, but NOT SET for data binding.

@NotifyChange public void setMessage(String message) { this.message = message }

and

@bind(vm.message)

aaloise commented 12 years ago

New diagnosis. With zk 6.0.2 almost everythink is blank. The content of listbox and groupbox are completelly blank like there was no components as their children.

The same thing happens with zk 6.1.0. Just try to package-plugin zkui source with either zk 6.0.2 or zk 6.1.0, then install the zip file to zkui-mvvm-demo and i'll se the problem

aaloise commented 12 years ago

zkui-mvvm-demo works fine from zk 6.0.2.FL.20120511 to zk 6.0.2.FL.20120524.

Since zk 6.0.2.FL.20120525 zkui-mvvm-demo stops working, something happened in ZKOSS sources from that day on (05/25) that makes listbox and groupbox ok zkui-mvvm-demo being completelly blank.

If you have sometime, please giv it a try and will see for yourself. It's also affecting an application of mine

xiaochong commented 12 years ago

Fix issue on the latest build zk is not recommended since it is very unstable.

aaloise commented 12 years ago

Just figure it out. Is a ZK bug. Started to happen after ZK-1159 was fixed.

I'll close this issue since it's related to ZK, and not to ZKUI