Examples of PortletURL


Examples of org.gatein.pc.api.PortletURL

      }

      //
      if (containerURL instanceof PortletURL)
      {
         PortletURL portletURL = (PortletURL)containerURL;

         if (portletURL.getMode() != null)
         {
            parameters.put(ControllerRequestParameterNames.MODE, portletURL.getMode().toString());
         }

         //
         if (portletURL.getWindowState() != null)
         {
            parameters.put(ControllerRequestParameterNames.WINDOW_STATE, portletURL.getWindowState().toString());
         }

         //
         if (pageNavigationalState != null)
         {
View Full Code Here

Examples of org.jasig.portal.portlet.url.PortletUrl

        final HttpServletRequest httpServletRequest = portalControlStructures.getHttpServletRequest();
        final IPortletWindowId portletWindowId = this.getPortletWindowId(channelStaticData, channelRuntimeData, portalControlStructures);
        final IPortletWindow portletWindow = this.portletWindowRegistry.getPortletWindow(httpServletRequest, portletWindowId);
       
        //If this window is targeted invalidate the cache
        final PortletUrl portletUrl = this.portletRequestParameterManager.getPortletRequestInfo(httpServletRequest, portletWindowId);
        if (portletUrl != null) {
            return false;
        }
       
        final PortletDD portletDescriptor;
View Full Code Here

Examples of org.jasig.portal.search.PortletUrl

            for (IPersonAttributes person : people) {
                final SearchResult result = new SearchResult();
                result.setTitle((String) person.getAttributeValue("displayName"));
                result.getType().add(directorySearchResultType);
               
                PortletUrl url = new PortletUrl();
                url.setType(PortletUrlType.RENDER);
                url.setPortletMode("VIEW");
                url.setWindowState("maximized");
                PortletUrlParameter actionParam = new PortletUrlParameter();
                actionParam.setName("action");
                actionParam.getValue().add("findByUsername");
                url.getParam().add(actionParam);
                PortletUrlParameter usernameParam = new PortletUrlParameter();
                usernameParam.setName("username");
                usernameParam.getValue().add(person.getName());
                url.getParam().add(usernameParam);
                result.setPortletUrl(url);
                results.getSearchResult().add(result);
            }
           
            // fire a search response event
View Full Code Here

Examples of org.jboss.portal.portlet.PortletURL

      }

      //
      if (containerURL instanceof PortletURL)
      {
         PortletURL portletURL = (PortletURL)containerURL;

         if (portletURL.getMode() != null)
         {
            parameters.put(ControllerRequestParameterNames.MODE, portletURL.getMode().toString());
         }

         //
         if (portletURL.getWindowState() != null)
         {
            parameters.put(ControllerRequestParameterNames.WINDOW_STATE, portletURL.getWindowState().toString());
         }

         //
         if (pageNavigationalState != null)
         {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.