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/21 10:07:48 UTC

svn commit: r629724 [6/8] - in /myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components: ./ html/

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx Thu Feb 21 01:07:34 2008
@@ -19,157 +19,143 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="panelTabbed Demo">
-        <tr:form>
-        
-            <tr:panelGroupLayout layout="vertical">
-              <f:facet name="separator">
-                <tr:separator/>
-              </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>                   
-             
-                <tr:outputFormatted styleUsage="instruction" value="&lt;b> A panelTabbed component with position set to 'above' and takes default selection among showDetailItem children&lt;/b>"/>  
-                <tr:panelTabbed position="above">
-                  <tr:showDetailItem text="Tab 1" disabled="true"/>
-                  <tr:showDetailItem text="Tab 2">
-                    <tr:panelHeader text="Header 2">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 2-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 3">
-                    <tr:panelHeader text="Header 3">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 3-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 4">
-                    <tr:panelHeader text="Header 4">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 4-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 5">
-                    <tr:panelHeader text="Header 5">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 5-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                </tr:panelTabbed>
-                
-                <tr:outputFormatted styleUsage="instruction" value="&lt;b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh &lt;/b>"/>  
-                <tr:panelFormLayout>
-                  <tr:inputText readOnly="true" label="Date/Time from last full page refresh" 
-                                         value="#{date.currentDate}"
-                                         styleClass="AFFieldTextMarker">
-                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                  </tr:inputText>
-                </tr:panelFormLayout>
-
-                <tr:outputFormatted styleUsage="instruction" value="&lt;b>A standard panelTabbed component - Update its properties from the table below &lt;/b>"/>  
-                <tr:panelTabbed binding="#{editor.component}">
-                  <tr:showDetailItem text="Tab 1">
-                    <tr:panelHeader text="Header 1">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 1-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 2">
-                    <tr:panelHeader text="Header 2">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 2-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 3" disclosed="true">
-                    <tr:panelHeader text="Header 3">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 3-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                  <tr:showDetailItem text="Tab 4" disabled="true"/>
-                  <tr:showDetailItem text="Tab 5">
-                    <tr:panelHeader text="Header 5">
-                      <tr:panelFormLayout>
-                        <tr:inputText readOnly="true" label="Label 5-1" value="Value"
-                                               styleClass="AFFieldTextMarker"/>
-                        <tr:inputText readOnly="true" 
-                          label="Date/Time from last partial refresh" 
-                          value="#{date.currentDate}"
-                          styleClass="AFFieldTextMarker">
-                          <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                        </tr:inputText>
-                      </tr:panelFormLayout>
-                    </tr:panelHeader>
-                  </tr:showDetailItem>
-                </tr:panelTabbed>
-                
-                <jsp:directive.include file="editor.jspf" />
-    
-            </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+    <tr:document title="panelTabbed Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelTabbed.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelTabbed"
+                       text="Skinning Key Documentation"/>
+          </tr:panelGroupLayout>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>panelTabbed component with position set to 'above' and takes default selection among showDetailItem children&lt;/b>"/>
+          <tr:panelTabbed position="above">
+            <tr:showDetailItem text="Tab 1" disabled="true"/>
+            <tr:showDetailItem text="Tab 2">
+              <tr:panelHeader text="Header 2">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 3">
+              <tr:panelHeader text="Header 3">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 4">
+              <tr:panelHeader text="Header 4">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 4-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 5">
+              <tr:panelHeader text="Header 5">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+          </tr:panelTabbed>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh &lt;/b>"/>
+          <tr:panelFormLayout>
+            <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+                          value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+              <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+            </tr:inputText>
+          </tr:panelFormLayout>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>A standard panelTabbed component - Update its properties from the table below &lt;/b>"/>
+          <tr:panelTabbed binding="#{editor.component}">
+            <tr:showDetailItem text="Tab 1">
+              <tr:panelHeader text="Header 1">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 1-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 2">
+              <tr:panelHeader text="Header 2">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 3" disclosed="true">
+              <tr:panelHeader text="Header 3">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+            <tr:showDetailItem text="Tab 4" disabled="true"/>
+            <tr:showDetailItem text="Tab 5">
+              <tr:panelHeader text="Header 5">
+                <tr:panelFormLayout>
+                  <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+                                styleClass="AFFieldTextMarker"/>
+                  <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+                                value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+                    <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                  </tr:inputText>
+                </tr:panelFormLayout>
+              </tr:panelHeader>
+            </tr:showDetailItem>
+          </tr:panelTabbed>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx Thu Feb 21 01:07:34 2008
@@ -19,10 +19,9 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
@@ -31,16 +30,22 @@
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
-              <tr:separator />
+              <tr:separator/>
             </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelTip.html"
