You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephane Decleire <sd...@cariboo-networks.com> on 2006/10/02 11:59:15 UTC

Icons in a library

Hi All,

I've written a simple component that show a small icon next to the new 
elements in a page based on their postdate.
I've packaged this component in a library with the gif file for the icon.
Would anybody have an idea in order to keep this icon has a default one 
but to let the applications that use this component to set their own ones ?

Thanks in advance.

-- 
Stéphane Decleire



Re: Icons in a library

Posted by andyhot <an...@di.uoa.gr>.
Define a parameter that has as default-value your icon.

http://tapestry.apache.org/tapestry4/UsersGuide/spec.html#spec.parameter



Stephane Decleire wrote:
> Hi All,
>
> I've written a simple component that show a small icon next to the new
> elements in a page based on their postdate.
> I've packaged this component in a library with the gif file for the icon.
> Would anybody have an idea in order to keep this icon has a default
> one but to let the applications that use this component to set their
> own ones ?
>
> Thanks in advance.
>


-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org