You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by stanlick <st...@gmail.com> on 2007/09/24 21:47:04 UTC
Breadcrumbs
I am writing a Breadcrumbs utility and have a question about how to easily
get the current request in a format that could be wrapped in an URL. Is
there a quick way to do this given a TilesRequestContext reference?
Scott
--
View this message in context: http://www.nabble.com/Breadcrumbs-tf4511352.html#a12866905
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Breadcrumbs
Posted by st...@gmail.com.
Thanks Brian --
I wanted it be automatic and work easily with Struts 2. After probing and
searching, I realized there was no such animal so I wrote a plug-in. This
was a testament to just how flexible the Struts 2 framework really is! I
wrote a Bread Crumb interceptor with only a few lines of code and added it
to the stack. After playing with it for awhile, I added several ways to
configure it with XML (at the interceptor level) to specify exactly how a
web site might like this feature to work.
I loved Struts 2 before and now I would marry it!
Scott
Re: Breadcrumbs
Posted by Brian Trzupek <bt...@mac.com>.
Try this one out, we are using it very successfully.
Trail Taglin
http://www.osjava.org/trail-taglib/index.html
brian-
On Sep 25, 2007, at 5:53 AM, stanlick@gmail.com wrote:
> Can you tell me if Struts 2 has a facility for breadcrumbs?
>
> On 9/25/07, Antonio Petrelli <an...@gmail.com> wrote:
>>
>> 2007/9/24, stanlick <st...@gmail.com>:
>>>
>>>
>>> I am writing a Breadcrumbs utility and have a question about how to
>> easily
>>> get the current request in a format that could be wrapped in an
>>> URL. Is
>>> there a quick way to do this given a TilesRequestContext reference?
>>
>>
>>
>> If it is a Tiles-related question, please post it at Tiles Users
>> mailing
>> list:
>> http://tiles.apache.org/mail.html
>>
>> Antonio
>>
>
>
>
> --
> Scott
> stanlick@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Breadcrumbs
Posted by cilquirm <aa...@gmail.com>.
Nope, since IAs and sitemaps are very site specific.
Java does, tho. It's called java.util.Stack ( or at your leisure,
commons-collections has ArrayStack )
:-)
-a
stanlick wrote:
>
> Can you tell me if Struts 2 has a facility for breadcrumbs?
>
> On 9/25/07, Antonio Petrelli <an...@gmail.com> wrote:
>>
>> 2007/9/24, stanlick <st...@gmail.com>:
>> >
>> >
>> > I am writing a Breadcrumbs utility and have a question about how to
>> easily
>> > get the current request in a format that could be wrapped in an URL.
>> Is
>> > there a quick way to do this given a TilesRequestContext reference?
>>
>>
>>
>> If it is a Tiles-related question, please post it at Tiles Users mailing
>> list:
>> http://tiles.apache.org/mail.html
>>
>> Antonio
>>
>
>
>
> --
> Scott
> stanlick@gmail.com
>
>
--
View this message in context: http://www.nabble.com/Breadcrumbs-tf4511352.html#a12882714
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Breadcrumbs
Posted by st...@gmail.com.
Can you tell me if Struts 2 has a facility for breadcrumbs?
On 9/25/07, Antonio Petrelli <an...@gmail.com> wrote:
>
> 2007/9/24, stanlick <st...@gmail.com>:
> >
> >
> > I am writing a Breadcrumbs utility and have a question about how to
> easily
> > get the current request in a format that could be wrapped in an URL. Is
> > there a quick way to do this given a TilesRequestContext reference?
>
>
>
> If it is a Tiles-related question, please post it at Tiles Users mailing
> list:
> http://tiles.apache.org/mail.html
>
> Antonio
>
--
Scott
stanlick@gmail.com
Re: Breadcrumbs
Posted by Antonio Petrelli <an...@gmail.com>.
2007/9/24, stanlick <st...@gmail.com>:
>
>
> I am writing a Breadcrumbs utility and have a question about how to easily
> get the current request in a format that could be wrapped in an URL. Is
> there a quick way to do this given a TilesRequestContext reference?
If it is a Tiles-related question, please post it at Tiles Users mailing
list:
http://tiles.apache.org/mail.html
Antonio