+                         text="Tag Documentation"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelTip"
+                         text="Skinning Key Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>panelTip&lt;/b>"/>
             <tr:panelTip binding="#{editor.component}">
-              <tr:goLink text="link inside panelTip"
-                        destination="http://www.apache.org"/>
+              <tr:goLink text="link inside panelTip" destination="http://www.apache.org"/>
             </tr:panelTip>
-    
-            <jsp:directive.include file="editor.jspf" />
+            <jsp:directive.include file="editor.jspf"/>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx Thu Feb 21 01:07:34 2008
@@ -19,66 +19,59 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <tr:document title="Poll Demo">
-        <tr:form>
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"
+                            actionListener="#{poll.resetPoll}"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_poll.html"
+                       text="Tag Documentation"/>
+          </tr:panelGroupLayout>
+          <tr:commandButton text="Submit"/>
+          <tr:panelGroupLayout layout="vertical">
+            <tr:poll binding="#{editor.component}" interval="2000" pollListener="#{poll.onPoll}"
+                     id="pollid"/>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>poll component with a poll listener that updates the poll count&lt;/b>"/>
+          </tr:panelGroupLayout>
+          <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+                        value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+            <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+          </tr:inputText>
           <tr:panelGroupLayout layout="vertical">
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>InputText linked to Poll component being updated in partial page mode&lt;/b>"/>
+            <tr:inputText readOnly="true" label="Poll Count: " value="#{poll.pollCount}"
+                          styleClass="AFFieldTextMarker" partialTriggers="pollid"/>
+          </tr:panelGroupLayout>
+          <tr:panelGroupLayout layout="vertical">
+            <tr:panelHeader text="When modal dialogs are launched from the
+                following components, poll pauses until the dialog is dismissed"/>
             <f:facet name="separator">
-              <tr:separator/>
+              <tr:spacer height="5"/>
             </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-              action="guide" actionListener="#{poll.resetPoll}"/>
-
-            <tr:commandButton text="Submit"/>
-
-            <tr:panelGroupLayout layout="vertical">
-              <tr:poll binding="#{editor.component}" interval="2000" 
-                pollListener="#{poll.onPoll}" id="pollid"/>
-              <tr:outputFormatted styleUsage="instruction" 
-                value="&lt;b>Poll component with a poll listener that updates the poll count&lt;/b>"/>
-            </tr:panelGroupLayout>
-            <tr:inputText readOnly="true" 
-              label="Date/Time from last full page refresh" 
-              value="#{date.currentDate}"
-              styleClass="AFFieldTextMarker">
-              <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-            </tr:inputText>
-            <tr:panelGroupLayout layout="vertical">
-              <tr:outputFormatted styleUsage="instruction" 
-                value="&lt;b>InputText linked to Poll component being updated in partial page mode&lt;/b>"/>
-              <tr:inputText  readOnly="true" label="Poll Count: " 
-                             value="#{poll.pollCount}"
-                             styleClass="AFFieldTextMarker" partialTriggers="pollid"/>
-            </tr:panelGroupLayout>
-
-            <tr:panelGroupLayout layout="vertical">
-              <tr:panelHeader text="When modal dialogs are launched from the
-                following components, poll pauses until the dialog is dismissed"/>
-              <f:facet name="separator">
-                <tr:spacer height="5"/>
-              </f:facet>
-              <tr:inputColor id="sic3" label="The color picker dialog" 
-                                   value="#{color.colorValue3}" compact="true"/>
-              <tr:inputDate id="sid1" value="#{date.date1}"
-                                  label="The date picker dialog"/>
-               <tr:commandButton text="Using dialog framework" 
-                                 action="dialog:simpleDialog" useWindow="true"
-                                 windowWidth="150" windowHeight="150"
-                                 immediate="true" partialSubmit="true"/>
-              <tr:goButton 
-                text="Using openWindow() API in Trinidad Javascript library" 
-                onclick="openWindow(window,'poll_window_page.jspx','',{width:200, height:100},true,'dialog','');"/>
-            </tr:panelGroupLayout>
-
-            <jsp:directive.include file="editor.jspf"/>
-
+            <tr:inputColor id="sic3" label="The color picker dialog" value="#{color.colorValue3}"
+                           compact="true"/>
+            <tr:inputDate id="sid1" value="#{date.date1}" label="The date picker dialog"/>
+            <tr:commandButton text="Using dialog framework" action="dialog:simpleDialog"
+                              useWindow="true" windowWidth="150" windowHeight="150" immediate="true"
+                              partialSubmit="true"/>
+            <tr:goButton text="Using openWindow() API in Trinidad Javascript library"
+                         onclick="openWindow(window,'poll_window_page.jspx','',{width:200, height:100},true,'dialog','');"/>
           </tr:panelGroupLayout>
