ICEfaces
  1. ICEfaces
  2. ICE-4456

no page refresh is done after a file upload on firefox

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      FF 3.0.10
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      set the submitOnUpload attribute of the inputFile tag to "postUpload".
      That updates the page.
      But ice:messages still not works because the page update is done in another request
      Show
      set the submitOnUpload attribute of the inputFile tag to "postUpload". That updates the page. But ice:messages still not works because the page update is done in another request

      Description

      The file upload itself works, i.e. the file is available in the actionListener.
      But the page is not refreshed, any changes in backing beans are not shown in the browser, although it seams the the getters are called correctly.
      Also, the progress bar is not updated and stays at 0%

      This does not happen on IE7 and Chrome. There everything works fine.

      The problem appears also in the component showcase I built locally from the sources.
      But on the icefaces website, the component showcase works... What's the difference?

        Activity

        Hide
        Ken Fyten added a comment -

        Stefen, can you attach a simple test case that illustrates the issue you are seeing? Or a set of detailed instructions on how to reproduce using the std. comp. showcase demo (which variety, jsp, facelets, facelets-enh)?

        Show
        Ken Fyten added a comment - Stefen, can you attach a simple test case that illustrates the issue you are seeing? Or a set of detailed instructions on how to reproduce using the std. comp. showcase demo (which variety, jsp, facelets, facelets-enh)?
        Hide
        Stefan Niederhauser added a comment - - edited

        I made a simple test case. This worked ok.
        The problem occurs only in the more complex project and the comp showcase.

        For the comp showcase, I checked out 1.8.0 as well as the trunk (revision 18843), and executed ant in the core and the component directory and all three versions of the showcase (jsp,facelets,facelets-enh).
        The resulting war was copied to webapps directory of tomcat 6.0.18.
        I also tried to replace the icefaces.jar and icefaces-comps.jar in WEB-INF/lib with the official version downloaded from icefaces.org

        But the result was always the same: IE/Chrome ok, FF no page refresh

        Show
        Stefan Niederhauser added a comment - - edited I made a simple test case. This worked ok. The problem occurs only in the more complex project and the comp showcase. For the comp showcase, I checked out 1.8.0 as well as the trunk (revision 18843), and executed ant in the core and the component directory and all three versions of the showcase (jsp,facelets,facelets-enh). The resulting war was copied to webapps directory of tomcat 6.0.18. I also tried to replace the icefaces.jar and icefaces-comps.jar in WEB-INF/lib with the official version downloaded from icefaces.org But the result was always the same: IE/Chrome ok, FF no page refresh
        Hide
        Mark Collette added a comment -

        I'm using Firefox 3.0.9, I can't find a version 3.0.10. I set submitOnUpload="postUpload" in my component-showcase source, and uploaded files of various size, from very small to several megabytes large. I could not reproduce the issue.

        Can you please verify whether you issue is because of: ICE-4474

        Show
        Mark Collette added a comment - I'm using Firefox 3.0.9, I can't find a version 3.0.10. I set submitOnUpload="postUpload" in my component-showcase source, and uploaded files of various size, from very small to several megabytes large. I could not reproduce the issue. Can you please verify whether you issue is because of: ICE-4474
        Hide
        Stefan Niederhauser added a comment -

        The issue was that it didn't work with submitOnUpload="none".
        submitOnUpload="postUpload" was a workaround, but then h:message tags didn't work.

        But today, everything works perfectly. I'm not able to reproduce it...
        It's really strange, maybe something with my FF...

        I think you can close this issue.
        Sorry for taking your time.

        Show
        Stefan Niederhauser added a comment - The issue was that it didn't work with submitOnUpload="none". submitOnUpload="postUpload" was a workaround, but then h:message tags didn't work. But today, everything works perfectly. I'm not able to reproduce it... It's really strange, maybe something with my FF... I think you can close this issue. Sorry for taking your time.

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefan Niederhauser
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: