2 Replies Latest reply on Dec 18, 2008 8:06 AM by Veli AKÇAKAYA

    <f:loadBundle Problem

    Veli AKÇAKAYA Newbie

      Hi,
      i'm trying to use <f:loadBundle in form validation messages. My code is like this;

      <f:loadBundle var="msg" basename="messages.loginMessages" />

      i can get msg values in this code:
      <h:outputText value="#{msg.username}" />

      but i cant get it in validatorMessage and requiredMessage parameter.
      <h:inputText id="ReguName" value="#{regForm.userName}" size="14" required="true" validatorMessage="#{msg.error_userName}" requiredMessage="#{msg.error_userName}">

      How can i get msg values in Valdiation messages.
      Thanks,

      veli akcakaya
      http://www.BT-tr.net