You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2008/02/18 15:10:28 UTC

svn commit: r628748 [1/4] - in /myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad: ./ core/ html/

Author: matzew
Date: Mon Feb 18 06:10:13 2008
New Revision: 628748

URL: http://svn.apache.org/viewvc?rev=628748&view=rev
Log:
first step for TRINIDAD-954

Thanks for gary for adding the examples in the metadata

Modified:
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ComponentRef.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Group.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Switcher.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreBreadCrumbs.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChart.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandNavigationItem.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreDocument.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreForm.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreIcon.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImage.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImportScript.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputHidden.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputNumberSpinbox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputText.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreLegend.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreMedia.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreMessage.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreMessages.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreNavigationPane.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreNavigationTree.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreOutputDocument.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreOutputFormatted.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreOutputLabel.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreOutputText.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePage.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelAccordion.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelBorderLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelBox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelButtonBar.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelCaptionGroup.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelChoice.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelFormLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelGroupLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelHeader.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelHorizontalLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelLabelAndMessage.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelList.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelPage.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelPageHeader.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelPopup.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelRadio.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelTabbed.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CorePanelTip.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreProcessChoiceBar.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreProgressIndicator.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreResetButton.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanCheckbox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectBooleanRadio.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectItem.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyCheckbox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyListbox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectManyShuttle.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneChoice.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneListbox.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOneRadio.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectOrderShuttle.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSelectRangeChoiceBar.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSeparator.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetail.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetailHeader.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreShowDetailItem.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSingleStepButtonBar.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSpacer.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreStatusIndicator.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreSubform.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTable.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTrain.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTree.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreTreeTable.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlBody.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlCellFormat.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrame.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlFrameBorderLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlHead.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlHtml.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlRowLayout.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlScript.xml
    myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/html/HtmlTableLayout.xml

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Column.xml Mon Feb 18 06:10:13 2008
@@ -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,12 +37,16 @@
       <facet-extension>
         <mfp:long-description>the node to use to render this column's header.</mfp:long-description>
         <mfp:example>
-          <mfp:source-code><![CDATA[<tr:column>
+          <mfp:source-code>
+            <![CDATA[
+<tr:column>
  <f:facet name="header">
   <tr:outputText value="Header1"/>
  </f:facet>
  ...
-</column>]]></mfp:source-code>
+</tr:column>
+            ]]>
+          </mfp:source-code>
         </mfp:example>
         <mfp:facet-metadata>
           <mfp:preferred-children>tr:outputText</mfp:preferred-children>
