<component id="homeLink2" copy-of="homeLink"/> On Nov 20, 2007 3:17 PM, #Cyrille37# <[EMAIL PROTECTED]> wrote: > Hello again, > > I could not find how to re-use component definition. > How can I do if I want to put a link at several places in the page ? > > For example there is a PageLink definition : > <component id="homeLink" type="PageLink" > > <binding name="page" value="Home" /> > </component> > > But I can't use it several times in the template : > > <a href="#" jwcid="homeLink">Home</a> > ... > <a href="#" jwcid="homeLink">Home</a> > > Because Tapestry is shooting "contains multiple references to embedded > component homeLink". > > What is the mechanism for re-using component definition ?? > > Cheers, > Cyrille. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]