Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ed Burns
Votes: 1
Watchers: 2

If you were logged in you would be able to see more operations.

Support JSR-276 metadata in standard components

Created: 15/Nov/10 07:06 PM   Updated: 08/Nov/13 09:15 PM
Component/s: Components/Renderers
Affects Version/s: 2.2 Sprint 8
Fix Version/s: None

Time Tracking:
Not Specified


Operating System: All
Platform: All

Issuezilla Id: 911
Status Whiteboard:

size_large importance_medium

Participants: Ed Burns

 Description  « Hide

Modify the spec for the standard JSF components to include JSR-276 metadata.

Ed Burns added a comment - 15/Nov/10 07:07 PM

This is from old CR 6204877:
The metadata format for a sun-faces-config.xml file includes the ability to
declare a <base-component-type> for a <component> definition, which can be used
by tools to inherit property metadata (and other information) from the base
component class. In standard-html-renderkit.xml, this facility is used, but
only for the concrete HTML component classes. It should also be used to reflect
the inheritance of the generic component classes. In particular, to document that:

  • UIInput is a subclass of UIOutput.
  • UISelectBoolean is a subclass of UIInput.
  • UISelectMany is a subclass of UIInput.
  • UISelectOne is a subclass of UIInput.

Without this, tools that want to analyze a third party component declaration
that extends UIInput will miss, for example, the fact that UIInput includes all
the ValueHolder properties (because of inheritance from UIOutput) as well as the
EditableValueHolder properties that it implements directly.

In particular, this has caused problems for Creator, which has code generators
that create component, BeanInfo, and tag classes (not just tag classes like the
RI has). 2004-12-07 02:38:51 GMT