I'd like to display the Alfresco directory popup in my dashlet. When the user clicks a button in my dashlet it should display a popup that should display a list of directories in the repository. When selecting a folder it should display all the files and folders within that folder. Then, I should be able to select a file from the popup window.
Sample code or documentation regarding this is appreciated.
You can refer out of the box code itself in order to get understanding of the implementation. Out-of-the-box also there is functionality in which it shows the popup and displays the folders. Check different actions against a content/folder for this.