Volodymyr Siedlecki created MYFACES-4686:
--------------------------------------------

             Summary: ComponentNotFoundException for Included Facelets 
(MYFACES-4624 Regression)
                 Key: MYFACES-4686
                 URL: https://issues.apache.org/jira/browse/MYFACES-4686
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.1.0-RC2, 4.0.2, 2.3.11, 2.3-next-M9
            Reporter: Volodymyr Siedlecki


 

There's a regression caused by 
https://issues.apache.org/jira/browse/MYFACES-4624

If you reference a component from another page, it will also fail to be 
resolved.

a.xhtml
{code:java}
...
<f:ajax render="test" />
...

<ui:define name="include_b">
  <ui:include src="b.xhtml"></ui:include>
</ui:define>{code}
b.xhtml
{code:java}
<ui:composition xmlns="http://www.w3.org/1999/xhtml";
xmlns:h="jakarta.faces.html"
xmlns:ui="jakarta.faces.facelets">
<h:form id="test">
Hello
</h:form>
</ui:composition>{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to