ICEfaces
  1. ICEfaces
  2. ICE-7437

Enhance mandatoryResource configuration to use component tag-names

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Labels:
      None
    • Environment:
      ICEfaces 2.1
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Currently, when using the mandatoryResource configuration it is necessary for application developers to list each component to be preloaded by entering the complete component Java package for the component class. This is inconvenient and error-prone.

      This improvement is to add support for optionally listing components inside a mandatoryResource configuration using just the component's tag name, such as "ace:dateTimeEntry ace:tabSet" etc. This will be much more convenient for application developers to use.

      Note that in addition to the ACE components, the ice:inputRichText component is also now a mandatoryResource enabled component and will need to be updated as part of this work.

        Activity

        Hide
        Mark Collette added a comment -

        We'll just specify the tag name right in the @MandatoryResourceComponent annotation, and modify the code that processes them to double register it, by both the full component name and the tag name,

        Show
        Mark Collette added a comment - We'll just specify the tag name right in the @MandatoryResourceComponent annotation, and modify the code that processes them to double register it, by both the full component name and the tag name,
        Hide
        Mark Collette added a comment -

        Modified every use of @MandatoryResourceComponent, in ACE and compat, to specify the tag name a well as the component name. Then modified the core processing code to match on either.

        While doing this, I inadvertently audited the ACE components, and found some minor issues.

        I then searched for all wiki documentation concerning @MandatoryResourceComponent, the mandatoryResourceConfiguration context-param, and the icecore:config mandatoryResource attribute, and updated them to both explain the new syntax, as well as to clarify the differences between ICEfaces 2.0 and 2.1 behaviours.

        trunk
        Subversion 26484

        Show
        Mark Collette added a comment - Modified every use of @MandatoryResourceComponent, in ACE and compat, to specify the tag name a well as the component name. Then modified the core processing code to match on either. While doing this, I inadvertently audited the ACE components, and found some minor issues. I then searched for all wiki documentation concerning @MandatoryResourceComponent, the mandatoryResourceConfiguration context-param, and the icecore:config mandatoryResource attribute, and updated them to both explain the new syntax, as well as to clarify the differences between ICEfaces 2.0 and 2.1 behaviours. trunk Subversion 26484

          People

          • Assignee:
            Mark Collette
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: