0 Replies Latest reply on Apr 10, 2010 12:43 AM by Dmitry Shultz

    rich:inplaceInput + f:convertNumber = Error

    Dmitry Shultz Novice

      I'm not sure if there is opened Bug for it or I'm doing something wrong.

       

      Following code renders the account.balance according to the pattern specified, but when it is edited server fails to update the field:

       

                               <rich:inplaceInput value="#{account.balance}"
                                                           label="#{messages.balance}"
                                                           required="true">
                                      <a4j:support event="onviewactivated" reRender="bankDeposits"
                                                   ignoreDupResponses="true" requestDelay="500"/>
                                      <f:convertNumber pattern="###,###,###" maxFractionDigits="0"/>
                                  </rich:inplaceInput>
      The Error (sorry can't see the full stack trace as it doesn't appear in any log):
      /includes/bankDeposits.xhtml @72,70
      value="#{account.balance}": Can't set property 'balance' on class 'com.bla.bla.bla.SavingsAccount' to value '34,545'.
      RichFaces 3.3.3. CR1