Q: value doesent to managed bean in JSF I new to JSF.Try to set outputtext through java.
    Name
    <h:inputText value="#{customerBean.name}" >         
    </h:inputText>

    JoiningDate
    <h:outputText value="#{customerBean.dateOfBirth}" >
      <f:convertDateTime pattern="d-M-yyyy" />
    </h:outputText>

    <h:commandButton value="View" action="#{customerBean.view}" />

In my customer bean iam setting value
public void view(){ 
  CustomerDTO dto = new CustomerDTO();
  dto.setName(name);
  dto = dao.view(dto);
  dto.setDateOfBirth(dto.getDateOfBirth()); 
}

When i print value of dataOf Birth its print inside view but value not populated in UI?
