1 Reply Latest reply on Jul 30, 2008 8:20 AM by ilya_shaikovsky

    ConverterMessage and bundle dasn't work!

    wawanawna

      I use follow code:
      <f:loadBundle basename="ru.toyotabc.tocis2.service.web.addSpare.Add-spare-confirmation" var="addSpareConfirmationMsg"/>
      <h:inputText value="#{addSpareConfirmationBB.selectedSpareTableItemMap[selectedSpareCard.id].clientNumber}" converterMessage="#{addSpareConfirmationMsg['massage.error.clientCountNotNumber']}">
      <f:convertNumber integerOnly="true"/>
      </h:inputText>

      And if I input "erfe" in my inputText I haven't "#{addSpareConfirmationMsg['massage.error.clientCountNotNumber']}" message, I have empty string. But if I use converterMessage="Error" I have "Error" message. <h:outputLabel id="clientCountLabel" value="#{addSpareConfirmationMsg['table.header.clientCount']}"/> - work in my sample. Why dasn't work converter message and bundle?