ICEfaces
  1. ICEfaces
  2. ICE-10110

Modify ace:fileEntry's resource handler to read the configured value from the component instance

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.BETA
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      server
    • Assignee Priority:
      P3

      Description

      Modify ace:fileEntry's resource handler to read the configured value from the component instance thus ensuring that the up to date values are used.
      Currently FileEntryConfig instance is used to copy component's attributes and then share it through the session with the component's resource handler.

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Fix Version/s 4.1 [ 11375 ]
        Mircea Toma made changes -
        Affects Version/s 4.0.BETA [ 10770 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.1 [ 11375 ]
        Assignee Priority P3 [ 10012 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42081 Wed Aug 06 17:41:14 MDT 2014 mircea.toma ICE-10110 Converted ace:fileEntry's resource handler into a phase listener so that the component instance is available during upload for querying the configured attributes. Removed FileEntryConfig class and the methods that were using it.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java
        Commit graph ADD /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryUpload.java
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryResourceHandler.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryConfig.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileUploadPortletRequestWrapper.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42082 Wed Aug 06 17:43:26 MDT 2014 mircea.toma ICE-10110 Converted ace:fileEntry's resource handler into a phase listener so that the component instance is available during upload for querying the configured attributes. Removed FileEntryConfig class and the methods that were using it.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
        Hide
        Mircea Toma added a comment - - edited

        Converted ace:fileEntry's resource handler (which never really acted as a resource handler) into a phase listener so that the component instance is available during upload for querying the configured attributes. Removed FileEntryConfig class and the methods that were using it.

        Show
        Mircea Toma added a comment - - edited Converted ace:fileEntry's resource handler (which never really acted as a resource handler) into a phase listener so that the component instance is available during upload for querying the configured attributes. Removed FileEntryConfig class and the methods that were using it.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Krashan Brahmanjara added a comment -

        This solution is not backward compatibile. I got forms with multiple FileEntry , each with separate fileEntryListener and only first fileEntryListener is called now.

        Show
        Krashan Brahmanjara added a comment - This solution is not backward compatibile. I got forms with multiple FileEntry , each with separate fileEntryListener and only first fileEntryListener is called now.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: