Example #1
0
 /** Return the value of the <code>disabled</code> property. */
 public boolean isDisabled() {
   if (!Util.isEnabledOnUserRole(this)) {
     return true;
   } else {
     return super.isDisabled();
   }
 }
Example #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);
 }
Example #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);
 }
Example #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");
 }
Example #5
0
 /** Return the value of the <code>rendered</code> property. */
 public boolean isRendered() {
   if (!Util.isRenderedOnUserRole(this)) {
     return false;
   }
   return super.isRendered();
 }
Example #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");
 }
Example #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");
 }
Example #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");
 }
Example #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");
 }
Example #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");
 }
Example #11
0
 public String getStyleClass() {
   return Util.getQualifiedStyleClass(
       this, styleClass, CSS_DEFAULT.DATAEXPORTER_DEFAULT_STYLE_CLASS, "styleClass");
 }