Package net.sf.jportlet.portlet.descriptor

Examples of net.sf.jportlet.portlet.descriptor.WebflowActionDescriptor


        {
            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


        assertNotNull( "auth[configure]", auth );
        assertFalse( "auth[configure].allowAnonymous", auth.isAllowAnonymous(  ) );
        assertFalse( "auth[configure].role[author]", auth.containsRole( "author" ) );
        assertTrue( "auth[configure].role[admin]", auth.containsRole( "admin" ) );
       
        WebflowActionDescriptor wf = portlet.getWebflowAction( "view" );
        assertNotNull( "webflow[view]", wf );
        assertEquals( "webflow[view].success", "/success.jsp", wf.getReturnURI("success"));
        assertEquals( "webflow[view].input", "/portlet/capital/mode/view/state/maximized", wf.getReturnURI("input"));
        assertNull( "webflow[view].???", wf.getReturnURI("???"));
       
        wf = portlet.getWebflowAction( "???" );
        assertNull( "webflow[???]", wf );
    }
View Full Code Here

TOP

Related Classes of net.sf.jportlet.portlet.descriptor.WebflowActionDescriptor

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.