Java Code Examples for javax.faces.el.ValueBinding#getValue()

The following examples show how to use javax.faces.el.ValueBinding#getValue() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UIDojoWidget.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getOnHide() {
    if (null != this.onHide) {
        return this.onHide;
    }
    ValueBinding _vb = getValueBinding("onHide"); //$NON-NLS-1$
    if (_vb != null) {
        return (java.lang.String) _vb.getValue(FacesContext.getCurrentInstance());
    } else {
        return null;
    }
}
 
Example 2
Source File: UIDojoFormWidgetBase.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getOnClick() {
	if (null != this.onClick) {
		return this.onClick;
	}
	ValueBinding _vb = getValueBinding("onClick"); //$NON-NLS-1$
	if (_vb != null) {
		return (java.lang.String) _vb.getValue(FacesContext.getCurrentInstance());
	} else {
		return null;
	}
}
 
Example 3
Source File: UIFormLayoutRow.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getFor() {
    if(_for!=null) {
        return _for;
    }
    ValueBinding vb = getValueBinding("for"); //$NON-NLS-1$
    if(vb!=null) {
        return (String)vb.getValue(getFacesContext());
    }
    return null;
}
 
Example 4
Source File: SimpleResponsiveApplicationConfiguration.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public boolean isInvertedNavbar() {
    if(invertedNavbar != null) {
        return invertedNavbar;
    }
    ValueBinding vb = getValueBinding("invertedNavbar"); // $NON-NLS-1$
    if(vb!=null) {
        Boolean b = (Boolean)vb.getValue(getFacesContext());
        if(b!=null) {
            return b;
        }
    }
    return false;
}
 
Example 5
Source File: HtmlTagsRenderer.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getSelectedItemStyleClass() {
    if (null != this.selectedItemStyleClass) {
        return this.selectedItemStyleClass;
    }
    ValueBinding _vb = getValueBinding("selectedItemStyleClass"); //$NON-NLS-1$
    if (_vb != null) {
        return (java.lang.String) _vb.getValue(getFacesContext());
    } else {
        return null;
    }
}
 
Example 6
Source File: UIDojoDataGridColumn.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public boolean isHidden() {
	if (null != this.hidden) {
		return this.hidden;
	}
	ValueBinding _vb = getValueBinding("hidden"); //$NON-NLS-1$
	if (_vb != null) {
		Boolean val = (java.lang.Boolean) _vb.getValue(getFacesContext());
		if(val!=null) {
			return val;
		}
	} 
	return false;
}
 
Example 7
Source File: UIDMSwitch.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getOnStateChanged(){
    if(null != this.onStateChanged){
        return this.onStateChanged;
    }
    ValueBinding _vb = getValueBinding("onStateChanged"); //$NON-NLS-1$
    if(null != _vb) {
        String val = (String) _vb.getValue(FacesContext.getCurrentInstance());
        if(null != val){
            return val;
        }
    }
    return null;
}
 
Example 8
Source File: UIToolBarButton.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getCallback() {
    if (null != this.callback) {
           return this.callback;
       }
       ValueBinding _vb = getValueBinding("callback"); //$NON-NLS-1$
       if (_vb != null) {
           String val = (String) _vb.getValue(FacesContext.getCurrentInstance());
           if(val!=null) {
               return val;
           }
       } 
       return null;
}
 
Example 9
Source File: DashNode.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
/**
 * @return the badge label
 */
public String getBadgeLabel() {
    if (null != _badgeLabel) {
        return _badgeLabel;
    }
    ValueBinding binding = getValueBinding("badgeLabel"); // $NON-NLS-1$
    if (binding != null) {
        return (java.lang.String) binding.getValue(getFacesContext());
    } 
    else {
        return null;
    }
}
 
Example 10
Source File: UIWidgetContainer.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public boolean isTitleBar() {
	if (null != this.titleBar) {
		return this.titleBar;
	}
	ValueBinding vb = getValueBinding("titleBar"); //$NON-NLS-1$
	if (vb != null) {
		Boolean val = (Boolean) vb.getValue(getFacesContext());
		if(val!=null) {
			return val;
		}
	} 
	return true;
}
 
