File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!