[jsr-314-open] #{compositeComponent.attrs....}

Martin Marinschek mmarinschek at APACHE.ORG
Mon Apr 13 01:00:11 EDT 2009


Hi,

>As I've mentioned when this has come up in the
> past, my preferred solution would be to give the composite component
> author the ability to define their own name/alias for
> "compositeComponent.attrs" object (similar to the h:dataTable "var"
> attribute).  So, something like:
>
>   <composite:implementation attributesVar="a">
>     <h:graphicImage style="border: none" value="#{a.image}"/>
>   </composite:implementation>

I second Andy's suggestion. My +1 for this approach.

regards,

Martin




More information about the jsr-314-open-mirror mailing list