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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: