jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Trail taglib
Date Sat, 06 Mar 2004 21:49:53 GMT

Have just written a new taglib for creating dynamic breadcrumbs called
Trail taglib. [Many thanks to Craig/Struts list for helping with queries].

Basic approach is that pages push themselves onto a trail-stack, and
a normalized version is maintained for showing on a page. ie)

<trail:push label="List Categories"/> <!-- optional uri attribute -->
<trail:list delimiter=" -&gt; "/><br/>

In addition to the normalized user version, a full trail is also
maintained, which could be emailed or stored instead of access logs on
session expiry.

Normalization occurs whenever an element is repeated in a trail, its
http-referer is repeated in a trail [ie sneaky users used the back button]
or possibly when the trail:pop tag is used, though I've not had a need to
use that yet.

Anyway, I've two options:

1) Release on OsJava and offer to Jakarta Taglibs later.
2) Put in the Jakarta Taglibs sandbox.

Any views?

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message