Example 11
Source File: UICarousel.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
/**
 * <p>
 * Return the value of the <code>style</code> property. Contents:
 * </p>
 * <p>
 * CSS style(s) to be applied when this component is rendered.
 * </p>
 * @designer.publicmethod
 */
public java.lang.String getStyle() {
    if (null != _style) {
        return _style;
    }
    ValueBinding binding = getValueBinding("style"); // $NON-NLS-1$
    if (binding != null) {
        return (java.lang.String) binding.getValue(getFacesContext());
    } 
    else {
        return null;
    }
}
 
Example 12
Source File: UIDojoWidget.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getWaiState() {
    if (null != this.waiState) {
        return this.waiState;
    }
    ValueBinding _vb = getValueBinding("waiState"); //$NON-NLS-1$
    if (_vb != null) {
        return (java.lang.String) _vb.getValue(FacesContext.getCurrentInstance());
    } else {
        return null;
    }
}
 
Example 13
Source File: UIDojoContentPane.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getLoadingMessage() {
    if (null != this.loadingMessage) {
        return this.loadingMessage;
    }
    ValueBinding _vb = getValueBinding("loadingMessage"); //$NON-NLS-1$
    if (_vb != null) {
        return (java.lang.String) _vb.getValue(FacesContext.getCurrentInstance());
    } else {
        return null;
    }
}
 
Example 14
Source File: BasicApplicationConfigurationImpl.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getLeftColumnLabel() {
    if(leftColumnLabel!=null) {
        return leftColumnLabel;
    }
    ValueBinding vb = getValueBinding("leftColumnLabel"); // $NON-NLS-1$
    if(vb!=null) {
        return (String)vb.getValue(getFacesContext());
    }
    return null;
}
 
Example 15
Source File: UIDojoTabContainer.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public boolean isTabStrip() {
    if (null != this.tabStrip) {
        return this.tabStrip;
    }
    ValueBinding _vb = getValueBinding("tabStrip"); //$NON-NLS-1$
    if (_vb != null) {
        Boolean val = (java.lang.Boolean) _vb.getValue(FacesContext.getCurrentInstance());
        if(val!=null) {
            return val;
        }
    }
    return false;
}
 
Example 16
Source File: UIListViewColumn.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public boolean isHidden() {
    if (null != this.bHidden) {
        return this.bHidden;
    }
    ValueBinding _vb = getValueBinding("hidden"); //$NON-NLS-1$
    if (_vb != null) {
        Boolean val = (Boolean) _vb.getValue(getFacesContext());
        if(val!=null) {
            return val;
        }
    }
    return false;
}
 
Example 17
Source File: UIiCalReadStore.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getBorderColorMeeting() {
    if (borderColorMeeting != null)
        return borderColorMeeting;
    ValueBinding _vb = getValueBinding("borderColorMeeting"); // $NON-NLS-1$
    if (_vb != null)
        return (String) _vb.getValue(getFacesContext());
    else
        return null;
}
 
Example 18
Source File: UIDialogContent.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getStyleClass() {
	if (null != this.styleClass) {
		return this.styleClass;
	}
	ValueBinding _vb = getValueBinding("styleClass"); //$NON-NLS-1$
	if (_vb != null) {
		return (java.lang.String) _vb.getValue(FacesContext.getCurrentInstance());
	} else {
		return null;
	}
}
 
Example 19
Source File: UIDojoAccordionContainer.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getSelectedTab() {
	if (null != this.selectedTab) {
		return this.selectedTab;
	}
	ValueBinding _vb = getValueBinding("selectedTab"); //$NON-NLS-1$
	if (_vb != null) {
		return (String) _vb.getValue(FacesContext.getCurrentInstance());
	}
	return null;
}
 
Example 20
Source File: ViewEntryTreeNode.java    From XPagesExtensionLibrary with Apache License 2.0 5 votes vote down vote up
public String getDatabaseName() {
    if (databaseName != null) {
        return databaseName;
    }        
    ValueBinding vb = getValueBinding("databaseName"); //$NON-NLS-1$
    if (vb != null) {
        return (String)vb.getValue(getFacesContext());
    }
    return null;
}