My idea is to have many view models on the same zul page. So there would be another hbox that appears/disappears with its own visibility binding. The idea of the top level Binder (not attached to a particular view model) is to allow buttons at the top of the zul call global commands for visibility
salman1 ( 2014-02-12 13:02:19 +0800 )editOke I get your point. Just a way of seeing things. Did you try add logging in the java code of the global-command? Check if it's triggered (maybe the notifyChanged isn't working)
chillworld ( 2014-02-12 13:20:14 +0800 )editI used the ZK Bind Tracker tool (http://books.zkoss.org/wiki/SmallTalks/2013/June/ZKBindingTracker-AChrome_Extension) but the command is just not invoked on the server side. We are definitely thinking along the same lines!
salman1 ( 2014-02-13 16:14:59 +0800 )editdid you try to use an @command and in the command call BindUtils.postGlobalComand ?
chillworld ( 2014-02-13 16:46:23 +0800 )edit