Examples of IdDelegationResponseWriter


Examples of com.liferay.faces.util.render.IdDelegationResponseWriter

    // Encode the opening boundingBox <div> tag via delegation. Ensure that the "id" attribute is always written so
    // that Alloy's JavaScript will be able to locate the boundingBox in the DOM.
    ResponseWriter responseWriter = facesContext.getResponseWriter();
    String clientId = uiComponent.getClientId(facesContext);
    DelegationResponseWriter idDelegationResponseWriter = new IdDelegationResponseWriter(responseWriter,
        StringPool.DIV, clientId);
    super.encodeMarkupBegin(facesContext, uiComponent, idDelegationResponseWriter);

    // Encode the opening contentBox <div> tag with a unique id.
    String contentBoxClientId = clientId.concat(CONTENT_BOX_SUFFIX);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.