Author: chris.laprun(a)jboss.com
Date: 2011-08-09 04:05:23 -0400 (Tue, 09 Aug 2011)
New Revision: 7017
Modified:
portal/branches/api/examples/portlets/api/src/main/java/org/gatein/portal/samples/api/NavigationPortlet.java
Log:
- Minor improvements to make it more obvious that there are links that can be clicked.
Modified:
portal/branches/api/examples/portlets/api/src/main/java/org/gatein/portal/samples/api/NavigationPortlet.java
===================================================================
---
portal/branches/api/examples/portlets/api/src/main/java/org/gatein/portal/samples/api/NavigationPortlet.java 2011-08-09
07:12:55 UTC (rev 7016)
+++
portal/branches/api/examples/portlets/api/src/main/java/org/gatein/portal/samples/api/NavigationPortlet.java 2011-08-09
08:05:23 UTC (rev 7017)
@@ -96,7 +96,7 @@
int size = children.size();
boolean isLeaf = size == 0;
writer.println("<li>"
- + (isLeaf ? "<a href='" + node.getURI() + "'>"
: "")
+ + (isLeaf ? "<a style='font-weight: bold; text-decoration:
underline; color: #c6efcf;' href='" + node.getURI() + "'>" :
"")
+ node.getDisplayName()
+ (isLeaf ? "</a>" : "")
+ "</li>");
Show replies by date