Package org.exoplatform.webui.core

Examples of org.exoplatform.webui.core.UIRepeater.configure()


   public static final String[] ACTIONS = {"View", "Edit", "Delete"};

   public UISampleVirtualList() throws Exception
   {
      UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
      uiRepeater.configure(BEAN_ID, BEAN_NAMES, ACTIONS);     
      uiRepeater.setDataSource(makeDataSource());
     
      UIVirtualList uiVirtualList = addChild(UIVirtualList.class, null, null);
      uiVirtualList.setUIComponent(uiRepeater);     
   }
View Full Code Here


    private static void configureVirtualList(UIVirtualList vList) {
        UIRepeater repeater;
        try {
            repeater = (UIRepeater) vList.getUIComponent();
            repeater.configure("pageId", UIPageBrowser.BEAN_FIELD, new String[] { "SelectPage" });
        } catch (ClassCastException clCastEx) {
            logger.info("Could not upcast to UIRepeater", clCastEx);
        }
    }
View Full Code Here

    private static void configureVirtualList(UIVirtualList vList) {
        UIRepeater repeater;
        try {
            repeater = (UIRepeater) vList.getUIComponent();
            repeater.configure("pageId", UIPageBrowser.BEAN_FIELD, new String[] { "SelectPage" });
        } catch (ClassCastException clCastEx) {
            logger.info("Could not upcast to UIRepeater", clCastEx);
        }
    }
View Full Code Here

        UIPageSearchForm uiSearchForm = addChild(UIPageSearchForm.class, null, null);
        uiSearchForm.setOptions(OPTIONS);
        uiSearchForm.setId("UIPageSearchForm");
        UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
        uiRepeater.configure("pageId", BEAN_FIELD, ACTIONS);

        lastQuery_ = new Query<Page>(null, null, null, null, Page.class);
        lastQuery_.setOwnerType(OPTIONS.get(0).getValue());

        UIVirtualList virtualList = addChild(UIVirtualList.class, null, null);
View Full Code Here

   {
      super(OPTIONS);

      getChild(UISearchForm.class).setId("UIPageSearch");
      UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
      uiRepeater.configure("pageId", BEAN_FIELD, ACTIONS);

      UIVirtualList virtualList = addChild(UIVirtualList.class, null, null);
      virtualList.setPageSize(10);
      virtualList.setUIComponent(uiRepeater);
   }
View Full Code Here

    private static void configureVirtualList(UIVirtualList vList) {
        UIRepeater repeater;
        try {
            repeater = (UIRepeater) vList.getUIComponent();
            repeater.configure("pageId", UIPageBrowser.BEAN_FIELD, new String[] { "SelectPage" });
        } catch (ClassCastException clCastEx) {
            logger.info("Could not upcast to UIRepeater", clCastEx);
        }
    }
View Full Code Here

        UIPageSearchForm uiSearchForm = addChild(UIPageSearchForm.class, null, null);
        uiSearchForm.setOptions(OPTIONS);
        uiSearchForm.setId("UIPageSearchForm");
        UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
        uiRepeater.configure("pageId", BEAN_FIELD, ACTIONS);

        lastQuery_ = new Query<Page>(null, null, null, null, Page.class);
        lastQuery_.setOwnerType(OPTIONS.get(0).getValue());

        UIVirtualList virtualList = addChild(UIVirtualList.class, null, null);
View Full Code Here

   {
      UIRepeater repeater;
      try
      {
         repeater = (UIRepeater)vList.getUIComponent();
         repeater.configure("pageId", UIPageBrowser.BEAN_FIELD, new String[]{"SelectPage"});
      }
      catch (ClassCastException clCastEx)
      {
         logger.info("Could not upcast to UIRepeater", clCastEx);
      }
View Full Code Here

   {
      super(OPTIONS);

      getChild(UISearchForm.class).setId("UIPageSearch");
      UIRepeater uiRepeater = createUIComponent(UIRepeater.class, null, null);
      uiRepeater.configure("pageId", BEAN_FIELD, ACTIONS);

      UIVirtualList virtualList = addChild(UIVirtualList.class, null, null);
      virtualList.setPageSize(10);
      virtualList.setUIComponent(uiRepeater);
   }
View Full Code Here

   {
      UIRepeater repeater;
      try
      {
         repeater = (UIRepeater)vList.getUIComponent();
         repeater.configure("pageId", UIPageBrowser.BEAN_FIELD, new String[]{"SelectPage"});
      }
      catch (ClassCastException clCastEx)
      {
         logger.info("Could not upcast to UIRepeater", clCastEx);
      }
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.