You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kent Tong <ke...@cpttm.org.mo> on 2005/11/03 15:37:30 UTC
Re: Border and global-assets
Jason Suplizio <suplizio <at> gmail.com> writes:
> My problem these assets are not visible to component's referencing the
> <at> Border's defined assets:
>
> <component id="membersTableColumns" type="Contrib:TableColumns">
> <binding name="arrowUpAsset" value="asset:upArrow"/>
> </component>
Try:
<component id="border" type="Border"/>
<component id="membersTableColumns" type="Contrib:TableColumns">
<binding name="arrowUpAsset" value="components.border.assets.upArrow"/>
</component>
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Border and global-assets
Posted by Kent Tong <ke...@cpttm.org.mo>.
Jason Suplizio <suplizio <at> gmail.com> writes:
> Thanks! This worked. Where is this covered in your book? (for future
> reference)
The assets map is on page 218. The components map is on page 228.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Border and global-assets
Posted by Jason Suplizio <su...@gmail.com>.
Thanks! This worked. Where is this covered in your book? (for future
reference)
Jason
On 11/3/05, Kent Tong <ke...@cpttm.org.mo> wrote:
>
> Jason Suplizio <suplizio <at> gmail.com <http://gmail.com>> writes:
>
> > My problem these assets are not visible to component's referencing the
> > <at> Border's defined assets:
> >
> > <component id="membersTableColumns" type="Contrib:TableColumns">
> > <binding name="arrowUpAsset" value="asset:upArrow"/>
> > </component>
>
> Try:
> <component id="border" type="Border"/>
> <component id="membersTableColumns" type="Contrib:TableColumns">
> <binding name="arrowUpAsset" value="components.border.assets.upArrow"/>
> </component>
>
> --
> Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>