-        </tr:form>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
     </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx Thu Feb 21 01:07:34 2008
@@ -19,35 +19,36 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
-      <trh:head title="processChoiceBar Demo"/>
+      <trh:head title="ProcessChoiceBar Demo"/>
       <trh:body>
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
               <tr:separator/>
             </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Step 1 -- processChoiceBar with navigation&lt;/b>"/>
-   
-            <tr:processChoiceBar  binding="#{editor.component}" 
-                                  var="foo" value="#{processMenuModel}"
-                                  shortDesc="Select step">
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_processChoiceBar.html"
+                         text="Tag Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>Step 1 -- processChoiceBar with navigation&lt;/b>"/>
+            <tr:processChoiceBar binding="#{editor.component}" var="foo" value="#{processMenuModel}"
+                                 shortDesc="Select step">
               <f:facet name="nodeStamp">
-                <tr:commandNavigationItem text="#{foo.label}"
-                                    action="#{foo.getOutcome}"
-                                    immediate="#{processMenuModel.immediate}"
-                                    disabled="#{processMenuModel.readOnly}"/>
+                <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+                                          immediate="#{processMenuModel.immediate}"
+                                          disabled="#{processMenuModel.readOnly}"/>
               </f:facet>
-            </tr:processChoiceBar> 
-            <jsp:directive.include file="editor.jspf" />
+            </tr:processChoiceBar>
+            <jsp:directive.include file="editor.jspf"/>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx Thu Feb 21 01:07:34 2008
@@ -19,34 +19,34 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="processChoiceBar Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator/>
-            </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Step 2 -- processChoiceBar  with navigation&lt;/b>"/>
-   
-            <tr:processChoiceBar var="foo" 
-                                 value="#{processMenuModel}"
-                                 shortDesc="Select step">
-              <f:facet name="nodeStamp">
-                <tr:commandNavigationItem text="#{foo.label}"
-                                    action="#{foo.getOutcome}"
-                                    immediate="#{processMenuModel.immediate}"
-                                    disabled="#{processMenuModel.readOnly}"/>
-              </f:facet>
-            </tr:processChoiceBar> 
+    <tr:document title="ProcessChoiceBar Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_processChoiceBar.html"
+                       text="Tag Documentation"/>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>Step 2 -- processChoiceBar  with navigation&lt;/b>"/>
+          <tr:processChoiceBar var="foo" value="#{processMenuModel}" shortDesc="Select step">
+            <f:facet name="nodeStamp">
+              <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+                                        immediate="#{processMenuModel.immediate}"
+                                        disabled="#{processMenuModel.readOnly}"/>
+            </f:facet>
+          </tr:processChoiceBar>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx Thu Feb 21 01:07:34 2008
@@ -19,34 +19,34 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
-      <trh:head title="processChoiceBar Demo"/>
+      <trh:head title="ProcessChoiceBar Demo"/>
       <trh:body>
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
               <tr:separator/>
             </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Step 3 -- processChoiceBar with navigation&lt;/b>"/>
-
-            <tr:processChoiceBar var="foo" value="#{processMenuModel}"
-                                 shortDesc="Select step">
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_processChoiceBar.html"
+                         text="Tag Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>Step 3 -- processChoiceBar with navigation&lt;/b>"/>
+            <tr:processChoiceBar var="foo" value="#{processMenuModel}" shortDesc="Select step">
               <f:facet name="nodeStamp">
-                <tr:commandNavigationItem text="#{foo.label}"
-                                    action="#{foo.getOutcome}"
-                                    immediate="#{processMenuModel.immediate}"
-                                    disabled="#{processMenuModel.readOnly}"/>
+                <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+                                          immediate="#{processMenuModel.immediate}"
+                                          disabled="#{processMenuModel.readOnly}"/>
               </f:facet>
-            </tr:processChoiceBar>    
-
+            </tr:processChoiceBar>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx Thu Feb 21 01:07:34 2008
@@ -19,24 +19,31 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <f:view>
- <tr:document title="Task Ended">
-        <tr:form> 
-          <tr:panelPage>
-           <tr:panelHeader text="Background Task #{param.taskStatus}">
-            <tr:commandLink immediate="true" text="Component Guide"
-              action="guide"/>
-            <tr:commandLink immediate="true" text="Feature Demos"
-              action="demos"/>
-           </tr:panelHeader>
-          </tr:panelPage>
-        </tr:form>
- </tr:document>
-  </f:view>
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+  <tr:document title="Task Ended">
+   <tr:form>
+    <tr:panelPage>
+     <tr:panelHeader text="Background Task #{param.taskStatus}">
+      <tr:panelGroupLayout layout="horizontal">
+       <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+       <tr:spacer width="10"/>
+       <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_progressIndicator.html"
+                  text="Tag Documentation"/>
+       <tr:spacer width="10"/>
+       <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#progressIndicator"
+                  text="Skinning Key Documentation"/>
+       <tr:spacer width="10"/>
+       <tr:commandLink immediate="true" text="Feature Demos" action="demos"/>
+      </tr:panelGroupLayout>
+     </tr:panelHeader>
+    </tr:panelPage>
+   </tr:form>
+  </tr:document>
+ </f:view>
 </jsp:root>
+
 

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx Thu Feb 21 01:07:34 2008
@@ -19,53 +19,51 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="ProgressIndicator Demo">
-    <tr:form>
+    <tr:document title="ProgressIndicator Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_progressIndicator.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#progressIndicator"
+                       text="Skinning Key Documentation"/>
+          </tr:panelGroupLayout>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>progressIndicator&lt;/b>"/>
+          <tr:commandButton text="Submit"/>
+          <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+                        value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+            <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+          </tr:inputText>
           <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator/>
-            </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-              action="guide" actionListener="#{progress.cancelProcess}"/> 
-
-            <tr:commandButton text="Submit"/>           
-            
-            <tr:inputText readOnly="true" label="Date/Time from last full page refresh" 
-              value="#{date.currentDate}" styleClass="AFFieldTextMarker">
-              <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-            </tr:inputText>
-              
-            <tr:panelGroupLayout layout="vertical">
-              <tr:outputFormatted styleUsage="instruction" 
-                value="&lt;b>ProgressIndicator component linked to a Poll 
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>progressIndicator component linked to a poll 
                 component - Navigates to a different page once the background
                 task is complete&lt;/b>"/>
-              <tr:poll interval="2000" id="pollid"/>
-              <tr:progressIndicator binding="#{editor.component}" id="progressid" 
-                action="progressEnd" value="#{progress.progressModel}" 
-                partialTriggers="pollid">
-                <tr:outputFormatted styleUsage="instruction" 
-                  value="Task status not known"
-                  rendered="#{progress.progressModel.value == -1 or progress.progressModel.value == -1}"/>
-                <tr:outputFormatted styleUsage="instruction" 
-                  value="#{progress.progressModel.value} of #{progress.progressModel.maximum} files copied"
-                  rendered="#{progress.progressModel.value > -1 and progress.progressModel.value > -1}"/>
-              </tr:progressIndicator>
-            </tr:panelGroupLayout>
-
-            <tr:commandButton text="Cancel" action="progressCancel" 
-              actionListener="#{progress.cancelProcess}"/>
-            
-            <jsp:directive.include file="editor.jspf" />
-
+            <tr:poll interval="2000" id="pollid"/>
+            <tr:progressIndicator binding="#{editor.component}" id="progressid" action="progressEnd"
+                                  value="#{progress.progressModel}" partialTriggers="pollid">
+              <tr:outputFormatted styleUsage="instruction" value="Task status not known"
+                                  rendered="#{progress.progressModel.value == -1 or progress.progressModel.value == -1}"/>
+              <tr:outputFormatted styleUsage="instruction"
+                                  value="#{progress.progressModel.value} of #{progress.progressModel.maximum} files copied"
+                                  rendered="#{progress.progressModel.value > -1 and progress.progressModel.value > -1}"/>
+            </tr:progressIndicator>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:commandButton text="Cancel" action="progressCancel"
+                            actionListener="#{progress.cancelProcess}"/>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/resetButton.jspx Thu Feb 21 01:07:34 2008
@@ -19,28 +19,29 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="ResetButton Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator />
-            </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Simple ResetButton &lt;/b>"/>
-            <tr:inputText value="some text" shortDesc="Enter text"/>
-            <tr:resetButton binding="#{editor.component}" text="Reset"/>
-                  
-            <jsp:directive.include file="editor.jspf" />
-    
+    <tr:document title="ResetButton Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_resetButton.html"
+                       text="Tag Documentation"/>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>resetButton &lt;/b>"/>
+          <tr:inputText value="some text" shortDesc="Enter text"/>
+          <tr:resetButton binding="#{editor.component}" text="Reset"/>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx Thu Feb 21 01:07:34 2008
@@ -19,28 +19,33 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
           xmlns:trh="http://myfaces.apache.org/trinidad/html"
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="SelectBooleanCheckbox Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator />
-            </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectBooleanCheckbox&lt;/b>"/>
-            <tr:selectBooleanCheckbox binding="#{editor.component}" 
-                    label="Label" text="item" value="#{data.boolean}"/>
-            <tr:commandButton text="Submit" />
-
-            <jsp:directive.include file="editor.jspf" />
+    <tr:document title="SelectBooleanCheckbox Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanCheckbox.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanCheckbox"
+                       text="Skinning Key Documentation"/>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>selectBooleanCheckbox&lt;/b>"/>
+          <tr:selectBooleanCheckbox binding="#{editor.component}" label="Label" text="item"
+                                    value="#{data.boolean}"/>
+          <tr:commandButton text="Submit"/>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx Thu Feb 21 01:07:34 2008
@@ -19,33 +19,38 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="SelectBooleanRadio Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator />
-            </f:facet>   
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>     
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectBooleanRadio&lt;/b>"/>
-            <tr:panelFormLayout>
-              <tr:selectBooleanRadio group="theGroup" selected="true" binding="#{editor.component}" label="Label" text="item"
-                                     autoSubmit="true"
-                                     onclick="alert('hi'); return true;"/>
-              <tr:selectBooleanRadio group="theGroup" text="item 2" />
-              <tr:selectBooleanRadio group="theGroup" text="item 3" />
-            </tr:panelFormLayout>
-            <tr:commandButton text="Submit"/>
-
-            <jsp:directive.include file="editor.jspf" />
+    <tr:document title="SelectBooleanRadio Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectBooleanRadio.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectBooleanRadio"
+                       text="Skinning Key Documentation"/>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>selectBooleanRadio&lt;/b>"/>
+          <tr:panelFormLayout>
+            <tr:selectBooleanRadio group="theGroup" selected="true" binding="#{editor.component}"
+                                   label="Label" text="item" autoSubmit="true"
+                                   onclick="alert('hi'); return true;"/>
+            <tr:selectBooleanRadio group="theGroup" text="item 2"/>
+            <tr:selectBooleanRadio group="theGroup" text="item 3"/>
+          </tr:panelFormLayout>
+          <tr:commandButton text="Submit"/>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectItem.jspx Thu Feb 21 01:07:34 2008
@@ -19,10 +19,9 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
@@ -31,21 +30,23 @@
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
-              <tr:separator />
-            </f:facet> 
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectOneChoice&lt;/b>"/>
-              
-            <tr:selectOneChoice label="Label" >
-               <tr:selectItem binding="#{editor.component}" label="First" value="1"/>
-               <tr:selectItem label="Second" value="2"/>
-               <tr:selectItem label="Third" value="3"/>
-             </tr:selectOneChoice>
-             <tr:commandButton text="Submit"/>
-
-            <jsp:directive.include file="editor.jspf" />
-    
+              <tr:separator/>
+            </f:facet>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectItem.html"
+                         text="Tag Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>selectItem&lt;/b>"/>
+            <tr:outputText value="selectOneChoice with 3 selectItem components.  The first value is linked to the editor"/>
+            <tr:selectOneChoice label="Label">
+              <tr:selectItem binding="#{editor.component}" label="First" value="1"/>
+              <tr:selectItem label="Second" value="2"/>
+              <tr:selectItem label="Third" value="3"/>
+            </tr:selectOneChoice>
+            <tr:commandButton text="Submit"/>
+            <jsp:directive.include file="editor.jspf"/>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyCheckbox.jspx Thu Feb 21 01:07:34 2008
@@ -19,10 +19,9 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
@@ -31,86 +30,74 @@
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
-              <tr:separator />
-            </f:facet>   
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/> 
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectManyCheckbox bound to integer array&lt;/b>"/>
-              
-             <tr:selectManyCheckbox binding="#{editor.component}"
-                                 label="Label" 
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.intArray}">
+              <tr:separator/>
+            </f:facet>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyCheckbox.html"
+                         text="Tag Documentation"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyCheckbox"
+                         text="Skinning Key Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyCheckbox bound to integer array&lt;/b>"/>
+            <tr:selectManyCheckbox binding="#{editor.component}" label="Label"
+                                   valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.intArray}">
               <tr:selectItem label="First" value="1"/>
               <tr:selectItem label="Second" value="2"/>
               <tr:selectItem label="Third" value="3"/>
             </tr:selectManyCheckbox>
