myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1088485 - /myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java
Date Mon, 04 Apr 2011 06:13:26 GMT
Author: lu4242
Date: Mon Apr  4 06:13:25 2011
New Revision: 1088485

URL: http://svn.apache.org/viewvc?rev=1088485&view=rev
Log:
MYFACES-3032 Include composite component information on documentation generated by myfaces-builder-plugin

Modified:
    myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java

Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java?rev=1088485&r1=1088484&r2=1088485&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java
(original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/java/org/apache/myfaces/buildtools/maven2/plugin/builder/qdox/CompositeComponentModelBuilder.java
Mon Apr  4 06:13:25 2011
@@ -257,6 +257,14 @@ public class CompositeComponentModelBuil
                         // Set as class name the assigned by Application.createResource,

                         // even if not exists.
                         this.component.setClassName(alias);
+                        if (!setComponentType)
+                        {
+                            this.component.setParentClassName("javax.faces.component.UINamingContainer");
+                            PropertyMeta idProp = new PropertyMeta();
+                            idProp.setName("id");
+                            idProp.setRequired(false);
+                            this.component.addProperty(idProp);
+                        }
                         this.component.setModelId(model.getModelId());
                     }
                     //componentType



Mime
View raw message