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