-
-            <tr:outputFormatted styleUsage="instruction" 
-                                value="&lt;b>SelectManyCheckbox bound to string array&lt;/b>"/>
-              
-             <tr:selectManyCheckbox label="Label"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.stringArray}">
-               <tr:selectItem label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyCheckbox>
-
-            <tr:outputFormatted styleUsage="instruction" 
-                                value="&lt;b>SelectManyCheckbox bound to list&lt;/b>"/>
-              
-             <tr:selectManyCheckbox label="Label"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.objectList}">
-               <tr:selectItem label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyCheckbox>
-
-             <tr:commandButton text="Submit"/>
-
-            <jsp:directive.include file="editor.jspf" />
-           
-            <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyCheckbox with f:selectItems bound to a List of SelectItem custom object"/>
-
-            <tr:selectManyCheckbox label="Cars"
-                                  valueChangeListener="#{list.valueChanged}"
-                                  value="#{list.selectedCars}">
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyCheckbox bound to string array&lt;/b>"/>
+            <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.stringArray}">
+              <tr:selectItem label="First" value="foo"/>
+              <tr:selectItem label="Second" value="bar"/>
+              <tr:selectItem label="Third" value="baz"/>
+            </tr:selectManyCheckbox>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyCheckbox bound to list&lt;/b>"/>
+            <tr:selectManyCheckbox label="Label" valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.objectList}">
+              <tr:selectItem label="First" value="foo"/>
+              <tr:selectItem label="Second" value="bar"/>
+              <tr:selectItem label="Third" value="baz"/>
+            </tr:selectManyCheckbox>
+            <tr:commandButton text="Submit"/>
+            <jsp:directive.include file="editor.jspf"/>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="selectManyCheckbox with f:selectItems bound to a List of SelectItem custom object"/>
+            <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.selectedCars}">
               <f:selectItems value="#{list.makes}"/>
             </tr:selectManyCheckbox>
