rich:fileupload inside rich:modalpanel doesnt send uploadcomplete event
        Posted  
        
            by Ben
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ben
        
        
        
        Published on 2010-05-31T08:43:32Z
        Indexed on 
            2010/05/31
            9:22 UTC
        
        
        Read the original article
        Hit count: 1538
        
I'm trying to use the rich:fileupload from inside a rich:modalpanel component. The problem is that, when inside modalpanel, fileupload doesn't doesnt start the fileuploadeventlistener method.
The same fileupload component works fine outside of modalpanel. (Although it doesn't rerender the components I ask it to, but that's another topic.)
I could find this issue and similar ones on search for "fileupload modalpanel" but no answers.
My code is added from a backing bean, but this illustrates it:
<a4j:form id="overlayForm">
  <rich:modalPanel>
    <rich:fileupload fileuploadeventlistener="#{mrBean.uploadCompleteListener}"/>
  </rich:modalPanel>
</a4j:form>
© Stack Overflow or respective owner