jsf 2 - datatable emptymessage does not automatically colspan to total no. of columns when datatable has no rows -


i using primefaces 5.2 on weblogic 11g/java 1.6/jsf 2.1. have datatable rows conditionally not rendered. problem when datatable has no rows display, emptymessage spanned first column , not columns. below datatable sample.

<p:datatable var="sale" >     <f:facet name="header">         sales/profits of manufacturers     </f:facet>      <p:columngroup type="header">         <p:row>             <p:column rowspan="3" headertext="manufacturer" />             <p:column colspan="4" headertext="sale rate" />         </p:row>         <p:row>             <p:column colspan="2" headertext="sales" />             <p:column colspan="2" headertext="profit" />         </p:row>         <p:row>             <p:column headertext="last year" />             <p:column headertext="this year" />             <p:column headertext="last year" />             <p:column headertext="this year" />         </p:row>     </p:columngroup>      <p:column rendered="false">         <h:outputtext value="s" />     </p:column>     <p:column rendered="false">         <h:outputtext value="s" />     </p:column>     <p:column rendered="false">         <h:outputtext value="s" />     </p:column>     <p:column rendered="false">         <h:outputtext value="s">          </h:outputtext>     </p:column>     <p:column rendered="false">         <h:outputtext value="s">          </h:outputtext>     </p:column> </p:datatable>    

seems known issue.

it fixed in 5.2.6 , 5.1.20. of people should available in 5.3 version.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -