Mark Collette wrote:
> Ryan Lubke wrote:
>
>> Mark Collette wrote:
>>
>>> I mostly use JSF 1.1, so I might be off with the ValueExpression
>>> stuff here, but I believe that using both
>>> UIComponent.getAttributes.get("label") and
>>> UIComponent.getValueExpression("label") does have some validity.
>>> It's really only when a UIComponent has an attribute getter method,
>>> that by convention will access the local field and the
>>> ValueExpression, that the UIComponent.getAttributes.get() will be
>>> sufficient. If there is no getter method, the one would have to do
>>> both calls.
>>
>> I may be missing something here, but I don't see the value of a
>> getAttributes() and a getValueExpression(). getAttributes().get()
>> will check the the PropertyDescriptors for the component, the
>> internal attributes, and value expressions.
>
>
> Ahh yes, perfect, UIComponentBase.AttributesMap.get(Object) checks the
> ValueExpression :)
>
> Should I still file a bug report, or will you, with your code change
> idea?
Would you mind filing the report so it doesn't get lost?
>
>
> - Mark Collette
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>