0 Replies Latest reply on Mar 18, 2009 12:43 PM by B Bozhanov

    rich:fileUpload and myfaces orchestra

    B Bozhanov Newbie

      Hi,

      I'm trying to use <rich:fileupload with a managed bean declared with "conversation.access" (or "conversation.manual") access. Everything using annotations. The problem is that every event sent by the fileUpload component starts a new conversation, disregarding the existing one. So each new event is on a new instance of the managed bean, and the uploaded files are not stored in the uploadedData property. It works, however, if the bean is in session scope. It does not work in request-scope (logical, as each file creates a new ajax request).
      But the conversation.access / conversation.manual scopes are using the session.
      Is there a way to work this around?