You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by ma...@apache.org on 2006/08/03 05:49:00 UTC

svn commit: r428248 [11/13] - in /incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp: ./ components/ components/html/ components/regions/ convertValidate/ demos/ demos/changeDemos/ demos/tableDemos/ email/ performance/ surveydemo/

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchDialog.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchDialog.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchDialog.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchDialog.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,54 +14,54 @@
   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:tr="http://myfaces.apache.org/trinidad" >
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <f:view>
-    <tr:document title="Dialog Demo">
-      <tr:form>
-        <tr:panelPage>
-          <f:facet name="navigationGlobal">
-            <tr:menuButtons>
-              <tr:commandNavigationItem text="Return to Feature Demos page"
-                                  immediate="true"
-                                  action="demos"/>
-            </tr:menuButtons>
-          </f:facet>
-         
-          <tr:messages/>
-        <tr:panelHeader text="Click &quot;...&quot; or &quot;Add&quot; to change a value">
-         <tr:inputText label="Pick a number:" value="(Empty)"
-                       binding="#{launchDialog.input}"/>
-         <tr:commandButton text="Add" action="#{launchDialog.doLaunch}"
-                          partialSubmit="true" useWindow="true"
-                          windowWidth="250" windowHeight="250"
-                          launchListener="#{launchDialog.addParameter}"
-                          returnListener="#{launchDialog.returned}"/>
-         <tr:separator/>
-
-         <tr:table value="#{table}" var="row" width="40%">
-           <tr:column>
-             <tr:outputText value="#{row.int}"/>
-           </tr:column>
-           <tr:column noWrap="true" width="100%">
-             <tr:panelBorderLayout>
-               <tr:inputText readOnly="true" value="(Empty)" binding="#{launchDialog.tableInput}"/>
-               <f:facet name="end">
-                 <tr:commandButton text="..." action="dialog:chooseInteger"
-                                  windowWidth="300" windowHeight="150"
-                                  useWindow="true"
-                                  returnListener="#{launchDialog.tableReturned}"/>
-               </f:facet>
-             </tr:panelBorderLayout>
-           </tr:column>
-         </tr:table>
-         <tr:goLink text="Demo of launching a dialog from &lt;tr:poll&gt;"
-                    destination="launchFromPoll.jspx"/>
-        </tr:panelHeader>
-       </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <tr:document title="Dialog Demo">
+      <tr:form>
+        <tr:panelPage>
+          <f:facet name="navigationGlobal">
+            <tr:menuButtons>
+              <tr:commandNavigationItem text="Return to Feature Demos page"
+                                  immediate="true"
+                                  action="demos"/>
+            </tr:menuButtons>
+          </f:facet>
+         
+          <tr:messages/>
+        <tr:panelHeader text="Click &quot;...&quot; or &quot;Add&quot; to change a value">
+         <tr:inputText label="Pick a number:" value="(Empty)"
+                       binding="#{launchDialog.input}"/>
+         <tr:commandButton text="Add" action="#{launchDialog.doLaunch}"
+                          partialSubmit="true" useWindow="true"
+                          windowWidth="250" windowHeight="250"
+                          launchListener="#{launchDialog.addParameter}"
+                          returnListener="#{launchDialog.returned}"/>
+         <tr:separator/>
+
+         <tr:table value="#{table}" var="row" width="40%">
+           <tr:column>
+             <tr:outputText value="#{row.int}"/>
+           </tr:column>
+           <tr:column noWrap="true" width="100%">
+             <tr:panelBorderLayout>
+               <tr:inputText readOnly="true" value="(Empty)" binding="#{launchDialog.tableInput}"/>
+               <f:facet name="end">
+                 <tr:commandButton text="..." action="dialog:chooseInteger"
+                                  windowWidth="300" windowHeight="150"
+                                  useWindow="true"
+                                  returnListener="#{launchDialog.tableReturned}"/>
+               </f:facet>
+             </tr:panelBorderLayout>
+           </tr:column>
+         </tr:table>
+         <tr:goLink text="Demo of launching a dialog from &lt;tr:poll&gt;"
+                    destination="launchFromPoll.jspx"/>
+        </tr:panelHeader>
+       </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,29 +14,29 @@
   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:tr="http://myfaces.apache.org/trinidad" >
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <f:view>
-    <tr:document title="Demo of launching from &lt;tr: poll&gt;">
-      <tr:form>
-        <tr:panelPage>
-
-         <f:facet name="navigationGlobal">
-          <tr:menuButtons>
-           <tr:commandNavigationItem text="Return to Feature Demos page"
-                                   immediate="true"
-                                   action="demos"/>
-          </tr:menuButtons>
-         </f:facet>
-         
-          <tr:messages/>
-         <tr:panelHeader text="A dialog will launch in 3 seconds">
-           <tr:poll pollListener="#{launchDialog.poll}" interval="3000"/>
-         </tr:panelHeader>
-        </tr:panelPage>
-       </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <tr:document title="Demo of launching from &lt;tr: poll&gt;">
+      <tr:form>
+        <tr:panelPage>
+
+         <f:facet name="navigationGlobal">
+          <tr:menuButtons>
+           <tr:commandNavigationItem text="Return to Feature Demos page"
+                                   immediate="true"
+                                   action="demos"/>
+          </tr:menuButtons>
+         </f:facet>
+         
+          <tr:messages/>
+         <tr:panelHeader text="A dialog will launch in 3 seconds">
+           <tr:poll pollListener="#{launchDialog.poll}" interval="3000"/>
+         </tr:panelHeader>
+        </tr:panelPage>
+       </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,31 +14,31 @@
   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:tr="http://myfaces.apache.org/trinidad" >
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <f:view>
-    <tr:document title="Choose options">
-      <tr:form>
-       <tr:panelPage>
-        <tr:messages/>
-        <tr:panelHeader text="Choose options">
-         <tr:panelFormLayout>
-           <tr:panelLabelAndMessage label="Options:" for="options">
-            <h:selectManyCheckbox value="#{carOptionsBacking.options}" id="options">
-              <f:selectItems value="#{carOptionsBacking.optionsItems}"/>
-            </h:selectManyCheckbox>
-               
-           </tr:panelLabelAndMessage>
-         </tr:panelFormLayout>
-        </tr:panelHeader>
-        <tr:panelButtonBar>
-          <tr:commandButton text="OK" action="#{carOptionsBacking.pickOptions}"/>
-        </tr:panelButtonBar>
-       </tr:panelPage>
-     </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<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:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <tr:document title="Choose options">
+      <tr:form>
+       <tr:panelPage>
+        <tr:messages/>
+        <tr:panelHeader text="Choose options">
+         <tr:panelFormLayout>
+           <tr:panelLabelAndMessage label="Options:" for="options">
+            <h:selectManyCheckbox value="#{carOptionsBacking.options}" id="options">
+              <f:selectItems value="#{carOptionsBacking.optionsItems}"/>
+            </h:selectManyCheckbox>
+               
+           </tr:panelLabelAndMessage>
+         </tr:panelFormLayout>
+        </tr:panelHeader>
+        <tr:panelButtonBar>
+          <tr:commandButton text="OK" action="#{carOptionsBacking.pickOptions}"/>
+        </tr:panelButtonBar>
+       </tr:panelPage>
+     </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/pprDemos.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/pprDemos.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/pprDemos.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/pprDemos.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,250 +14,250 @@
   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:menuButtons>
