Package org.apache.beehive.netui.pageflow.handler

Examples of org.apache.beehive.netui.pageflow.handler.ActionForwardHandler


                             ActionForm form, ServletContext servletContext )
    {
        //
        // This method is overridden in PageFlowController. Even though we're just delegating here, we can't remove it.
        //
        ActionForwardHandler handler = Handlers.get( servletContext ).getActionForwardHandler();
        FlowControllerHandlerContext context = new FlowControllerHandlerContext( request, response, this );
        return handler.doForward( context, fwd, mapping, actionName, altModuleConfig, form );
    }
View Full Code Here


                    {
                        ensureFailover( request );
                    }
                }
           
                ActionForwardHandler handler = Handlers.get( getServletContext() ).getActionForwardHandler();
                return handler.doForward( getHandlerContext(), retVal, actionMapping, actionName, getModuleConfig(),
                                          wrappedFormBean );
            }
            catch ( InvocationTargetException e )
            {
                Throwable target = e.getTargetException();
View Full Code Here

            {
                ActionMapping mapping = ( ActionMapping ) request.getAttribute( Globals.MAPPING_KEY );
                assert mapping != null;
                ActionForm form = InternalUtils.getFormBean( mapping, request );
                Forward pfFwd = new Forward( ( ActionForward ) fwd, servletContext );
                ActionForwardHandler handler = _handlers.getActionForwardHandler();
                fwd = handler.doForward( context, pfFwd, mapping, InternalUtils.getActionName( mapping ), null, form );
            }

            String path = fwd.getPath();
            boolean startsWithSlash = path.length() > 0 && path.charAt( 0 ) == '/';
View Full Code Here

            {
                ActionMapping mapping = ( ActionMapping ) request.getAttribute( Globals.MAPPING_KEY );
                assert mapping != null;
                ActionForm form = InternalUtils.getFormBean( mapping, request );
                Forward pfFwd = new Forward( ( ActionForward ) fwd, servletContext );
                ActionForwardHandler handler = _handlers.getActionForwardHandler();
                fwd = handler.doForward( context, pfFwd, mapping, InternalUtils.getActionName( mapping ), null, form );
            }
           
            String path = fwd.getPath();
            boolean startsWithSlash = path.length() > 0 && path.charAt( 0 ) == '/';
           
View Full Code Here

                             ActionForm form, ServletContext servletContext )
    {
        //
        // This method is overridden in PageFlowController. Even though we're just delegating here, we can't remove it.
        //
        ActionForwardHandler handler = Handlers.get( servletContext ).getActionForwardHandler();
        FlowControllerHandlerContext context = new FlowControllerHandlerContext( request, response, this );
        return handler.doForward( context, fwd, mapping, actionName, altModuleConfig, form );
    }
View Full Code Here

                    {
                        ensureFailover( request );
                    }
                }
           
                ActionForwardHandler handler = Handlers.get( getServletContext() ).getActionForwardHandler();
                return handler.doForward( getHandlerContext(), retVal, actionMapping, actionName, getModuleConfig(),
                                          wrappedFormBean );
            }
            catch ( InvocationTargetException e )
            {
                Throwable target = e.getTargetException();
View Full Code Here

    ActionForward forwardTo( ActionForward fwd, ActionMapping mapping, PageFlowExceptionConfig exceptionConfig,
                             String actionName, ModuleConfig altModuleConfig, ActionForm form,
                             HttpServletRequest request, HttpServletResponse response, ServletContext servletContext )
    {
        // This method is overridden in PageFlowController. Even though we're just delegating here, we can't remove it.
        ActionForwardHandler handler = Handlers.get( servletContext ).getActionForwardHandler();
        FlowControllerHandlerContext context = new FlowControllerHandlerContext( request, response, this );
        return handler.processForward( context, fwd, mapping, exceptionConfig, actionName, altModuleConfig, form );
    }
View Full Code Here

            else
            {
                ret = invokeExceptionHandlerClass( context, ex, exceptionConfig, actionMapping, form );
            }

            ActionForwardHandler afh = Handlers.get(getServletContext()).getActionForwardHandler();
            String actionName = InternalUtils.getActionName(actionMapping);
            ret = afh.processForward(context, ret, actionMapping, exceptionConfig, actionName, moduleConfig, form);
           
            // Callback to the event reporter.
            long timeTaken = System.currentTimeMillis() - startTime;
            _eventReporter.exceptionHandled( context, ex, originalActionMapping, form, flowController, ret, timeTaken );
           
View Full Code Here

            {
                ActionMapping mapping = ( ActionMapping ) request.getAttribute( Globals.MAPPING_KEY );
                assert mapping != null;
                ActionForm form = InternalUtils.getFormBean( mapping, request );
                Forward pfFwd = new Forward( ( ActionForward ) fwd, servletContext );
                ActionForwardHandler handler = _handlers.getActionForwardHandler();
                fwd = handler.processForward( context, pfFwd, mapping, null, InternalUtils.getActionName( mapping ),
                                              null, form );
            }

            String path = fwd.getPath();
            boolean startsWithSlash = path.length() > 0 && path.charAt( 0 ) == '/';
View Full Code Here

            else
            {
                ret = invokeExceptionHandlerClass( context, ex, exceptionConfig, actionMapping, form );
            }

            ActionForwardHandler afh = Handlers.get(getServletContext()).getActionForwardHandler();
            String actionName = InternalUtils.getActionName(actionMapping);
            ret = afh.processForward(context, ret, actionMapping, exceptionConfig, actionName, moduleConfig, form);
           
            // Callback to the event reporter.
            long timeTaken = System.currentTimeMillis() - startTime;
            _eventReporter.exceptionHandled( context, ex, originalActionMapping, form, flowController, ret, timeTaken );
           
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.pageflow.handler.ActionForwardHandler

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.