liferay

Liferay: Initialization order of servlets and portlets

I think that it used to the be the case that in Liferay 4, if a war contained both a portlet and a servlet, the servlet was initialized before the portlet. Now with Liferay 5 I notice that the opposite is going on. How can I setup my web application, or Liferay to always have the servlets initialized before the portlets? ...

How to use HTML in LifeRay ShoppingItem description?

How can I embed HTML into the ShoppingItem database table "description" field in such a way that it will display on screen? It used to work in older versions, but in the current version it mangles/safes it to display the HTML tags, rather than passing them through to be processed. Is there an alternate method to achieve the desired eff...

Using Awstats for generating usage statistics for a Liferay portal

Has anyone tried to use Awstats for generating usage statistics for a Liferay portal? Can you share your experience on how to do it? Aside from Awstats and Google Analytics, are there any other alternatives for generating statistics for a Liferay portal? (I can't use Google Analystics since it's a restricted internal portal) ...

Liferay: how to avoid rebuilding/redeploying CSS files

Hi guys, if you're familiar with Liferay you'll know that when you make an itsy-bitsy change to a css file you shall rebuild the theme and redeploy it. As for redeploying I made a symlink (mind you I'm on Windows: for the curious creating a symlink on Vista is just a matter of issuing mklink /d dir1 dir2). But what about rebuilding th...

Liferay portal theme issue

Hi there, occasionally when hitting the landing page after signing in, the users personal space is displayed instead of the default guest page. This is does not happen often, but my boss does not want it happening. I am hard pressed for an explanation. ...

What is the difference between Liferay 5.2 and Sun Glassfish Web Space Server 10

I'm finding Liferay 5.2 to be fairly buggy (IMO) and more specifically there are a number of security-related bugs that I find very troubling. Is Sun's version of this product (Glassfish Web Space Server) any better? ...

Importing Liferay portlet into Eclipse IDE

Hi, I have a question regarding the development of liferay portlets using the liferay plugin SDK. My question goes mainly in the setup of the development IDE. The suggested one would be to use Netbeans IDE which I also tried out, but it appears to run very slowly on my machine while Eclipse is quite performant. The setup for Netbeans ID...

com.liferay.util.PwdGenerator

Quick question: what jar do i need to add to the classpath for com.liferay.util.PwdGenerator? I have tried a few but haven't found one that works yet. thanks ...

Hibernate: No CurrentSessionContext configured

I keep getting a : HibernateException: No CurrentSessionContext configured! in my code. The only information other searches that returned is that the culprit is: <property name="current_session_context_class">thread</property> in my hibernate.cfg.xml. I do have that in my hibernate.cfg.xml file, and I am running this in Tomc...

Keeping request parameters on Spring SimpleFormController with Validator

I hope I'll be able to explain this properly. I'm developing a portlet for Liferay by using Spring. It's a pinboard system. So I have a view (Jsp) which shows the detail of a certain pinboard entry, given its id. Furthermore there is a link which goes to an AddCommentController for adding a new comment to the pinboard entry the user is c...

I have uninstalled Plone, but it's home page keeps showing up at http://localhost:8080/

I have uninstalled Plone, but it's home page keeps showing up at http://localhost:8080/ That is, when I go to http://localhost:8080/ I see: Plone Zope & Plone are now up and running. * Your Plone site has not been added yet: Click here to create a Plone site. * Use the Zope Management Interface. * Plone.Org — documentation, add-ons, ...

Restrictions/disadvantages of developing portlets for Liferay

I'm considering developing an application as portlets, to be integrated in Liferay portal. Are there any significant disadvantages or restrictions in developing such an application, as opposed to developing a normal web application using Spring framework? Liferay seems to require that all content is added as portlets. Another option I p...

How does Liferay compare to Weblogic and other portal servers?

I need to select between Liferay, Weblogic and other portal servers on the market? Has anyone done a performance test amongst them? ...

Liferay Customization

Hi all, I am new to Liferay portal development , just i run the chat portlet plugin from the bundle liferay 5.2.2 , thing i need to do further is . I need to run liferay bundle under eclipse , so that i should have the control to modify code , templates ....... (customizable) How can I do the above , please suggest me any link to...

Liferay-ui:icon localization

Hi, I'm currently working on a portlet for the Liferay portal server. I'm using the liferay-ui:icon constructs in my JSP code which support already the localization in many different languages. However I now found one entry which doesn't seem to be localized: <liferay-ui:icon image="add_article" message="add-article" label="true" url="...

Modifying Liferay javascript functionality

I want some tags to be added to an article. The problem is that the tags are displayed in the pop-up window in "random" order. This is due to order they are pushed to the page. I want to intervene, sort the tags and present them ordered. How would you do that? I spotted the methods in tags_entries_selector.js, but I am not really sure wh...

Liferay Cluster

Do you know any step by step tutorial about installing Liferay cluster in Glassfish ? ...

Use GWT+Eclipse to develop and deploy JSR-168 portlets

I have a GWT app that I want to build as a Portlet. I have already done that with Liferay but the portlet generated (.war file) cannot be deployed into Apache Pluto. I would like to know if anybody has some HOWTO info about how to build JSR-168 portlets (with GWT and Eclipse) that can be deployed in any JSR-168 compliant portal. I'm not...

jcifs.smb.NtlmPasswordAuthentication getPassword() null

i trying to do integrating with AD with jcifs. each time i do getPassword(), i get null. as I am using WMA. each time firefox will prompt for username/password . how to get the password entered by user? i able to get the username with .getName(); ...

NtlmSsp vs kerberos

can anyone elaborate the different? i'm currently using ntlmssp.authenticaten ( jcifs) but seems not able to do getPassword(). it's always return null ...