Provide abbreviated xmlns value for composite components
Currently you have to say
xmlns:ez="http://java.sun.com/jsf/composite/ezcomp"
to declare that every XHTML file in resources/ezcomp should be treated as a composite component.
In addition to this, you can now say
xmlns:ez="jsf/cc/ezcomp"
to get the same effect.
Environment
Operating System: All Platform: Sun
Affected Versions
[2.0]
- Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/695
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: Unassigned
@glassfishrobot Commented Reported by @edburns
@glassfishrobot Commented driscoll said: Per Dan Allen:
Heck, while we are here, why don't we just do:
xmlns:f="jsf:core" xmlns:h="jsf:html" xmlns:ui="jsf:ui"
@glassfishrobot Commented mojavelinux said: Update target milestone to 2.1. Change subcomponent to Facelets/VDL
@glassfishrobot Commented @edburns said: triage
@glassfishrobot Commented @edburns said: GlassFish 3.1 M6 at the latest.
@glassfishrobot Commented @edburns said: Move these to M5
@glassfishrobot Commented @edburns said: Move these to 2.2
@glassfishrobot Commented tedgoddard said: Based on the implementation in com/sun/faces/facelets/tag/jsf/CompositeComponentTagLibrary.java, approximately 6 lines of code per namespace are required (and this is for the more complex case of the dynamic xmlns for composite components). The simplified namespaces do not look controversial, provided the old namespaces are still allowed thereby ensuring backwards compatibility.
@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
@glassfishrobot Commented @manfredriem said: Setting priority to Minor
@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-695
I think this is already resolved in Faces 4.0, with the following simplified namespaces:
jakarta.faces.composite, e.g. xmlns:ez="jakarta.faces.composite/ezcomp"jakarta.faces.htmljakarta.faces.corejakarta.faces.faceletsjakarta.faces.passthroughjakarta.tags.corejakarta.tags.functions
@arjantijms , @BalusC , can you close this?