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

        Hide
        Judy Guglielmin added a comment -

        rev 51827

        Show
        Judy Guglielmin added a comment - rev 51827
        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
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: