Forgive me if this is a well-worn topic.

As I look through the JSR-168 spec, all the examples do not include "VIEW" as 
one of the supported portlet modes and as I look at the early Sun example 
portlets at 

http://developers.sun.com/portalserver/reference/techart/jsr168/

They do not include VIEW as one of the allowed modes - so my Pluto-based portal 
(Sakai) blows up when these portlets try to set themselves back to VIEW mode.

It would seem logical to me in 

pluto-container/src/main/java/org/apache/pluto/internal/impl/ActionResponseImpl.java

isPortletModeAllowedByPortlet

To always assume "view" is a legal portlet mode regardless of whether or not it 
was explicitly listed in portlet.xml..

If this was discussed and the conclusion is to "be strict" - that is OK - just 
let me know.

Thanks in advance.

Chuck Severance
University of Michigan



Reply via email to