You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Patrick Dalla Bernardina <pa...@jfes.trf2.gov.br> on 2006/05/11 22:17:32 UTC

InputDate problem

I have the following datatable:

every input other than inputDate updates the correspondent  bean property .
Why inputDate doesn't updates the bean property associated with the 
value attribute?



<h:dataTable id="dependentes" headerClass="portlet-section-header"
    rowClasses="portlet-section-body,portlet-section-alternate"
    value="#{FuncionariosBackBean.dependentes}"
    var="dependente" binding="#{FuncionariosBackBean.dtDependentes}"
    rendered="#{FuncionariosBackBean.temDependentes}">
    <h:column>
        <f:facet name="header">
            <h:outputText value="Dependentes"/>
        </f:facet>
        <h:panelGrid columns="2" headerClass="portlet-section-header" 
rowClasses="portlet-section-body">
            <f:facet name="header">
                <h:outputText 
value="Nome:#{dependente.nome}"></h:outputText>
            </f:facet>
            <h:outputText value="CPF:"/>
            <h:inputText value="#{dependente.cpf}"/>

            <h:outputText value="Data Expedição:"/>
            <ext:inputDate renderAsPopup="true" 
value="#{dependente.dataExpedicao}">
            </ext:inputDate>
        </h:panelGrid>
    </h:column>
</h:dataTable>

Re: InputDate problem

Posted by Patrick Dalla Bernardina <pa...@jfes.trf2.gov.br>.
I've updated to version 1.1.3 and everything worked.



Patrick Dalla Bernardina wrote:

>
> I have the following datatable:
>
> every input other than inputDate updates the correspondent  bean 
> property .
> Why inputDate doesn't updates the bean property associated with the 
> value attribute?
>
>
>
> <h:dataTable id="dependentes" headerClass="portlet-section-header"
>    rowClasses="portlet-section-body,portlet-section-alternate"
>    value="#{FuncionariosBackBean.dependentes}"
>    var="dependente" binding="#{FuncionariosBackBean.dtDependentes}"
>    rendered="#{FuncionariosBackBean.temDependentes}">
>    <h:column>
>        <f:facet name="header">
>            <h:outputText value="Dependentes"/>
>        </f:facet>
>        <h:panelGrid columns="2" headerClass="portlet-section-header" 
> rowClasses="portlet-section-body">
>            <f:facet name="header">
>                <h:outputText 
> value="Nome:#{dependente.nome}"></h:outputText>
>            </f:facet>
>            <h:outputText value="CPF:"/>
>            <h:inputText value="#{dependente.cpf}"/>
>
>            <h:outputText value="Data Expedição:"/>
>            <ext:inputDate renderAsPopup="true" 
> value="#{dependente.dataExpedicao}">
>            </ext:inputDate>
>        </h:panelGrid>
>    </h:column>
> </h:dataTable>
>