Package net.sf.jportlet.impl

Examples of net.sf.jportlet.impl.ActionEventImpl


        PortletProxy          proxy = ( PortletProxy ) _application.getPortlet( uri.getPortletName(  ) );
        PortletRequestImpl    req = new PortletRequestImpl( proxy, request, serviceFactory );
        PortletResponseImpl   resp = new PortletResponseImpl( proxy, req, response );
        HttpServletRequest    hreq = req.getHttpRequest(  );
        String                action = uri.getAction(  );
        ActionEventImpl       event = new ActionEventImpl( action, req, resp );
        proxy.actionPerformed( event );

        /* Get the URI where to move*/
        PortletURI nextURI = event.getNextURI(  );
        String     nextUri;
        if ( nextURI != null )
        {
            nextUri = nextURI.toString(  ).substring( request.getContextPath(  ).length(  ) );
        }
        else
        {
            WebflowActionDescriptor webflow = proxy.getDescriptor(  ).getWebflowAction( action );
            nextUri = ( webflow != null )
                      ? webflow.getReturnURI( event.getReturnCode(  ) )
                      : null;
        }

        if ( debug )
        {
View Full Code Here

TOP

Related Classes of net.sf.jportlet.impl.ActionEventImpl

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.