示例#1
0
 /** Return the value of the <code>disabled</code> property. */
 public boolean isDisabled() {
   if (!Util.isEnabledOnUserRole(this)) {
     return true;
   } else {
     return super.isDisabled();
   }
 }
示例#2
0
 /** Return the value of the <code>partialSubmit</code> property. */
 public boolean getPartialSubmit() {
   if (partialSubmit != null) {
     return partialSubmit.booleanValue();
   }
   ValueBinding vb = getValueBinding("partialSubmit");
   Boolean boolVal = vb != null ? (Boolean) vb.getValue(getFacesContext()) : null;
   return boolVal != null ? boolVal.booleanValue() : Util.isParentPartialSubmit(this);
 }
示例#3
0
 /** Return the value of the <code>styleClass</code> property. */
 public String getStyleClass() {
   return Util.getQualifiedStyleClass(
       this,
       styleClass,
       CSS_DEFAULT.SELECT_ONE_MENU_DEFAULT_STYLE_CLASS,
       "styleClass",
       isDisabled(),
       PORTLET_CSS_DEFAULT.PORTLET_FORM_FIELD);
 }
示例#4
0
 /** Return the value of the <code>styleClass</code> property. */
 public String getStyleClass() {
   return Util.getQualifiedStyleClass(
       this, styleClass, CSS_DEFAULT.OUTPUT_FORMAT_DEFAULT_STYLE_CLASS, "styleClass");
 }
示例#5
0
 /** Return the value of the <code>rendered</code> property. */
 public boolean isRendered() {
   if (!Util.isRenderedOnUserRole(this)) {
     return false;
   }
   return super.isRendered();
 }
示例#6
0
 /** Return the value of the <code>warnClass</code> property. */
 public String getWarnClass() {
   return Util.getQualifiedStyleClass(this, warnClass, CSS_DEFAULT.WARN_STYLE_CLASS, "warnClass");
 }
示例#7
0
 /** Return the value of the <code>infoClass</code> property. */
 public String getInfoClass() {
   return Util.getQualifiedStyleClass(this, infoClass, CSS_DEFAULT.INFO_STYLE_CLASS, "infoClass");
 }
示例#8
0
 /** Return the value of the <code>fataClass</code> property. */
 public String getFatalClass() {
   return Util.getQualifiedStyleClass(
       this, fatalClass, CSS_DEFAULT.FATAL_STYLE_CLASS, "fatalClass");
 }
示例#9
0
 /** Return the value of the <code>errorClass</code> property. */
 public String getErrorClass() {
   return Util.getQualifiedStyleClass(
       this, errorClass, CSS_DEFAULT.ERROR_STYLE_CLASS, "errorClass");
 }
示例#10
0
 /** Return the value of the <code>styleClass</code> property. */
 public String getStyleClass() {
   return Util.getQualifiedStyleClass(
       this, styleClass, CSS_DEFAULT.MESSAGES_STYLE_CLASS, "styleClass");
 }
示例#11
0
 public String getStyleClass() {
   return Util.getQualifiedStyleClass(
       this, styleClass, CSS_DEFAULT.DATAEXPORTER_DEFAULT_STYLE_CLASS, "styleClass");
 }