Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.0-beta
-
None
-
None
-
facelets
Description
nesting setPropertyActionListener like this:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:test="http://j4fry.org/test"
xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
<h:form>
<test:button value="test">
<f:setPropertyActionListener value="test" target="#
</test:button>
#{myBean.test}
</h:form>
</body>
</html>
produces this error:
<f:setPropertyActionListener> Parent is not composite component or of type ActionSource, type is: javax.faces.component.html.HtmlForm@366ef7ba
When using this taglib.xml and tag from doc-root/META-INF:
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>http://j4fry.org/test</namespace>
<tag>
<tag-name>button</tag-name>
<source>button.xhtml</source>
</tag>
</facelet-taglib>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
<h:commandButton value="test">
<ui:insert />
</h:commandButton>
</ui:composition>
</html>
Attachments
Issue Links
- duplicates
-
MYFACES-2543 Facelets Taglib jars are not recognized
- Closed
- is a clone of
-
MYFACES-2521 Parent not composite component or an instance of ClientBehaviorHolder: javax.faces.component.UIViewRoot@19f5e3f
- Closed