You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ar...@apache.org on 2009/01/29 00:27:38 UTC

svn commit: r738667 - in /myfaces/trinidad/trunk: ./ trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/

Author: arobinson74
Date: Wed Jan 28 23:27:38 2009
New Revision: 738667

URL: http://svn.apache.org/viewvc?rev=738667&view=rev
Log:
TRINIDAD-1382
Add default values to some of the properties

Modified:
    myfaces/trinidad/trunk/   (props changed)
    myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationLevel.xml
    myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationTree.xml
    myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/LaunchSource.xml

Propchange: myfaces/trinidad/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Jan 28 23:27:38 2009
@@ -1 +1 @@
-/myfaces/trinidad/trunk_1.2.x:702988,703003,709009
+/myfaces/trinidad/trunk_1.2.x:702988,703003,709009,737144,738664

Modified: myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationLevel.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationLevel.xml?rev=738667&r1=738666&r2=738667&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationLevel.xml (original)
+++ myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationLevel.xml Wed Jan 28 23:27:38 2009
@@ -16,7 +16,7 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
-	   
+
 -->
 <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:tr="http://myfaces.apache.org/trinidad"
@@ -44,7 +44,7 @@
       </facet-extension>
     </facet>
     <property>
-      <description><![CDATA[the hierarchy of navigation data - must be of type 
+      <description><![CDATA[the hierarchy of navigation data - must be of type
             org.apache.myfaces.trinidad.model.MenuModel]]>
       </description>
       <property-name>value</property-name>
@@ -61,6 +61,7 @@
       </description>
       <property-name>level</property-name>
       <property-class>int</property-class>
+      <default-value>0</default-value>
       <property-extension>
         <mfp:property-metadata>
           <mfp:preferred>true</mfp:preferred>
@@ -76,7 +77,7 @@
           removed (or reverted back to its previous value).
           The VarStatus provides contextual information about the state of the
           component to EL expressions. For components that iterate, varStatus
-          also provides loop counter information.  Please see the this 
+          also provides loop counter information.  Please see the this
           component's documentation for the specific properties on the varStatus.
           The common properties on varStatus include:<ul><li>"model" - returns the CollectionModel for this component</li><li>"index" - returns the zero based row index</li></ul></html>]]>
       </description>

Modified: myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationTree.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationTree.xml?rev=738667&r1=738666&r2=738667&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationTree.xml (original)
+++ myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/NavigationTree.xml Wed Jan 28 23:27:38 2009
@@ -16,7 +16,7 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
-	   
+
 -->
 <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:tr="http://myfaces.apache.org/trinidad"
@@ -37,7 +37,7 @@
 
     <facet>
       <description><![CDATA[the component to use to stamp each element in the
-              tree. Only certain types of components are supported, 
+              tree. Only certain types of components are supported,
               including all
               components with no behavior and most components that implement the
               EditableValueHolder or ActionSource interfaces.]]>
@@ -50,7 +50,7 @@
       </facet-extension>
     </facet>
     <property>
-      <description><![CDATA[the hierarchy of tree data - must be of type 
+      <description><![CDATA[the hierarchy of tree data - must be of type
             org.apache.myfaces.trinidad.model.MenuModel]]>
       </description>
       <property-name>value</property-name>
@@ -67,6 +67,7 @@
       </description>
       <property-name>startLevel</property-name>
       <property-class>int</property-class>
+      <default-value>0</default-value>
       <property-extension>
         <mfp:property-metadata>
           <mfp:preferred>true</mfp:preferred>
@@ -82,7 +83,7 @@
           removed (or reverted back to its previous value).
           The VarStatus provides contextual information about the state of the
           component to EL expressions. For components that iterate, varStatus
-          also provides loop counter information.  Please see the this 
+          also provides loop counter information.  Please see the this
           component's documentation for the specific properties on the varStatus.
           The common properties on varStatus include:<ul><li>"model" - returns the CollectionModel for this component</li><li>"index" - returns the zero based row index</li></ul></html>]]>
       </description>
@@ -96,7 +97,7 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[whether data validation 
+      <description><![CDATA[whether data validation
           should be skipped when row disclosure
           events are generated by this component.
 
@@ -116,7 +117,7 @@
       <mfp:renderer-type>org.apache.myfaces.trinidad.NavigationTree</mfp:renderer-type>
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.UIXNavigationTreeTag</mfp:tag-class>
       <mfp:long-description><![CDATA[<html:p>
-          
+
             Apache Trinidad navigationTree components are used to display hierarchical navigation data.
           </html:p>]]>
       </mfp:long-description>

Modified: myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/LaunchSource.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/LaunchSource.xml?rev=738667&r1=738666&r2=738667&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/LaunchSource.xml (original)
+++ myfaces/trinidad/trunk/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/LaunchSource.xml Wed Jan 28 23:27:38 2009
@@ -16,7 +16,7 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
-	   
+
 -->
 <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:tr="http://myfaces.apache.org/trinidad"
@@ -29,6 +29,7 @@
         the action to be targeted to the existing window.]]></description>
       <property-name>useWindow</property-name>
       <property-class>boolean</property-class>
+      <default-value>false</default-value>
       <property-extension>
         <mfp:required>false</mfp:required>
       </property-extension>