<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">
    <h:panelGroup id="#{backBean.idPanelPeriode}" rendered="#{backBean.viewPeriode}">        
        <table align="center">
            <tr>
                <td style="width: 140px; padding: 5px;"> <h:outputText value="#{backBean.labelPeriode}"/> </td>
                <td style="width: 10px; padding: 5px;"> <h:outputText value=" : "/>   </td>
                <td style="width: 600px; padding: 5px;"> 
                    <p:selectOneMenu  id="#{backBean.idComboPeriode}" value="#{backBean.selectedPeriode}" panelStyle="font-size:11px; width: 200px;" style="font-size:11px; width: 200px"
                                      converter="omnifaces.SelectItemsConverter" disabled="#{backBean.editMode}">
                        <f:selectItems value="#{backBean.periodes}" var="yearsitem" itemLabel="#{yearsitem.bulanString}" itemValue="#{yearsitem}" />
                        <p:ajax process="#{backBean.idComboPeriode}" update="#{backBean.updatePeriode}" event="change" listener="#{backBean.onPeriodeChange}"/>
                    </p:selectOneMenu>
                </td>
            </tr>
        </table>
    </h:panelGroup>

</ui:composition>
