Package com.jk.web.faces.renderers
Class JKPanelGridRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.panelgrid.PanelGridRenderer
com.jk.web.faces.renderers.JKPanelGridRenderer
public class JKPanelGridRenderer
extends org.primefaces.component.panelgrid.PanelGridRenderer
This class is a renderer that is used for rendering a PrimeFaces PanelGrid
 component.
 
 This renderer extends the standard PrimeFaces `PanelGridRenderer` to fix a
 bug related to non-rendered components that
 caused the final tr element not to be printed in the HTML output.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Field Summary
Fields inherited from class org.primefaces.component.panelgrid.PanelGridRenderer
LAYOUT_FLEX, LAYOUT_GRID, LAYOUT_TABULARFields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidencodeDynamicBody(jakarta.faces.context.FacesContext context, org.primefaces.component.panelgrid.PanelGrid grid, int columns) This method is used for encoding the dynamic body of the PanelGrid.Methods inherited from class org.primefaces.component.panelgrid.PanelGridRenderer
encodeChildren, encodeEnd, encodeFlexGridBody, encodeGridBody, encodeGridFacet, encodeGridLayout, encodeRow, encodeStaticBody, encodeTableBody, encodeTableFacet, encodeTableLayout, getRendersChildrenMethods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class jakarta.faces.render.Renderer
convertClientId, decode, encodeBegin, getConvertedValue 
- 
Constructor Details
- 
JKPanelGridRenderer
public JKPanelGridRenderer()This method constructs a newJKPanelGridRenderer. 
 - 
 - 
Method Details
- 
encodeDynamicBody
public void encodeDynamicBody(jakarta.faces.context.FacesContext context, org.primefaces.component.panelgrid.PanelGrid grid, int columns) throws IOException This method is used for encoding the dynamic body of the PanelGrid.- Overrides:
 encodeDynamicBodyin classorg.primefaces.component.panelgrid.PanelGridRenderer- Parameters:
 context- Specifies theFacesContextfor the current request.grid- Specifies thePanelGridcomponent to be rendered.columns- Specifies the number of columns in the grid.- Throws:
 IOException- if an I/O exception has occurred.
 
 -