com.liferay.faces.bridge.container.pluto
Class PlutoResourceURL
java.lang.Object
com.liferay.faces.bridge.container.BaseURLWrapper
com.liferay.faces.bridge.container.ResourceURLWrapper
com.liferay.faces.bridge.container.pluto.PlutoResourceURL
- All Implemented Interfaces:
- javax.faces.FacesWrapper<javax.portlet.ResourceURL>, javax.portlet.BaseURL, javax.portlet.ResourceURL
public class PlutoResourceURL
- extends ResourceURLWrapper
- Author:
- Neil Griffin
| Fields inherited from interface javax.portlet.ResourceURL |
FULL, PAGE, PORTLET, SHARED |
| Methods inherited from interface javax.portlet.BaseURL |
addProperty, getParameterMap, setProperty, setSecure, write, write |
toStringValue
protected String toStringValue
PlutoResourceURL
public PlutoResourceURL(javax.portlet.ResourceURL resourceURL)
toString
public String toString()
- Pluto has the habit of adding cache tokens to URLs during the RESOURCE_PHASE of the portlet lifecycle that are
not present during the RENDER_PHASE. Although it would be nice to take advantage of cache-ability of resources,
these differing URLs cause full-portlet DOM-diffs to take place when using ICEfaces. This method ensures that the
cache tokens are removed, so that the return value of this method is the same during the RENDER_PHASE and
RESOURCE_PHASE.
- Specified by:
toString in interface javax.portlet.BaseURL- Overrides:
toString in class BaseURLWrapper
setParameter
public void setParameter(String name,
String[] values)
- Specified by:
setParameter in interface javax.portlet.BaseURL- Overrides:
setParameter in class BaseURLWrapper
setParameter
public void setParameter(String name,
String value)
- Specified by:
setParameter in interface javax.portlet.BaseURL- Overrides:
setParameter in class BaseURLWrapper
setParameters
public void setParameters(Map<String,String[]> parameters)
- Specified by:
setParameters in interface javax.portlet.BaseURL- Overrides:
setParameters in class BaseURLWrapper
getWrapped
public javax.portlet.ResourceURL getWrapped()
- Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.portlet.ResourceURL>- Specified by:
getWrapped in class ResourceURLWrapper
Copyright © 2014 Liferay, Inc.. All Rights Reserved.