Package org.richfaces

Examples of org.richfaces.StateHolderArray


    public CollapsibleSubTableToggleListener[] getCollapsibleSubTableToggleListener() {
        return (CollapsibleSubTableToggleListener[]) getFacesListeners(CollapsibleSubTableToggleListener.class);
    }

    public void setIterationState(Object stateObject) {
        StateHolderArray stateHolderList = (StateHolderArray) stateObject;

        if (stateHolderList != null && !stateHolderList.isEmpty()) {
            super.setIterationState(stateHolderList.get(0));
            getStateHelper().put(PropertyKeys.expanded, (Boolean) stateHolderList.get(1));
        } else {
            super.setIterationState(null);
            getStateHelper().put(PropertyKeys.expanded, null);
        }
    }
View Full Code Here


            getStateHelper().put(PropertyKeys.expanded, null);
        }
    }

    public Object getIterationState() {
        StateHolderArray holderList = new StateHolderArray();

        holderList.add(super.getIterationState());
        holderList.add(getStateHelper().get(PropertyKeys.expanded));

        return holderList;
    }
View Full Code Here

    public CollapsibleSubTableToggleListener[] getCollapsibleSubTableToggleListener() {
        return (CollapsibleSubTableToggleListener[]) getFacesListeners(CollapsibleSubTableToggleListener.class);
    }

    public void setIterationState(Object stateObject) {
        StateHolderArray stateHolderList = (StateHolderArray) stateObject;

        if (stateHolderList != null && !stateHolderList.isEmpty()) {
            super.setIterationState(stateHolderList.get(0));
            getStateHelper().put(PropertyKeys.expanded, (Boolean) stateHolderList.get(1));
        } else {
            super.setIterationState(null);
            getStateHelper().put(PropertyKeys.expanded, null);
        }
    }
View Full Code Here

            getStateHelper().put(PropertyKeys.expanded, null);
        }
    }

    public Object getIterationState() {
        StateHolderArray holderList = new StateHolderArray();

        holderList.add(super.getIterationState());
        holderList.add(getStateHelper().get(PropertyKeys.expanded));

        return holderList;
    }
View Full Code Here

TOP

Related Classes of org.richfaces.StateHolderArray

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.