Package org.openfaces.util

Examples of org.openfaces.util.ValueExpressionImpl


        addButtonContainer.setStyleClass(DEFAULT_ROW_ITEM_CLASS);
        CommandButton addButton = (CommandButton) Components.createChildComponent(context, addButtonContainer, CommandButton.COMPONENT_TYPE, BUTTON_SUFFIX);
        addButton.setType("button");
        addButton.setValue("+");
        addButton.setOnclick("O$('" + compositeFilter.getClientId(context) + "').add(); return false;");
        addButtonContainer.setValueExpression("rendered", new ValueExpressionImpl() {
            public Object getValue(ELContext elContext) {
                return lastRow;
            }
        });
        addButton.setStyleClass(DEFAULT_ADD_BUTTON_CLASS);
View Full Code Here



    private HtmlPanelGroup createOperationSelectorContainer(FacesContext context, UIComponent rowContainer) {
        HtmlPanelGroup operationSelectorContainer = (HtmlPanelGroup) Components.createChildComponent(context, rowContainer, HtmlPanelGroup.COMPONENT_TYPE, OPERATION_SELECTOR_ID_SUFFIX, 2);
        operationSelectorContainer.setStyleClass(DEFAULT_ROW_ITEM_INPUT_CLASS);
        operationSelectorContainer.setValueExpression("rendered", new ValueExpressionImpl() {
            public Object getValue(ELContext elContext) {
                return property != null;
            }
        });
        return operationSelectorContainer;
View Full Code Here


    private HtmlPanelGroup createParametersEditorContainer(FacesContext context, UIComponent rowContainer) {
        HtmlPanelGroup parametersEditorContainer = (HtmlPanelGroup) Components.createChildComponent(context, rowContainer, HtmlPanelGroup.COMPONENT_TYPE, PARAMETERS_EDITOR_ID_SUFFIX, 3);
        parametersEditorContainer.setStyleClass(DEFAULT_ROW_ITEM_INPUT_CLASS);
        parametersEditorContainer.setValueExpression("rendered", new ValueExpressionImpl() {
            public Object getValue(ELContext elContext) {
                return operation != null;
            }
        });
        return parametersEditorContainer;
View Full Code Here

TOP

Related Classes of org.openfaces.util.ValueExpressionImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.