File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply 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: 4962

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


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
 
subject: request for not supported mode
 
Threads others viewed
format JList
user input
[B&S]is the mode optional?
storing date in mysql
how to open IE window in invisible
MyEclipse, The Clear Choice