Friday, 11 January 2013

How to set Textbox Maxlength in the view model ?

<textbox maxlength="@bind(vm.maxlength)" />


....
public int getMaxlength() {
return 5;
}
....
 
Reference from zk forum here.

No comments:

Post a Comment

Passing Parameter between two files using MVVM

This examples shows how to pass parameter between two zul screens. In this example, we are passing some parameters from the parent vm to...