Package org.apache.myfaces.extensions.cdi.core.api.scope.conversation

Examples of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.WindowContext


        this.projectStageDevelopment = ProjectStage.Development.equals(this.projectStage);
    }

    public WindowContext getCurrentWindowContext()
    {
        WindowContext windowContext = RequestCache.getCurrentWindowContext();

        if(windowContext != null)
        {
            return windowContext;
        }
View Full Code Here


        this.projectStageDevelopment = ProjectStage.Development == this.projectStage;
    }

    public WindowContext getCurrentWindowContext()
    {
        WindowContext windowContext = RequestCache.getCurrentWindowContext();

        if(windowContext != null)
        {
            return windowContext;
        }
View Full Code Here

    @Produces
    @Named(CURRENT_WINDOW_CONTEXT_BEAN_NAME)
    @RequestScoped
    protected EditableWindowContext currentWindowContext(WindowContextManager windowContextManager)
    {
        WindowContext windowContext = windowContextManager.getCurrentWindowContext();

        if(windowContext instanceof EditableWindowContext)
        {
            return (EditableWindowContext)windowContext;
        }
View Full Code Here

        this.projectStageDevelopment = ProjectStage.Development == this.projectStage;
    }

    public WindowContext getCurrentWindowContext()
    {
        WindowContext windowContext = RequestCache.getCurrentWindowContext();

        if(windowContext != null)
        {
            return windowContext;
        }
View Full Code Here

    @Override
    public UIViewRoot restoreView(FacesContext facesContext, String viewId)
    {
        if(isWindowIdAvailable(facesContext))
        {
            WindowContext windowContext = ConversationUtils.getWindowContextManager().getCurrentWindowContext();

            if(windowContext != null)
            {
                //see EXTCDI-131
                storeViewIdAsNewViewId(windowContext, viewId);
View Full Code Here

            return this.wrapped.restoreView(facesContext, viewId);
        }

        if(isWindowIdAvailable(facesContext))
        {
            WindowContext windowContext = ConversationUtils.getWindowContextManager().getCurrentWindowContext();

            if(windowContext != null)
            {
                //see EXTCDI-131
                storeViewIdAsNewViewId(windowContext, calculateViewId(facesContext, viewId));
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public WindowContext getCurrentWindowContext()
    {
        WindowContext windowContext = RequestCache.getCurrentWindowContext();

        if(windowContext != null)
        {
            return windowContext;
        }
View Full Code Here

    @Produces
    @Named(CURRENT_WINDOW_CONTEXT_BEAN_NAME)
    @RequestScoped
    protected EditableWindowContext currentWindowContext(WindowContextManager windowContextManager)
    {
        WindowContext windowContext = windowContextManager.getCurrentWindowContext();

        if(windowContext instanceof EditableWindowContext)
        {
            return (EditableWindowContext)windowContext;
        }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public WindowContext getCurrentWindowContext()
    {
        WindowContext windowContext = RequestCache.getCurrentWindowContext();

        if(windowContext != null)
        {
            return windowContext;
        }
View Full Code Here

            return this.wrapped.restoreView(facesContext, viewId);
        }

        if(isWindowIdAvailable(facesContext))
        {
            WindowContext windowContext = ConversationUtils.getWindowContextManager().getCurrentWindowContext();

            if(windowContext != null)
            {
                //see EXTCDI-131
                storeViewIdAsNewViewId(windowContext, calculateViewId(facesContext, viewId));
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.core.api.scope.conversation.WindowContext

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.