I'm trying to get the displayed breadcrumbs to accurately show the path
I followed to get to a (shared) page, but in order to support the
maximum number of links in the breadcrumbs, I see a problem when the
path requires fewer links. e.g.
> good: Application Server > Integration Applications > JBI
Components > Libraries > placeholder SL > jbi.xml
> bad: Application Server > Integration Applications > JBI
Deployments > > placeholder SA > jbi.xml
> s/b: Application Server > Integration Applications > JBI
Deployments > placeholder SA > jbi.xml
I include a .jsf page from four other .jsf pages, with breadcrumbs in
the included file. The "including" .jsf files set the text/link values
for the variable breadcrumbs. I've tried also setting a boolean in the
"including" .jsf files to use with a rendered attribute on the
not-always-needed breadcrumb hyperlink and I've tried setting the
text/link values to empty string when they are not needed, but I end up
with an extra ">" separator. (I've tried various things for the
argument of the rendered attribute; it appears that these don't evaluate
to false?)
What's the recommended jsftemplating "best practice" for expressing a
variable number of conditionally rendered subelements?
Is there a documented expression language that I can use and any example?
Regards,
Mike