ICEfaces
  1. ICEfaces
  2. ICE-1601

<ice:inputFile/> does not set the "file" or "fileInfo" attributes via ValueBinding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 5.5.17 / Liferay 4.3.0 (pre-release)

      Description

      The following markup was inspired by the ICEfaces inputFile tutorial, found here: http://facestutorials.icefaces.org/tutorial/inputFile-tutorial.html

      Which shows that you can bind the "file" attribute of the <ice:inputFile/> component to a bean property:

                              <ice:inputFile
                                  id="inputFile1" action="#{MyBean.action}" actionListener="#{MyBean.actionListener}"
                                  binding="#{MyBean.inputFile}" buttonClass="my-inputfile" file="#{MyBean.file}"
                                  label="#{MyMsgs.uploadResume}"
                                  progressListener="#{MyBean.progressListener}" styleClass="my-inputfile"/>

      However, the value binding on the "file" and "fileInfo" attributes are not setup right, because the bean's setFile() method is not called. Although I don't show "fileInfo" attribute in this example, I strongly suspect that a setFileInfo() bean method would not get called either.


      Neil

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15240 Fri Nov 23 10:53:15 MST 2007 mark.collette ICE-1601 : <ice:inputFile/> does not set the "file" or "fileInfo" attributes via ValueBinding
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/src/com/icesoft/icefaces/samples/showcase/components/fileUpload/InputFileBean.java
        Commit graph MODIFY /icefaces/trunk/icefaces/samples/component-showcase/web/inc/components/inputFile.jspx
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #13965 Thu May 24 09:46:40 MDT 2007 mark.collette ICE-1601 : <ice:inputFile/> does not set the "file" or "fileInfo" attributes via ValueBinding
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #13947 Tue May 22 16:41:39 MDT 2007 mark.collette ICE-1601 : <ice:inputFile/> does not set the "file" or "fileInfo" attributes via ValueBinding
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: