You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nhhockeyplayer nashua <nh...@hotmail.com> on 2014/03/08 18:12:03 UTC
Re : Use cases for the "any" component
I have had good luck animating structural fluff for the stuff using Any and having a custom component under the hood.
<a href="#" model="currentObject">
<t:pagelink t:page="Edit" context="editPageContext">
<t:Any t:id="imageComponentId" id="imageComponentId" >
<img
id="ImageWidget" src="${photoLink}" alt="${currentObject}" width="200" height="160"
title="${currentObject.photo.fileName}"
model="currentObject"
image="${photoLink}"
/>
</t:Any>
</t:pagelink>
</a>