8 Replies Latest reply on Apr 18, 2008 3:35 PM by Al Nik

    facesMessages: Add a msg with param

    Al Nik Newbie

      Hi all,
      I've something like


      facesMessages.add("#{messages.errImgSize}", new Integer(5000));
      



      and in my messages.properties


      errImgSize = image size error you can't upload more than {0}bytes
      



      It doesn't work, it doesn't display 5000 but directly {0}
      how can I fix it?
      thanks