This content has been marked as final.
Show 4 replies
-
1. Re: Breadcrumbs
bartdp Oct 29, 2008 5:36 PM (in response to bartdp)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
joblini Oct 30, 2008 2:34 AM (in response to bartdp)According to the reference documentation,
Breadcrumbs are useful in applications which use a nested conversation model
BreadcrumbsSo I think you need something like
<page view-id="/myPage.xhtml"> <begin-conversation nested="true" /> </page>
-
3. Re: Breadcrumbs
bartdp Oct 30, 2008 3:02 PM (in response to bartdp)I use the following code in my pages.xml:
<page view-id="/login.xhtml"> <navigation> <rule if="#{identity.loggedIn}"> <begin-conversation nested="true" /> <redirect view-id="/home.xhtml"/> </rule> </navigation> </page> <page view-id="*"> <navigation from-action="#{identity.logout}"> <rule if-outcome="logout"> <end-conversation /> <redirect view-id="/login/loginPage.xhtml"/> </rule> </navigation> ...
But where do I have to create my list of links and how exactly can I do this?
-
4. Re: Breadcrumbs
bartdp Oct 30, 2008 3:04 PM (in response to bartdp)a little error in my previous post, the redirect for the logout is:
<redirect view-id="/login.xhtml"/>