3 Replies Latest reply on Mar 19, 2010 8:11 AM by Ilya Shaikovsky

    rich FileUpload and reRender

    Bostian T Newbie
       <rich:fileUpload ajaxSingle="true" noDuplicate="true" immediate="true"  
                               maxFilesQuantity="1" id="upload" addControlLabel="Add"  
                               immediateUpload="true" acceptedTypes="jpg, gif, png, bmp" clearControlLabel="Clean"   
                               listHeight="62" listWidth="200"  
                               <a4j:support event="onuploadcomplete" reRender="adminForm" />  
            <a4j:mediaOutput element="img" cacheable="false"  
                              session="false" style="width:250px; align:center;"  
                             createContent="#{bean.getTemplateImage}" />    



      When i upload picture for the first time, mediaOutput load this picture, but when i upload new picture, it doesnt rerender. If i refresh site, then i see new picture. What am i doing wrong?