2 Replies Latest reply on Apr 3, 2009 7:35 AM by Ioana Iacob

    rich:inplaceInput requiredMessage from bundle

    Ioana Iacob Newbie

      Hello,

      I have:

      <rich:inplaceInput value="#{actor.descr}" layout="block"
       viewClass="inplace"
       required="true"
       requiredMessage="#{errors.REQUIRED_FIELD}">
      </rich:inplaceInput>
      


      where the input is inside a datatable, and the error bundle was loaded with
      <f:loadBundle var="errors"
       basename="path.messages.errors" />
      


      I used a message panel to display the error messages, and the panel opens but no message is diplayed.
      If instead of #{errors.REQUIRED_FIELD} I use a string it works.

      In errors.properties I have REQUIRED_FIELD= Description is required

      What am I doing wrong?

      Ioana.