Can you configure this to support dynamic trails
(n-level deep) such as you might find in a tree-like
structure?

Render a trail like this:
Languages / Java / Frameworks / Struts

Currently it would be hard-coded as such:
        Web page Title: crumbs tag example
        <br><br>
        <layout:crumbs styleClass="CRUMBS" separator="/">
                <layout:crumb key="crumbs.home" link="/index.do"/>
                <layout:crumb key="crumbs.languages" link="/languages.do"/>
                <layout:crumb key="crumbs.frameworks" link="/frameworks.do"/>
                <layout:crumb key="crumbs.struts"/>
        </layout:crumbs>
        <br>

If I stored categories of information in my database like this:

ID ParentID Category    Link
-- -------- ----------- --------------------------------------------
1  (null)   Languages   (null)
2  1        Java        (null)
3  1        C#          (null)
4  2        Frameworks  (null)
5  2        Struts      http://jakarta.apache.org/struts/index.html
6  2        Cocoon      http://xml.apache.org/cocoon/index.html



Then used nested beans in my ActionForm.....(Implementation of this is
usually done 11 different ways if you ask 10 different developers ;)

Is there any way to handle this dynamically so that if I changed data to
"insert" a new category, then I would NOT have to make code and/or
configuration changes?


JM





> -----Original Message-----
> From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
> Sent: Monday, May 06, 2002 1:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: breadcrumbs
>
>
> Subject: Re: breadcrumbs
> From: "Anand Jayaraman" <[EMAIL PROTECTED]>
>  ===
> Check this out
> http://struts.application-servers.com/crumbs.html
>
> "Charles Brault" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Is there a Struts compatible tag available for building a breadcrumb
> trail?
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to