myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r696550 - /myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java
Date Thu, 18 Sep 2008 03:00:54 GMT
Author: matzew
Date: Wed Sep 17 20:00:53 2008
New Revision: 696550

URL: http://svn.apache.org/viewvc?rev=696550&view=rev
Log:
TRINIDAD-1229 - SetFacetChildDocumentChange adds incomplete facet node to the document

Thanks to Parkash for his patch

Modified:
    myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java

Modified: myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java?rev=696550&r1=696549&r2=696550&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java
(original)
+++ myfaces/trinidad/branches/1.2.9.1-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/SetFacetChildDocumentChange.java
Wed Sep 17 20:00:53 2008
@@ -99,6 +99,8 @@
       facetElement.setAttributeNS(_XMLNS_NAMESPACE, "xmlns:f",
                                   _JSF_CORE_NAMESPACE);
       
+      facetElement.setAttribute(_FACET_ATTRIBUTE_NAME, _facetName);
+
       componentNode.appendChild(facetElement);
     }
     
@@ -118,6 +120,7 @@
 
   private static final String _JSF_CORE_NAMESPACE = "http://java.sun.com/jsf/core";
   private static final String _XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/";
+  private static final String _FACET_ATTRIBUTE_NAME = "name";
 
   private final String _facetName;
   private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(



Mime
View raw message