portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags PortletTreeControlTag.java
Date Fri, 28 Jan 2005 02:51:39 GMT
jford       2005/01/27 18:51:39

  Modified:    taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags
                        PortletTreeControlTag.java
  Log:
  Add an anchor so that you can return to the last node clicked
  
  Revision  Changes    Path
  1.6       +6 -0      jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java
  
  Index: PortletTreeControlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PortletTreeControlTag.java	23 Jan 2005 21:57:50 -0000	1.5
  +++ PortletTreeControlTag.java	28 Jan 2005 02:51:39 -0000	1.6
  @@ -173,6 +173,12 @@
   //            encodeURL(updateTreeAction);
   
           out.print("    <td>");
  +        
  +		//add an anchor so that we can return to this node
  +        out.print("<a name=\"");
  +        out.print(node.getName());
  +        out.print("\">");
  +        
           if ((action != null) && !node.isLeaf()) {
               out.print("<a href=\"");
               out.print(response.encodeURL(treeAction));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message