4 Replies Latest reply on Oct 30, 2008 3:04 PM by Bart DP


    Bart DP Newbie

      Hi all,

      I've read some issues about the breadcrumbs and also the seam documentatin, but it is not clear to me. :-(
      I have a little application where I want to show these things.
      Home page, overview products and add/edit product.

      (Home | Overview | Add)

      If I use


      in my xhtml page, I only get the link.
      Can someone help me with this?


        • 1. Re: Breadcrumbs
          Bart DP Newbie

          I put these lines as help:

          <ice:outputText value="#{conversation.viewId} | "/>
          <ice:outputText value="#{conversation.description} | "/>
          <ice:outputText value="#{facesContext.externalContext.requestParameterMap.keySet()} | "/>
          <ice:outputText value="#{conversationStack.size()}"/>

          conversationStack size is 0, and with the keyset I can see the parameters in the request.

          I want a seam solution for breadcrumbs, is this possible?

          • 2. Re: Breadcrumbs
            Ingo Jobling Master

            According to the reference documentation, Breadcrumbs are useful in applications which use a nested conversation model

            So I think you need something like

            <page view-id="/myPage.xhtml">
                <begin-conversation nested="true" />

            • 3. Re: Breadcrumbs
              Bart DP Newbie

              I use the following code in my pages.xml:

              <page view-id="/login.xhtml">
                  <rule if="#{identity.loggedIn}">
                    <begin-conversation nested="true" />
                      <redirect view-id="/home.xhtml"/>
              <page view-id="*">
                <navigation from-action="#{identity.logout}">
                  <rule if-outcome="logout">
                    <end-conversation />
                      <redirect view-id="/login/loginPage.xhtml"/>

              But where do I have to create my list of links and how exactly can I do this?

              • 4. Re: Breadcrumbs
                Bart DP Newbie

                a little error in my previous post, the redirect for the logout is:

                <redirect view-id="/login.xhtml"/>