-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
I'd like that in the breadcrumb the current selection will look different.
I did this adding to breadcrumb.java:
/**
- Name for the class of selected page
*/
private String cssActPage;
.....
if (this.link)
{
out.print("<a href=\""); //$NON-NLS-1$
out.print(request.getContextPath());
out.print(page.getHandle() + "." + Server.getDefaultExtension());
if (actpage.getHandle().equals(page.getHandle())) { out.print("\""); out.print(" class=\""); //$NON-NLS-1$ out.print(cssActPage); out.print("\""); out.print(">"); //$NON-NLS-1$ }else
{ out.print("\">"); //$NON-NLS-1$ }
}
.....
I added first an attribute to the tld:
....
<attribute>
<name>cssActPage</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>Class for active page</description>
</attribute>
.....
Acceptance criteria