[jboss-user] [JBoss Seam] - Breadcrumbs

gzoller do-not-reply at jboss.com
Tue May 15 16:33:13 EDT 2007


Hello,

I'm having some difficulty w/breadcrumbs.  I copied from the issues example and from the documentation.

My pages.xml file looks like this:

  | <!DOCTYPE pages PUBLIC
  |           "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
  |           "http://jboss.com/products/seam/pages-1.2.dtd">
  | 
  | <pages>
  | 	<page view-id="/home.xhtml">Home</page>
  | 	<page view-id="/Timezones.xhtml">World Time</page>
  | 	<page view-id="/Foo.xhtml">FooBar</page>
  | </pages>
  | 

In my nav area (where I want the breadcrumbs) I have code that looks like this:

  | 	<form>
  | 			<t:dataList value="#{conversationStack}" var="entry">
  |     			<h:outputText value=" | "/> 
  | 			    <t:commandLink value="#{entry.description}" action="#{entry.select}"/>
  | 			</t:dataList>
  | 	</form>
  | 
(Tomahawk is installed and working fine for my application.)

If I nav to path "Home | World Time | FooBar" I should see breadcrumbs accordingly.  Instead on FooBar page my breadcrumbs link shows only "World Time" (but not Home and no FooBar).  The value of the "World Time" link is FooBar (current page), which is wrong--should be the world time page.

Any ideas what I might be doing wrong?

Thanks,
Greg

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045941#4045941

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045941



More information about the jboss-user mailing list