@@ -55,7 +59,7 @@
     </facet>
     <property>
       <description><![CDATA[The property that is displayed by this Column. This is the
-            property that the framework might use to (for example) sort  
+            property that the framework might use to (for example) sort
             the Table's data.]]>
       </description>
       <property-name>sortProperty</property-name>
@@ -76,5 +80,6 @@
     </component-extension>
   </component>
 </faces-config>
+
 
 

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ComponentRef.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ComponentRef.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ComponentRef.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/ComponentRef.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -40,7 +40,7 @@
       <property-class>java.lang.Object</property-class>
     </property>
     <property>
-      <description><![CDATA[<html> which componnet to use. This should match a 
+      <description><![CDATA[<html> which componnet to use. This should match a
 &lt;component-type&gt; string in a region metadata file.
 An example might look like "org.apache.myfaces.trinidaddemo.region.stock".
 This attribute can be bound to an EL expression or manually
@@ -51,12 +51,12 @@
       <property-class>java.lang.String</property-class>
     </property>
     <property>
-      <description><![CDATA[<html> The name of the EL variable that will be set when encoding the component.  
-        This attribute is set by the tr:componentDef on behalf of the UIXComponentRef, and not the tr:componentRef. 
+      <description><![CDATA[<html> The name of the EL variable that will be set when encoding the component.
+        This attribute is set by the tr:componentDef on behalf of the UIXComponentRef, and not the tr:componentRef.
         For example,
               let's say this "var" attribute is set to the value "attrs";
               if the &lt;tr:componentRef&gt; tag has an attribute called "bar",
-              The value of "bar" can be referenced from a child within 
+              The value of "bar" can be referenced from a child within
               &lt;tr:componentDef&gt; using the expression
               <code>#{attrs.bar}</code>.</html>]]>
       </description>
@@ -87,13 +87,16 @@
           &lt;tr:componentRef&gt; tag documentation for more information.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:componentRef componentType="org.apache.myfaces.trinidaddemo.region.stock" >
+        <mfp:source-code>
+          <![CDATA[
+<tr:componentRef componentType="org.apache.myfaces.trinidaddemo.region.stock" >
    <f:attribute name="symbol" value="ORCL"/>
    <f:attribute name="desc" value="Oracle Corp"/>
    <f:facet name="actions">
      <tr:commandButton text="Update Stock Quote"/>
    </f:facet>
- </tr:region>]]>
+ </tr:componentRef>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Arjuna Wijeyekoon</mfp:author>
@@ -102,5 +105,6 @@
     </component-extension>
   </component>
 </faces-config>
+
 
 

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Group.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Group.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Group.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Group.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -48,8 +48,9 @@
 If you require a more predictable layout, you should use a layout component such as panelGroupLayout.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[
-          <tr:panelFormLayout labelWidth="33%" fieldWidth="67%">
+        <mfp:source-code>
+          <![CDATA[
+<tr:panelFormLayout labelWidth="33%" fieldWidth="67%">
   <tr:inputText label="non-group item 1"/>
   <tr:group>
     <tr:inputText label="group item 1"/>
@@ -57,7 +58,8 @@
     <tr:inputText label="group item 3"/>
   </tr:group>
   <tr:inputText label="non-group item 2"/>
-</tr:panelFormLayout>]]>
+</tr:panelFormLayout>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Matt Cooper</mfp:author>
@@ -67,5 +69,6 @@
     </component-extension>
   </component>
 </faces-config>
+
 
 

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Switcher.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Switcher.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Switcher.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/Switcher.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -65,17 +65,20 @@
 all.)]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:switcher facetName="#{userData.person}" defaultFacet="default">
- <f:facet name="default">
-  <tr:outputText value="You have not picked anyone I know"/>
- </f:facet >
- <f:facet name="Roger">
-  <tr:outputText value="You have picked Roger"/>
- </f:facet >
- <f:facet name="Peter">
-  <tr:outputText value="You have picked Peter"/>
- </f:facet >
-</tr:switcher>]]>
+        <mfp:source-code>
+          <![CDATA[
+<tr:switcher facetName="#{userData.person}" defaultFacet="default">
+  <f:facet name="default">
+    <tr:outputText value="You have not picked anyone I know"/>
+  </f:facet >
+  <f:facet name="Roger">
+    <tr:outputText value="You have picked Roger"/>
+  </f:facet >
+  <f:facet name="Peter">
+    <tr:outputText value="You have picked Peter"/>
+  </f:facet >
+</tr:switcher>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>
@@ -86,5 +89,6 @@
     </component-extension>
   </component>
 </faces-config>
+
 
 

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreBreadCrumbs.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreBreadCrumbs.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreBreadCrumbs.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreBreadCrumbs.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -54,18 +54,18 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.nav.CoreBreadCrumbsTag</mfp:tag-class>
       <mfp:long-description><![CDATA[A breadCrumbs component is used in hierarchical
           site layouts to indicate the path back to the root page of the
-          hierarchy with links. A child representing the current page 
-          should be the last child. This child may or may not 
-          be rendered depending on variables like the device type or look and feel, 
-          but it should always be added. 
-          
-           <html:p>The links indicating the hierarchy may be added as children or a menu model may be bound to the breadCrumbs component. If a menu model is bound, of class 
+          hierarchy with links. A child representing the current page
+          should be the last child. This child may or may not
+          be rendered depending on variables like the device type or look and feel,
+          but it should always be added.
+
+           <html:p>The links indicating the hierarchy may be added as children or a menu model may be bound to the breadCrumbs component. If a menu model is bound, of class
            <html:code>org.apache.myfaces.trinidad.model.MenuModel</html:code>, the nodes along the focus path will be rendered.
            </html:p>
            <html:p>
-            MenuModel extends TreeModel, but it also knows how to go from the current viewId to the focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page navigation. 
+            MenuModel extends TreeModel, but it also knows how to go from the current viewId to the focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page navigation.
           </html:p>
- 
+
          <section name="Supported Attributes">
           <html:p>
           The &quot;orientation&quot; property may be used to specify the
@@ -81,12 +81,15 @@
           </section>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:breadCrumbs var="foo" value="#{menuModel.model}">
+        <mfp:source-code>
+          <![CDATA[
+<tr:breadCrumbs var="foo" value="#{menuModel.model}">
   <f:facet name="nodeStamp">
     <tr:commandNavigationItem text="#{foo.label}"
       action="#{foo.action}"/>
   </f:facet>
-</tr:breadCrumbs>]]>
+</tr:breadCrumbs>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Blake Sullivan</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChart.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChart.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChart.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChart.xml Mon Feb 18 06:10:13 2008
@@ -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"
   xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
@@ -46,11 +46,11 @@
       <description><![CDATA[Specifies URI for the template document from which the chart elements are cloned.
         If this attribute is null, the chart component uses a default template. The default template is chosen based
         on whether the useGradient attribute is true or false.
-        The template document is useful for changing the Look and Feel of the chart. 
+        The template document is useful for changing the Look and Feel of the chart.
         Some examples include:1)A developer may want to skin the chart to match its corporate Look and Feel.
         2)A developer may want to put water marks/background images inside the chart.
         3)A developer may want to change the template for the gauges used in the gauge charts.
-        4)A developer may want to turn off gradients and instead use filters to set some interesting effects on the chart elements. 
+        4)A developer may want to turn off gradients and instead use filters to set some interesting effects on the chart elements.
         ]]></description>
       <property-name>templateSource</property-name>
       <property-class>java.lang.String</property-class>
@@ -59,7 +59,7 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[Specifies if the chart is drawn with a perspective (2.5D). 
+      <description><![CDATA[Specifies if the chart is drawn with a perspective (2.5D).
       By default the chart is draw with a perspective.]]></description>
       <property-name>perspective</property-name>
       <property-class>boolean</property-class>
@@ -104,7 +104,7 @@
     </property>
     <property>
       <description><![CDATA[This attribute controls the number of minor grid lines displayed within a major grid section.
-      The default value is -1, which means it varies per chart type. Currently it is used only for gauge charts 
+      The default value is -1, which means it varies per chart type. Currently it is used only for gauge charts
       with a default of 3.]]></description>
       <property-name>YMinorGridLineCount</property-name>
       <property-class>int</property-class>
@@ -115,9 +115,9 @@
     </property>
     <property>
       <description><![CDATA[This attribute controls the number of vertical major grid lines displayed in the chart.
-      The default value is -1, which implies that the vertical major grid lines are controlled by the groupLabels 
+      The default value is -1, which implies that the vertical major grid lines are controlled by the groupLabels
       in the chart model. This parameter along with the groupLabels provide flexibility in labeling the
-      groups. For e.g. one can display a vertical bar chart with 2 years data. Only quarters may be labeled and XMajorGridLineCount can 
+      groups. For e.g. one can display a vertical bar chart with 2 years data. Only quarters may be labeled and XMajorGridLineCount can
       be 1 for splitting the data into two sections.]]></description>
       <property-name>XMajorGridLineCount</property-name>
       <property-class>int</property-class>
@@ -127,7 +127,7 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[The maximum precision of the numbers displayed on the yAxis(xAxis for horizontal charts). 
+      <description><![CDATA[The maximum precision of the numbers displayed on the yAxis(xAxis for horizontal charts).
       The default is 0.]]></description>
       <property-name>maxPrecision</property-name>
       <property-class>int</property-class>
@@ -137,7 +137,7 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[Specifies if gradients are used to display chart elements. 
+      <description><![CDATA[Specifies if gradients are used to display chart elements.
       By default the chart elements use gradients.]]></description>
       <property-name>gradientsUsed</property-name>
       <property-class>boolean</property-class>
@@ -165,8 +165,11 @@
         </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <xhtml:p></xhtml:p>
-        <mfp:source-code><![CDATA[<tr:chart id="chart" verticalMajorSections="8" value="#{chartBean.value}" inlineStyle="width:680px; height:400px;"/>]]>
+        <mfp:source-code>
+          <![CDATA[
+<tr:chart id="chart" verticalMajorSections="8" value="#{chartBean.value}"
+          inlineStyle="width:680px; height:400px;"/>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Venkata Guddanti</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseColor.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -78,7 +78,7 @@
             </html:li>
             <html:li>
             A set of custom colors which extend the set of colors available
-            in the standard palette.  Custom colors are specified by the 
+            in the standard palette.  Custom colors are specified by the
             customColorData attribute.
             </html:li>
           </html:ul>
@@ -89,8 +89,8 @@
           instance for each color to display.
           </html:p>
           <html:p>
-          In order to simplify the use of standard palettes, Apache Trinidad makes 
-          certain palettes available via the requestContext.colorPalette EL implicit 
+          In order to simplify the use of standard palettes, Apache Trinidad makes
+          certain palettes available via the requestContext.colorPalette EL implicit
           object.  The &quot;#{requestContext.colorPalette}&quot; implicit object
           provides access to four standard color palettes:
           <html:ul>
@@ -106,18 +106,33 @@
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<!-- A chooseColor which uses the standard "default49" palette -->
-<tr:chooseColor id="cc0"
-                colorData="#{requestContext.colorPalette.default49}"/>
-
-<!-- A chooseColor which defines custom colors using inline data -->
+        <mfp:source-description>A chooseColor which uses the standard "default49" palette
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:chooseColor id="cc0" colorData="#{requestContext.colorPalette.default49}"/>
+          ]]>
+        </mfp:source-code>
+      </mfp:example>
+      <mfp:example>
+        <mfp:source-description>A chooseColor which defines custom colors using inline data
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
 <tr:chooseColor id="cc1" colorData="#{requestContext.colorPalette.default49}"
-                         customColorData="#{myBean.listOfColors}">
-
-<!-- A chooseColor that is associated with a selectInputColor -->
+                customColorData="#{myBean.listOfColors}">
+          ]]>
+        </mfp:source-code>
+      </mfp:example>
+      <mfp:example>
+        <mfp:source-description>A chooseColor that is associated with a selectInputColor
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
 <tr:inputColor id="sic1" chooseId="cc2"/>
 <tr:chooseColor id="cc2" width="18"
-                colorData="#{requestContext.colorPalette.web216}"/>]]>
+                colorData="#{requestContext.colorPalette.web216}"/>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>John Fallows</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreChooseDate.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -24,8 +24,8 @@
               xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin"
               xmlns:xhtml="http://www.w3.org/1999/xhtml">
   <component>
-    <description><![CDATA[The chooseDate component is used in conjunction with a 
-          selectInputDate to allow the user to quickly select a date value without 
+    <description><![CDATA[The chooseDate component is used in conjunction with a
+          selectInputDate to allow the user to quickly select a date value without
           having to navigate to a secondary window.]]>
     </description>
     <icon>
@@ -37,7 +37,7 @@
       <description><![CDATA[The minimum value allowed for the Date value.
 When set to a fixed value on a tag, this will be parsed as an ISO 8601 date.
 ISO 8601 dates are of the form "yyyy-MM-dd"
-(for example: 2002-02-15).  All other uses require java.util.Date objects. 
+(for example: 2002-02-15).  All other uses require java.util.Date objects.
 When binding to Date objects, it is advised to create the Date object with zeroed-out
 values for any date-time components that aren't displayed (usually hours, minutes, seconds, milliseconds)
 to allow the largest range of values to be accepted.]]>
@@ -56,8 +56,8 @@
 When set to a fixed value on a tag, this will be parsed as an ISO 8601 date.
 ISO 8601 dates are of the form "yyyy-MM-dd"
 (for example: 2002-02-15).  All other uses require java.util.Date objects.
-When binding to Date objects, it is advised to create the Date object with 
-maximum value for any date-time components that aren't displayed (usually hours, minutes, seconds, milliseconds) 
+When binding to Date objects, it is advised to create the Date object with
+maximum value for any date-time components that aren't displayed (usually hours, minutes, seconds, milliseconds)
 to allow the largest range of values to be accepted.]]>
       </description>
       <property-name>maxValue</property-name>
@@ -78,25 +78,25 @@
       <mfp:renderer-type>org.apache.myfaces.trinidad.Date</mfp:renderer-type>
       <mfp:tag-name>tr:chooseDate</mfp:tag-name>
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.input.CoreChooseDateTag</mfp:tag-class>
-      <mfp:long-description><![CDATA[The chooseDate component is used in conjunction with a 
-          selectInputDate to allow the user to quickly select a date value without 
-          having to navigate to a secondary window.  The chooseDate is 
-          typically used for tasks where selecting a date value is a critical 
-          part of the task flow.  Instead of requiring the user to 
+      <mfp:long-description><![CDATA[The chooseDate component is used in conjunction with a
+          selectInputDate to allow the user to quickly select a date value without
+          having to navigate to a secondary window.  The chooseDate is
+          typically used for tasks where selecting a date value is a critical
+          part of the task flow.  Instead of requiring the user to
           select the date from a secondary window, a chooseDate can be
           displayed inline in the page contents.  Users can then select
-          a date directly within the chooseDate, which will cause the 
+          a date directly within the chooseDate, which will cause the
           currently focused selectInputDate to be updated with the selected
           date.
           <html:p>
-          In order to indicate that a particular selectInputDate should 
+          In order to indicate that a particular selectInputDate should
           be updated in response to chooseDate selection changes, the
           the selectInputDate's &quot;chooseId&quot; attribute must be set to the
           id of the associated chooseDate component.
           </html:p>
 
           <html:p>
-          The chooseDate component uses partial page rendering to update 
+          The chooseDate component uses partial page rendering to update
           itself as the user navigates between months.  In environments
           where partial page rendering is not supported, the chooseDate
           component will not be rendered.  Instead, the selectInputDate may
@@ -105,10 +105,13 @@
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:inputDate chooseId="cd1"/>
+        <mfp:source-code>
+          <![CDATA[
+<tr:inputDate chooseId="cd1"/>
 <tr:chooseDate id="cd1"
                minValue="2004-07-01"
-               maxValue="2014-12-31"/>]]>
+               maxValue="2014-12-31"/>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Blake Sullivan</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreColumn.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -124,7 +124,7 @@
             component creates a separate column in the Table.
           </P>
           <P>
-            Use the &quot;header&quot; facet on a Column to create the column header. 
+            Use the &quot;header&quot; facet on a Column to create the column header.
             The following example creates a two-column table with the column headers -
             &quot;Firstname&quot; and &quot;Lastname&quot;:
           </P>
@@ -156,7 +156,7 @@
           </P>
           <P>
             As each row is stamped, the data for the current row ( see
-            <code>getRowData()</code> on the Table) 
+            <code>getRowData()</code> on the Table)
             is copied into an EL reachable property.
             The name of this property is defined by the <code>var</code>
             property on the Table. Once the Table has completed rendering, this
@@ -182,24 +182,24 @@
               formatting:
               <dl>
                 <dt>align</dt>
-    
+
                 <dd>The type of alignment to use for this column. This
                 atribute controls left/start, right/end, or center justification of the
                 column data.
                 </dd>
-        
+
                 <dt>width</dt>
                 <dd>The width of this column.
                 </dd>
-        
+
                 <dt>noWrap</dt>
                 <dd>Controls whether long lines of text in the column data should
                 be wrapped.</dd>
-    
+
                 <dt>headerNoWrap</dt>
                 <dd>Controls whether long lines of text in the column header should
                   be wrapped.</dd>
-    
+
                 <dt>separateRows</dt> <dd>Controls whether each child of this
                 column should be rendered in separate cells, or inside the same
                 cell.</dd>
@@ -248,9 +248,6 @@
           </pre>
           </section>]]>
       </mfp:long-description>
-      <mfp:example>
-        <mfp:source-code/>
-      </mfp:example>
       <mfp:author>Brian Albers</mfp:author>
       <mfp:component-metadata>
         <mfp:favorite-property>headerText</mfp:favorite-property>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandButton.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -70,14 +70,14 @@
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to this button.
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               <p>
-              If the same access key appears in multiple input fields in the 
-              same page of output, the rendering user agent will cycle among 
-              the elements accessed by the similar keys. Note that user agents 
-              are inconsistent about dealing with two links having same access 
-              key, and so the cycling behavior is dependent on what the user agent 
+              If the same access key appears in multiple input fields in the
+              same page of output, the rendering user agent will cycle among
+              the elements accessed by the similar keys. Note that user agents
+              are inconsistent about dealing with two links having same access
+              key, and so the cycling behavior is dependent on what the user agent
               provides.
               </p><p>
                 This attribute is sometimes referred to as the "mnemonic".
@@ -144,19 +144,30 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.nav.CoreCommandButtonTag</mfp:tag-class>
       <mfp:long-description><![CDATA[The commandButton control creates a button representation of a UIXCommand.]]></mfp:long-description>
       <mfp:example>
-        <xhtml:p>A simple example of a button saying "Enter" that submits
-            an input field.</xhtml:p>
-        <mfp:source-code><![CDATA[<tr:form>
-     <tr:inputText value="Default input text" />
-     <tr:commandButton text="Enter"/>
-   </tr:form>]]>
+        <mfp:source-description>A simple example of a button saying "Enter" that submits
+            an input field.
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:form>
+  <tr:inputText value="Default input text" />
+  <tr:commandButton text="Enter"/>
+</tr:form>
+          ]]>
         </mfp:source-code>
-        <xhtml:p>An button which submits the form without doing any validation.</xhtml:p>
-        <mfp:source-code><![CDATA[<tr:form>
-     <tr:inputText value="Default input text"/>
-     <tr:commandButton text="Unvalidated Submit"
-                       immediate="true" />
-   </form>]]>
+      </mfp:example>
+      <mfp:example>
+        <mfp:source-description>
+          An button which submits the form without doing any validation.
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:form>
+  <tr:inputText value="Default input text"/>
+  <tr:commandButton text="Unvalidated Submit"
+                    immediate="true" />
+</tr:form>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandNavigationItem.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandNavigationItem.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandNavigationItem.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreCommandNavigationItem.xml Mon Feb 18 06:10:13 2008
@@ -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,14 +37,14 @@
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to this item.
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               <p>
                 If the same access key appears in multiple locations in the
               same page of output, the rendering user agent will cycle among
-              the elements accessed by the similar keys.  Note that user agents 
-              are inconsistent about dealing with two links having same access 
-              key, and so the cycling behavior is dependent on what the user agent 
+              the elements accessed by the similar keys.  Note that user agents
+              are inconsistent about dealing with two links having same access
+              key, and so the cycling behavior is dependent on what the user agent
               provides.
               </p><p>
                 This attribute is sometimes referred to as the "mnemonic".
@@ -119,8 +119,8 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[whether the item is in visited state. Depending on 
-      the renderer the item may appear in a visited style, if true. This 
+      <description><![CDATA[whether the item is in visited state. Depending on
+      the renderer the item may appear in a visited style, if true. This
       property is currently used only within the a train component.]]>
       </description>
       <property-name>visited</property-name>
@@ -175,15 +175,21 @@
       <mfp:tag-name>tr:commandNavigationItem</mfp:tag-name>
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.nav.CoreCommandNavigationItemTag</mfp:tag-class>
       <mfp:long-description><![CDATA[<html:p>
-          The commandNavigationItem control creates a navigation item representation of a UIXCommand. The item could be rendered as a link, an option, a button, etc. This component is normally used as a stamp for a component that takes a MenuModel object.
+          The commandNavigationItem control creates a navigation item representation of a UIXCommand.
+          The item could be rendered as a link, an option, a button, etc.
+          This component is normally used as a stamp for a component that takes a MenuModel or
+          XMLMenuModel object.
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:page var="foo" value="#{navigation.menuModel}">
-              <f:facet name="nodeStamp">
-                <tr:commandNavigationItem text="#{foo.label}" action="#{foo.action}"/>
-              </f:facet> 
-            </tr:page>]]>
+        <mfp:source-code>
+          <![CDATA[
+<tr:page var="foo" value="#{xmlMenuModel}">
+  <f:facet name="nodeStamp">
+    <tr:commandNavigationItem text="#{foo.label}" action="#{foo.doAction}"/>
+  </f:facet>
+</tr:page>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Gabrielle Crawford</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreDocument.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreDocument.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreDocument.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreDocument.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -96,11 +96,15 @@
       <mfp:long-description><![CDATA[The CoreDocument creates each of the standard root elements of an HTML page:  &lt;html&gt;, &lt;body&gt;, and &lt;head&gt;, but by abstracting away from those components, can be used in non-HTML pages as well.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<f:view>
+        <mfp:source-code>
+          <![CDATA[
+<f:view>
   <tr:document>
     <tr:form> ... </tr:form>
   </tr:document>
-</f:view>]]></mfp:source-code>
+</f:view>
+           ]]>
+         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreForm.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreForm.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreForm.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreForm.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -72,9 +72,13 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.core.CoreFormTag</mfp:tag-class>
       <mfp:long-description><![CDATA[The UIXForm component creates an HTML &lt;form&gt; element.  Unlike the standard h:form tag, tr:form is not a NamingContainer, and therefore you don't need to use its ID as a prefix in attributes like "partialTriggers" or for Javascript identifiers.]]></mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:form usesUpload="true">
+        <mfp:source-code>
+          <![CDATA[
+<tr:form usesUpload="true">
   <tr:inputFile columns="10"/>
-</tr:form>]]></mfp:source-code>
+</tr:form>
+           ]]>
+        </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoButton.xml Mon Feb 18 06:10:13 2008
@@ -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 @@
         <mfp:property-metadata>
           <mfp:initial-value>{localName} {0}</mfp:initial-value>
           <mfp:preferred>true</mfp:preferred>
-          <mfp:translatable>true</mfp:translatable>          
+          <mfp:translatable>true</mfp:translatable>
         </mfp:property-metadata>
       </property-extension>
     </property>
@@ -79,14 +79,14 @@
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to this component.
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               <p>
-              If the same access key appears in multiple input fields in the 
-              same page of output, the rendering user agent will cycle among 
-              the elements accessed by the similar keys. Note that user agents 
-              are inconsistent about dealing with two links having same access 
-              key, and so the cycling behavior is dependent on what the user agent 
+              If the same access key appears in multiple input fields in the
+              same page of output, the rendering user agent will cycle among
+              the elements accessed by the similar keys. Note that user agents
+              are inconsistent about dealing with two links having same access
+              key, and so the cycling behavior is dependent on what the user agent
               provides.
               </p><p>
                 This attribute is sometimes referred to as the "mnemonic".
@@ -137,11 +137,13 @@
 is not needed.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:goButton text="Access char" accessKey="e"/>
-
-  <tr:goButton textAndAccessKey="&amp;Disabled goButton"
-          destination="http://myfaces.apache.org"
-          disabled="true"/>]]>
+        <mfp:source-code>
+          <![CDATA[
+<tr:goButton text="Access char" accessKey="e"/>
+<tr:goButton textAndAccessKey="&amp;Disabled goButton"
+             destination="http://myfaces.apache.org"
+             disabled="true"/>
+           ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Andy Schwartz</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreGoLink.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -77,14 +77,14 @@
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to this component.
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               <p>
-              If the same access key appears in multiple input fields in the 
-              same page of output, the rendering user agent will cycle among 
-              the elements accessed by the similar keys. Note that user agents 
-              are inconsistent about dealing with two links having same access 
-              key, and so the cycling behavior is dependent on what the user agent 
+              If the same access key appears in multiple input fields in the
+              same page of output, the rendering user agent will cycle among
+              the elements accessed by the similar keys. Note that user agents
+              are inconsistent about dealing with two links having same access
+              key, and so the cycling behavior is dependent on what the user agent
               provides.
               </p><p>
                 This attribute is sometimes referred to as the "mnemonic".
@@ -123,12 +123,23 @@
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <xhtml:p>To create an anchor with a link element, you should use the
-            "id" attribute:</xhtml:p>
-        <mfp:source-code>&lt;tr:goLink id="foo"/&gt;</mfp:source-code>
-        <xhtml:p>A standard goLink:</xhtml:p>
-        <mfp:source-code>&lt;tr:goLink text="Trinidad"
-              destination="http://myfaces.apache.org"/&gt;</mfp:source-code>
+        <mfp:source-description>To create an anchor with a link element, you should use the
+            "id" attribute:
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:goLink id="foo"/>
+          ]]>
+        </mfp:source-code>
+      </mfp:example>
+      <mfp:example>
+        <mfp:source-description>A standard goLink:</mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:goLink text="Trinidad"
+           destination="http://myfaces.apache.org"/>
+          ]]>
+        </mfp:source-code>
       </mfp:example>
       <mfp:author>Andy Schwartz</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreIcon.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreIcon.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreIcon.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreIcon.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -64,7 +64,11 @@
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code>&lt;tr:icon name="required"/&gt;</mfp:source-code>
+        <mfp:source-code>
+          <![CDATA[
+<tr:icon name="required"/>
+          ]]>
+        </mfp:source-code>
       </mfp:example>
       <mfp:author>Andy Schwartz</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImage.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImage.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImage.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImage.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -90,10 +90,12 @@
       </mfp:long-description>
       <mfp:example>
         <mfp:source-code>
-          <![CDATA[<tr:image source="/images/globalhelp.gif"
-                shortDesc="help"
-                height="50"
-                width="50"/>]]>
+          <![CDATA[
+<tr:image source="/images/globalhelp.gif"
+          shortDesc="help"
+          height="50"
+          width="50"/>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImportScript.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImportScript.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImportScript.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreImportScript.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -56,7 +56,11 @@
           being imported.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code>&lt;tr:importScript names="submitForm() TableProxy()"/&gt;</mfp:source-code>
+        <mfp:source-code>
+          <![CDATA[
+<tr:importScript names="submitForm() TableProxy()"/>
+          ]]>
+        </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputColor.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -32,11 +32,11 @@
     </icon>
     <component-type>org.apache.myfaces.trinidad.CoreInputColor</component-type>
     <component-class>org.apache.myfaces.trinidad.component.core.input.CoreInputColor</component-class>
-    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/> 
+    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
     <property>
-      <description><![CDATA[If true, attempt to use less screen real-estate to display the 
+      <description><![CDATA[If true, attempt to use less screen real-estate to display the
           inputColor.  For example, this
-          might cause the text area not to be rendered, and the color 
+          might cause the text area not to be rendered, and the color
           swatch conveys the currently selected color.]]>
       </description>
       <property-name>compact</property-name>
@@ -79,7 +79,7 @@
       <description><![CDATA[a boolean value that controls whether the component
 provides label and message support;  when set to "true", the component will
 not display messaging support or the label (these attributes may be ignored: label,
-labelAndAccessKey, accessKey, showRequired, 
+labelAndAccessKey, accessKey, showRequired,
 tip), and may use simpler layout primitives]]>
       </description>
       <property-name>simple</property-name>
@@ -117,7 +117,7 @@
     <xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
 
     <property>
-      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the 
+      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
           "showRequired" attribute must be false for the visual indication not to be displayed.]]>
       </description>
       <property-name>showRequired</property-name>
@@ -128,14 +128,14 @@
           <mfp:group>${md:getTranslatedString("MESSAGE_GROUP")}</mfp:group>
         </mfp:property-metadata>
       </property-extension>
-    </property> 
+    </property>
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to
                the form element specified by the
          <code>for</code>, if set (or this component itself,
               if it is a "non-simple" form element).
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               If the same access key appears in multiple locations in the
               same page of output, the rendering user agent will cycle
@@ -191,13 +191,13 @@
           how the inputColor component is configured.
           <html:ul>
             <html:li>
-            Users can type the color value directly in the field. 
+            Users can type the color value directly in the field.
             This option is always available.
             </html:li>
             <html:li>
             Users can select a color value from a secondary dialog.
             This option may not be available in all look and feel
-            implementations.  In particular, this option is not 
+            implementations.  In particular, this option is not
             available on PDA look and feels.
             </html:li>
             <html:li>
@@ -213,13 +213,17 @@
           <html:p>
             The colorConverter can be used to control
             both the formatting that the inputColor uses when displaying
-            color values, as well as the set of color format patterns that 
+            color values, as well as the set of color format patterns that
             are accepted by the inputColor.  See the documentation for the
             colorConverter for more information.
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:inputColor name="color" value="#{color.colorValue3}" />]]></mfp:source-code>
+        <mfp:source-code>
+          <![CDATA[
+<tr:inputColor name="color" value="#{color.colorValue3}" />
+          ]]>
+        </mfp:source-code>
       </mfp:example>
       <mfp:author>John Fallows</mfp:author>
       <mfp:component-metadata>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputDate.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -200,18 +200,20 @@
           </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <xhtml:p>Two inputDate, the first converts the dateStyle to "long",
+        <mfp:source-description>Two inputDate, the first converts the dateStyle to "long",
             the second sets the maximum date:
-        </xhtml:p>
-        <mfp:source-code><![CDATA[<tr:inputDate id="mdf2" value="#{date.date2}"
-                            label="has converter">
-        <f:convertDateTime dateStyle="long"/>
-      </tr:inputDate>
-
-      <tr:inputDate id="mdf3" value="#{date.date3}"
-                            label="max validator">
-        <tr:validateDateTimeRange maximum="#{date.maxDate}"/>
-      </tr:inputDate>]]>
+        </mfp:source-description>
+        <mfp:source-code>
+          <![CDATA[
+<tr:inputDate id="mdf2" value="#{date.date2}"
+              label="has converter">
+  <f:convertDateTime dateStyle="long"/>
+</tr:inputDate>
+<tr:inputDate id="mdf3" value="#{date.date3}"
+              label="max validator">
+  <tr:validateDateTimeRange maximum="#{date.maxDate}"/>
+</tr:inputDate>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Blake Sullivan</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputFile.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -33,13 +33,13 @@
     </icon>
     <component-type>org.apache.myfaces.trinidad.CoreInputFile</component-type>
     <component-class>org.apache.myfaces.trinidad.component.core.input.CoreInputFile</component-class>
-    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>      
-    <xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>      
-    <xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>      
-    <xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>      
+    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
+    <xi:include href="includes/CommonAttrs.xml" xpointer="/faces-config/component/*"/>
+    <xi:include href="includes/CoreJSEvents.xml" xpointer="/faces-config/component/*"/>
+    <xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
     <property>
-	<description><![CDATA[event handler for when the value is changed.]]>
-	</description>
+        <description><![CDATA[event handler for when the value is changed.]]>
+        </description>
       <property-name>onchange</property-name>
       <property-class>java.lang.String</property-class>
       <property-extension>
@@ -59,7 +59,7 @@
       </property-extension>
     </property>
     <property>
-      	    <description><![CDATA[The size of the text control specified by the number of characters shown.The default value depends on the browser.]]>	
+            <description><![CDATA[The size of the text control specified by the number of characters shown.The default value depends on the browser.]]>
       </description>
       <property-name>columns</property-name>
       <property-class>int</property-class>
@@ -81,7 +81,7 @@
       </property-extension>
     </property>
     <property>
-      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the 
+      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
           "showRequired" attribute must be false for the visual indication not to be displayed.]]>
       </description>
       <property-name>showRequired</property-name>
@@ -93,16 +93,16 @@
         </mfp:property-metadata>
       </property-extension>
     </property>
-    <property>   
-	<description><![CDATA[<html> For accessibility reasons, this functionality is not supported in screen reader mode. If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys. <p> This attribute is sometimes referred to as the "mnemonic". </p></html>]]>
-      	</description>
+    <property>
+        <description><![CDATA[<html> For accessibility reasons, this functionality is not supported in screen reader mode. If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys. <p> This attribute is sometimes referred to as the "mnemonic". </p></html>]]>
+        </description>
       <property-name>accessKey</property-name>
       <property-class>char</property-class>
       <property-extension>
         <mfp:property-metadata>
           <mfp:short-description>${md:getTranslatedString("SD_ATTRGROUP_ACCESSKEY_ATTR_ACCESSKEY")}</mfp:short-description>
         </mfp:property-metadata>
-	</property-extension>
+        </property-extension>
     </property>
     <property>
       <description><![CDATA[whether the component is disabled.]]></description>
@@ -127,7 +127,7 @@
       <description><![CDATA[a boolean value that controls whether the component
 provides label and message support;  when set to "true", the component will
 not display messaging support or the label (these attributes may be ignored: label,
-labelAndAccessKey, accessKey, showRequired, 
+labelAndAccessKey, accessKey, showRequired,
 tip), and may use simpler layout primitives]]>
       </description>
       <property-name>simple</property-name>
@@ -149,10 +149,13 @@
           using this, developers must install the Apache Trinidad filter.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:form usesUpload="true">
+        <mfp:source-code>
+          <![CDATA[
+<tr:form usesUpload="true">
   <tr:inputFile columns="10"
                 valueChangeListener="#{backing.fileUploaded}"/>
-</tr:form>]]>
+</tr:form>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputHidden.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputHidden.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputHidden.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputHidden.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -41,15 +41,18 @@
       <mfp:long-description><![CDATA[The UIXInputHidden component adds a value that
           will be submitted with a form, but not displayed
           to the user.  The value can be manipulated with
-          Javascript on the client, and such values will 
+          Javascript on the client, and such values will
           be automatically re-posted into any ValueBinding
           attached to the &quot;value&quot; property.]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<h:form>
+        <mfp:source-code>
+          <![CDATA[
+<h:form>
   <tr:inputHidden value="#{managed.property}"/>
   <tr:commandButton text="Submit"/>
-</h:form>]]>
+</h:form>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml?rev=628748&r1=628747&r2=628748&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/CoreInputListOfValues.xml Mon Feb 18 06:10:13 2008
@@ -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"
@@ -32,7 +32,7 @@
     </icon>
     <component-type>org.apache.myfaces.trinidad.CoreInputListOfValues</component-type>
     <component-class>org.apache.myfaces.trinidad.component.core.input.CoreInputListOfValues</component-class>
-    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/> 
+    <xi:include href="includes/CommonFormControls.xml" xpointer="/faces-config/component/*"/>
     <property>
       <description><![CDATA[the search description for the button that launches the dialog.
            This text is commonly used by user agents to display tooltip
@@ -85,7 +85,7 @@
       <description><![CDATA[a boolean value that controls whether the component
 provides label and message support;  when set to "true", the component will
 not display messaging support or the label (these attributes may be ignored: label,
-labelAndAccessKey, accessKey, showRequired, 
+labelAndAccessKey, accessKey, showRequired,
 tip), and may use simpler layout primitives]]>
       </description>
       <property-name>simple</property-name>
@@ -109,7 +109,7 @@
     <xi:include href="includes/FocusJSEvents.xml" xpointer="/faces-config/component/*"/>
 
     <property>
-      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the 
+      <description><![CDATA[whether the associated control displays a visual indication of required user input. If a "required" attribute is also present, both the "required" attribute and the
           "showRequired" attribute must be false for the visual indication not to be displayed.]]>
       </description>
       <property-name>showRequired</property-name>
@@ -120,14 +120,14 @@
           <mfp:group>${md:getTranslatedString("MESSAGE_GROUP")}</mfp:group>
         </mfp:property-metadata>
       </property-extension>
-    </property>   
+    </property>
     <property>
       <description><![CDATA[<html>
  Character used to gain quick access to
                the form element specified by the
          <code>for</code>, if set (or this component itself,
               if it is a "non-simple" form element).
-              For accessibility reasons, this functionality is not supported 
+              For accessibility reasons, this functionality is not supported
               in screen reader mode.
               If the same access key appears in multiple locations in the
               same page of output, the rendering user agent will cycle
@@ -234,11 +234,14 @@
          </html:p>]]>
       </mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:form>
-     <tr:inputListOfValues label="Input:" value="Some text"
-                            action="dialog:valueDialog"
-                            searchDesc="Click to get a value" />
-   </tr:form>]]>
+        <mfp:source-code>
+          <![CDATA[
+<tr:form>
+  <tr:inputListOfValues label="Input:" value="Some text"
+                        action="dialog:valueDialog"
+                        searchDesc="Click to get a value" />
+</tr:form>
+          ]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Adam Winer</mfp:author>