Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF bread crumbs produces extra arrow  RSS feed

 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have the below JSF code which generates bread crumbs..



The issue is that one member of the bread crumb list is conditional (rendered="${run.run.campaign.type == 'COMPOSITE'}"). This is causing an extra redundant bread crumb arrow to appear when that condition is not present. Here is the HTML output....



Any suggestions?

Thanks in advance for any help.
 
Jehan Jaleel
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I figured it out. I just created another breadcrumb list and wrapped it with the conditional statement like below...

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!