liferay

Liferay portal error

Hi, I need open new browser window with PDF format.I have jsp,javaservelt with PDF stuff.This same code working in webserver.But it is not working in Lifray portal.When i click the button , it shows resource not found. I have tried with java servlet class and struts, both not open the PDF. Portal error Message: [PortalImpl:2948] Curr...

Help with Liferay portlets,igoogle like portals

Hi i am completely new to portlets and portals. I have had a brief(very brief) look at the jsr for portlets, installed liferay played around with its default portlets and set myself up an eclipse working environment in the hope of developing my own little portlet module. I have to create a portal similar to igoogle, and the tabs system i...

Liferay: Suspend/Disable Guest user

Hi, How to suspend/disable a guest user in liferay? Regards Vishal G ...

log4j: Warn No appenders could be found ...

I am receiving this warning which interrupts the running of my web application. log4j:WARN No appenders could be found for logger (smslib). log4j:WARN Please initialize the log4j system properly. I have the log4j JAR file in my library. I have deleted it and added it again ... this warning keeps showing up. Thanks for your ti...

Changing Liferay's homepage depending on the user group

I'm setting up a liferay 5.2 instance and I want to do some custom development. I want the homepage to be different for a user depending what user group they are in. Something like, if they are in the alumni user group, take them to the alumni community, otherwise take them to the default community. I've looked through the liferay docume...

how to develop application like LifeRay Control panel

I want to develop an application like LifeRay control panel which has right navigation menu and a page that renders the clicked menu. My question is how to develop at for example as one portlet or multi portlet taking into considaration (portlet communication)? and how to handle navigation inside portlet? I'm using Icefaces(JSF) for po...

how to navigate through icefaces jsp portlet pages?

I'm trying to navigate through pages in icefaces portlet(Liferay) but I can't get it to work. <navigation-rule> <from-view-id>/AdmissionApplication/Application.iface</from-view-id> <navigation-case> <from-outcome>y</from-outcome> <to-view-id>/StudentPage/StudentMainPage.iface</to-view-id> </navigation-case> </navigation-rule> and her...

Liferay Portlet ImageServlet (BalusC's code) Problem

Hello all, I am developing a portlet (using the ZK framework). Part of it is a file explorer of a root directory. In this directory exists a picture that I am trying to let the user "open". I used BalusC's code to create an ImageServlet to serve the images and "registered" it in the web.xml file of my portlet and I placed the ImageServl...

Password encryption in Jackrabbit

I am currently standing up a Liferay portal instance. Liferay uses Jackrabbit as its document repository management system. To configure Jackrabbit, I had to put in my database access URL, user name, and password into the repository.xml file. However, one certification check I have to pass is that there cannot be passwords stored in p...

navigation through icefaces Jsp portlet LIFERAY

having an action function that looks like this: public String action(){ return "success" } and this in my faces-config.xml: <navigation-rule> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/Page2.iface</to-view-id> </navigation-case> </navigation-rule> I have tried all...

get HttpServletResponse from liferay portal

I am trying to get the HttpServletResponse from liferay portal. I am also working with icefaces. PortletResponse response1 = (PortletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse(); HttpServletResponse response = (HttpServletResponse)response1; I get the following Exception: Caused by: java.lang....

Liferay 6 : OpenLDAP

How to integrate OpenLDAP in Liferay to incorporate single sign-on feature ? Looking for input for the same. Thanks , Anil ...

Is it possible to create GWT2 - JSR286 Portlets and implement IPC?

Hi, is it possible to implement IPC with GWT2 Portlets? Preferably i'd like to use the JSR286 Event mechanism, but would have to do so out of the GWT Portlets. I am using a Liferay 6 Portal. Has anyone any experience with this kind of environment? thanks for your help, stefan ...

What jar file does liferay mail engine make use of

Please could someone tell me what jar Liferay Mail Engine makes use of. I have already done an import like this import com.liferay.util.mail.MailEngine; but it does not seem to be importing anything. ...

Preventing cross-site request forgery in Liferay

What are the best practices in CSRF-proofing a Liferay 5.2.3 based site? OWASP recommends (http://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#General_Recommendation:_Synchronizer_Token_Pattern) using the Synchronizer token pattern, but doing this manually seems to be tedious, especially sharing the to...

Liferay's default guest page and it's purpose in a Website

Hi, I'm currently building a website for a company, that will for the moment contain 3-5 static pages (i.e, just content). User registration may be added in time to come. Now, I've been reading through the Liferay docs, forums and wiki, and I'm still pretty unclear on the approach to take in designing this website. 1) If I were to mod...

New to Liferay 6.0

Hi, I have only recently started using Liferay 6.0. I have downloaded liferay-portal-tomcat-6.0.4_1 community edition. First of all can you please recommend me some website and books or articles for Liferay 6.0? (The ones available on the Internet are for earlier versions...) Secondly. I don' t seem to get the structure of Liferay. For...

ant java execution hangs after complete

In Liferay ext build-parent.xml there is a target build-webxml that executes java. Unfortunately this target does not complete for some reason. I debugged the code and main method finishes. But still the echo directly after the java is not executed. It just hangs in the end When I Ctrl+c then it prints out [java] Java Result: 1 [ec...

How to duplicate liferay portlet

I have a custom portlet that I added to Liferay. I am looking for a way to duplicate the portlet, make some very little changes on it and use it on another community i.e. I want to be able to see the two portlets when I login as super admin and click on the add application link. Does anyone know an easy way of doing this? ...

Installing liferay with Solr : admin console unreachable + exceptions on launching

Hi, I try to install solr 1.4.1 with Liferay 5.5-5.2.3 running with Tomcat; my system is RHEL5. Below I explain the errors I meet; then I give the details of my solr install. When I start Tomcat, I have the following exceptions : INFO: Solr home set to '/opt/apache-solr-1.4.1/example/solr/' Aug 4, 2010 10:44:26 AM org.apache.solr.co...