Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.2.0.GA
-
Fix Version/s: 4.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ace
-
Support Case References:Support Case 14176:- https://icesoft.my.salesforce.com/5000g00001lraWA
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'
@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'
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.