2 Replies Latest reply on Oct 23, 2008 7:54 AM by Arisson Leal

    rich:fileUpload how to set uploadDat ?

    Arisson Leal Newbie

      In my Bean i have this:

      public List<UploadItem> itens = new ArrayList<UploadItem>();

      In my entity:
      private byte[] image;

      When i retrive my data from DB i'm trying to set the itens this way:
      itens.add(new UploadItem("image", "jpg", myEntity.getImage());

      but i don't have success with this, in my xhtml the rich:fileUpload don't show nothing. :(

      What could be wrong ?