aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "request for not supported mode" Watch "request for not supported mode" New topic
Author

request for not supported mode

siva prakash
Ranch Hand

Joined: Aug 24, 2004
Posts: 80
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

Joined: Aug 26, 2006
Posts: 4968
    
    1

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: http://aspose.com/file-tools
 
subject: request for not supported mode