org.apache.myfaces.orchestra.lib.jsf
Class PortletExternalContextWrapper

java.lang.Object
  extended by ExternalContextWrapper
      extended by org.apache.myfaces.orchestra.lib.jsf.PortletExternalContextWrapper

public class PortletExternalContextWrapper
extends ExternalContextWrapper

Class used by _PortletFacesContextWrapper to allow orchestra work in portlets This class wraps encodeActionURL and encodeResourceURL to include conversationContext param like RequestParameterResponseWrapper does. In portlets we can't do the same than is servlets, because the params added here must be encoded by the portlet container and in portlets we don't have servlet redirect cases.

Version:
$Revision: 798382 $ $Date: 2009-07-27 22:23:02 -0500 (lun, 27 jul 2009) $
Author:
Leonardo Uribe(latest modification by $Author: lu4242 $)

Constructor Summary
PortletExternalContextWrapper(ExternalContext context)
           
 
Method Summary
 java.lang.String encodeActionURL(java.lang.String url)
           
 java.lang.String encodeResourceURL(java.lang.String url)
           
 ExternalContext getWrapped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletExternalContextWrapper

public PortletExternalContextWrapper(ExternalContext context)
Method Detail

getWrapped

public ExternalContext getWrapped()

encodeActionURL

public java.lang.String encodeActionURL(java.lang.String url)

encodeResourceURL

public java.lang.String encodeResourceURL(java.lang.String url)


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.