liferay

Liferay 4.2 to 5.2 upgrade question: How to predeploy portlets in Liferay 5.2

We are upgrading from Liferay 4.2 to Liferay 5.2.2. We are using the EXT environment. Previously, in 4.2 there was a directory called /ext/portlets. According for 4.2 doc, "Portlets placed in this directory will be automatically deployed to the application server when running the ant deploy target from the /ext directory" Is there an...

Liferay portlet development with eclispe and pugins SDK

I am not sure, if this is a progamming question in the scope of this website. I am trying to create some simple portlet, which has some jsp Pages communicating with the java backend and vice versa. But any documentation states differen procedures, filenames and functions, than those used in the basic portlet, created by the Liferay plugi...

Can we have a single portlet instance on multiple pages in liferay?

Can we have a single portlet instance on multiple pages in liferay? ...

Accessing the user from a liferay portlet?

Hello, I'm attempting to develop a portlet for liferay. How can I get access to the username and password (and other data liferay has?) of the user that's currently logged in. I'd also like to be able to execute some code when users change their password. Thank you! Joshua ...

Setting up a new website with Liferay Portal - basic steps?

I know this is not specifically a programming question, but programmers will often have to do this work. How do I create a website with Liferay portal - the docs are pretty light on this fundamental issue and are all for version 4.4. I am using version 5.2 and the docs don't seem to be relevant. Do you know what the basic steps are. So...

Does Liferay require the Jikes compiler?

All Liferay docs seem to suggest that it is necessary to install the Jikes compiler in addition to the JDK. Is this really needed, to do Liferay portlet dev, or can I just suffice with the JDK. ...

Accessing Liferay web content from inside a portlet?

I have a Struts portlet being used in a Liferay Portal environment. I have been localizing my resource strings using standard resource files so far. I can access the message bundle from my portlet using the <bean:message> tag, and it works great. So for example, in a form I might have the following label defined in my JSP file. ... <lab...

Liferay - Struts2 Portlet sample

Hi, I am working with struts2 portlet sample and deployed in liferay portel using liferay server. It is working fine. But now I am trying to validate my form even that working perfectly for first time. But after first attempt when form is submitted with desired values it is not proceedin further and not recogonizing the desired action t...

Grails: Error using liferay plugin

I'm having this problem with the grails liferay-plugin: localhost_liferay_portlet_WEB_INF_grails_app_views_test_view_gsp: 17: expecting anything but ''\n''; got it anyway @ line 17, column 170. 1 error Here's the gsp: <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %> <div> <h1>View Page</h1> The map returned by renderV...

liferay workflow to preview / review blog comments

Hi There, is there a some out of the box workflow, which helps you to review blog comments in liferay. Eg. Post blog entry -> User comments blog entry -> Mail goes to moderator about/with new entry -> User write s****S ;-) -> moderator denies to publish entry or / and is there a way to check it against stopwords at submit. E.G. check f...

Getting a custom user field value (expando) in Liferay

I added a custom user field in Liferay, and set a value on a specific user. How can I access this value programmatically? If I try this, I always get null: String customAttr = (String)user.getExpandoBridge().getAttribute("customAttr"); user.getExpandoBridge().getAttribute("customAttr") returns a value of Type java.IO.Serializable. ...

Looking for a good programmable Java CMS (Content Management System)

What would be a good choice of a programmable/extensible open-source content management system for Java developers? We've tried our hand at "Liferay" with a poor result after 15 months of work mostly due to its lack of programmability. It's not a product directed towards developers. We need to reboot the project now and we're looking f...

SQL table not created when deploying a WAR file to Liferay

Hi, I've created a JSR-268 portlet for Liferay which uses services to interact with a database. I can deploy the portlet without problems or errors, but the table defined by the services is not created! I get no "table not found" error when I test the portlet. I get no errors at all! The table just isn't there in the database. I've fou...

Tomcat Error . Apache Tomcat error... org.apache.catalina.core.StandardWrapperValve invoke

here's my problem.. i have recently got my liferay portal ext running on Tomcat 6.0.20. everything works fine, but when i click some link this error comes up on the log.. some Javascript also is not working i guess. i am also running my server on Ubuntu 9.04, used Mysql as my database. hope you can help me thank you in advance here...

How to configure the filename length that can be handled by Linux Ubuntu?

Im using Liferay portal server on tomcat and Linux Ubuntu. Liferay is generating a file that is very long. I've seen those files in windows and its working. But when i tried running it in ubuntu, it doesn't create the file and my server is giving me error. I've also tried to make a file with a very long filename and it really doesn't al...

Can I make a struts based portlet remember its view when another portlet is used?

I've written a fairly basic portlet using the struts portlet bridge and deployed it to liferay, navigation within my portlet seems fine, but whenever I click a link on another portlet in the portal my portlet reverts to the view action setup in my portlet.xml rather than re-rendering the existing state. What am I doing wrong? My portlet...

How to create liferay theme from scratch?

I am new to Liferay , is there any good article available for Creating theme for Lifefay 5.2. and also how to convert theme to *.war file ...

Liferay Portlets AutoDeploy Issue on Eclipse when referencing projects

I developed two portlets, one for the admin and another for displaying information. They have the same back-end or DAO, model and services are the same. So I have decided to make another project to be referenced by the two portlet projects. It worked good when I started the Liferay server. But when I am editing and building the referenc...

Liferay - Serve static content

Hi, How can I serve some static content in liferay? I have a directory structure with htmls, css, etc and I would like to serve it with an address like http://localhost:8080/myStaticContent/index.html and so on. I don't want to use a front-end http server like apache. ...

Liferay portlets on Grails, strengths + weaknesses?

I'm interested in the possibility of developing Liferay portlets on Grails, using the Grails Portlets plugin. I reckon introducing a portlet framework (such as the Spring Portlet API) will make development faster and more comfortable, so being able to further add Groovy and Grails conventions to the mix sounds almost too good to be true....