faces icon indicating copy to clipboard operation
faces copied to clipboard

Provide abbreviated xmlns value for composite components

Open eclipse-faces-bot opened this issue 16 years ago • 13 comments

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]

eclipse-faces-bot avatar Dec 11 '09 12:12 eclipse-faces-bot

  • Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/695
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: Unassigned

eclipse-faces-bot avatar Aug 06 '19 07:08 eclipse-faces-bot

@glassfishrobot Commented Reported by @edburns

eclipse-faces-bot avatar Dec 11 '09 12:12 eclipse-faces-bot

@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"

eclipse-faces-bot avatar Dec 12 '09 09:12 eclipse-faces-bot

@glassfishrobot Commented mojavelinux said: Update target milestone to 2.1. Change subcomponent to Facelets/VDL

eclipse-faces-bot avatar Dec 18 '09 13:12 eclipse-faces-bot

@glassfishrobot Commented @edburns said: triage

eclipse-faces-bot avatar Jun 08 '10 12:06 eclipse-faces-bot

@glassfishrobot Commented @edburns said: GlassFish 3.1 M6 at the latest.

eclipse-faces-bot avatar Jun 24 '10 14:06 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Move these to M5

eclipse-faces-bot avatar Jun 24 '10 14:06 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Move these to 2.2

eclipse-faces-bot avatar Aug 30 '10 12:08 eclipse-faces-bot

@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.

eclipse-faces-bot avatar Feb 21 '12 21:02 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot avatar Aug 01 '14 14:08 eclipse-faces-bot

@glassfishrobot Commented @manfredriem said: Setting priority to Minor

eclipse-faces-bot avatar Aug 01 '14 16:08 eclipse-faces-bot

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-695

eclipse-faces-bot avatar May 05 '17 05:05 eclipse-faces-bot

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.html
  • jakarta.faces.core
  • jakarta.faces.facelets
  • jakarta.faces.passthrough
  • jakarta.tags.core
  • jakarta.tags.functions

@arjantijms , @BalusC , can you close this?

OndroMih avatar Mar 27 '23 06:03 OndroMih