-
             <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyCheckbox with tr:selectItem bound to SelectItem custom object"/>
-
-            <tr:selectManyCheckbox label="Cars"
-                                  valueChangeListener="#{list.valueChanged}"
-                                  value="#{list.selectedCars}">
-               <tr:selectItem  value="#{list.firstSelectItemCar}"/>
-               <tr:selectItem  value="#{list.secondSelectItemCar}"/>
-               <tr:selectItem  value="#{list.thirdSelectItemCar}"/>
+                                value="selectManyCheckbox with tr:selectItem bound to SelectItem custom object"/>
+            <tr:selectManyCheckbox label="Cars" valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.selectedCars}">
+              <tr:selectItem value="#{list.firstSelectItemCar}"/>
+              <tr:selectItem value="#{list.secondSelectItemCar}"/>
+              <tr:selectItem value="#{list.thirdSelectItemCar}"/>
             </tr:selectManyCheckbox>
-          
             <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyCheckbox with tr:selectItem bound to SelectItem Strings. 
+                                value="selectManyCheckbox with tr:selectItem bound to SelectItem Strings. 
                                 In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
                                 to the client. If you  need to have the value on the client, one reason might be
                                 if you are relying on the value for javascript, then set valuePassThru to true.
                                 Otherwise, it defaults to false, and the client-side value will be an index, and converted
                                 automatically on the server. valuePassThru=false allows the component to be bound to
                                 custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
-
-            <tr:selectManyCheckbox label="Strings, valuePassThru is true"
-                                  valuePassThru="true"
-                                  valueChangeListener="#{list.valueChanged}"
-                                  value="#{list.selectedSelectItems}">
-               <tr:selectItem  value="#{list.firstSelectItemString}"/>
-               <tr:selectItem  value="#{list.secondSelectItemString}"/>
-               <tr:selectItem  value="#{list.thirdSelectItemString}"/>
+            <tr:selectManyCheckbox label="Strings, valuePassThru is true" valuePassThru="true"
+                                   valueChangeListener="#{list.valueChanged}"
+                                   value="#{list.selectedSelectItems}">
+              <tr:selectItem value="#{list.firstSelectItemString}"/>
+              <tr:selectItem value="#{list.secondSelectItemString}"/>
+              <tr:selectItem value="#{list.thirdSelectItemString}"/>
             </tr:selectManyCheckbox>
-
-             <tr:commandButton text="Submit"/>
+            <tr:commandButton text="Submit"/>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyListbox.jspx Thu Feb 21 01:07:34 2008
@@ -19,10 +19,9 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
     <trh:html>
@@ -31,86 +30,74 @@
         <tr:form>
           <tr:panelGroupLayout layout="vertical">
             <f:facet name="separator">
-              <tr:separator />
-            </f:facet>   
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/> 
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectManyListbox bound to integer array&lt;/b>"/>
-              
-             <tr:selectManyListbox binding="#{editor.component}"
-                                 label="Label" 
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.intArray}">
+              <tr:separator/>
+            </f:facet>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyListbox.html"
+                         text="Tag Documentation"/>
+              <tr:spacer width="10"/>
+              <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyListbox"
+                         text="Skinning Key Documentation"/>
+            </tr:panelGroupLayout>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyListbox bound to integer array&lt;/b>"/>
+            <tr:selectManyListbox binding="#{editor.component}" label="Label"
+                                  valueChangeListener="#{list.valueChanged}"
+                                  value="#{list.intArray}">
               <tr:selectItem label="First" value="1"/>
               <tr:selectItem label="Second" value="2"/>
               <tr:selectItem label="Third" value="3"/>
             </tr:selectManyListbox>
-
-            <tr:outputFormatted styleUsage="instruction" 
-                                value="&lt;b>SelectManyListbox bound to string array&lt;/b>"/>
-              
-             <tr:selectManyListbox label="Label"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.stringArray}">
-               <tr:selectItem label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyListbox>
-
-            <tr:outputFormatted styleUsage="instruction" 
-                                value="&lt;b>SelectManyListbox bound to list&lt;/b>"/>
-              
-             <tr:selectManyListbox label="Label"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.objectList}">
-               <tr:selectItem label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyListbox>
-
-             <tr:commandButton text="Submit"/>
-
-            <jsp:directive.include file="editor.jspf" />
-           
-            <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyListbox with f:selectItems bound to a List of SelectItem custom object"/>
-
-            <tr:selectManyListbox label="Cars"
-                                  valueChangeListener="#{list.valueChanged}"
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyListbox bound to string array&lt;/b>"/>
+            <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
+                                  value="#{list.stringArray}">
+              <tr:selectItem label="First" value="foo"/>
+              <tr:selectItem label="Second" value="bar"/>
+              <tr:selectItem label="Third" value="baz"/>
+            </tr:selectManyListbox>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="&lt;b>selectManyListbox bound to list&lt;/b>"/>
+            <tr:selectManyListbox label="Label" valueChangeListener="#{list.valueChanged}"
+                                  value="#{list.objectList}">
+              <tr:selectItem label="First" value="foo"/>
+              <tr:selectItem label="Second" value="bar"/>
+              <tr:selectItem label="Third" value="baz"/>
+            </tr:selectManyListbox>
+            <tr:commandButton text="Submit"/>
+            <jsp:directive.include file="editor.jspf"/>
+            <tr:outputFormatted styleUsage="instruction"
+                                value="selectManyListbox with f:selectItems bound to a List of SelectItem custom object"/>
+            <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
                                   value="#{list.selectedCars}">
               <f:selectItems value="#{list.makes}"/>
             </tr:selectManyListbox>
-
             <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyListbox with tr:selectItem bound to SelectItem custom object"/>
-
-            <tr:selectManyListbox label="Cars"
-                                  valueChangeListener="#{list.valueChanged}"
+                                value="selectManyListbox with tr:selectItem bound to SelectItem custom object"/>
+            <tr:selectManyListbox label="Cars" valueChangeListener="#{list.valueChanged}"
                                   value="#{list.selectedCars2}">
-               <tr:selectItem  value="#{list.firstSelectItemCar}"/>
-               <tr:selectItem  value="#{list.secondSelectItemCar}"/>
-               <tr:selectItem  value="#{list.thirdSelectItemCar}"/>
+              <tr:selectItem value="#{list.firstSelectItemCar}"/>
+              <tr:selectItem value="#{list.secondSelectItemCar}"/>
+              <tr:selectItem value="#{list.thirdSelectItemCar}"/>
             </tr:selectManyListbox>
-          
             <tr:outputFormatted styleUsage="instruction"
-                                value="SelectManyListbox with tr:selectItem bound to SelectItem Strings. 
+                                value="selectManyListbox with tr:selectItem bound to SelectItem Strings. 
                                 In this test case, the valuePassThru attribute is set to true, therefore the value is passed through
                                 to the client. If you  need to have the value on the client, one reason might be
                                 if you are relying on the value for javascript, then set valuePassThru to true.
                                 Otherwise, it defaults to false, and the client-side value will be an index, and converted
                                 automatically on the server. valuePassThru=false allows the component to be bound to
                                 custom Objects. valuePassThru=true works ok when the value is bound to Strings. "/>
-
-            <tr:selectManyListbox label="Strings, valuePassThru is true"
-                                  valuePassThru="true"
+            <tr:selectManyListbox label="Strings, valuePassThru is true" valuePassThru="true"
                                   valueChangeListener="#{list.valueChanged}"
                                   value="#{list.selectedSelectItems}">
-               <tr:selectItem  value="#{list.firstSelectItemString}"/>
-               <tr:selectItem  value="#{list.secondSelectItemString}"/>
-               <tr:selectItem  value="#{list.thirdSelectItemString}"/>
+              <tr:selectItem value="#{list.firstSelectItemString}"/>
+              <tr:selectItem value="#{list.secondSelectItemString}"/>
+              <tr:selectItem value="#{list.thirdSelectItemString}"/>
             </tr:selectManyListbox>
-
-             <tr:commandButton text="Submit"/>
+            <tr:commandButton text="Submit"/>
           </tr:panelGroupLayout>
         </tr:form>
       </trh:body>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectManyShuttle.jspx Thu Feb 21 01:07:34 2008
