return new InvokeGetResponse(response.createActionURL().toString());
}
});
//
seq.bindAction(1, UTP3.ACTION_JOIN_POINT, new PortletActionTestAction()
{
protected void run(Portlet portlet, ActionRequest request, ActionResponse response, PortletTestContext context) throws PortletException, IOException
{
request.setAttribute("foo", "foo1");
}
});
seq.bindAction(1, UTP3.RENDER_JOIN_POINT, new PortletRenderTestAction()
{
protected Response run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context) throws PortletException, IOException
{
return new InvokeGetResponse(response.createActionURL().toString());
}
});
seq.bindAction(1, UTP2.RENDER_JOIN_POINT, new PortletRenderTestAction()
{
protected Response run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context) throws PortletException, IOException
{
scopeURL1 = response.createRenderURL().toString();
//
return null;
}
});
//
seq.bindAction(2, UTP3.ACTION_JOIN_POINT, new PortletActionTestAction()
{
protected void run(Portlet portlet, ActionRequest request, ActionResponse response, PortletTestContext context) throws PortletException, IOException
{
request.setAttribute("foo", "foo2");
}
});
seq.bindAction(2, UTP3.RENDER_JOIN_POINT, new PortletRenderTestAction()
{
protected Response run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context) throws PortletException, IOException
{
return new InvokeGetResponse(response.createActionURL().toString());
}
});
seq.bindAction(2, UTP2.RENDER_JOIN_POINT, new PortletRenderTestAction()
{
protected Response run(Portlet portlet, RenderRequest request, RenderResponse response, PortletTestContext context) throws PortletException, IOException
{
scopeURL2 = response.createRenderURL().toString();
//
return null;
}
});
//
seq.bindAction(3, UTP3.ACTION_JOIN_POINT, new PortletActionTestAction()
{
protected void run(Portlet portlet, ActionRequest request, ActionResponse response, PortletTestContext context) throws PortletException, IOException
{
request.setAttribute("foo", "foo3");
}