>>>> On Mon, 23 Aug 2010 18:44:12 -0700, Ed Burns
<edward.burns(a)oracle.com> said:
EB>
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1782
EB> The proposed solution is to enhance the composite component metadata
EB> specification to include information about the list of composite
EB> component attributes for which default attribute values have been
EB> declared.
EB> This information is used in the Facelets tag layer in the code that
EB> installs the ValueExpression for any child attributes in the using page.
EB> In this case, the MetadataHandler manually removes the attribute from
EB> the attributes map if there is a ValueExpression for an attribute for
EB> which there also is a composite component attribute.
EB> SECTION: Modified Files
EB> ----------------------------
EB> M Spec section 3.6.2.1 Composite Component Metadata
EB> Add a new paragraph at the end of the section, which would fall under
EB> the bullet that describes the runtime representation of the
EB> <cc:attribute> element.
EB> The composite component BeanDescriptior must return a
EB> Collection<String> when its getValue() method is called with an
EB> argument equal to the value of the symbolic constant
EB> UIComponent.ATTRS_WITH_DECLARED_DEFAULT_VALUES. The
EB> Collection<String> must contain the names of any <cc:attribute>
EB> elements for which the default attribute was specified, or null, if
EB> none of the attributes have been given a default value.
I have committed this change.
Ed
--
| edward.burns(a)oracle.com | office: +1 407 458 0017
| homepage: |
http://ridingthecrest.com/
| 9 work days until JSF 2.1 Milestone 5