-        <tr:commandNavigationItem text="Return to Feature Demos page"
-                                immediate="true"
-                                action="demos"/>
-       </tr:menuButtons>
-      </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="Globally updated">
-        <tr:outputFormatted styleUsage="instruction"
-                            value="This text gets updated on ANY partial update of the page."/>
-        <tr:panelGroupLayout>
-         <tr:panelLabelAndMessage label="last PPR update: ">
-          <tr:outputFormatted id="globalUpdate"
-                              partialTriggers="*"
-                              styleUsage="instruction"
-                              binding="#{partialDemoUtil.globalUpdate}"
-                              value="never">
-           <f:convertDateTime pattern="HH:mm:ss"/>
-          </tr:outputFormatted>
-         </tr:panelLabelAndMessage>
-        </tr:panelGroupLayout>
-       </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="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:panelGroupLayout>
-     </tr:panelHeader>
-     </tr:panelPage>
-    </tr:form>
-  </tr:document>
- </f:view>
-</jsp:root>
+<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:menuButtons>
+        <tr:commandNavigationItem text="Return to Feature Demos page"
+                                immediate="true"
+                                action="demos"/>
+       </tr:menuButtons>
+      </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="Globally updated">
+        <tr:outputFormatted styleUsage="instruction"
+                            value="This text gets updated on ANY partial update of the page."/>
+        <tr:panelGroupLayout>
+         <tr:panelLabelAndMessage label="last PPR update: ">
+          <tr:outputFormatted id="globalUpdate"
+                              partialTriggers="*"
+                              styleUsage="instruction"
+                              binding="#{partialDemoUtil.globalUpdate}"
+                              value="never">
+           <f:convertDateTime pattern="HH:mm:ss"/>
+          </tr:outputFormatted>
+         </tr:panelLabelAndMessage>
+        </tr:panelGroupLayout>
+       </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="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:panelGroupLayout>
+     </tr:panelHeader>
+     </tr:panelPage>
+    </tr:form>
+  </tr:document>
+ </f:view>
+</jsp:root>

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

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/progressSteps.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/progressSteps.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/progressSteps.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/progressSteps.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,113 +14,113 @@
   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:menuButtons>
-              <tr:commandNavigationItem 
-                text="Return to Feature Demos page"
-                immediate="true"
-                action="demos"
-                actionListener="#{progressSteps.cancelProcess}"/>
-             </tr:menuButtons>
-            </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="AFDataText">
-                  <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 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:menuButtons>
+              <tr:commandNavigationItem 
+                text="Return to Feature Demos page"
+                immediate="true"
+                action="demos"
+                actionListener="#{progressSteps.cancelProcess}"/>
+             </tr:menuButtons>
+            </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="AFDataText">
+                  <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: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/progressSteps.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,28 +14,28 @@
   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>
+<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: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/simpleDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/successDialog.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/successDialog.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/successDialog.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/successDialog.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,25 +14,25 @@
   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>
+<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: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/successDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/WelCome.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,43 +14,43 @@
   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="Welcome to AddRow and TotalRow demos">
-      <tr:form >
-        <tr:panelPage>
-          <f:facet name="navigationGlobal">
-          <tr:menuButtons>
-            <tr:commandNavigationItem text="Return to Feature Demos page"
-                                immediate="true"
-                                action="demos"/>
-           </tr:menuButtons>
-          </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:panelGroupLayout>
-        </tr:panelPage>
-      </tr:form>
-    </tr:document>
-  </f:view>
+<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="Welcome to AddRow and TotalRow demos">
+      <tr:form >
+        <tr:panelPage>
+          <f:facet name="navigationGlobal">
+          <tr:menuButtons>
+            <tr:commandNavigationItem text="Return to Feature Demos page"
+                                immediate="true"
+                                action="demos"/>
+           </tr:menuButtons>
+          </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:panelGroupLayout>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
 </jsp:root>

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

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,38 +14,38 @@
   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 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: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/addRow.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,50 +14,50 @@
   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 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: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/tableDemos/totalRow.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/confirmSent.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/confirmSent.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/confirmSent.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/confirmSent.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,70 +14,70 @@
   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:tr="http://myfaces.apache.org/trinidad" >
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <!-- 
-  Load a resource bundle localized for the Locale of the current view, 
-  and expose it (as a Map) in the request attributes of the current request. 
-  Please note that we are not localizing every string in this demo. We want
-  to show you an example of how to do this, but also make the demo an
-  example that is easy to follow.
-  -->
-  <f:loadBundle var="nls"
-                basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
-  <f:view>
-    <tr:document title="Message Sent">
-       <tr:form>
-        <tr:panelPage>
-          
-          <f:facet name="branding">
-            <tr:panelGroupLayout layout="vertical">
-              <tr:panelGroupLayout>
-                <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
-                <tr:image source="/email/images/pbs.gif"/>
-              </tr:panelGroupLayout>
-              <tr:outputFormatted value="Customer &lt;b&gt;Foo - Anywhere, U.S.A. &lt;/b&gt;"
-                                 styleUsage="inContextBranding"/>
-            </tr:panelGroupLayout>
-          </f:facet>
-          
-          <f:facet name="navigationGlobal">
-              <tr:menuButtons>
-                <tr:commandNavigationItem text="Return to Index"
-                    immediate="true"
-                    action="home"/>
-                <tr:commandNavigationItem text="Logout" 
-                                  action="#{email.logout}"/>
-                <tr:commandNavigationItem text="Preferences"
-                                  action="preferences"/>
-                <tr:commandNavigationItem text="Help"
-                                  action="action.none"/>
-              </tr:menuButtons>
-            </f:facet>
-            
-            <f:facet name="infoUser">
-              <tr:outputFormatted value="Logged in as #{email.username}"
-                             styleUsage="pageStamp"/>
-            </f:facet>
-        
-          <tr:panelHeader messageType="confirmation" text="Message Sent">
-            <tr:outputFormatted value="#{nls.MESSAGE_SENT}"/>
-          </tr:panelHeader>
-
-          <!--
-          <f:facet name="infoReturn">
-            <tr:commandLink text="Return to #{email.currentFolder.name}"
-                            action="messages" immediate="true"/>
-          </f:facet>
-          -->
-          <tr:panelButtonBar>
-            <tr:commandButton textAndAccessKey="Back to &amp;Messages" immediate="true"
-                              action="messages"/>                                
-          </tr:panelButtonBar>
-        </tr:panelPage>
-       </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <!-- 
+  Load a resource bundle localized for the Locale of the current view, 
+  and expose it (as a Map) in the request attributes of the current request. 
+  Please note that we are not localizing every string in this demo. We want
+  to show you an example of how to do this, but also make the demo an
+  example that is easy to follow.
+  -->
+  <f:loadBundle var="nls"
+                basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
+  <f:view>
+    <tr:document title="Message Sent">
+       <tr:form>
+        <tr:panelPage>
+          
+          <f:facet name="branding">
+            <tr:panelGroupLayout layout="vertical">
+              <tr:panelGroupLayout>
+                <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
+                <tr:image source="/email/images/pbs.gif"/>
+              </tr:panelGroupLayout>
+              <tr:outputFormatted value="Customer &lt;b&gt;Foo - Anywhere, U.S.A. &lt;/b&gt;"
+                                 styleUsage="inContextBranding"/>
+            </tr:panelGroupLayout>
+          </f:facet>
+          
+          <f:facet name="navigationGlobal">
+              <tr:menuButtons>
+                <tr:commandNavigationItem text="Return to Index"
+                    immediate="true"
+                    action="home"/>
+                <tr:commandNavigationItem text="Logout" 
+                                  action="#{email.logout}"/>
+                <tr:commandNavigationItem text="Preferences"
+                                  action="preferences"/>
+                <tr:commandNavigationItem text="Help"
+                                  action="action.none"/>
+              </tr:menuButtons>
+            </f:facet>
+            
+            <f:facet name="infoUser">
+              <tr:outputFormatted value="Logged in as #{email.username}"
+                             styleUsage="pageStamp"/>
+            </f:facet>
+        
+          <tr:panelHeader messageType="confirmation" text="Message Sent">
+            <tr:outputFormatted value="#{nls.MESSAGE_SENT}"/>
+          </tr:panelHeader>
+
+          <!--
+          <f:facet name="infoReturn">
+            <tr:commandLink text="Return to #{email.currentFolder.name}"
+                            action="messages" immediate="true"/>
+          </f:facet>
+          -->
+          <tr:panelButtonBar>
+            <tr:commandButton textAndAccessKey="Back to &amp;Messages" immediate="true"
+                              action="messages"/>                                
+          </tr:panelButtonBar>
+        </tr:panelPage>
+       </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/confirmSent.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/login.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/login.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/login.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/login.jspx Wed Aug  2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
 <!--
   Copyright 2006 The Apache Software Foundation.
 
@@ -14,75 +14,75 @@
   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:tr="http://myfaces.apache.org/trinidad">
-  <jsp:directive.page contentType="text/html;charset=utf-8"/>
-  <!-- 
-  Load a resource bundle localized for the Locale of the current view, 
-  and expose it (as a Map) in the request attributes of the current request. 
-  Please note that we are not localizing every string in this demo. We want
-  to show you an example of how to do this, but also make the demo an
-  example that is easy to follow.
-  -->
-  <f:loadBundle var="nls"
-                basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
-  <f:view>
-    <tr:document title="Email Log In">
-        <tr:form>
-          <tr:panelPage>
-            <tr:messages/>
-            <f:facet name="branding">
-              <tr:panelGroupLayout layout="vertical">
-                <tr:panelGroupLayout>
-                  <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}"
-                                      styleClass="AFHeaderLevelOne"/>
-                  <tr:image source="/email/images/pbs.gif"
-                                  shortDesc="Email demo"/>
-                </tr:panelGroupLayout>
-                <tr:outputFormatted value="Customer &lt;b>Foo - Anywhere, U.S.A. &lt;/b>"
-                                    styleUsage="inContextBranding"/>
-              </tr:panelGroupLayout>
-            </f:facet>
-            <f:facet name="navigationGlobal">
-              <tr:menuButtons>
-                <tr:commandNavigationItem text="Return to Index" immediate="true"
-                                    action="home"/>
-                <tr:commandNavigationItem text="Help" action="action.none"/>
-              </tr:menuButtons>
-            </f:facet>
-            <f:facet name="infoStatus">
-              <tr:outputText styleClass="AFErrorText"
-                             value="Note: The Trinidad Email Demo application is not                  configured to use a secure communication channel between                  the browser and the application server - or between the                  application server and the IMAP server.                   This means that your data (including your user name/password                  and email contents) are transmitted in a non-secure manner.                   Thus, this sample application should only be used in environments                 that are known to be secure."/>
-            </f:facet>
-           <tr:panelHeader text="Email Log In">
-            <tr:panelFormLayout>
-              <tr:inputText required="true" labelAndAccessKey="&amp;Username"
-                            value="#{email.username}">
-                <f:facet name="help">
-                  <tr:outputFormatted value="The part that comes &lt;b>before&lt;/b> the @ in your email address"/>
-                </f:facet>
-              </tr:inputText>
-              <tr:inputText labelAndAccessKey="&amp;Password"
-                            value="#{email.password}" secret="true"/>
-              <tr:inputText required="true" label="Domain"
-                            value="#{email.domain}">
-                <f:facet name="help">
-                  <tr:outputFormatted value="The part that comes &lt;b>after&lt;/b> the @ in your email address"/>
-                </f:facet>
-                </tr:inputText>
-              <tr:inputText required="true" label="IMAP Server"
-                            value="#{email.server}"/>
-              <tr:inputText required="true" label="SMTP Server"
-                            value="#{email.smtpServer}"/>
-            </tr:panelFormLayout>
-           </tr:panelHeader>
-            <tr:panelButtonBar>
-              <tr:commandButton textAndAccessKey="&amp;Log In"
-                                action="#{email.login}"/>
-            </tr:panelButtonBar>
-          </tr:panelPage>
-        </tr:form>
-    </tr:document>
-  </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:tr="http://myfaces.apache.org/trinidad">
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <!-- 
+  Load a resource bundle localized for the Locale of the current view, 
+  and expose it (as a Map) in the request attributes of the current request. 
+  Please note that we are not localizing every string in this demo. We want
+  to show you an example of how to do this, but also make the demo an
+  example that is easy to follow.
+  -->
+  <f:loadBundle var="nls"
+                basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
+  <f:view>
+    <tr:document title="Email Log In">
+        <tr:form>
+          <tr:panelPage>
+            <tr:messages/>
+            <f:facet name="branding">
+              <tr:panelGroupLayout layout="vertical">
+                <tr:panelGroupLayout>
+                  <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}"
+                                      styleClass="AFHeaderLevelOne"/>
+                  <tr:image source="/email/images/pbs.gif"
+                                  shortDesc="Email demo"/>
+                </tr:panelGroupLayout>
+                <tr:outputFormatted value="Customer &lt;b>Foo - Anywhere, U.S.A. &lt;/b>"
+                                    styleUsage="inContextBranding"/>
+              </tr:panelGroupLayout>
+            </f:facet>
+            <f:facet name="navigationGlobal">
+              <tr:menuButtons>
+                <tr:commandNavigationItem text="Return to Index" immediate="true"
+                                    action="home"/>
+                <tr:commandNavigationItem text="Help" action="action.none"/>
+              </tr:menuButtons>
+            </f:facet>
+            <f:facet name="infoStatus">
+              <tr:outputText styleClass="AFErrorText"
+                             value="Note: The Trinidad Email Demo application is not                  configured to use a secure communication channel between                  the browser and the application server - or between the                  application server and the IMAP server.                   This means that your data (including your user name/password                  and email contents) are transmitted in a non-secure manner.                   Thus, this sample application should only be used in environments                 that are known to be secure."/>
+            </f:facet>
+           <tr:panelHeader text="Email Log In">
+            <tr:panelFormLayout>
+              <tr:inputText required="true" labelAndAccessKey="&amp;Username"
+                            value="#{email.username}">
+                <f:facet name="help">
+                  <tr:outputFormatted value="The part that comes &lt;b>before&lt;/b> the @ in your email address"/>
+                </f:facet>
+              </tr:inputText>
+              <tr:inputText labelAndAccessKey="&amp;Password"
+                            value="#{email.password}" secret="true"/>
+              <tr:inputText required="true" label="Domain"
+                            value="#{email.domain}">
+                <f:facet name="help">
+                  <tr:outputFormatted value="The part that comes &lt;b>after&lt;/b> the @ in your email address"/>
+                </f:facet>
+                </tr:inputText>
+              <tr:inputText required="true" label="IMAP Server"
+                            value="#{email.server}"/>
+              <tr:inputText required="true" label="SMTP Server"
+                            value="#{email.smtpServer}"/>
+            </tr:panelFormLayout>
+           </tr:panelHeader>
+            <tr:panelButtonBar>
+              <tr:commandButton textAndAccessKey="&amp;Log In"
+                                action="#{email.login}"/>
+            </tr:panelButtonBar>
+          </tr:panelPage>
+        </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/email/login.jspx
------------------------------------------------------------------------------
    svn:eol-style = native