Search in sources :

Example 1 with HiddenTextResponseWriter

use of com.liferay.faces.util.render.HiddenTextResponseWriter in project liferay-faces-alloy by liferay.

the class InputSourceCodeRenderer method getDelegationResponseWriter.

public ResponseWriter getDelegationResponseWriter(FacesContext facesContext, UIComponent uiComponent) {
    ResponseWriter responseWriter = facesContext.getResponseWriter();
    String hiddenInputClientId = getHiddenInputClientId(facesContext, uiComponent);
    return new HiddenTextResponseWriter(responseWriter, hiddenInputClientId);
}
Also used : HiddenTextResponseWriter(com.liferay.faces.util.render.HiddenTextResponseWriter) ResponseWriter(javax.faces.context.ResponseWriter) HiddenTextResponseWriter(com.liferay.faces.util.render.HiddenTextResponseWriter)

Aggregations

HiddenTextResponseWriter (com.liferay.faces.util.render.HiddenTextResponseWriter)1 ResponseWriter (javax.faces.context.ResponseWriter)1