Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

request for not supported mode

 
siva prakash
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what happens when portlet was invoked in mode (which was not mentioned in deployment descriptor)


Thanks,
Prakash
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give me the scenario? If it's not in the deployment descriptor, the associated icon won't be available, so it won't be a client navigation thing.

If it's done programattically (shame on you), I believe you get the PortletModeException

public class PortletModeException
extends PortletException

The PortletModeException is thrown when a portlet tries to use or set a portlet mode that is not supported by the current runtime environment.


Similarly, there's a WindowStateException


-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic