I am trying to use projection as style sheet is not going to solve my problem. The code is as follows:
<rich:dataGrid value="#{category.getAllCategories(hbSession)}" var="category" columns="3" elements="9" width="600px">
<rich:panel>
<f:facet name="header">
<h:outputText value="#{category.catNm}"></h:outputText>
</f:facet>
</rich:panel>
<h:dataTable value="#{category.subCategories}" var="subCategory">
<!-- command link code goes here -->
</h:dataTable>
</rich:dataGrid>
But I am getting error
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/sql/Result