This actually sounds like something that would do well inside
Application.onRequestStart, where it could "automatically" log the pages
instead of having to call it manually :)

Roland

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bill Rawlinson
Sent: Saturday, February 26, 2005 2:35 PM
To: [email protected]
Subject: [CFCDev] dynamic breadcrumb CFC

Yesterday I was rewriting an older procedural block of code that
manages/builds a dynamic breadcrumb.  The crumbs have all the
arguments (url and form) needed/possible attached to them so that you
can go backward into any kind of page that you may have passed
through.

It was written for CF5.  After I rewrote it and cleaned it up some I
thought it might be a useful CFC to have - though to be honest I
haven't had an application that needed it yet (else I would have done
it before).

Anway, I put it together today and it seems to work pretty well.  Does
anyone else need something like this? If so I guess I could document
it much more and then send it off to the CFCZone for inclusion.

I'd be happy to post the code here if anyone wants it.  I won't lie
and say it is the prettiest code ever.  But it isn't too bad either. 
It basically consists of a few public setters, one getter, and one
"activator" which actually builds the breadcrumb.  The component
returns a wddx packet or an array of structures (packet to save in
session/client variable and array for looping/display purposes).

I also have a small sample app that tests it outand shows it's usage.


If you would like to take a look at it - or think it might be useful
to you just let me know and I'll post the code back to the list as a
zip file attachment for you all to review/critique/analyze.


-- 
[EMAIL PROTECTED]
http://blog.rawlinson.us

I have 47! gmail invites,want one?

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to