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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -