You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/05/05 01:29:42 UTC
svn commit: r941092 [3/3] - in
/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main:
java/org/apache/myfaces/buildtools/maven2/plugin/builder/
java/org/apache/myfaces/buildtools/maven2/plugin/builder/model/
java/org/apache/...
Added: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-facelets-tomahawk20.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-facelets-tomahawk20.vm?rev=941092&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-facelets-tomahawk20.vm (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-facelets-tomahawk20.vm Tue May 4 23:29:42 2010
@@ -0,0 +1,377 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<taglib xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
+ version="2.1">
+ <description>$description</description>
+ <display-name>$displayname</display-name>
+ <tlib-version>1.1.7</tlib-version>
+ <short-name>$shortname</short-name>
+ <uri>$uri</uri>
+
+
+
+$baseContent
+
+ <!-- Component Tags -->
+#set ($componentList = ${model.getComponents()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+## Check if we don't have a facelet tag taking precedence over this description
+#if (! ${model.findFaceletTagByName($component.name)})
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>JSP</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.jspName</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isMethodExpression() || $property.isMethodBinding())
+#if ($property.getMethodBindingSignature())
+ <deferred-method>
+#set ($sig = $property.getMethodBindingSignature())
+ <method-signature>$sig.returnType myMethod( $sig.parameterTypesAsString )</method-signature>
+
+ </deferred-method>
+#else
+## This is a very special case. If a property is MethodBinding or MethodExpression
+## this should have a signature. If not, for allow multiple MethodBinding
+## simulate a ValueExpression and write a custom code like in
+## org.apache.myfaces.custom.suggestajax.AbstractSuggestAjaxTag
+ <deferred-value/>
+#end
+#elseif ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#if ( "$!property.isRtexprvalue()" == "")
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#else
+ <rtexprvalue>$property.isRtexprvalue().booleanValue()</rtexprvalue>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+#end
+ <!-- Converter tags -->
+#set ($componentList = ${model.getConverters()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+## Check if we don't have a facelet tag taking precedence over this description
+#if (! ${model.findFaceletTagByName($component.name)})
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>empty</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.name</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+
+
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+#end
+ <!-- Validator tags -->
+#set ($componentList = ${model.getValidators()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+## Check if we don't have a facelet tag taking precedence over this description
+#if (! ${model.findFaceletTagByName($component.name)})
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>empty</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.name</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+#end
+
+ <!-- Behavior tags -->
+#set ($behaviorList = ${model.getBehaviors()})
+#foreach( $component in $behaviorList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name))
+#if ($component.behaviorId)
+## Check if we don't have a facelet tag taking precedence over this description
+#if (! ${model.findFaceletTagByName($component.name)})
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>empty</body-content>
+#end
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.name</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+#end
+
+ <!-- Single Tags -->
+#set ($tagList = $model.getTags())
+#foreach( $tag in $tagList )
+#if ($modelIds.contains($tag.modelId) && ($tag.name))
+#if ($utils.getTagPrefix($tag.name) == $shortname)
+## Check if we don't have a facelet tag taking precedence over this description
+#if (! ${model.findFaceletTagByName($tag.name)})
+ <tag>
+ <description><![CDATA[$tag.longDescription]]></description>
+ <name>$utils.getTagName($tag.name)</name>
+ <tag-class>$tag.className</tag-class>
+ <body-content>$tag.bodyContent</body-content>
+#set ($attributeList = ${tag.attributeList})
+#foreach( $attribute in $attributeList )
+ <attribute>
+#if ($attribute.longDescription)
+ <description><![CDATA[$attribute.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$attribute.name</name>
+ <required>$attribute.isRequired()</required>
+#set ($type = $utils.getClassFromFullClass($attribute.className))
+#if ($type == "MethodExpression")
+ <deferred-method>
+ <method-signature>${attribute.deferredMethodSignature}</method-signature>
+ </deferred-method>
+#elseif ($type == "ValueExpression")
+ <deferred-value>
+#if($attribute.deferredValueType)
+ <type>$attribute.deferredValueType</type>
+#end
+ </deferred-value>
+#else
+ <rtexprvalue>$attribute.isRtexprvalue()</rtexprvalue>
+#if ($attribute.className)
+ <type>$attribute.className</type>
+#else
+ <type>java.lang.String</type>
+#end
+#end
+ </attribute>
+#end
+ </tag>
+#end
+#end
+#end
+#end
+
+ <!-- Facelets Tags -->
+#set ($tagList = $model.getFaceletTags())
+#foreach( $tag in $tagList )
+#if ($modelIds.contains($tag.modelId) && ($tag.name))
+#if ($utils.getTagPrefix($tag.name) == $shortname)
+ <tag>
+ <description><![CDATA[$tag.longDescription]]></description>
+ <name>$utils.getTagName($tag.name)</name>
+ <tag-class>$tag.className</tag-class>
+ <body-content>$tag.bodyContent</body-content>
+#set ($attributeList = ${tag.attributeList})
+#foreach( $attribute in $attributeList )
+ <attribute>
+#if ($attribute.longDescription)
+ <description><![CDATA[$attribute.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$attribute.name</name>
+ <required>$attribute.isRequired()</required>
+#set ($type = $utils.getClassFromFullClass($attribute.className))
+#if ($type == "MethodExpression")
+ <deferred-method>
+ <method-signature>${attribute.deferredMethodSignature}</method-signature>
+ </deferred-method>
+#elseif ($type == "ValueExpression")
+ <deferred-value>
+#if($attribute.deferredValueType)
+ <type>$attribute.deferredValueType</type>
+#end
+ </deferred-value>
+#else
+ <rtexprvalue>$attribute.isRtexprvalue()</rtexprvalue>
+#if ($attribute.className)
+ <type>$attribute.className</type>
+#else
+ <type>java.lang.String</type>
+#end
+#end
+ </attribute>
+#end
+ </tag>
+#end
+#end
+#end
+</taglib>
Added: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-tomahawk20.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-tomahawk20.vm?rev=941092&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-tomahawk20.vm (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/tld-tomahawk20.vm Tue May 4 23:29:42 2010
@@ -0,0 +1,259 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<taglib xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
+ version="2.1">
+ <description>$description</description>
+ <display-name>$displayname</display-name>
+ <tlib-version>1.1.7</tlib-version>
+ <short-name>$shortname</short-name>
+ <uri>$uri</uri>
+
+
+
+$baseContent
+
+ <!-- Component Tags -->
+#set ($componentList = ${model.getComponents()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>JSP</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded() && !$property.isFaceletsOnly())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.jspName</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isMethodExpression() || $property.isMethodBinding())
+#if ($property.getMethodBindingSignature())
+ <deferred-method>
+#set ($sig = $property.getMethodBindingSignature())
+ <method-signature>$sig.returnType myMethod( $sig.parameterTypesAsString )</method-signature>
+
+ </deferred-method>
+#else
+## This is a very special case. If a property is MethodBinding or MethodExpression
+## this should have a signature. If not, for allow multiple MethodBinding
+## simulate a ValueExpression and write a custom code like in
+## org.apache.myfaces.custom.suggestajax.AbstractSuggestAjaxTag
+ <deferred-value/>
+#end
+#elseif ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#if ( "$!property.isRtexprvalue()" == "")
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#else
+ <rtexprvalue>$property.isRtexprvalue().booleanValue()</rtexprvalue>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+ <!-- Converter tags -->
+#set ($componentList = ${model.getConverters()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name) && ($component.tagClass))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>empty</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded() && !$property.isFaceletsOnly())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.name</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+ <!-- Validator tags -->
+#set ($componentList = ${model.getValidators()})
+#foreach( $component in $componentList )
+#if ($modelIds.contains($component.modelId)
+ && ($component.name) && ($component.tagClass))
+#if ($utils.getTagPrefix($component.name) == $shortname)
+ <tag>
+ <description><![CDATA[$component.longDescription]]></description>
+ <name>$utils.getTagName($component.name)</name>
+ <tag-class>$component.tagClass</tag-class>
+#if ($component.bodyContent)
+ <body-content>$component.bodyContent</body-content>
+#else
+ <body-content>empty</body-content>
+#end
+
+#set ($propertyList = ${component.propertyList})
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded() && !$property.isFaceletsOnly())
+ <attribute>
+#if ($property.longDescription)
+ <description><![CDATA[$property.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$property.name</name>
+#if ($property.isRequired())
+ <required>$property.isRequired()</required>
+#end
+#if ($property.isLiteralOnly())
+ <rtexprvalue>false</rtexprvalue>
+#else
+#set ($type = $utils.getClassFromFullClass($property.className))
+#if($property.deferredValueType)
+ <deferred-value>
+ <type>$property.deferredValueType</type>
+ </deferred-value>
+#elseif ($type == "String")
+ <deferred-value>
+ <type>java.lang.String</type>
+ </deferred-value>
+#else
+ <deferred-value>
+ <type>$property.className</type>
+ </deferred-value>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+#end
+ <!-- Single Tags -->
+#set ($tagList = $model.getTags())
+#foreach( $tag in $tagList )
+#if ($modelIds.contains($tag.modelId))
+ <tag>
+ <description><![CDATA[$tag.longDescription]]></description>
+ <name>$utils.getTagName($tag.name)</name>
+ <tag-class>$tag.className</tag-class>
+ <body-content>$tag.bodyContent</body-content>
+#set ($attributeList = ${tag.attributeList})
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isFaceletsOnly())
+ <attribute>
+#if ($attribute.longDescription)
+ <description><![CDATA[$attribute.longDescription]]></description>
+#else
+ <description><![CDATA[]]></description>
+#end
+ <name>$attribute.name</name>
+ <required>$attribute.isRequired()</required>
+#set ($type = $utils.getClassFromFullClass($attribute.className))
+#if ($type == "MethodExpression")
+ <deferred-method>
+ <method-signature>${attribute.deferredMethodSignature}</method-signature>
+ </deferred-method>
+#elseif ($type == "ValueExpression")
+ <deferred-value>
+#if($attribute.deferredValueType)
+ <type>$attribute.deferredValueType</type>
+#end
+ </deferred-value>
+#else
+ <rtexprvalue>$attribute.isRtexprvalue()</rtexprvalue>
+#if ($attribute.className)
+ <type>$attribute.className</type>
+#else
+ <type>java.lang.String</type>
+#end
+#end
+ </attribute>
+#end
+#end
+ </tag>
+#end
+#end
+</taglib>
Added: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-behavior.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-behavior.vm?rev=941092&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-behavior.vm (added)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-behavior.vm Tue May 4 23:29:42 2010
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<document>
+ <properties>
+ <title><${behavior.name}></title>
+ </properties>
+ <body>
+ <section name="Summary">
+ <p>
+ <b>Tag name:</b> <${behavior.name}>
+ <br/>
+#set ($javadocPath = "../apidocs/" + $behavior.getClassName().replace('.', '/') )
+ <b>Converter class:</b> <a href="${tagdocUtils.platformAgnosticPath( $javadocPath )}.html">${behavior.className}</a>
+ <br/>
+#if ($behavior.tagClass)
+#set ($javadocPath = "../apidocs/" + $behavior.getTagClass().replace('.', '/') )
+ <b>Tag class:</b> <a href="${tagdocUtils.platformAgnosticPath( $javadocPath )}.html">${behavior.tagClass}</a>
+ <br/>
+#end
+#if ($faceletTag)
+ <b>Facelet Tag Handler:</b> <a href="${tagdocUtils.platformAgnosticPath( $javadocPath )}.html">${faceletTag.className}</a>
+ <br/>
+#end
+ <b>behavior id:</b> ${behavior.behaviorId}
+ <br/>
+${behavior.longDescription}
+ </p>
+ </section>
+#if ($baseContent)
+$baseContent
+#end
+#set ($propertyList = ${tagdocUtils.getSortedPropertyList($behavior)})
+#if ($propertyList.size() != 0)
+ <section name="Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Supports EL?</th>
+ <th>Description</th>
+ </tr>
+#foreach( $property in $propertyList )
+#if (!$property.isTagExcluded())
+ <tr>
+ <td>$property.jspName</td>
+#set ($type = ${tagdocUtils.getDisplayType($behavior.className,$property.jspName,$property.className)})
+ <td>$type</td>
+#if ($property.jspName == "action")
+ <td>Yes</td>
+#elseif ($property.isMethodBinding() || $property.isMethodExpression())
+ <td>Only EL</td>
+#elseif ($property.jspName == "binding")
+ <td>Only EL</td>
+#elseif ($property.isLiteralOnly())
+ <td>No</td>
+#else
+ <td>Yes</td>
+#end
+#if ($property.longDescription)
+ <td>$property.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+#end
+ </section>
+#if ($faceletTag)
+#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
+#if ($attributeList.size() != 0)
+ <section name="Facelets Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Description</th>
+ </tr>
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isTagExcluded() && $attribute.isFaceletsOnly())
+ <tr>
+ <td>$attribute.name</td>
+#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
+ <td>$type</td>
+ <td>$attribute.isRequired()</td>
+#if ($attribute.longDescription)
+ <td>$attribute.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+ </section>
+#end
+#end
+ </body>
+</document>
\ No newline at end of file
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-component.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-component.vm?rev=941092&r1=941091&r2=941092&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-component.vm (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-component.vm Tue May 4 23:29:42 2010
@@ -151,5 +151,35 @@ $baseContent
</table>
#end
</section>
+#if ($faceletTag)
+#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
+#if ($attributeList.size() != 0)
+ <section name="Facelets Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Description</th>
+ </tr>
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isTagExcluded() && $attribute.isFaceletsOnly())
+ <tr>
+ <td>$attribute.name</td>
+#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
+ <td>$type</td>
+ <td>$attribute.isRequired()</td>
+#if ($attribute.longDescription)
+ <td>$attribute.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+ </section>
+#end
+#end
</body>
</document>
\ No newline at end of file
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-converter.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-converter.vm?rev=941092&r1=941091&r2=941092&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-converter.vm (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-converter.vm Tue May 4 23:29:42 2010
@@ -66,5 +66,35 @@ $baseContent
</table>
#end
</section>
+#if ($faceletTag)
+#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
+#if ($attributeList.size() != 0)
+ <section name="Facelets Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Description</th>
+ </tr>
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isTagExcluded()&& $attribute.isFaceletsOnly())
+ <tr>
+ <td>$attribute.name</td>
+#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
+ <td>$type</td>
+ <td>$attribute.isRequired()</td>
+#if ($attribute.longDescription)
+ <td>$attribute.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+ </section>
+#end
+#end
</body>
</document>
\ No newline at end of file
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-tag.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-tag.vm?rev=941092&r1=941091&r2=941092&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-tag.vm (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-tag.vm Tue May 4 23:29:42 2010
@@ -49,5 +49,35 @@ $baseContent
</table>
#end
</section>
+#if ($faceletTag)
+#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
+#if ($attributeList.size() != 0)
+ <section name="Facelets Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Description</th>
+ </tr>
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isTagExcluded() && $attribute.isFaceletsOnly())
+ <tr>
+ <td>$attribute.name</td>
+#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
+ <td>$type</td>
+ <td>$attribute.isRequired()</td>
+#if ($attribute.longDescription)
+ <td>$attribute.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+ </section>
+#end
+#end
</body>
</document>
\ No newline at end of file
Modified: myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-validator.vm
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-validator.vm?rev=941092&r1=941091&r2=941092&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-validator.vm (original)
+++ myfaces/myfaces-build-tools/trunk/maven2-plugins/myfaces-builder-plugin/src/main/resources/META-INF/xdoc-validator.vm Tue May 4 23:29:42 2010
@@ -66,5 +66,35 @@ $baseContent
</table>
#end
</section>
+#if ($faceletTag)
+#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
+#if ($attributeList.size() != 0)
+ <section name="Facelets Attributes">
+<table>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Required</th>
+ <th>Description</th>
+ </tr>
+#foreach( $attribute in $attributeList )
+#if (!$attribute.isTagExcluded() && $attribute.isFaceletsOnly())
+ <tr>
+ <td>$attribute.name</td>
+#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
+ <td>$type</td>
+ <td>$attribute.isRequired()</td>
+#if ($attribute.longDescription)
+ <td>$attribute.longDescription</td>
+#else
+ <td></td>
+#end
+ </tr>
+#end
+#end
+</table>
+ </section>
+#end
+#end
</body>
</document>
\ No newline at end of file