Document Library JS Util

This hook provides an Alloy module with some Javascript objects to easy select a file or a folder from the Document Library: Liferay.DLUtil.FileSelector and Liferay.DLUtil.FolderSelector.

Once installed you'll find a text file with the sample code, inside WEB-INF folder.
Latest Changes
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.

Customers Who Viewed This Also Bought