JSF hidden:input for boolean field -


i have following class:

public class filterusers{  private boolean isadmin;   public boolean isadmin() {     return isadmin; }   public void setisadmin(boolean isadmin) {     this.isadmin = isadmin; } } 

i'm trying make admin field true through hidden input in jsf form. how that?

i thinking @ like: h:inputhidden value="#{filterusers.isadmin}"

thank you


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -