This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes portlet intial loading message problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "portlet intial loading message problem" Watch "portlet intial loading message problem" New topic
Author

portlet intial loading message problem

satheesh Valluru
Greenhorn

Joined: Mar 10, 2014
Posts: 15

I am iterating a List in my view.Jsp of the respective portlet1.so when first time i deployed into liferay server portal ,that portlet1 displaying message as "Portlet1 is temporarly not available" because of no list iterated until action performed from other portlet.How to overcome this problem .Please help me out.
Kesava Krishna
Ranch Hand

Joined: Sep 03, 2012
Posts: 42
Generally portlet throws "Temporary not available" in case if there is any exception thrown. In your case it seems you are not doing any null check for the list. Though the action is not performned, null check should avoid your portlet run into exceptions. Try doing it
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: portlet intial loading message problem
 
It's not a secret anymore!