----- Original Message -----
From: "Robert Zeigler" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Thursday, September 21, 2006 9:10 PM
Subject: Re: Is breadcrumbs component hard in Tapestry?
I haven't made a breadcrumbs component in tapestry. But I have a comment on
implementation:
If it's possible that some (or all) pages in the trail need parameters (as
you mentioned), don't use page links or Direct Links at all; your pages
(at least all of the ones that might end up as a "crumb") probably ought
to implement the IExternalPage (or is it IExternal? I always forget...)
interface, do the setup based on the objectid (or whatever setup) in the
activateExternalPage method, and then your component can (should) use
ExternalLinks. This will keep your links much nicer, and the page setup
logic contained within the appropriate page.
Thanx Robert.
I also thought that it would maybe work with IExternal stuff because these
seem most similar to traditional action-based aproach. Listener method would
be a little uglier though.
-Vjeran
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]