@@ -19,55 +19,52 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="SelectManyShuttle Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator />
-            </f:facet>   
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/> 
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectManyShuttle bound to string array&lt;/b>"/>
-            <tr:messages/>
-            <tr:selectManyShuttle id="shuttle1"
-                                 leadingHeader="Available values:"
-                                 trailingHeader="Selected values:"
-                                 binding="#{editor.component}"
-                                 label="Selected Values"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.stringArray}">
-               <tr:selectItem shortDesc="The First Item" label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyShuttle>
-             <tr:message for="shuttle1"/>
-            
-
-
-            <jsp:directive.include file="editor.jspf" />
-
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectManyShuttle bound to list&lt;/b>"/>
-              
-             <tr:selectManyShuttle id="shuttle2"
-                                 leadingHeader="Available values:"
-                                 trailingHeader="Selected values:"
-                                 valueChangeListener="#{list.valueChanged}"
-                                 value="#{list.objectList}">
-               <tr:selectItem label="First" value="foo"/>
-               <tr:selectItem label="Second" value="bar"/>
-               <tr:selectItem label="Third" value="baz"/>
-             </tr:selectManyShuttle>
-             <tr:message for="shuttle2"/>
-
-
-<!--
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectManyShuttle bound to integer array&lt;/b>"/>
+    <tr:document title="SelectManyShuttle Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectManyShuttle.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectManyShuttle"
+                       text="Skinning Key Documentation"/>
+          </tr:panelGroupLayout>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>selectManyShuttle bound to string array&lt;/b>"/>
+          <tr:messages/>
+          <tr:selectManyShuttle id="shuttle1" leadingHeader="Available values:"
+                                trailingHeader="Selected values:" binding="#{editor.component}"
+                                label="Selected Values" valueChangeListener="#{list.valueChanged}"
+                                value="#{list.stringArray}">
+            <tr:selectItem shortDesc="The First Item" label="First" value="foo"/>
+            <tr:selectItem label="Second" value="bar"/>
+            <tr:selectItem label="Third" value="baz"/>
+          </tr:selectManyShuttle>
+          <tr:message for="shuttle1"/>
+          <jsp:directive.include file="editor.jspf"/>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>selectManyShuttle bound to list&lt;/b>"/>
+          <tr:selectManyShuttle id="shuttle2" leadingHeader="Available values:"
+                                trailingHeader="Selected values:"
+                                valueChangeListener="#{list.valueChanged}"
+                                value="#{list.objectList}">
+            <tr:selectItem label="First" value="foo"/>
+            <tr:selectItem label="Second" value="bar"/>
+            <tr:selectItem label="Third" value="baz"/>
+          </tr:selectManyShuttle>
+          <tr:message for="shuttle2"/>
+          <!--
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>selectManyShuttle bound to integer array&lt;/b>"/>
               
              <tr:selectManyShuttle id="shuttle3"
                                  leadingHeader="Available values:"
@@ -80,10 +77,9 @@
             </tr:selectManyShuttle>
              <tr:message for="shuttle3"/>
 -->
-             <tr:commandButton text="Submit"/>
-
-          </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:commandButton text="Submit"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/selectOneChoice.jspx Thu Feb 21 01:07:34 2008
@@ -19,34 +19,36 @@
 	   
 -->
 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:h="http://java.sun.com/jsf/html"
-          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
-          xmlns:tr="http://myfaces.apache.org/trinidad" >
+          xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
   <jsp:directive.page contentType="text/html;charset=utf-8"/>
   <f:view>
- <tr:document title="SelectOneChoice Demo">
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator />
-            </f:facet> 
-            <tr:commandLink immediate="true" text="Component Guide"
-                action="guide"/>             
-            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SelectOneChoice&lt;/b>"/>
-              
-            <tr:selectOneChoice label="Label" binding="#{editor.component}"
-              unselectedLabel="None">
-               <tr:selectItem label="First" value="1"/>
-               <tr:selectItem label="Second" value="2"/>
-               <tr:selectItem label="Third" value="3"/>
-             </tr:selectOneChoice>
-             <tr:commandButton text="Submit"/>
-
-            <jsp:directive.include file="editor.jspf" />
-    
+    <tr:document title="SelectOneChoice Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectOneChoice.html"
+                       text="Tag Documentation"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#selectOneChoice"
+                       text="Skinning Key Documentation"/>
           </tr:panelGroupLayout>
-        </tr:form>
- </tr:document>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>selectOneChoice&lt;/b>"/>
+          <tr:selectOneChoice label="Label" binding="#{editor.component}" unselectedLabel="None">
+            <tr:selectItem label="First" value="1"/>
+            <tr:selectItem label="Second" value="2"/>
+            <tr:selectItem label="Third" value="3"/>
+          </tr:selectOneChoice>
+          <tr:commandButton text="Submit"/>
+          <jsp:directive.include file="editor.jspf"/>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
   </f:view>
 </jsp:root>