You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2005/03/30 09:41:58 UTC

cvs commit: incubator-myfaces/src/components/org/apache/myfaces/custom/tree HtmlTree.java

matzew      2005/03/29 23:41:58

  Modified:    src/components/org/apache/myfaces/custom/tree HtmlTree.java
  Log:
  closed MYFACES-139. Thanks to Mathias Broekelmann
  
  Revision  Changes    Path
  1.31      +5 -2      incubator-myfaces/src/components/org/apache/myfaces/custom/tree/HtmlTree.java
  
  Index: HtmlTree.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/components/org/apache/myfaces/custom/tree/HtmlTree.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- HtmlTree.java	11 Feb 2005 00:54:02 -0000	1.30
  +++ HtmlTree.java	30 Mar 2005 07:41:58 -0000	1.31
  @@ -50,6 +50,9 @@
    * @version $Revision$ $Date$
    *          <p/>
    *          $Log$
  + *          Revision 1.31  2005/03/30 07:41:58  matzew
  + *          closed MYFACES-139. Thanks to Mathias Broekelmann
  + *
    *          Revision 1.30  2005/02/11 00:54:02  svieujot
    *          Revert changes commited to the wrong branch.
    *
  @@ -150,7 +153,7 @@
   
       public String createUniqueId(FacesContext context)
       {
  -        return getClientId(context) + "_node_" + uniqueIdCounter++;
  +        return getClientId(context).replaceAll(":", "_") + "_node_" + uniqueIdCounter++;
       }