com.liferay.faces.bridge.renderkit.primefaces.internal
Class BodyRendererPrimeFacesImpl

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.liferay.faces.bridge.renderkit.bridge.internal.BridgeRenderer
          extended by com.liferay.faces.bridge.renderkit.html_basic.internal.BodyRendererBridgeCompatImpl
              extended by com.liferay.faces.bridge.renderkit.html_basic.internal.BodyRendererBridgeImpl
                  extended by com.liferay.faces.bridge.renderkit.primefaces.internal.BodyRendererPrimeFacesImpl

public class BodyRendererPrimeFacesImpl
extends BodyRendererBridgeImpl

This class is a portlet-compatible version of the PrimeFaces 5.x BodyRenderer. For more information, see: FACES-1977. Note that reflection is used to access the PrimeFaces RequestContext in order to avoid a compile-time dependency on a specific version of PrimeFaces.

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.renderkit.bridge.internal.BridgeRenderer
ORIGINAL_TARGET
 
Constructor Summary
BodyRendererPrimeFacesImpl()
           
 
Method Summary
protected  void encodeScripts(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter responseWriter, javax.faces.component.UIComponent uiComponent)
           
protected  Object getRequestContextCurrentInstance()
           
 
Methods inherited from class com.liferay.faces.bridge.renderkit.html_basic.internal.BodyRendererBridgeImpl
encodeBegin, encodeEnd
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyRendererPrimeFacesImpl

public BodyRendererPrimeFacesImpl()
Method Detail

encodeScripts

protected void encodeScripts(javax.faces.context.FacesContext facesContext,
                             javax.faces.context.ResponseWriter responseWriter,
                             javax.faces.component.UIComponent uiComponent)
                      throws IOException
Overrides:
encodeScripts in class BodyRendererBridgeCompatImpl
Throws:
IOException

getRequestContextCurrentInstance

protected Object getRequestContextCurrentInstance()


Copyright © 2015 Liferay, Inc.. All rights reserved.