This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

portlet intial loading message problem  RSS feed

 
satheesh Valluru
Greenhorn
Posts: 15
Android Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!