liferay

List template in dynamic data list in Liferay

落花浮王杯 提交于 2019-12-12 03:06:30
问题 How can I develop a list template for a dynamic list in Liferay? 回答1: There is some info in the online documentation for - Dynamic Data Lists - Make it pretty: creating custom displays. Also in a series of blogs about Dynamic Data Lists - Part III 回答2: I used Asset publisher instead of Dynamic data list to display a web content with multiple templates. I will post it in liferay website soon. 来源: https://stackoverflow.com/questions/8834462/list-template-in-dynamic-data-list-in-liferay

Liferay Integration with OpenAM using Active Directory

懵懂的女人 提交于 2019-12-12 02:51:52
问题 I am configuring Liferay with Open AM using Active Directory as the LDAP Server. The problem I am facing is if i configure OpenAM to authenticate using AD I get the following error in Liferay - 07:52:17,962 DEBUG [http-bio-8080-exec-15][OpenSSOUtil:146] Attributes response code 500 07:52:17,962 DEBUG [http-bio-8080-exec-15][OpenSSOAutoLogin:132] Validating user information for null null with screen name null and email address null 07:52:17,962 ERROR [http-bio-8080-exec-15][AutoLoginFilter:261

Import .lar file issue on Encoding with Glassfish as Application Server

橙三吉。 提交于 2019-12-12 02:16:39
问题 Simply I have an Issue with Liferay 5.2 SP4 with importing .lar file, only when liferay deployed on Glassfish, when the content have special character (Including non-latin characters like Arabic) with UTF-8 these character will corrupted after importing (all these characters going to be strange symbols or question marks), I tested Importing .lar file with liferay deployed on tomcat but I have no problem, this issue happening only on Glassfish as a Web Application Server (GF 2.1.1 or GF 3.1.1)

Dynamic query with search container liferay

纵饮孤独 提交于 2019-12-12 02:05:10
问题 I am facing problem in dynamic query. I didn't get any solution how can i do following query in liferay dynamic query. mysql> select date_,count(*) from Clipping group by date_; +---------------------+----------+ | date_ | count(*) | +---------------------+----------+ | 2014-10-17 00:00:00 | 1 | | 2014-10-24 00:00:00 | 2 | | 2014-10-29 00:00:00 | 1 | | 2014-11-15 00:00:00 | 1 | | 2014-10-20 00:00:00 | 1 | | 2014-10-24 00:00:00 | 1 | | 2014-10-31 00:00:00 | 1 | | 2014-10-10 00:00:00 | 1 | |

Adding custom filter for asset publisher portlet?

半城伤御伤魂 提交于 2019-12-12 01:51:58
问题 We have created a new template and structure with custom attributes for submitting web content. The structure has few list attributes like: <dynamic-element name='size' type='list' index-type='' repeatable='false'> <meta-data>…</meta-data> <dynamic-element name='Less_than_5_000' type='Less_than_5_000' index-type='' repeatable='false'> </dynamic-element> <dynamic-element name='5_000_to_10_000_employees' type='5_000_to_10_000_employees' index-type='' repeatable='false'> </dynamic-element>

Liferay and relationships in it

﹥>﹥吖頭↗ 提交于 2019-12-12 01:46:00
问题 I have a portlet, which can add/update/delete books and add authors. Moreover, you can choose existing authors when you try to add book. And now I need to show how many books were written by each author in "author" table. How can I do it? Im a newbie in liferay and I even have no idea. It's my service.xml <entity name="Book" local-service="true" remote-service="true" cache-enabled="false"> <column name="bookId" type="long" primary="true" /> <column name="bookName" type="String" /> <column

Migrating a website from OpenCms to LIferay

橙三吉。 提交于 2019-12-12 01:44:18
问题 A website is currently in OpenCms which needs to be migrated to Liferay framework as is. There is a concept of JSP templates in OpenCms. Is it possible to replicate the concept of jsp templates which is present in OpenCms into themes/layouts in liferay? OpenCms templates use cms tags like <cms: /> How will it be possible for me to transfer this entire website from OpenCms into Liferay? I have googled a lot regarding this but I did not get any answer for this. Help will be appreciated. EDIT:

Finder in Liferay's ServiceBuilder

Deadly 提交于 2019-12-12 01:42:38
问题 I know I had already asked this question, but I have misunderstandings yet. My previous question: Liferay and relationships in it In two words: I have a portlet, which can add/update/delete books and add authors. Moreover, you can choose existing authors when you try to add book. http://i.stack.imgur.com/vzUjn.png And now I need to show how many books were written by each author in "author" table. My service.xml: <entity name="Book" local-service="true" remote-service="true" cache-enabled=

How to make separate web application in Liferay?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 01:32:25
问题 Today I read about Liferay. I have referred liferay.com and found one community demo application which I have run successfully. But,my question is that, Can I make separate web application ? like in spring (not a portal which have to include in the demo application). Using community edition. Thanks.. :) 回答1: As Mark has said Liferay is a portal, and is itself a Web Application running on a Application Server like Tomcat. If you wanted to create a separate web application using Spring, you

LDAP configuration with Liferay portal not working

£可爱£侵袭症+ 提交于 2019-12-12 01:26:49
问题 I need to configure Liferay with organization LDAP. My requirement is to import users on demand( on login) to Liferay database. When I try to login by using screen name which is mapped to sAMAccountNumber in LDAP, I get authentication failure error I do not see any users imported in db too. After a lot of debugging it looks life LDAP connection is done successfully. But no results are returned from LDAP. I am seeing something like this in the logs . Search filter before transformation