Package org.gatein.pc.portal.jsp

Examples of org.gatein.pc.portal.jsp.PagePortletControllerContext


public class DebuggerPortlet extends GenericPortlet
{

   protected void doView(RenderRequest req, RenderResponse resp) throws PortletException, IOException
   {
      PagePortletControllerContext context = (PagePortletControllerContext)req.getAttribute("bilto");

      PageEventControllerContext eventCC = null;
      if (context != null)
      {
         eventCC = context.getEventControllerContext();
      }

      //
      PrintWriter writer = resp.getWriter();
View Full Code Here


      return EVAL_BODY_BUFFERED;
   }

   public int doEndTag(PortalRenderResponse renderResponse) throws JspException
   {
      PagePortletControllerContext context = renderResponse.getPortletControllerContext();
      PortletTag portletTag = (PortletTag)SimpleTagSupport.findAncestorWithClass(this, PortletTag.class);

      org.gatein.pc.api.Mode mode = null;
      if (modeValue != null)
      {
         mode = Mode.create(modeValue.trim());
      }

      //
      org.gatein.pc.api.WindowState windowState = null;
      if (windowStateValue != null)
      {
         windowState = org.gatein.pc.api.WindowState.create(windowStateValue.trim());
      }

      PortletURLRenderer renderer = new PortletURLRenderer(
         renderResponse.getPageNavigationalState(),
         context.getClientRequest(),
         context.getClientResponse(),
         context.getPageNavigationalStateSerialization());

      final org.gatein.pc.api.WindowState ws = windowState;
      final org.gatein.pc.api.Mode md = mode;

      RenderURL url = new RenderURL()
View Full Code Here

TOP

Related Classes of org.gatein.pc.portal.jsp.PagePortletControllerContext

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.