Examples of findComponentOfType()


Examples of org.exoplatform.portal.webui.container.UIContainer.findComponentOfType()

     * @see UIContainer
     */
    public List<UIContainer> getColumns() {
        List<UIContainer> list = new ArrayList<UIContainer>();
        UIContainer uiRoot = findFirstComponentOfType(UIContainer.class);
        uiRoot.findComponentOfType(list, UIContainer.class);
        if (list.size() > 0 && list.contains(uiRoot)) {
            list.remove(uiRoot);
        }
        return list;
    }
View Full Code Here

Examples of org.exoplatform.portal.webui.container.UIContainer.findComponentOfType()

     * @see UIContainer
     */
    public List<UIContainer> getColumns() {
        List<UIContainer> list = new ArrayList<UIContainer>();
        UIContainer uiRoot = findFirstComponentOfType(UIContainer.class);
        uiRoot.findComponentOfType(list, UIContainer.class);
        if (list.size() > 0 && list.contains(uiRoot)) {
            list.remove(uiRoot);
        }
        return list;
    }
View Full Code Here

Examples of org.exoplatform.portal.webui.container.UIContainer.findComponentOfType()

    */
   public List<UIContainer> getColumns()
   {
      List<UIContainer> list = new ArrayList<UIContainer>();
      UIContainer uiRoot = findFirstComponentOfType(UIContainer.class);
      uiRoot.findComponentOfType(list, UIContainer.class);
      if (list.size() > 0 && list.contains(uiRoot))
      {
         list.remove(uiRoot);
      }
      return list;
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

    public Set<Skin> getPortletSkins() {
        // Determine portlets visible on the page
        List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
        UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
        UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
        uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
        UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
        if (toolPanel != null && toolPanel.isRendered()) {
            toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
        }
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

    public Set<Skin> getPortletSkins() {
        // Determine portlets visible on the page
        List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
        UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
        UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
        uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
        UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
        if (toolPanel != null && toolPanel.isRendered()) {
            toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
        }
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

      // Determine portlets visible on the page
      List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
      UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
      UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
      uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
      UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
      if (toolPanel != null && toolPanel.isRendered())
      {
         toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
      }
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

    public Set<Skin> getPortletSkins() {
        // Determine portlets visible on the page
        List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
        UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
        UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
        uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
        UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
        if (toolPanel != null && toolPanel.isRendered()) {
            toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
        }
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

    public Set<Skin> getPortletSkins() {
        // Determine portlets visible on the page
        List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
        UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
        UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
        uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
        UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
        if (toolPanel != null && toolPanel.isRendered()) {
            toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
        }
View Full Code Here

Examples of org.exoplatform.portal.webui.portal.UIPortal.findComponentOfType()

      // Determine portlets visible on the page
      List<UIPortlet> uiportlets = new ArrayList<UIPortlet>();
      UIWorkingWorkspace uiWorkingWS = getChildById(UI_WORKING_WS_ID);
      UIPortal uiPortal = uiWorkingWS.findFirstComponentOfType(UIPortal.class);
      uiPortal.findComponentOfType(uiportlets, UIPortlet.class);
      UIPortalToolPanel toolPanel = uiWorkingWS.findFirstComponentOfType(UIPortalToolPanel.class);
      if (toolPanel != null && toolPanel.isRendered())
      {
         toolPanel.findComponentOfType(uiportlets, UIPortlet.class);
      }
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.findComponentOfType()

            UIPortlet uiPortlet = event.getSource();
            PortalRequestContext context = (PortalRequestContext) event.getRequestContext();
            List<UIPortlet> portletInstancesInPage = new ArrayList<UIPortlet>();
            // UIPortalApplication uiPortal = uiPortlet.getAncestorOfType(UIPortalApplication.class);
            UIPortalApplication uiPortal = (UIPortalApplication) context.getUIApplication();
            uiPortal.findComponentOfType(portletInstancesInPage, UIPortlet.class);
            EventsWrapper eventsWrapper = (EventsWrapper) event.getRequestContext().getAttribute(PORTLET_EVENTS);
            List<javax.portlet.Event> events = eventsWrapper.getEvents();

            /*
             * Iterate over all the events that the processAction has generated. Check among all the portlet instances deployed
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.