-
Bug
-
Resolution: Cannot Reproduce
-
Normal
-
None
-
6.5.0
-
ZK 6.5.0 CE Edition, Linux Kubuntu 11.04, Glassfish 2.1
Method:
ModelView
@GlobalCommand @NotifyChange("vmInitData") public void deleteCharges(@BindingParam("items") Set<Charge> dataItems) { ....
is not called unless rename "dataItems" argument declaration to "items", like so:
ModelView
@GlobalCommand @NotifyChange("vmInitData") public void deleteCharges(@BindingParam("items") Set<Charge> items) { ....
ZUL Fragment
<button label="Eliminar" onClick="@global-command('deleteCharges',items=vm.selectedCharges)" disabled="@load(empty vm.selectedCharges)" />
Notes:
- Call without param is called (onClick="@global-command('deleteCharges'))