8 Replies Latest reply on Feb 11, 2009 8:16 AM by nbelaevski

    The value of one h:inputText becomes the default for another

    mangelo123

      I know this can be done with Javascript, but it seems like RichFaces should be able to do this a lot cleaner.

      I've seen all of the echo examples where an h:inputText and h:ouputText share the same bean property, but I need there to be to h:inputText controls where they are different bean properties:

      <h:inputText value="#{customer.address}"/>
      ...
      <h:inputText value="#{customer.billingAddress}"/>

      I need the billing address to default to the customer address after it's typed in with the ability to modify.

      TIA.