liferay

How to delete aui.css from pages in Liferay 7

旧巷老猫 提交于 2019-12-12 01:00:01
问题 How to disable aui.css for custom pages in Liferay 7. Is it possible to do this somehow via portal-notmal.ftl 回答1: aui.css is coming in through the unstyled theme, which typically is the basis for every theme there is. That being said, you can override it and remove it this way. It's refined in the styled theme, and also in the classic theme (in the same github repo, you'll find it). If you do so, note that you'll still have to deal with a lot of formatting on your own - the classes and other

Orbeon 3.9 Liferay proxy portlet java.lang.NullPointerException Error with any user interaction

那年仲夏 提交于 2019-12-12 00:19:20
问题 I'm trying to integrate Orbeon Forms 3.91 PE with Liferay 6.0.6. I have installed Liferay, deployed orbeon.war, orbeon-proxy-portlet.war, copied the license file and created a file-local.xml properties (as described in the wiki). Using the Form Builder I've created a form (the default content (one input field)). Next I've added two pages in Liferay containing the portlets forms: - one runner with my form - second form refers to a form "contact" (the default one). After integration with my

Liferay database table work flow?

拈花ヽ惹草 提交于 2019-12-11 23:53:11
问题 I am new to Liferay. Now I need to create the flow chart which has the Liferay table work flow in following scenarios, 1) What are the list of table will reflect/update if we create the site admin? 2) What are the list of table will reflect/update if we create the site? I tried by opening database tables and noticed that USER_, CONTACT_ will reflect, But I need list of all the related tables which will reflect when we create the site and siteadmin? I am using Liferay 6.2 version. Thanks in

Liferay login via CAS, create account functionality via Login Portlet

喜欢而已 提交于 2019-12-11 23:43:37
问题 We use Liferay 6.1.0, OpenLDAP for storing users, and CAS for SSO. I configured Liferay to use CAS for login. However, login via CAS works only if one clicks the "Sign In" link in the upper right corner. Users can also log in via the Login portlet but that does not use CAS. First I thought I can hide or remove the Login portlet to force the users to log in via CAS, but then I lose the "Create Account" link which is provided by the login portlet. And I need the Create Account functionality of

What is latest proven-that-works combination of Liferay and Wicket?

北城以北 提交于 2019-12-11 23:42:28
问题 I just tried Wicket 1.5.6 and Liferay 6.1.0 combination and that is not working out of the box, at least not for me. https://cwiki.apache.org/WICKET/wicket-examples-as-portlets.html says that examples.war should work without any problem, but for me it tells after deploy that 11:53:17,096 ERROR [render_portlet_jsp:154] java.lang.IllegalStateException: filter path was not configured at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:164) at org.apache.wicket

Liferay: Any method written in *LocalServiceImpl not found in *LocalServiceUtil

自作多情 提交于 2019-12-11 23:26:40
问题 Any method I write in *LocalServiceImpl is not found in *LocalServiceUtil . I re-run service builder every time and nothing. The methods are recognized on local server but not found in production server. All old methods are working, just new written methods are not found. What could be the problem? Thanks. I am using Liferay 6.1.1 GA2 on both servers. this is my service builder log [echo] Loading jar:file:/C:/sbl-workspace-1/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib

UserEmailAddressException when calling login() function in Liferay

吃可爱长大的小学妹 提交于 2019-12-11 21:08:54
问题 I want to have LinkedIn authentication in my website. Their API returns the desired information, the create account function is working. However, I seem to have some problems when I try to login on the site. It seems that I get a UserEmailAddressException when I call the LoginUtil.login method. at com.liferay.portal.service.impl.UserLocalServiceImpl.authenticate(UserLocalServiceImpl.java:2480) . It fails at if (authType.equals(CompanyConstants.AUTH_TYPE_EA)) { if (!Validator.isEmailAddress

How Deploy Our WebApp into Liferay

大憨熊 提交于 2019-12-11 20:44:24
问题 I am new to Liferay, I have a webapp (built with Struts/Spring/Hibernate). My question is how to deploy this WebApp into Liferay 6.2 Environment. Is this possible? 回答1: If you want to run it as a liferay portlet - first of all you have to convert your web application into a portlet application. Which means at least creating a few additional configuration files (liferay-display.xml, liferay-portlet.xml, etc). Not difficult but best to read some docs first. If you want to simply run it along

How to resolve conflict between hooks modifying the same jsp?

强颜欢笑 提交于 2019-12-11 20:13:34
问题 We have downloaded the Notifications portlet from liferay which modifies the JSP: html/portlet/dockbar/view_user_account.jspf And we are also modifying this particular jspf in our hook. Currently what we are doing is we are copying the code from notifications portlet in our custom hook and are deploying our custom hook at the end so that our changes are applied. Or else we would need to remove the JSP hook from notifications portlet by modifying the notification portlet's source. Are there

java.lang.ClassCastException: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object;

旧巷老猫 提交于 2019-12-11 19:27:46
问题 I am displaying a list of items with links in my xhtml page. When I click my "back to previous page" button from that link, I basically reset the flags in my bean to indicate to the xhtml which page to display, and reload the list of links from my database. When I click the same link (or any other link for that matter) in this new page, I get this error: javax.portlet.faces.BridgeException: javax.portlet.faces.BridgeException: javax.faces.FacesException: Unexpected error restoring state for