I dont know why but the columns I set on a panel grid get merged as if they were only one column,
Here is the code
<h:panelGrid id="formOcurrencia">
<p:row>
<p:column>
<h:outputLabel value="Número de catalogo:" for="numcatInput" />
</p:column>
<p:column>
<p:inputText id="numcatInput"
value="#{ocurrenciaDM.ocurrencia.catalogNumbOcurrencia}" />
</p:column>
<p:column>
<h:outputLabel value="Número de record:" for="numrecInput" />
</p:column>
<p:column>
<p:inputText id="numrecInput"
value="#{ocurrenciaDM.ocurrencia.recordNumbOcurrencia}" />
</p:column>
</p:row>
<p:row>
<p:column>
<h:outputLabel value="Fecha inicial:" for="cal_ocurr1Input" />
</p:column>
<p:column>
<p:calendar id="cal_ocurr1Input"
value="#{ocurrenciaDM.ocurrencia.fechaInicialOcurrencia}"
mindate="1/1/1960" pattern="dd/MM/yyyy" navigator="true"
display="inline">
<f:convertDateTime pattern="dd/MM/yyyy" timeZone="GMT+5" />
</p:calendar>
</p:column>
<p:column>
<h:outputLabel value="Fecha final:" for="cal_ocurr2Input" />
</p:column>
<p:column>
<p:calendar id="cal_ocurr2Input"
value="#{ocurrenciaDM.ocurrencia.fechaFinalOcurrencia}"
mindate="1/1/1960" pattern="dd/MM/yyyy" navigator="true"
display="inline">
<f:convertDateTime pattern="dd/MM/yyyy" timeZone="GMT+5" />
</p:calendar>
</p:column>
</p:row>
</h:panelGrid>
And here it is how shows on the page
<tbody>
<tr>
<td><label for="taxonomiaAdminForm:numcatInput">
Número de catalogo:</label><input aria-multiline="false" aria-readonly="false" aria-disabled="false" role="textbox" id="taxonomiaAdminForm:numcatInput" name="taxonomiaAdminForm:numcatInput" class="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" type="text"><label for="taxonomiaAdminForm:numrecInput">
Número de record:</label><input aria-multiline="false" aria-readonly="false" aria-disabled="false" role="textbox" id="taxonomiaAdminForm:numrecInput" name="taxonomiaAdminForm:numrecInput" class="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" type="text"></td>
</tr>
<tr>
<td><label for="taxonomiaAdminForm:cal_ocurr1Input">
Fecha inicial:</label><span id="taxonomiaAdminForm:cal_ocurr1Input"><input aria-multiline="false" aria-readonly="false" aria-disabled="false" role="textbox" id="taxonomiaAdminForm:cal_ocurr1Input_input" name="taxonomiaAdminForm:cal_ocurr1Input_input" class="ui-inputfield ui-widget ui-state-default ui-corner-all hasDatepicker" type="text"></span><label for="taxonomiaAdminForm:cal_ocurr2Input">
Fecha final:</label><span id="taxonomiaAdminForm:cal_ocurr2Input"><input aria-multiline="false" aria-readonly="false" aria-disabled="false" role="textbox" id="taxonomiaAdminForm:cal_ocurr2Input_input" name="taxonomiaAdminForm:cal_ocurr2Input_input" class="ui-inputfield ui-widget ui-state-default ui-corner-all hasDatepicker" type="text"></span></td>
</tr>
<tr>
<td><label for="taxonomiaAdminForm:cont_indInput">
Conteo individual:</label><input aria-multiline="false" aria-readonly="false" aria-disabled="false" role="textbox" id="taxonomiaAdminForm:cont_indInput" name="taxonomiaAdminForm:cont_indInput" class="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" type="text"></td>
</tr>
There is only one column on each row, I copy pasted the example on the page and it work, then I copy some of the rows to my panelgrid and the columns get lost again.