Package org.gatein.pc.portal.jsp

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


   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();

      //
      if (eventCC != null)
      {
         writer.print("" +
            "<a href=\"javascript:showAllDetails()\" >Show All Details</a><br/>" +
            "<div class=\"debug-container\">");
         int id;
         for (EventRoute route : eventCC.getRoots())
         {
            id = rand(1,1000);
            writer.println("<div class=\"event\" id=\"event-" + id + "\">\n");
            printRoute(route, writer, context, id, "");
            writer.println("</div>\n");
View Full Code Here

TOP

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

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.