ICEfaces
  1. ICEfaces
  2. ICE-11353

put full path to ColorEntry with package name for @MandatoryResource annotation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.2.0.GA
    • Fix Version/s: 4.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace

      Description

      Color Entry fix in Renderer code:-
      @MandatoryResourceComponent(tagName="colorEntry", value="ColorEntry")
      should be
      @MandatoryResourceComponent(tagName="accordion", value="org.icefaces.ace.component.colorentry.ColorEntry")

      When using tomcat 8.5 and java 8, the following warning appears with 4.2.0-EE:-
      org.icefaces.impl.event.MandatoryResourcesSetup addMandatoryResources
      WARNING: When processing mandatory resource components, could not create instance of 'ColorEntry'

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Judy Guglielmin [ judy.guglielmin ]
        Judy Guglielmin made changes -
        Description Color Entry fix in Renderer code:-
        @MandatoryResourceComponent(tagName="colorEntry", value="ColorEntry")
        @MandatoryResourceComponent(tagName="accordion", value="org.icefaces.ace.component.accordion.Accordion")

        remove reference to Accordion and replace with colorEntry as should be
        Color Entry fix in Renderer code:-
        @MandatoryResourceComponent(tagName="colorEntry", value="ColorEntry")
        should be
        @MandatoryResourceComponent(tagName="accordion", value="org.icefaces.ace.component.colorentry.ColorEntry")

        When using tomcat 8.5 and java 8, the following warning appears with 4.2.0-EE:-
        org.icefaces.impl.event.MandatoryResourcesSetup addMandatoryResources
        WARNING: When processing mandatory resource components, could not create instance of 'ColorEntry'
        Hide
        Judy Guglielmin added a comment -

        rev 51827

        Show
        Judy Guglielmin added a comment - rev 51827
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Judy Guglielmin made changes -
        Summary remove reference to mandatory resource of Accordion in ColorEntry put full path to ColorEntry with package name for @MandatoryResource annotation
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51827 Fri Aug 11 15:23:14 MDT 2017 judy.guglielmin ICE-11353
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/colorentry/ColorEntryRenderer.java
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r51830. Tomcat 8.5.5

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r51830. Tomcat 8.5.5
        Ken Fyten made changes -
        Fix Version/s 4.3 [ 13096 ]
        Hide
        Arturo Zambrano added a comment -

        This issue is failing on MyFaces. There's a Javascript error when activating the checkbox, and the component cannot be loaded on the page.

        Show
        Arturo Zambrano added a comment - This issue is failing on MyFaces. There's a Javascript error when activating the checkbox, and the component cannot be loaded on the page.
        Arturo Zambrano made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Arturo Zambrano added a comment - - edited

        After closer investigation, the issue on Myfaces is not particular to ColorEntry. In the test case, the response contains the resources required by ColorEntry. The issue also occurs without ColorEntry in the markup. The issue seems to be more general and having to do with the technique used by the test case to load content dynamically, via an <ui:include/> tag.

        Closing this JIRA again.

        UPDATE: The issue was caused simply because the xhtml document loaded via <ui:include/> had its own form, which resulted in having nested forms on the page, and that causes errors on Myfaces.

        Show
        Arturo Zambrano added a comment - - edited After closer investigation, the issue on Myfaces is not particular to ColorEntry. In the test case, the response contains the resources required by ColorEntry. The issue also occurs without ColorEntry in the markup. The issue seems to be more general and having to do with the technique used by the test case to load content dynamically, via an <ui:include/> tag. Closing this JIRA again. UPDATE: The issue was caused simply because the xhtml document loaded via <ui:include/> had its own form, which resulted in having nested forms on the page, and that causes errors on Myfaces.
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: