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 2010/11/10 09:14:02 UTC

svn commit: r1033391 [30/35] - in /myfaces/trinidad/trunk: scripts/ trinidad-examples/trinidad-blank/src/main/webapp/ trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/ trinidad-examples/trinidad-co...

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/pprDemos.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/pprDemos.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/pprDemos.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/pprDemos.jspx Wed Nov 10 08:13:47 2010
@@ -1,297 +1,297 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Partial Page Rendering Demos">
-    <tr:form>
-
-     <tr:panelPage>
-      <f:facet name="navigationGlobal">
-       <tr:navigationPane hint="buttons">
-        <tr:commandNavigationItem text="Return to Feature Demos page"
-                                immediate="true"
-                                action="demos"/>
-       </tr:navigationPane>
-      </f:facet>
-
-    <tr:panelHeader text="Welcome to the Apache Trinidad Partial Page Rendering Demos">
-      <tr:outputFormatted styleUsage="instruction"
-                          value="These demos illustrate Partial Page Refresh capabilities using the autoSubmit attribute of various input components."/>
-      <tr:panelGroupLayout layout="vertical">
-
-       <tr:panelHeader text="Status Indicator">
-       <tr:outputFormatted styleUsage="instruction"
-                           value="This demo contains a statusIndicator component.  It will spin while a PPR request fires, and can be placed anywhere on a page (or in multiple places if needed).  The image can be replaced with skinning."/>
-       <tr:statusIndicator/>
-       </tr:panelHeader>
-
-       <tr:panelHeader text="Radio Buttons">
-       <tr:outputFormatted styleUsage="instruction"
-                           value="This demo shows a two sets of radio buttons which use autoSubmit. There is also an output component which is listening on updates to the radio buttons and displaying status text accordingly."/>
-        <tr:panelGroupLayout layout="horizontal">
-         <tr:panelGroupLayout layout="vertical">
-          <tr:panelGroupLayout layout="horizontal">
-           <tr:outputFormatted styleUsage="instruction"
-                               value="selectBooleanRadio buttons"/>
-           <tr:panelGroupLayout layout="vertical">
-            <tr:selectBooleanRadio id="rb1"
-                                   group="theGroup"
-                                   selected="false"
-                                   text="item 1"
-                                   autoSubmit="true"
-                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
-            <tr:selectBooleanRadio id="rb2"
-                                   group="theGroup"
-                                   text="item 2"
-                                   selected="false"
-                                   autoSubmit="true"
-                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
-            <tr:selectBooleanRadio id="rb3"
-                                   group="theGroup"
-                                   text="item 3"
-                                   selected="false"
-                                   autoSubmit="true"
-                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
-           </tr:panelGroupLayout>
-          </tr:panelGroupLayout>
-          <tr:spacer width="30" height="10"/>
-          <tr:panelGroupLayout layout="vertical">
-           <tr:selectOneRadio id="sor1"
-                              label="selectOneRadio buttons"
-                              autoSubmit="true"
-                              valueChangeListener="#{partialDemoUtil.valueChanged}">
-            <tr:selectItem label="item 1" value="1" />
-            <tr:selectItem label="item 2" value="2" />
-            <tr:selectItem label="item 3" value="3" />
-           </tr:selectOneRadio>
-          </tr:panelGroupLayout>
-         </tr:panelGroupLayout>
-         <tr:spacer width="30" height="10"/>
-         <tr:panelLabelAndMessage label="Selected: ">
-          <tr:outputFormatted id="rbTarget"
-                              partialTriggers="rb1 rb2 rb3 sor1"
-                              styleUsage="instruction"
-                              value="#{partialDemoUtil.status.radioStateText}">
-           <f:convertDateTime pattern="HH:mm:ss"/>
-          </tr:outputFormatted>
-         </tr:panelLabelAndMessage>
-        </tr:panelGroupLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="InputText">
-       <tr:outputFormatted styleUsage="instruction"
-                           value="This demo shows an autoSubmitting text field."/>
-        <trh:tableLayout width="80%">
-         <trh:rowLayout>
-          <tr:inputText id="itxt"
-                        autoSubmit="true"
-                        value="#{partialDemoUtil.status.textValue}"
-                        label="Enter text here and tab out: "
-                        valueChangeListener="#{partialDemoUtil.valueChanged}"/>
-          <tr:panelLabelAndMessage label="You entered: ">
-           <tr:outputFormatted id="itTarget"
-                               partialTriggers="itxt"
-                               styleUsage="instruction"
-                               value="#{partialDemoUtil.status.textStateText}"/>
-          </tr:panelLabelAndMessage>
-         </trh:rowLayout>
-        </trh:tableLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="selectOneChoice">
-       <tr:outputFormatted styleUsage="instruction"
-                           value="This demo illustrates PPR from a choice component."/>
-        <tr:panelGroupLayout layout="horizontal">
-         <tr:selectOneChoice id="selOne"
-                             autoSubmit="true"
-                             label="Choose one"
-                             valueChangeListener="#{partialDemoUtil.valueChanged}"
-                             value="#{partialDemoUtil.status.choiceInt}">
-          <tr:selectItem label="First" value="1"/>
-          <tr:selectItem label="Second" value="2"/>
-          <tr:selectItem label="Third" value="3"/>
-         </tr:selectOneChoice>
-         <tr:spacer width="30" height="10"/>
-         <tr:panelLabelAndMessage label="You picked: ">
-          <tr:outputFormatted partialTriggers="selOne"
-                              styleUsage="instruction"
-                              value="#{partialDemoUtil.status.choiceText}"/>
-         </tr:panelLabelAndMessage>
-        </tr:panelGroupLayout>
-       </tr:panelHeader>
-
-       <tr:panelHeader text="selectManyListbox">
-       <tr:outputFormatted styleUsage="instruction"
-
-
-                           value="This demo also shows a multiple select list box component that is bound to a value that will be updated by the ValueChangeEvent listener. This demo only shows the multi-select listbox, but the single select (selectOneListbox) works in exactly the same way."/>
-        <tr:panelGroupLayout layout="horizontal">
-         <tr:selectManyListbox id="smlb"
-                               autoSubmit="true"
-                               label="Choose one or more values: "
-                               valueChangeListener="#{partialDemoUtil.valueChanged}">
-          <tr:selectItem label="One"   value="1"/>
-          <tr:selectItem label="Two"   value="2"/>
-          <tr:selectItem label="Three" value="3"/>
-          <tr:selectItem label="Four"  value="4"/>
-         </tr:selectManyListbox>
-         <tr:spacer width="30" height="10"/>
-         <tr:panelLabelAndMessage label="List items selected: ">
-          <tr:outputFormatted id="smlbTarget"
-                              styleUsage="instruction"
-                              binding="#{partialDemoUtil.listUpdate}"
-                              value="nothing yet."/>
-         </tr:panelLabelAndMessage>
-        </tr:panelGroupLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="SelectBooleanCheckbox">
-       <tr:outputFormatted styleUsage="instruction"
-                           value="This demo shows a simple checkbox which uses autoSubmit. There are two components listening on the change to the checkbox, one is now visible, the other will become visible after the first click. This also illustrates a cascading PPR update."/>
-
-        <tr:panelGroupLayout layout="horizontal">
-         <tr:selectBooleanCheckbox id="cb1"
-                                   value="#{partialDemoUtil.status.checked}"
-                                   label="This PPR checkbox"
-                                   valueChangeListener="#{partialDemoUtil.valueChanged}"
-                                   autoSubmit="true"/>
-         <tr:outputFormatted id="cbTarget"
-                             partialTriggers="cb1"
-                             styleUsage="instruction"
-                             value="#{partialDemoUtil.status.checkBoxStateText}"/>
-         <tr:spacer width="20"/>
-         <tr:panelGroupLayout id="pg1" partialTriggers="cbTarget">
-          <tr:outputFormatted styleUsage="instruction"
-                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 0}"
-                              value="(clicked #{partialDemoUtil.status.checkBoxUpdateCount} time"/>
-          <tr:outputFormatted styleUsage="instruction"
-                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 1}"
-                              value="s"/>
-          <tr:outputFormatted styleUsage="instruction"
-                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 0}"
-                              value=")"/>
-         </tr:panelGroupLayout>
-        </tr:panelGroupLayout>
-       </tr:panelHeader>
-
-       <tr:panelHeader text="Command components with partialSubmit">
-        <tr:outputFormatted styleUsage="instruction"
-                            value="This demo shows how command links and buttons can be used to generate partial events."/>
-        <tr:panelGroupLayout layout="horizontal">
-         <tr:panelGroupLayout layout="vertical">
-          <tr:commandLink id="pSub_link"
-                          immediate="true"
-                          partialSubmit="true"
-                          text="Do a partial Submit."
-                          actionListener="#{partialDemoUtil.action}"/>
-          <tr:spacer height="6"/>
-          <tr:commandButton id="pSub_button"
-                            immediate="true"
-                            partialSubmit="true"
-                            text="partialSubmit Button"
-                            actionListener="#{partialDemoUtil.action}"/>
-         </tr:panelGroupLayout>
-         <tr:spacer width="30" height="10"/>
-         <tr:panelGroupLayout>
-          <tr:panelLabelAndMessage label="last link click: ">
-           <tr:outputFormatted id="cmdTarget"
-                               partialTriggers="pSub_link pSub_button"
-                               styleUsage="instruction"
-                               value="#{partialDemoUtil.status.linkUpdate}">
-            <f:convertDateTime pattern="HH:mm:ss"/>
-           </tr:outputFormatted>
-          </tr:panelLabelAndMessage>
-         </tr:panelGroupLayout>
-        </tr:panelGroupLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="Command components with partialSubmit going to another page.">
-        <tr:panelGroupLayout layout="vertical">
-         <tr:commandLink immediate="true"
-                         partialSubmit="true"
-                         action="home"
-                         text="Go to Trinidad demos home page."/>
-         <tr:spacer height="6"/>
-         <tr:commandLink immediate="true"
-                         partialSubmit="true"
-                         action="demos.direct"
-                         text="Go to feature demos page (no redirect)."/>
-         <tr:spacer height="6"/>
-         <tr:commandButton immediate="true"
-                           partialSubmit="true"
-                           action="demos"
-                           text="Go to feature demos page."/>
-         </tr:panelGroupLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="Naming container tests; partial triggers are the previous command components with partialSubmit"> 
-         <tr:panelGroupLayout layout="vertical">
-           <f:subview id="sub">
-             <!-- use '::' in front of the identifier to pop out of the current naming container.
-             Additional colons continue to pop. -->
-             <tr:outputFormatted  partialTriggers="::pSub_link ::pSub_button"
-                                  styleUsage="instruction"
-                                  value="#{partialDemoUtil.status.linkUpdate}">
-               <f:convertDateTime pattern="HH:mm:ss"/>
-             </tr:outputFormatted>
-           </f:subview>
-             <!-- use '::' in front of the identifier to get to the parent naming
-             container, add ':::' to get to the grandparent naming container, etc.
-             This works for non-Naming Container components. -->
-           <f:subview id="sub2">
-            <f:subview id="sub3">
-             <tr:outputFormatted  partialTriggers=":::pSub_link :::pSub_button"
-                                  styleUsage="instruction"
-                                  value="#{partialDemoUtil.status.linkUpdate}">
-               <f:convertDateTime pattern="HH:mm:ss"/>
-             </tr:outputFormatted>
-             </f:subview>
-           </f:subview>          
-         </tr:panelGroupLayout>
-       </tr:panelHeader>
-       <tr:panelHeader text="This Reset button will reset all values on the page.">
-        <tr:commandButton id="reset"
-                          text="Reset"
-                          immediate="true"
-                          actionListener="#{partialDemoUtil.reset}">
-         <tr:resetActionListener/>
-        </tr:commandButton>
-       </tr:panelHeader>
-       <tr:panelHeader text="Changing the value of this selectOneChoice will navigate to another page.">
-         <tr:selectOneChoice autoSubmit="true"
-                             label="Navigate"
-                             unselectedLabel="Nowhere"
-                             valueChangeListener="#{partialDemoUtil.navigate}">
-          <tr:selectItem label="Index" value="/index.jspx"/>
-          <tr:selectItem label="Component Demos" value="/componentDemos.jspx"/>
-         </tr:selectOneChoice>
-       </tr:panelHeader>
-        <tr:panelHeader text="More ppr demos showing partialTriggers syntax with regard to NamingContainers.">
-        <tr:goLink text="Relative Partial Triggers Demo"
-                destination="testRelativePartialTriggers.jspx" />      
-       </tr:panelHeader>
-      </tr:panelGroupLayout>
-     </tr:panelHeader>
-     </tr:panelPage>
-    </tr:form>
-  </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Partial Page Rendering Demos">
+    <tr:form>
+
+     <tr:panelPage>
+      <f:facet name="navigationGlobal">
+       <tr:navigationPane hint="buttons">
+        <tr:commandNavigationItem text="Return to Feature Demos page"
+                                immediate="true"
+                                action="demos"/>
+       </tr:navigationPane>
+      </f:facet>
+
+    <tr:panelHeader text="Welcome to the Apache Trinidad Partial Page Rendering Demos">
+      <tr:outputFormatted styleUsage="instruction"
+                          value="These demos illustrate Partial Page Refresh capabilities using the autoSubmit attribute of various input components."/>
+      <tr:panelGroupLayout layout="vertical">
+
+       <tr:panelHeader text="Status Indicator">
+       <tr:outputFormatted styleUsage="instruction"
+                           value="This demo contains a statusIndicator component.  It will spin while a PPR request fires, and can be placed anywhere on a page (or in multiple places if needed).  The image can be replaced with skinning."/>
+       <tr:statusIndicator/>
+       </tr:panelHeader>
+
+       <tr:panelHeader text="Radio Buttons">
+       <tr:outputFormatted styleUsage="instruction"
+                           value="This demo shows a two sets of radio buttons which use autoSubmit. There is also an output component which is listening on updates to the radio buttons and displaying status text accordingly."/>
+        <tr:panelGroupLayout layout="horizontal">
+         <tr:panelGroupLayout layout="vertical">
+          <tr:panelGroupLayout layout="horizontal">
+           <tr:outputFormatted styleUsage="instruction"
+                               value="selectBooleanRadio buttons"/>
+           <tr:panelGroupLayout layout="vertical">
+            <tr:selectBooleanRadio id="rb1"
+                                   group="theGroup"
+                                   selected="false"
+                                   text="item 1"
+                                   autoSubmit="true"
+                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
+            <tr:selectBooleanRadio id="rb2"
+                                   group="theGroup"
+                                   text="item 2"
+                                   selected="false"
+                                   autoSubmit="true"
+                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
+            <tr:selectBooleanRadio id="rb3"
+                                   group="theGroup"
+                                   text="item 3"
+                                   selected="false"
+                                   autoSubmit="true"
+                                   valueChangeListener="#{partialDemoUtil.valueChanged}"/>
+           </tr:panelGroupLayout>
+          </tr:panelGroupLayout>
+          <tr:spacer width="30" height="10"/>
+          <tr:panelGroupLayout layout="vertical">
+           <tr:selectOneRadio id="sor1"
+                              label="selectOneRadio buttons"
+                              autoSubmit="true"
+                              valueChangeListener="#{partialDemoUtil.valueChanged}">
+            <tr:selectItem label="item 1" value="1" />
+            <tr:selectItem label="item 2" value="2" />
+            <tr:selectItem label="item 3" value="3" />
+           </tr:selectOneRadio>
+          </tr:panelGroupLayout>
+         </tr:panelGroupLayout>
+         <tr:spacer width="30" height="10"/>
+         <tr:panelLabelAndMessage label="Selected: ">
+          <tr:outputFormatted id="rbTarget"
+                              partialTriggers="rb1 rb2 rb3 sor1"
+                              styleUsage="instruction"
+                              value="#{partialDemoUtil.status.radioStateText}">
+           <f:convertDateTime pattern="HH:mm:ss"/>
+          </tr:outputFormatted>
+         </tr:panelLabelAndMessage>
+        </tr:panelGroupLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="InputText">
+       <tr:outputFormatted styleUsage="instruction"
+                           value="This demo shows an autoSubmitting text field."/>
+        <trh:tableLayout width="80%">
+         <trh:rowLayout>
+          <tr:inputText id="itxt"
+                        autoSubmit="true"
+                        value="#{partialDemoUtil.status.textValue}"
+                        label="Enter text here and tab out: "
+                        valueChangeListener="#{partialDemoUtil.valueChanged}"/>
+          <tr:panelLabelAndMessage label="You entered: ">
+           <tr:outputFormatted id="itTarget"
+                               partialTriggers="itxt"
+                               styleUsage="instruction"
+                               value="#{partialDemoUtil.status.textStateText}"/>
+          </tr:panelLabelAndMessage>
+         </trh:rowLayout>
+        </trh:tableLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="selectOneChoice">
+       <tr:outputFormatted styleUsage="instruction"
+                           value="This demo illustrates PPR from a choice component."/>
+        <tr:panelGroupLayout layout="horizontal">
+         <tr:selectOneChoice id="selOne"
+                             autoSubmit="true"
+                             label="Choose one"
+                             valueChangeListener="#{partialDemoUtil.valueChanged}"
+                             value="#{partialDemoUtil.status.choiceInt}">
+          <tr:selectItem label="First" value="1"/>
+          <tr:selectItem label="Second" value="2"/>
+          <tr:selectItem label="Third" value="3"/>
+         </tr:selectOneChoice>
+         <tr:spacer width="30" height="10"/>
+         <tr:panelLabelAndMessage label="You picked: ">
+          <tr:outputFormatted partialTriggers="selOne"
+                              styleUsage="instruction"
+                              value="#{partialDemoUtil.status.choiceText}"/>
+         </tr:panelLabelAndMessage>
+        </tr:panelGroupLayout>
+       </tr:panelHeader>
+
+       <tr:panelHeader text="selectManyListbox">
+       <tr:outputFormatted styleUsage="instruction"
+
+
+                           value="This demo also shows a multiple select list box component that is bound to a value that will be updated by the ValueChangeEvent listener. This demo only shows the multi-select listbox, but the single select (selectOneListbox) works in exactly the same way."/>
+        <tr:panelGroupLayout layout="horizontal">
+         <tr:selectManyListbox id="smlb"
+                               autoSubmit="true"
+                               label="Choose one or more values: "
+                               valueChangeListener="#{partialDemoUtil.valueChanged}">
+          <tr:selectItem label="One"   value="1"/>
+          <tr:selectItem label="Two"   value="2"/>
+          <tr:selectItem label="Three" value="3"/>
+          <tr:selectItem label="Four"  value="4"/>
+         </tr:selectManyListbox>
+         <tr:spacer width="30" height="10"/>
+         <tr:panelLabelAndMessage label="List items selected: ">
+          <tr:outputFormatted id="smlbTarget"
+                              styleUsage="instruction"
+                              binding="#{partialDemoUtil.listUpdate}"
+                              value="nothing yet."/>
+         </tr:panelLabelAndMessage>
+        </tr:panelGroupLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="SelectBooleanCheckbox">
+       <tr:outputFormatted styleUsage="instruction"
+                           value="This demo shows a simple checkbox which uses autoSubmit. There are two components listening on the change to the checkbox, one is now visible, the other will become visible after the first click. This also illustrates a cascading PPR update."/>
+
+        <tr:panelGroupLayout layout="horizontal">
+         <tr:selectBooleanCheckbox id="cb1"
+                                   value="#{partialDemoUtil.status.checked}"
+                                   label="This PPR checkbox"
+                                   valueChangeListener="#{partialDemoUtil.valueChanged}"
+                                   autoSubmit="true"/>
+         <tr:outputFormatted id="cbTarget"
+                             partialTriggers="cb1"
+                             styleUsage="instruction"
+                             value="#{partialDemoUtil.status.checkBoxStateText}"/>
+         <tr:spacer width="20"/>
+         <tr:panelGroupLayout id="pg1" partialTriggers="cbTarget">
+          <tr:outputFormatted styleUsage="instruction"
+                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 0}"
+                              value="(clicked #{partialDemoUtil.status.checkBoxUpdateCount} time"/>
+          <tr:outputFormatted styleUsage="instruction"
+                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 1}"
+                              value="s"/>
+          <tr:outputFormatted styleUsage="instruction"
+                              rendered="#{partialDemoUtil.status.checkBoxUpdateCount > 0}"
+                              value=")"/>
+         </tr:panelGroupLayout>
+        </tr:panelGroupLayout>
+       </tr:panelHeader>
+
+       <tr:panelHeader text="Command components with partialSubmit">
+        <tr:outputFormatted styleUsage="instruction"
+                            value="This demo shows how command links and buttons can be used to generate partial events."/>
+        <tr:panelGroupLayout layout="horizontal">
+         <tr:panelGroupLayout layout="vertical">
+          <tr:commandLink id="pSub_link"
+                          immediate="true"
+                          partialSubmit="true"
+                          text="Do a partial Submit."
+                          actionListener="#{partialDemoUtil.action}"/>
+          <tr:spacer height="6"/>
+          <tr:commandButton id="pSub_button"
+                            immediate="true"
+                            partialSubmit="true"
+                            text="partialSubmit Button"
+                            actionListener="#{partialDemoUtil.action}"/>
+         </tr:panelGroupLayout>
+         <tr:spacer width="30" height="10"/>
+         <tr:panelGroupLayout>
+          <tr:panelLabelAndMessage label="last link click: ">
+           <tr:outputFormatted id="cmdTarget"
+                               partialTriggers="pSub_link pSub_button"
+                               styleUsage="instruction"
+                               value="#{partialDemoUtil.status.linkUpdate}">
+            <f:convertDateTime pattern="HH:mm:ss"/>
+           </tr:outputFormatted>
+          </tr:panelLabelAndMessage>
+         </tr:panelGroupLayout>
+        </tr:panelGroupLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="Command components with partialSubmit going to another page.">
+        <tr:panelGroupLayout layout="vertical">
+         <tr:commandLink immediate="true"
+                         partialSubmit="true"
+                         action="home"
+                         text="Go to Trinidad demos home page."/>
+         <tr:spacer height="6"/>
+         <tr:commandLink immediate="true"
+                         partialSubmit="true"
+                         action="demos.direct"
+                         text="Go to feature demos page (no redirect)."/>
+         <tr:spacer height="6"/>
+         <tr:commandButton immediate="true"
+                           partialSubmit="true"
+                           action="demos"
+                           text="Go to feature demos page."/>
+         </tr:panelGroupLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="Naming container tests; partial triggers are the previous command components with partialSubmit"> 
+         <tr:panelGroupLayout layout="vertical">
+           <f:subview id="sub">
+             <!-- use '::' in front of the identifier to pop out of the current naming container.
+             Additional colons continue to pop. -->
+             <tr:outputFormatted  partialTriggers="::pSub_link ::pSub_button"
+                                  styleUsage="instruction"
+                                  value="#{partialDemoUtil.status.linkUpdate}">
+               <f:convertDateTime pattern="HH:mm:ss"/>
+             </tr:outputFormatted>
+           </f:subview>
+             <!-- use '::' in front of the identifier to get to the parent naming
+             container, add ':::' to get to the grandparent naming container, etc.
+             This works for non-Naming Container components. -->
+           <f:subview id="sub2">
+            <f:subview id="sub3">
+             <tr:outputFormatted  partialTriggers=":::pSub_link :::pSub_button"
+                                  styleUsage="instruction"
+                                  value="#{partialDemoUtil.status.linkUpdate}">
+               <f:convertDateTime pattern="HH:mm:ss"/>
+             </tr:outputFormatted>
+             </f:subview>
+           </f:subview>          
+         </tr:panelGroupLayout>
+       </tr:panelHeader>
+       <tr:panelHeader text="This Reset button will reset all values on the page.">
+        <tr:commandButton id="reset"
+                          text="Reset"
+                          immediate="true"
+                          actionListener="#{partialDemoUtil.reset}">
+         <tr:resetActionListener/>
+        </tr:commandButton>
+       </tr:panelHeader>
+       <tr:panelHeader text="Changing the value of this selectOneChoice will navigate to another page.">
+         <tr:selectOneChoice autoSubmit="true"
+                             label="Navigate"
+                             unselectedLabel="Nowhere"
+                             valueChangeListener="#{partialDemoUtil.navigate}">
+          <tr:selectItem label="Index" value="/index.jspx"/>
+          <tr:selectItem label="Component Demos" value="/componentDemos.jspx"/>
+         </tr:selectOneChoice>
+       </tr:panelHeader>
+        <tr:panelHeader text="More ppr demos showing partialTriggers syntax with regard to NamingContainers.">
+        <tr:goLink text="Relative Partial Triggers Demo"
+                destination="testRelativePartialTriggers.jspx" />      
+       </tr:panelHeader>
+      </tr:panelGroupLayout>
+     </tr:panelHeader>
+     </tr:panelPage>
+    </tr:form>
+  </tr:document>
+ </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/pprDemos.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/progressSteps.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/progressSteps.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/progressSteps.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/progressSteps.jspx Wed Nov 10 08:13:47 2010
@@ -1,130 +1,130 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Progress steps Demo">
-        <tr:form>
-          <tr:panelPage>
-          
-            <f:facet name="navigationGlobal">
-             <tr:navigationPane hint="buttons">
-              <tr:commandNavigationItem 
-                text="Return to Feature Demos page"
-                immediate="true"
-                action="demos"
-                actionListener="#{progressSteps.cancelProcess}"/>
-             </tr:navigationPane>
-            </f:facet>
-          <tr:panelHeader
-             text="Progress steps demo using tr:forEach and BoundedRangeModel">
-
-            <tr:poll 
-              binding="#{editor.component}" 
-              interval="2000" 
-              id="pollid" 
-              pollListener="#{progressSteps.onPoll}"/>
-            <tr:outputFormatted 
-              styleUsage="instruction" 
-              value="&lt;b>The steps completed in a background task could be 
-              shown as a check list or a growing list as shown below.&lt;br>
-              This could be achieved using suitable output components and the
-              'tr:forEach' tag in conjunction with bindings to a 
-              BoundedRangeModel&lt;/b>"/>
-
-            <!--Represents a check list-->
-            <tr:panelHeader text="Progress steps as a check list"/>
-            <tr:panelGroupLayout layout="horizontal">
-              <tr:spacer width="30"/>
-              <tr:panelGroupLayout layout="vertical" partialTriggers="pollid" id="pg1">
-                <tr:forEach 
-                  var="progressStep" 
-                  varStatus="vs" 
-                  begin="0" 
-                  end="#{progressSteps.progressModel.maximum - 1}" 
-                  items="#{progressSteps.progressSteps}">
-                  <tr:panelGroupLayout layout="horizontal">
-                    <tr:spacer 
-                      width="13"
-                      rendered="#{vs.index > progressSteps.progressModel.value}"/>
-                    <tr:image 
-                      source="/components/images/processCheck.gif" 
-                      rendered="#{progressSteps.progressModel.value >= vs.index}"/>
-                    <tr:spacer width="5"/>
-                    <tr:outputText 
-                      value="#{progressStep}" 
-                      styleClass="AFFieldText"/>
-                  </tr:panelGroupLayout>
-                </tr:forEach>
-              </tr:panelGroupLayout>
-            </tr:panelGroupLayout>
-
-            <!--Represents a growing list-->
-            <tr:panelHeader text="Progress steps as a growing list"/>
-            <tr:panelGroupLayout layout="horizontal">
-              <tr:spacer width="30"/>
-              <tr:panelGroupLayout layout="vertical" partialTriggers="pollid" id="pg2">
-                <tr:forEach 
-                  var="progressStep" 
-                  varStatus="vs" 
-                  begin="0" 
-                  end="#{progressSteps.progressModel.maximum - 1}" 
-                  items="#{progressSteps.progressSteps}">
-                  <tr:panelGroupLayout layout="horizontal">
-                    <tr:outputText 
-                      value="#{progressStep}" 
-                      styleClass="AFFieldText"
-                      rendered="#{progressSteps.progressModel.value >= vs.index}"/>
-                  </tr:panelGroupLayout>
-                </tr:forEach>
-              </tr:panelGroupLayout>
-            </tr:panelGroupLayout>
-
-            <tr:panelHeader/>
-            <tr:panelGroupLayout layout="horizontal">
-              <tr:spacer width="30"/>
-              <tr:panelGroupLayout layout="vertical">
-                <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:spacer height="10"/>
-                <tr:commandButton 
-                  text="Cancel" 
-                  action="progressCancel" 
-                  actionListener="#{progressSteps.cancelProcess}"/>
-              </tr:panelGroupLayout>
-            </tr:panelGroupLayout>
-          </tr:panelHeader>
-
-          </tr:panelPage>
-        </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Progress steps Demo">
+        <tr:form>
+          <tr:panelPage>
+          
+            <f:facet name="navigationGlobal">
+             <tr:navigationPane hint="buttons">
+              <tr:commandNavigationItem 
+                text="Return to Feature Demos page"
+                immediate="true"
+                action="demos"
+                actionListener="#{progressSteps.cancelProcess}"/>
+             </tr:navigationPane>
+            </f:facet>
+          <tr:panelHeader
+             text="Progress steps demo using tr:forEach and BoundedRangeModel">
+
+            <tr:poll 
+              binding="#{editor.component}" 
+              interval="2000" 
+              id="pollid" 
+              pollListener="#{progressSteps.onPoll}"/>
+            <tr:outputFormatted 
+              styleUsage="instruction" 
+              value="&lt;b>The steps completed in a background task could be 
+              shown as a check list or a growing list as shown below.&lt;br>
+              This could be achieved using suitable output components and the
+              'tr:forEach' tag in conjunction with bindings to a 
+              BoundedRangeModel&lt;/b>"/>
+
+            <!--Represents a check list-->
+            <tr:panelHeader text="Progress steps as a check list"/>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:spacer width="30"/>
+              <tr:panelGroupLayout layout="vertical" partialTriggers="pollid" id="pg1">
+                <tr:forEach 
+                  var="progressStep" 
+                  varStatus="vs" 
+                  begin="0" 
+                  end="#{progressSteps.progressModel.maximum - 1}" 
+                  items="#{progressSteps.progressSteps}">
+                  <tr:panelGroupLayout layout="horizontal">
+                    <tr:spacer 
+                      width="13"
+                      rendered="#{vs.index > progressSteps.progressModel.value}"/>
+                    <tr:image 
+                      source="/components/images/processCheck.gif" 
+                      rendered="#{progressSteps.progressModel.value >= vs.index}"/>
+                    <tr:spacer width="5"/>
+                    <tr:outputText 
+                      value="#{progressStep}" 
+                      styleClass="AFFieldText"/>
+                  </tr:panelGroupLayout>
+                </tr:forEach>
+              </tr:panelGroupLayout>
+            </tr:panelGroupLayout>
+
+            <!--Represents a growing list-->
+            <tr:panelHeader text="Progress steps as a growing list"/>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:spacer width="30"/>
+              <tr:panelGroupLayout layout="vertical" partialTriggers="pollid" id="pg2">
+                <tr:forEach 
+                  var="progressStep" 
+                  varStatus="vs" 
+                  begin="0" 
+                  end="#{progressSteps.progressModel.maximum - 1}" 
+                  items="#{progressSteps.progressSteps}">
+                  <tr:panelGroupLayout layout="horizontal">
+                    <tr:outputText 
+                      value="#{progressStep}" 
+                      styleClass="AFFieldText"
+                      rendered="#{progressSteps.progressModel.value >= vs.index}"/>
+                  </tr:panelGroupLayout>
+                </tr:forEach>
+              </tr:panelGroupLayout>
+            </tr:panelGroupLayout>
+
+            <tr:panelHeader/>
+            <tr:panelGroupLayout layout="horizontal">
+              <tr:spacer width="30"/>
+              <tr:panelGroupLayout layout="vertical">
+                <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:spacer height="10"/>
+                <tr:commandButton 
+                  text="Cancel" 
+                  action="progressCancel" 
+                  actionListener="#{progressSteps.cancelProcess}"/>
+              </tr:panelGroupLayout>
+            </tr:panelGroupLayout>
+          </tr:panelHeader>
+
+          </tr:panelPage>
+        </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/progressSteps.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/showDetailDiscloseOne.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx Wed Nov 10 08:13:47 2010
@@ -1,45 +1,45 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          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="Simple dialog"/>
-      <trh:body>
-       <tr:form>
-        <tr:panelPage>
-          <tr:messages/>
-         <tr:panelHeader text="Hi there!">
-           <tr:panelButtonBar>
-            <tr:commandButton text="Say Hello" immediate="true">
-              <tr:returnActionListener/>                      
-            </tr:commandButton>
-           </tr:panelButtonBar>
-         </tr:panelHeader>
-        </tr:panelPage>
-       </tr:form>
-      </trh:body>
-    </trh:html>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          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="Simple dialog"/>
+      <trh:body>
+       <tr:form>
+        <tr:panelPage>
+          <tr:messages/>
+         <tr:panelHeader text="Hi there!">
+           <tr:panelButtonBar>
+            <tr:commandButton text="Say Hello" immediate="true">
+              <tr:returnActionListener/>                      
+            </tr:commandButton>
+           </tr:panelButtonBar>
+         </tr:panelHeader>
+        </tr:panelPage>
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/successDialog.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/successDialog.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/successDialog.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/successDialog.jspx Wed Nov 10 08:13:47 2010
@@ -1,42 +1,42 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
-          xmlns:f="http://java.sun.com/jsf/core"
-          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="Success">
-      <tr:form>
-       <tr:panelPage>
-        <tr:panelHeader text="Success">
-         <tr:outputText value="The value was #{pageFlowScope.value}"/>
-         <tr:panelButtonBar>
-          <tr:commandButton text="Done" immediate="true">
-            <tr:returnActionListener/>                      
-          </tr:commandButton>
-         </tr:panelButtonBar>
-        </tr:panelHeader>
-       </tr:panelPage>
-     </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          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="Success">
+      <tr:form>
+       <tr:panelPage>
+        <tr:panelHeader text="Success">
+         <tr:outputText value="The value was #{pageFlowScope.value}"/>
+         <tr:panelButtonBar>
+          <tr:commandButton text="Done" immediate="true">
+            <tr:returnActionListener/>                      
+          </tr:commandButton>
+         </tr:panelButtonBar>
+        </tr:panelHeader>
+       </tr:panelPage>
+     </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/successDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx Wed Nov 10 08:13:47 2010
@@ -1,66 +1,66 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Table Feature Demos">
-      <tr:form >
-        <tr:panelPage>
-          <f:facet name="navigationGlobal">
-          <tr:navigationPane hint="buttons">
-            <tr:commandNavigationItem text="Return to Feature Demos page"
-                                immediate="true"
-                                action="demos"/>
-           </tr:navigationPane>
-          </f:facet>
-          <tr:outputFormatted styleUsage="instruction" 
-            value="These demos show how you can play around with table data"/>
-          <tr:panelGroupLayout layout="vertical">
-            <tr:panelHeader text="Add Row Demo">
-              <tr:outputFormatted styleUsage="instruction" 
-                value="This demo shows you how to add a row to your model 
-                      based on user input"/>
-              <tr:commandButton id="AddRowButton" 
-                text="go to AddRow Demo" action="addRow"/>
-            </tr:panelHeader>
-            <tr:panelHeader text="Total Row Demo">
-              <tr:outputFormatted styleUsage="instruction" 
-                value="This demo shows you how to calculate totals for
-                a particular column in your table."/>
-              <tr:commandButton id="TotalRowButton" text="go to TotalRow Demo" 
-                action="totalRow"/>
-            </tr:panelHeader>
-            <tr:panelHeader text="Export to CSV Demo">
-              <tr:outputFormatted styleUsage="instruction" 
-                value="This demo shows you how to export the contents of
-a table as CSV."/>
-              <tr:goButton text="Go to CSV Demo" destination="/demos/tableDemos/exportAsCSV.jspx"/>
-            </tr:panelHeader>
-          </tr:panelGroupLayout>
-        </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Table Feature Demos">
+      <tr:form >
+        <tr:panelPage>
+          <f:facet name="navigationGlobal">
+          <tr:navigationPane hint="buttons">
+            <tr:commandNavigationItem text="Return to Feature Demos page"
+                                immediate="true"
+                                action="demos"/>
+           </tr:navigationPane>
+          </f:facet>
+          <tr:outputFormatted styleUsage="instruction" 
+            value="These demos show how you can play around with table data"/>
+          <tr:panelGroupLayout layout="vertical">
+            <tr:panelHeader text="Add Row Demo">
+              <tr:outputFormatted styleUsage="instruction" 
+                value="This demo shows you how to add a row to your model 
+                      based on user input"/>
+              <tr:commandButton id="AddRowButton" 
+                text="go to AddRow Demo" action="addRow"/>
+            </tr:panelHeader>
+            <tr:panelHeader text="Total Row Demo">
+              <tr:outputFormatted styleUsage="instruction" 
+                value="This demo shows you how to calculate totals for
+                a particular column in your table."/>
+              <tr:commandButton id="TotalRowButton" text="go to TotalRow Demo" 
+                action="totalRow"/>
+            </tr:panelHeader>
+            <tr:panelHeader text="Export to CSV Demo">
+              <tr:outputFormatted styleUsage="instruction" 
+                value="This demo shows you how to export the contents of
+a table as CSV."/>
+              <tr:goButton text="Go to CSV Demo" destination="/demos/tableDemos/exportAsCSV.jspx"/>
+            </tr:panelHeader>
+          </tr:panelGroupLayout>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx Wed Nov 10 08:13:47 2010
@@ -1,55 +1,55 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Add Row Demo">
-      <tr:form >
-        <tr:panelPage>
-          <tr:commandLink text ="Return to Demo Start Page" 
-            action="demos.tableDemos"/>
-          <tr:table var="row" value="#{Backer.list}" >
-            <tr:column>
-              <f:facet name="header">
-                <tr:outputText value="Element1"/>
-              </f:facet>
-              <tr:inputText value="#{row.data1}" columns="4" readOnly ="#{row.readOnly}" />
-            </tr:column>
-            <tr:column>
-              <f:facet name="header">
-                <tr:outputText value="Element2"/>
-              </f:facet>
-              <tr:inputText value="#{row.data2}" columns="4" readOnly ="#{row.readOnly}" />
-            </tr:column>
-            <f:facet name="footer">
-              <tr:commandButton text="Add Row" 
-                actionListener="#{Backer.addRow}"/>
-            </f:facet>
-          </tr:table>
-        </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Add Row Demo">
+      <tr:form >
+        <tr:panelPage>
+          <tr:commandLink text ="Return to Demo Start Page" 
+            action="demos.tableDemos"/>
+          <tr:table var="row" value="#{Backer.list}" >
+            <tr:column>
+              <f:facet name="header">
+                <tr:outputText value="Element1"/>
+              </f:facet>
+              <tr:inputText value="#{row.data1}" columns="4" readOnly ="#{row.readOnly}" />
+            </tr:column>
+            <tr:column>
+              <f:facet name="header">
+                <tr:outputText value="Element2"/>
+              </f:facet>
+              <tr:inputText value="#{row.data2}" columns="4" readOnly ="#{row.readOnly}" />
+            </tr:column>
+            <f:facet name="footer">
+              <tr:commandButton text="Add Row" 
+                actionListener="#{Backer.addRow}"/>
+            </f:facet>
+          </tr:table>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/exportAsCSV.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/exportAsCSV.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/exportAsCSV.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/exportAsCSV.jspx Wed Nov 10 08:13:47 2010
@@ -1,61 +1,61 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Export as CSV">
-      <tr:form >
-        <tr:panelPage>
-          <tr:commandLink text ="Return to Demo Start Page" 
-            action="demos.tableDemos"/>
-          <tr:table var="row" binding="#{csv.table}"
-                    value="#{periodicTable.tableData}" rows="10">
-            <f:facet name="actions">
-              <tr:panelGroupLayout layout="horizontal">
-              <tr:commandButton text="Export as CSV">
-                <tr:fileDownloadActionListener contentType="text/csv; charset=utf-8"
-                                    filename="content.csv"                                   
-                                    method="#{csv.sendContent}"/>           
-              </tr:commandButton>
-              <tr:commandButton text="Export as CSV long filename test">
-                <tr:fileDownloadActionListener contentType="text/csv; charset=utf-8"
-                                    filename="This-is-a-long-filename-that-should-still-download-property.csv"
-                                    
-                                    method="#{csv.sendContent}"/>           
-              </tr:commandButton>
-              </tr:panelGroupLayout>
-            </f:facet>
-            <tr:column headerText="Name">
-              <tr:outputText value="#{row.name}"/>
-            </tr:column>
-            <tr:column headerText="Symbol">
-              <tr:outputText value="#{row.symbol}"/>
-            </tr:column>
-          </tr:table>
-        </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Export as CSV">
+      <tr:form >
+        <tr:panelPage>
+          <tr:commandLink text ="Return to Demo Start Page" 
+            action="demos.tableDemos"/>
+          <tr:table var="row" binding="#{csv.table}"
+                    value="#{periodicTable.tableData}" rows="10">
+            <f:facet name="actions">
+              <tr:panelGroupLayout layout="horizontal">
+              <tr:commandButton text="Export as CSV">
+                <tr:fileDownloadActionListener contentType="text/csv; charset=utf-8"
+                                    filename="content.csv"                                   
+                                    method="#{csv.sendContent}"/>           
+              </tr:commandButton>
+              <tr:commandButton text="Export as CSV long filename test">
+                <tr:fileDownloadActionListener contentType="text/csv; charset=utf-8"
+                                    filename="This-is-a-long-filename-that-should-still-download-property.csv"
+                                    
+                                    method="#{csv.sendContent}"/>           
+              </tr:commandButton>
+              </tr:panelGroupLayout>
+            </f:facet>
+            <tr:column headerText="Name">
+              <tr:outputText value="#{row.name}"/>
+            </tr:column>
+            <tr:column headerText="Symbol">
+              <tr:outputText value="#{row.symbol}"/>
+            </tr:column>
+          </tr:table>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/exportAsCSV.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx Wed Nov 10 08:13:47 2010
@@ -1,67 +1,67 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-	   
--->
-<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="Total Row Demo">
-      <tr:form >
-        <tr:panelPage>
-          <tr:commandLink text ="Return to Demo Start Page" 
-            action="demos.tableDemos"/>
-          <tr:table var="row" value="#{TotalBacker.list}" width="80%">
-            <tr:column width="20%">
-              <f:facet name="header">
-                <tr:outputText value="Element1" />
-              </f:facet>
-              <tr:outputText value="#{row.data1}"/>
-            </tr:column>
-            <tr:column width = "20%">
-              <f:facet name="header">
-                <tr:outputText value="Element2" />
-              </f:facet>
-              <tr:outputText value="#{row.data2}"/>
-              <f:facet name="footer">
-                <tr:commandButton text="Recalculate" 
-                  actionListener="#{TotalBacker.totalRow}"/>
-              </f:facet>
-            </tr:column>
-            <tr:column width = "20%">
-              <f:facet name="header">
-                <tr:outputText value="Totals" />
-              </f:facet>
-              <tr:outputText value="#{row.data2}"/>
-              <f:facet name="footer">
-                <tr:outputText value="#{TotalBacker.total}" />
-              </f:facet>
-            </tr:column>
-            <f:facet name="footer">
-              <tr:outputText value="Total"/>
-            </f:facet>
-          </tr:table>
-        </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<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="Total Row Demo">
+      <tr:form >
+        <tr:panelPage>
+          <tr:commandLink text ="Return to Demo Start Page" 
+            action="demos.tableDemos"/>
+          <tr:table var="row" value="#{TotalBacker.list}" width="80%">
+            <tr:column width="20%">
+              <f:facet name="header">
+                <tr:outputText value="Element1" />
+              </f:facet>
+              <tr:outputText value="#{row.data1}"/>
+            </tr:column>
+            <tr:column width = "20%">
+              <f:facet name="header">
+                <tr:outputText value="Element2" />
+              </f:facet>
+              <tr:outputText value="#{row.data2}"/>
+              <f:facet name="footer">
+                <tr:commandButton text="Recalculate" 
+                  actionListener="#{TotalBacker.totalRow}"/>
+              </f:facet>
+            </tr:column>
+            <tr:column width = "20%">
+              <f:facet name="header">
+                <tr:outputText value="Totals" />
+              </f:facet>
+              <tr:outputText value="#{row.data2}"/>
+              <f:facet name="footer">
+                <tr:outputText value="#{TotalBacker.total}" />
+              </f:facet>
+            </tr:column>
+            <f:facet name="footer">
+              <tr:outputText value="Total"/>
+            </f:facet>
+          </tr:table>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx Wed Nov 10 08:13:47 2010
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-     
--->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core"
-          xmlns:tr="http://myfaces.apache.org/trinidad" version="1.2">
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <f:view>
-    <tr:document title="fileDownloadActionListener Demo">
-      <tr:form>
-        <tr:panelGroupLayout layout="vertical">
-          <f:facet name="separator">
-            <tr:separator/>
-          </f:facet>
-          <tr:panelGroupLayout layout="horizontal">
-            <tr:goLink text="Feature Demos" destination="../demos.jspx"/>
-            <tr:spacer width="10"/>
-            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html"
-                       text="Tag Documentation"/>
-          </tr:panelGroupLayout>
-          <tr:messages/>
-          <tr:outputFormatted styleUsage="instruction"
-                              value="&lt;b>fileDownloadActionListener&lt;/b>"/>
-          <tr:outputText value="Click any command component to download a file"/>
-          <tr:commandLink immediate="true" text="Command Link">
-            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
-                                           method="#{fileDownload.sendHelloFile}"/>
-          </tr:commandLink>
-          <tr:commandButton immediate="true" text="Command Button">
-            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
-                                           method="#{fileDownload.sendHelloFile}"/>
-          </tr:commandButton>
-          <tr:spacer height="20px"/>
-          <tr:outputText value="The example below shows the behavior if there is an error while processing on the server"/>
-          <tr:commandButton immediate="true" text="Click for Error">
-            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
-                                           method="#{fileDownload.errorHelloFile}"/>
-          </tr:commandButton>
-        </tr:panelGroupLayout>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+     
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:tr="http://myfaces.apache.org/trinidad" version="1.2">
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <tr:document title="fileDownloadActionListener Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:goLink text="Feature Demos" destination="../demos.jspx"/>
+            <tr:spacer width="10"/>
+            <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html"
+                       text="Tag Documentation"/>
+          </tr:panelGroupLayout>
+          <tr:messages/>
+          <tr:outputFormatted styleUsage="instruction"
+                              value="&lt;b>fileDownloadActionListener&lt;/b>"/>
+          <tr:outputText value="Click any command component to download a file"/>
+          <tr:commandLink immediate="true" text="Command Link">
+            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
+                                           method="#{fileDownload.sendHelloFile}"/>
+          </tr:commandLink>
+          <tr:commandButton immediate="true" text="Command Button">
+            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
+                                           method="#{fileDownload.sendHelloFile}"/>
+          </tr:commandButton>
+          <tr:spacer height="20px"/>
+          <tr:outputText value="The example below shows the behavior if there is an error while processing on the server"/>
+          <tr:commandButton immediate="true" text="Click for Error">
+            <tr:fileDownloadActionListener contentType="text/plain" filename="button.txt"
+                                           method="#{fileDownload.errorHelloFile}"/>
+          </tr:commandButton>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/tags/fileDownloadActionListener.jspx
------------------------------------------------------------------------------
    svn:eol-style = native