java - Rendering ZK component based on the server response -
i have following field in zk controller
private boolean haserror; , getter setter defined
and set value following
sethaserror(true); throw new wrongvalueexception(c, "invalid value: must 0 or 1 ");
now try access the above field following in zk page following.
<div width="95%" style="margin: 5px auto" align="left" if="${haserror}"> <separator height="5px" /> <hlayout > <label zclass="headertext12 bold" style="color: red;"> message </label> </hlayout> </div>
i have put if="${haserror}"
condition on div still value not getting shown when haserror
field set true
could 1 me please.
Comments
Post a Comment