Package org.apache.beehive.netui.pageflow

Examples of org.apache.beehive.netui.pageflow.PreviousPageInfo


        _state.viewRenderer = viewRenderer;
    }

    public PreviousPageInfo getPreviousPageInfo( boolean remove )
    {
        PreviousPageInfo retVal = _state.previousPageInfo;
        if ( remove ) _state.previousPageInfo = null;
        return retVal;
    }
View Full Code Here


        _state.viewRenderer = viewRenderer;
    }

    public PreviousPageInfo getPreviousPageInfo( boolean remove )
    {
        PreviousPageInfo retVal = _state.previousPageInfo;
        if ( remove ) _state.previousPageInfo = null;
        return retVal;
    }
View Full Code Here

            httpRequest = ( HttpServletRequest ) request;
            PageFlowRequestWrapper rw = PageFlowRequestWrapper.unwrap( httpRequest );

            if ( rw != null )
            {
                PreviousPageInfo prevPageInfo = rw.getPreviousPageInfo( true );
               
                if ( prevPageInfo != null )
                {
                    Object clientState = prevPageInfo.getClientState();
                   
                    if ( clientState != null && clientState instanceof PageClientState )
                    {
                        PageClientState pcs = ( PageClientState ) clientState;
                        InternalUtils.setFacesBackingBean( httpRequest, pcs.getBackingBean() );
View Full Code Here

                //
                viewID = FileUtils.stripFileExtension( viewID );
                String currentForwardPath = FileUtils.stripFileExtension( curPageFlow.getCurrentForwardPath() );
                if ( viewID.equals( currentForwardPath ) )
                {
                    PreviousPageInfo prevPageInfo = curPageFlow.getCurrentPageInfo();
                    FacesBackingBean backingBean = InternalUtils.getFacesBackingBean( request );
                    prevPageInfo.setClientState( new PageClientState( viewRoot, backingBean ) );
                }
            }
        }
    }
View Full Code Here

            httpRequest = ( HttpServletRequest ) request;
            PageFlowRequestWrapper rw = PageFlowRequestWrapper.unwrap( httpRequest );

            if ( rw != null )
            {
                PreviousPageInfo prevPageInfo = rw.getPreviousPageInfo( true );
               
                if ( prevPageInfo != null )
                {
                    Object clientState = prevPageInfo.getClientState();
                   
                    if ( clientState != null && clientState instanceof PageClientState )
                    {
                        PageClientState pcs = ( PageClientState ) clientState;
                        FacesBackingBean fbb = pcs.getBackingBean();
View Full Code Here

                //
                viewID = FileUtils.stripFileExtension( viewID );
                String currentForwardPath = FileUtils.stripFileExtension( curPageFlow.getCurrentForwardPath() );
                if ( viewID.equals( currentForwardPath ) )
                {
                    PreviousPageInfo prevPageInfo = curPageFlow.getCurrentPageInfo();
                    FacesBackingBean backingBean = InternalUtils.getFacesBackingBean( request, servletContext );
                    prevPageInfo.setClientState( new PageClientState( viewRoot, backingBean ) );
                }
            }
        }
    }
View Full Code Here

        _state.viewRenderer = viewRenderer;
    }

    public PreviousPageInfo getPreviousPageInfo( boolean remove )
    {
        PreviousPageInfo retVal = _state.previousPageInfo;
        if ( remove ) _state.previousPageInfo = null;
        return retVal;
    }
View Full Code Here

        _state.viewRenderer = viewRenderer;
    }

    public PreviousPageInfo getPreviousPageInfo( boolean remove )
    {
        PreviousPageInfo retVal = _state.previousPageInfo;
        if ( remove ) _state.previousPageInfo = null;
        return retVal;
    }
View Full Code Here

            httpRequest = ( HttpServletRequest ) request;
            PageFlowRequestWrapper rw = PageFlowRequestWrapper.unwrap( httpRequest );

            if ( rw != null )
            {
                PreviousPageInfo prevPageInfo = rw.getPreviousPageInfo( true );
               
                if ( prevPageInfo != null )
                {
                    Object clientState = prevPageInfo.getClientState();
                   
                    if ( clientState != null && clientState instanceof PageClientState )
                    {
                        PageClientState pcs = ( PageClientState ) clientState;
                        FacesBackingBean fbb = pcs.getBackingBean();
View Full Code Here

                //
                viewID = FileUtils.stripFileExtension( viewID );
                String currentForwardPath = FileUtils.stripFileExtension( curPageFlow.getCurrentForwardPath() );
                if ( viewID.equals( currentForwardPath ) )
                {
                    PreviousPageInfo prevPageInfo = curPageFlow.theCurrentPageInfo();
                    FacesBackingBean backingBean = InternalUtils.getFacesBackingBean( request, servletContext );
                    prevPageInfo.setClientState( new PageClientState( viewRoot, backingBean ) );
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.pageflow.PreviousPageInfo

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.