Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-139

x:tree (now) creates an invalid ids for nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • None
    • None
    • None

    Description

      here is the patch:

      Index: HtmlTree.java
      ===================================================================
      RCS file: /home/cvspublic/incubator-myfaces/src/components/org/apache/myfaces/custom/tree/HtmlTree.java,v
      retrieving revision 1.30
      diff -u -r1.30 HtmlTree.java
      — HtmlTree.java 11 Feb 2005 00:54:02 -0000 1.30
      +++ HtmlTree.java 21 Mar 2005 12:20:25 -0000
      @@ -150,7 +150,7 @@

      public String createUniqueId(FacesContext context)

      { - return getClientId(context) + "_node_" + uniqueIdCounter++; + return getClientId(context).replaceAll(":", "_") + "_node_" + uniqueIdCounter++; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbroekelmann Mathias Broekelmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: