This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> | |
| <%@ include file="../init.jsp"%> | |
| <liferay-portlet:resourceURL copyCurrentRenderParameters="<%= false %>" var="uploadMultipleFileEntries"> | |
| <portlet:param name="struts_action" value="/document_library/upload_multiple_file_entries" /> | |
| <portlet:param name="repositoryId" value="<%= String.valueOf(themeDisplay.getScopeGroupId())%>" /> | |
| <portlet:param name="folderId" value="0" /> | |
| </liferay-portlet:resourceURL> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI().ready('aui-base', 'aui-node', 'aui-io-request', function(A) { | |
| }); | |
| Liferay.Portlet.ready(function(portletId, node) { | |
| alert(Liferay.Util.getPortletId(portletId)); | |
| }); | |
| Liferay.on('allPortletsReady', function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A.DialogManager.hideAll(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUI({ | |
| modules: { | |
| 'mymodule': { | |
| fullpath:'/my-theme/js/mymodule.js', //can be from theme or portlet | |
| requires: [ 'aui-base'] | |
| } | |
| } | |
| }).use('mymodule',function(A){ | |
| //mymodule is available here | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <aui:script use="liferay-upload"> | |
| var uploader = new Liferay.Upload( | |
| { | |
| boundingBox: '#<portlet:namespace />fileUpload', | |
| <% | |
| DecimalFormatSymbols decimalFormatSymbols = DecimalFormatSymbols.getInstance(locale); | |
| %> | |
| decimalSeparator: '<%= decimalFormatSymbols.getDecimalSeparator() %>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commonFileMetadataContainer.plug(A.LoadingMask); | |
| commonFileMetadataContainer.loadingmask.show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <aui:script use="aui-base,escape,liferay-search-container"> | |
| var assetSelectorHandle = A.getBody().delegate('click', | |
| function(event) { | |
| event.preventDefault(); | |
| var searchContainerName = '<portlet:namespace/>assetLinksSearchContainer'; | |
| var searchContainer = Liferay.SearchContainer.get(searchContainerName); | |
| var searchContainerData = searchContainer.getData(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="loading-animation" id="load-animation" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jdbc.default.liferay.pool.provider=c3po | |
| jdbc.default.acquireIncrement=5 | |
| jdbc.default.acquireRetryAttempts=3 | |
| jdbc.default.acquireRetryDelay=1000 | |
| jdbc.default.connectionCustomizerClassName=com.liferay.portal.dao.jdbc.pool.c3p0.PortalConnectionCustomizer | |
| jdbc.default.idleConnectionTestPeriod=60 | |
| jdbc.default.initialPoolSize=34 | |
| jdbc.default.maxIdleTime=233 | |
| jdbc.default.maxPoolSize=377 | |
| jdbc.default.minPoolSize=10 |