Hi Andy,
Am 12.03.2013 um 19:11 schrieb Andy Schwartz <andy.schwartz_at_oracle.com>:
> I just realized that I completely misunderstood this:
>
>> + * <p>If no matching entry is found, let
>> + * {_at_code jsf:element} be the value of <strong>targetTag</strong></p>
>
> The "jsf:element" bit doesn't refer to an attribute like:
>
>> <button jsf:element="af:commandButton">
>
> But the tag name, eg:
>
> <jsf:element id="foo"/>
>
> Hrm.
>
> I'll need to keep reading, but very much wondering now whether there is any way to manually map a pass through element to a non-standard (eg. ADF/Prime/Ice/Rich) tag.
We decided to do this only for the standard h:* tags, because usually the generated markup of component libraries is more than one HTML tag for a facelets tag. So there is not really a one to one mapping. Maybe we should introduce a factory in 2.3.
On the other hand, you can still use a tag decorator to convert e.g. h:commandButton to af:commandButton.
> On 3/12/13 1:29 PM, Andy Schwartz wrote:
>>
>> Overall I think that the TagDecorator approach is very clever. (Nice work Frank and Ed!)
Thank you ;-)
Ciao Frank