Document Library JS Util
- Liferay Portal 6.1 CE GA2+
- Liferay Portal 6.1 EE GA2+
Once installed you'll find a text file with the sample code, inside WEB-INF folder.
It's been added a small workaround to insert multiple file and folder selector in the same page.
Due to a limitation of the current integration with Document Library, the on.select callback function still doesn't work properly with multiple widget of the same type: only the hiddenInput element will work properly with multiple widget of the same type.