This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes request for not supported mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "request for not supported mode" Watch "request for not supported mode" New topic

request for not supported mode

siva prakash
Ranch Hand

Joined: Aug 24, 2004
Posts: 80

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

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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
I agree. Here's the link:
subject: request for not supported mode
It's not a secret anymore!