Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.0.0.BETA
-
Fix Version/s: None
-
Component/s: Facelet Components
-
Labels:None
-
Environment:n/a
Description
The EE Composite Components are currently implemented using the Facelets 1.1/JSF 1.2 Template approach, rather than the newer JSF 2 Composite approach using <cc:interface> and <cc:implementation> Tags. Reimplementing the composite components with this newer approach could take advantage of many of the new features of composite interfaces, such as required attribute checking, default attributes, behaviours, facets, etc.
Issue Links
- blocks
-
IPCK-357 Reimplement Required Attribute Strategy for Composite Components
- Closed
Activity
Philip Breau
created issue -
Philip Breau
made changes -
Philip Breau
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Philip Breau
made changes -
Link | This issue duplicates IPCK-217 [ IPCK-217 ] |
Philip Breau
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
http://java.net/jira/browse/JAVASERVERFACES-2033
Bug in Mojarra prevents using composite components distributed in a separate jar with a custom namespace in Development mode. The following exception occurs:
javax.faces.view.facelets.TagException: /resources/myCC/layout.xhtml @13,16 <cc:interface> Component Not Found for identifier: body.getParent().
at com.sun.faces.facelets.tag.composite.InterfaceHandler.validateComponent(InterfaceHandler.java:135)
at com.sun.faces.facelets.tag.composite.InterfaceHandler.apply(InterfaceHandler.java:125)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:326)
at com.sun.faces.facelets.tag.UserTagHandler.apply(UserTagHandler.java:142)
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:188)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:769)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)