This file contains 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
def languageFolder = new File("/Users/myuser/Liferay/trunk/portal/modules/apps/site-navigation/site-navigation-breadcrumb-web/src/content/") | |
def languageSource = new File(languageFolder, "Language.properties") | |
def sourceKeys = [] | |
languageSource.eachLine { line -> | |
sourceKeys.add(line.split("=")[0]) | |
} |
This file contains 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
<#-- | |
portletPreferences: Represents the preferences of the application that are used to display content | |
through this template. Use the map API of the selected template language to get the values of the | |
preferences. | |
--> | |
<#if portletPreferences?has_content> | |
<h1>Portlet Preferences</h1> | |
<ul> |
This file contains 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
11:04 AM ~/Proyectos/Liferay/6.2.x/plugins [6.2.x * u=] | |
⤷ git log -1 | |
commit 0e661cc70fda9e4db56dc8308b21daed788e725a | |
Author: Jeffrey Yang <[email protected]> | |
Date: Fri Jun 30 11:35:13 2017 -0700 | |
LRIS-26877 Liferay Sync Connector changelog and hash | |
✔ 11:04 AM ~/Proyectos/Liferay/6.2.x/plugins [6.2.x * u=] | |
⤷ echo $JAVA_HOME |
This file contains 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
<#-- | |
General concept: use ADT for list specific markup, and web content template for web content fields markup | |
Your Asset Publisher ADT: | |
--> | |
<#-- List your assets --> | |
<#if entries?has_content> | |
<#list entries as curEntry> |
This file contains 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
<#if !entries?has_content> | |
<#if !themeDisplay.isSignedIn()> | |
${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} | |
</#if> | |
<div class="alert alert-info"> | |
<@liferay_ui["message"] | |
key="there-are-no-results" | |
/> | |
</div> |
This file contains 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
diff --git a/content-targeting-api/src/main/java/com/liferay/content/targeting/util/UserSegmentUtil.java b/content-targeting-api/src/main/java/com/liferay/content/targeting/util/UserSegmentUtil.java | |
index 0bb2408a4..95c2d28a2 100644 | |
--- a/content-targeting-api/src/main/java/com/liferay/content/targeting/util/UserSegmentUtil.java | |
+++ b/content-targeting-api/src/main/java/com/liferay/content/targeting/util/UserSegmentUtil.java | |
@@ -28,6 +28,7 @@ | |
import com.liferay.portal.kernel.search.Indexer; | |
import com.liferay.portal.kernel.search.IndexerRegistryUtil; | |
import com.liferay.portal.kernel.service.ServiceContext; | |
+import com.liferay.portal.kernel.service.ServiceContextThreadLocal; | |
import com.liferay.portal.kernel.util.ArrayUtil; |
This file contains 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
<#assign | |
blogEntry = assetRenderer.getAssetObject() | |
coverImageURL = blogEntry.getCoverImageURL(themeDisplay) | |
/> | |
<!-- Cover Image (as background). The div must have some dimensions --> | |
<#if validator.isNotNull(coverImageURL)> | |
<div class="cover-image-container" style="background-image: url(${coverImageURL})"></div> | |
</#if> |
This file contains 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
pubmed: P-value for Cosine similarity: 0.13045559828886724 | |
pubmed: P-value for Jaccard similarity: 0.05097589818052343 | |
pubmed: P-value for Simon White similarity: 0.04875541884229425 | |
disnet: P-value for Cosine similarity: 0.013325397869621879 | |
disnet: P-value for Jaccard similarity: 0.017692082410809086 | |
disnet: P-value for Simon White similarity: 0.010407490221588118 | |
Same: P-value for Cosine similarity: 2.2089962894983994E-5 | |
Same: P-value for Jaccard similarity: 9.541772000480971E-4 | |
Same: P-value for Simon White similarity: 6.187622451270979E-5 |
This file contains 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
com.liferay.asset.list.service.persistence.test.AssetListEntrySegmentsEntryRelPersistenceTest > testFindAll FAILED | |
java.lang.IllegalArgumentException: Unknown column name assetListEntrySegmentsEntryRelId | |
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.getColumnName(BasePersistenceImpl.java:693) | |
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.appendOrderByComparator(BasePersistenceImpl.java:603) | |
at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.appendOrderByComparator(BasePersistenceImpl.java:583) | |
at com.liferay.asset.list.service.persistence.impl.AssetListEntrySegmentsEntryRelPersistenceImpl.findAll(AssetListEntrySegmentsEntryRelPersistenceImpl.java:3524) | |
at com.liferay.asset.list.service.persistence.impl.AssetListEntrySegmentsEntryRelPersistenceImpl.findAll(AssetListEntrySegmentsEntryRelPersistenceImpl.java:3469) | |
at com.liferay.asset.list.service.persistence.test.AssetListEntrySegme |
This file contains 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
<%-- | |
/** | |
* Copyright (c) 2000-present Liferay, Inc. All rights reserved. | |
* | |
* This library is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU Lesser General Public License as published by the Free | |
* Software Foundation; either version 2.1 of the License, or (at your option) | |
* any later version. | |
* | |
* This library is distributed in the hope that it will be useful, but WITHOUT |
OlderNewer