View Javadoc
1   package org.exoplatform.wcm.webui.selector.content.folder;
2   
3   import org.exoplatform.wcm.webui.selector.content.UIContentSelector;
4   import org.exoplatform.webui.config.annotation.ComponentConfig;
5   
6   /**
7    * Author : TAN DUNG DANG
8    * dzungdev@gmail.com
9    * Jan 20, 2009
10   */
11  
12  @ComponentConfig(
13      template = "system:/groovy/webui/core/UITabPane_New.gtmpl"
14  )
15  
16  public class UIContentSelectorFolder extends UIContentSelector {
17  
18    public UIContentSelectorFolder() throws Exception {
19      addChild(UIContentBrowsePanelFolder.class, null, null);
20      setSelectedTab(1);
21    }
22  
23    /**
24     * Set the init path, when the popup window appears, it will go to the node
25     * specified by this init path.
26     * @param initPath
27     * @throws Exception
28     */
29    public void init(String initDrive, String initPath) throws Exception {
30      this.getChild(UIContentBrowsePanelFolder.class).setInitPath(initDrive, initPath);
31    }
32  
33  }