2 Replies Latest reply on Feb 12, 2010 3:53 AM by mel r.

    Flash-check for rich:fileUpload, allowFlash-Attribute

    mel r. Newbie

      Hello,

       

      Just trying to set "allowFlash"-Attribute in my file upload component correctly:

      If Flash available --> true (to enable multiple pickup function), else --> false.

       

      Is it right, that this attribute can not be reset/ changed during runtime?

      My Flash-check currently does not always take place before initialization of <rich:fileUpload>.

       

      My solution was:

      Check Flash -> put TRUE/FALSE into boolean attribute of backing bean, with is set as Value for file upload component:

      allowFlash="#{fileUpload.flashAvailable}"

      Result:

      <rich:filUpload> always only gets the initialization value of backing bean attribute and keeps it, although value is changed after Flash check.

       

      Any information/ idea?