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 [29/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/changeDemos/changePersistence.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx Wed Nov 10 08:13:47 2010
@@ -1,127 +1,127 @@
-<?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="Change Persistence 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:panelHeader text="Change Persistence Feature Demos">
-          <tr:panelHeader text="Demos and overview">
-            <tr:panelGroupLayout layout="vertical">
-              <f:facet name="separator">
-                <tr:separator/>
-              </f:facet>
-              <tr:panelGroupLayout layout="vertical">
-                <tr:commandLink 
-                  text="Attribute Change Demo - Implicit Change registration" 
-                  action="demos.attributeChange_Implicit"/>
-               <tr:outputFormatted 
-                  styleUsage="instruction"
-                  value="Certain of the user actions on few Trinidad components,
-                    alter the attributes implicitly. AttributeChange behind such 
-                    changes are implicitly created and registered, so that the 
-                    UI is restored upon re-visit to the page. In this demo upon
-                    interaction with the following components, one can see this 
-                    happen:"/>
-                <tr:panelList>
-                  <tr:outputFormatted 
-                    styleUsage="instruction" 
-                    value="showDetail: Disclosure state"/>
-                  <tr:outputFormatted 
-                    styleUsage="instruction" 
-                    value="table: Row range, Row selection"/>
-                  <tr:outputFormatted 
-                    styleUsage="instruction" 
-                    value="tree: The expansion state of the nodes"/>
-                </tr:panelList>
-              </tr:panelGroupLayout>
-              <tr:panelGroupLayout layout="vertical">
-                <tr:commandLink 
-                  text="Attribute Change Demo - Explicit Change registration"
-                  action="demos.attributeChange_Explicit"/>
-               <tr:outputFormatted 
-                  styleUsage="instruction"
-                  value="This demo shows how AttributeChanges can be created 
-                    explicitly and added to ChangeManager, at any 
-                    point in the JSF lifecycle. These will be restored when the 
-                    page is visited again. There are a few components in this 
-                    page, with buttons against them, that when clicked on, 
-                    alters an attribute of the component, thereby reflecting as 
-                    a change in the UI. A managed bean behind the scene, changes 
-                    the attributes, and in addition creates and registers 
-                    AttributeChanges."/>
-              </tr:panelGroupLayout>
-              <tr:panelGroupLayout layout="vertical">
-                <tr:commandLink 
-                  text="Add, Remove or Reorder Children Change Demo - 
-                    Explicit Change registration" 
-                  action="demos.addRemoveReorderChildrenChange_Explicit"/>
-               <tr:outputFormatted 
-                  styleUsage="instruction"
-                  value="This demo shows usage of AddChildChange, 
-                    RemoveChildChange and ReorderChildChange. In this demo page, 
-                    there are a few buttons, that when clicked on, gets some 
-                    components removed or added, or the existing order of 
-                    children reversed. A managed bean behind the scene, changes 
-                    the component tree, and in addition creates and registers 
-                    these Changes explicitly. Upon re-visit to the page, one can
-                    see that these Changes are automatically applied, resulting
-                    in the component tree being restored to the last known state."/>
-              </tr:panelGroupLayout>
-              <tr:panelGroupLayout layout="vertical">
-                <tr:commandLink 
-                  text="Add or Remove Facets Change Demo - 
-                    Explicit Change registration"
-                  action="demos.addRemoveFacetsChange_Explicit"/>
-               <tr:outputFormatted 
-                  styleUsage="instruction"
-                  value="This demo shows usage of AddFacetChange and 
-                    RemoveFacetChange. This demo page contains a panelPage, with 
-                    a few facets. In the content area are few buttons that when 
-                    clicked, will result in facets being added or removed. 
-                    Correspondingly Changes are created and registered 
-                    explicitly, so that the UI state is restored upon re-visit 
-                    to this page. All this is done by a managed bean behind the 
-                    scene."/>
-              </tr:panelGroupLayout>
-            </tr:panelGroupLayout>
-          </tr:panelHeader>
-         </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="Change Persistence 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:panelHeader text="Change Persistence Feature Demos">
+          <tr:panelHeader text="Demos and overview">
+            <tr:panelGroupLayout layout="vertical">
+              <f:facet name="separator">
+                <tr:separator/>
+              </f:facet>
+              <tr:panelGroupLayout layout="vertical">
+                <tr:commandLink 
+                  text="Attribute Change Demo - Implicit Change registration" 
+                  action="demos.attributeChange_Implicit"/>
+               <tr:outputFormatted 
+                  styleUsage="instruction"
+                  value="Certain of the user actions on few Trinidad components,
+                    alter the attributes implicitly. AttributeChange behind such 
+                    changes are implicitly created and registered, so that the 
+                    UI is restored upon re-visit to the page. In this demo upon
+                    interaction with the following components, one can see this 
+                    happen:"/>
+                <tr:panelList>
+                  <tr:outputFormatted 
+                    styleUsage="instruction" 
+                    value="showDetail: Disclosure state"/>
+                  <tr:outputFormatted 
+                    styleUsage="instruction" 
+                    value="table: Row range, Row selection"/>
+                  <tr:outputFormatted 
+                    styleUsage="instruction" 
+                    value="tree: The expansion state of the nodes"/>
+                </tr:panelList>
+              </tr:panelGroupLayout>
+              <tr:panelGroupLayout layout="vertical">
+                <tr:commandLink 
+                  text="Attribute Change Demo - Explicit Change registration"
+                  action="demos.attributeChange_Explicit"/>
+               <tr:outputFormatted 
+                  styleUsage="instruction"
+                  value="This demo shows how AttributeChanges can be created 
+                    explicitly and added to ChangeManager, at any 
+                    point in the JSF lifecycle. These will be restored when the 
+                    page is visited again. There are a few components in this 
+                    page, with buttons against them, that when clicked on, 
+                    alters an attribute of the component, thereby reflecting as 
+                    a change in the UI. A managed bean behind the scene, changes 
+                    the attributes, and in addition creates and registers 
+                    AttributeChanges."/>
+              </tr:panelGroupLayout>
+              <tr:panelGroupLayout layout="vertical">
+                <tr:commandLink 
+                  text="Add, Remove or Reorder Children Change Demo - 
+                    Explicit Change registration" 
+                  action="demos.addRemoveReorderChildrenChange_Explicit"/>
+               <tr:outputFormatted 
+                  styleUsage="instruction"
+                  value="This demo shows usage of AddChildChange, 
+                    RemoveChildChange and ReorderChildChange. In this demo page, 
+                    there are a few buttons, that when clicked on, gets some 
+                    components removed or added, or the existing order of 
+                    children reversed. A managed bean behind the scene, changes 
+                    the component tree, and in addition creates and registers 
+                    these Changes explicitly. Upon re-visit to the page, one can
+                    see that these Changes are automatically applied, resulting
+                    in the component tree being restored to the last known state."/>
+              </tr:panelGroupLayout>
+              <tr:panelGroupLayout layout="vertical">
+                <tr:commandLink 
+                  text="Add or Remove Facets Change Demo - 
+                    Explicit Change registration"
+                  action="demos.addRemoveFacetsChange_Explicit"/>
+               <tr:outputFormatted 
+                  styleUsage="instruction"
+                  value="This demo shows usage of AddFacetChange and 
+                    RemoveFacetChange. This demo page contains a panelPage, with 
+                    a few facets. In the content area are few buttons that when 
+                    clicked, will result in facets being added or removed. 
+                    Correspondingly Changes are created and registered 
+                    explicitly, so that the UI state is restored upon re-visit 
+                    to this page. All this is done by a managed bean behind the 
+                    scene."/>
+              </tr:panelGroupLayout>
+            </tr:panelGroupLayout>
+          </tr:panelHeader>
+         </tr:panelHeader>
+        </tr:panelPage>
+
+       </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

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

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx Wed Nov 10 08:13:47 2010
@@ -1,62 +1,62 @@
-<?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:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
-   <tr:document title="Add dialog">
-    <tr:form>
-     <tr:panelPage>
-       <tr:messages/>
-      <tr:panelHeader text="Add two numbers">
-      <tr:panelFormLayout>
-       <tr:inputText label="Number 1:" value="#{chooseInteger.value1}"
-                     required="true">
-        <f:facet name="help">
-         <tr:outputText value="Enter an integer."/>
-        </f:facet>
-       </tr:inputText>
-       <tr:inputText label="Number 2:" value="#{chooseInteger.value2}"
-                     required="true">
-        <f:facet name="help">
-         <tr:outputText value="Enter an integer."/>
-        </f:facet>
-       </tr:inputText>
-       </tr:panelFormLayout>
-      </tr:panelHeader>
-       <tr:panelButtonBar>
-        <tr:commandButton text="Show Dialog" action="dialog:simpleDialog"
-                          windowWidth="150" windowHeight="150" immediate="true"
-                          partialSubmit="true" useWindow="true"
-                          returnListener="#{chooseInteger.sayHello}"/>
-        <tr:commandButton text="Submit">
-         <tr:returnActionListener value="#{chooseInteger.value1 + chooseInteger.value2}"/>
-        </tr:commandButton>
-        <tr:commandButton text="Cancel" immediate="true">
-         <tr:returnActionListener/>
-        </tr:commandButton>
-       </tr:panelButtonBar>
-     </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:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+   <tr:document title="Add dialog">
+    <tr:form>
+     <tr:panelPage>
+       <tr:messages/>
+      <tr:panelHeader text="Add two numbers">
+      <tr:panelFormLayout>
+       <tr:inputText label="Number 1:" value="#{chooseInteger.value1}"
+                     required="true">
+        <f:facet name="help">
+         <tr:outputText value="Enter an integer."/>
+        </f:facet>
+       </tr:inputText>
+       <tr:inputText label="Number 2:" value="#{chooseInteger.value2}"
+                     required="true">
+        <f:facet name="help">
+         <tr:outputText value="Enter an integer."/>
+        </f:facet>
+       </tr:inputText>
+       </tr:panelFormLayout>
+      </tr:panelHeader>
+       <tr:panelButtonBar>
+        <tr:commandButton text="Show Dialog" action="dialog:simpleDialog"
+                          windowWidth="150" windowHeight="150" immediate="true"
+                          partialSubmit="true" useWindow="true"
+                          returnListener="#{chooseInteger.sayHello}"/>
+        <tr:commandButton text="Submit">
+         <tr:returnActionListener value="#{chooseInteger.value1 + chooseInteger.value2}"/>
+        </tr:commandButton>
+        <tr:commandButton text="Cancel" immediate="true">
+         <tr:returnActionListener/>
+        </tr:commandButton>
+       </tr:panelButtonBar>
+     </tr:panelPage>
+    </tr:form>
+  </tr:document>
+ </f:view>
+</jsp:root>

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

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/demos.jspx Wed Nov 10 08:13:47 2010
@@ -1,70 +1,70 @@
-<?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="Apache Trinidad Feature Demos">
-       <tr:form>
-
-        <tr:panelPage>
-         <f:facet name="navigationGlobal">
-          <tr:navigationPane hint="buttons">
-           <tr:commandNavigationItem text="Return to Index"
-                                   immediate="true"
-                                   action="home"/>
-           </tr:navigationPane>
-          </f:facet>
-
-          <tr:panelHeader text="Welcome to the Apache Trinidad Feature Demos">
-           <tr:panelHeader text="Basics">
-            <tr:panelGroupLayout layout="vertical">
-              <tr:commandLink text="Converters and Validators" action="convertValidateDemos" />
-              <tr:commandLink text="Partial Page Rendering Demos"
-                              action="demos.ppr" />
-              <tr:commandLink text="Dialog Framework Demo"
-                              action="demos.dialog" />
-              <tr:commandLink text="Progress steps Demo"
-                              action="demos.progressSteps" />
-              <tr:commandLink text="Change Persistence Demos"
-                              action="demos.changePersistence" />
-              <tr:commandLink text="Table Demos" action="demos.tableDemos" />
-              <tr:commandLink text="Skin Demo" action="demos.skin" />
-              <tr:goLink text="Accessibility Profile Demo"
-                destination="accessibilityProfileDemo.jspx" />
-              <tr:goLink text="Show Detail Disclosure Demo"
-                destination="showDetailDiscloseOne.jspx" />
-              <tr:goLink text="FileDownloadActionListener Demo"
-                destination="tags/fileDownloadActionListener.jspx" />
-              <tr:goLink text="Client behavior support Demo"
-                destination="clientBehaviorHolder.xhtml" />
-            </tr:panelGroupLayout>
-           </tr:panelHeader>
-          </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="Apache Trinidad Feature Demos">
+       <tr:form>
+
+        <tr:panelPage>
+         <f:facet name="navigationGlobal">
+          <tr:navigationPane hint="buttons">
+           <tr:commandNavigationItem text="Return to Index"
+                                   immediate="true"
+                                   action="home"/>
+           </tr:navigationPane>
+          </f:facet>
+
+          <tr:panelHeader text="Welcome to the Apache Trinidad Feature Demos">
+           <tr:panelHeader text="Basics">
+            <tr:panelGroupLayout layout="vertical">
+              <tr:commandLink text="Converters and Validators" action="convertValidateDemos" />
+              <tr:commandLink text="Partial Page Rendering Demos"
+                              action="demos.ppr" />
+              <tr:commandLink text="Dialog Framework Demo"
+                              action="demos.dialog" />
+              <tr:commandLink text="Progress steps Demo"
+                              action="demos.progressSteps" />
+              <tr:commandLink text="Change Persistence Demos"
+                              action="demos.changePersistence" />
+              <tr:commandLink text="Table Demos" action="demos.tableDemos" />
+              <tr:commandLink text="Skin Demo" action="demos.skin" />
+              <tr:goLink text="Accessibility Profile Demo"
+                destination="accessibilityProfileDemo.jspx" />
+              <tr:goLink text="Show Detail Disclosure Demo"
+                destination="showDetailDiscloseOne.jspx" />
+              <tr:goLink text="FileDownloadActionListener Demo"
+                destination="tags/fileDownloadActionListener.jspx" />
+              <tr:goLink text="Client behavior support Demo"
+                destination="clientBehaviorHolder.xhtml" />
+            </tr:panelGroupLayout>
+           </tr:panelHeader>
+          </tr:panelHeader>
+        </tr:panelPage>
+
+       </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

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

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchDialog.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchDialog.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchDialog.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchDialog.jspx Wed Nov 10 08:13:47 2010
@@ -1,74 +1,74 @@
-<?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: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:navigationPane hint="buttons">
-              <tr:commandNavigationItem text="Return to Feature Demos page"
-                                  immediate="true"
-                                  action="demos"/>
-            </tr:navigationPane>
-          </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>
-	 <!-- A dummy UIXCommand component, used purely for a launch event -->
-         <tr:commandLink inlineStyle="display:none" useWindow="true"
-                         binding="#{launchDialog.dummyCommand}"/>
-         <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>
+<?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: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:navigationPane hint="buttons">
+              <tr:commandNavigationItem text="Return to Feature Demos page"
+                                  immediate="true"
+                                  action="demos"/>
+            </tr:navigationPane>
+          </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>
+	 <!-- A dummy UIXCommand component, used purely for a launch event -->
+         <tr:commandLink inlineStyle="display:none" useWindow="true"
+                         binding="#{launchDialog.dummyCommand}"/>
+         <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: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx Wed Nov 10 08:13:47 2010
@@ -1,46 +1,46 @@
-<?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: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:navigationPane hint="buttons">
-           <tr:commandNavigationItem text="Return to Feature Demos page"
-                                   immediate="true"
-                                   action="demos"/>
-          </tr:navigationPane>
-         </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>
+<?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: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:navigationPane hint="buttons">
+           <tr:commandNavigationItem text="Return to Feature Demos page"
+                                   immediate="true"
+                                   action="demos"/>
+          </tr:navigationPane>
+         </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: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/launchFromPoll.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx Wed Nov 10 08:13:47 2010
@@ -1,48 +1,48 @@
-<?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: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>
+<?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: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: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/optionsDialog.jspx
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/demos/panelPageSkinDemo.jspx Wed Nov 10 08:13:47 2010
@@ -1,240 +1,240 @@
-<?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 beforePhase="#{skinDirty.beforePhase}">
-    <trh:html>
-      <trh:head title="Skin Demo">
-        <!-- the beach skin is defined in beach.css. If you want to add your own
-     custom style classes, you can add it to beach.css or to your own css
-     file, like what we demo here in beachCustomStyles.css -->
-        <link rel="stylesheet" charset="UTF-8" type="text/css"
-              href="/adf-faces-demo-context-root/skins/beach/CustomStyles.css"/>
-      </trh:head>
-      <trh:body>
-        <tr:form>
-          <tr:panelGroupLayout layout="vertical">
-            <f:facet name="separator">
-              <tr:separator/>
-            </f:facet>
-            <tr:commandLink immediate="true" text="Component Guide"
-                            action="guide"/>
-            <tr:panelGroupLayout layout="vertical">
-              <tr:panelGroupLayout layout="horizontal" styleClass="tabsPanelGroup">
-                <tr:navigationPane hint="tabs" shortDesc="Select tab">
-                  <tr:commandNavigationItem text="Home" action="guide.navigationPane"
-                                      selected="true"/>
-                  <tr:commandNavigationItem text="Clothing" action="guide.navigationPane"/>
-                  <tr:commandNavigationItem text="Equipment" action="guide.navigationPane"/>
-                </tr:navigationPane>
-                <tr:panelGroupLayout>
-                  <tr:commandNavigationItem text="Your Account"
-                                      action="guide.navigationPane"/>
-                  <tr:outputText value="|"/>
-                  <tr:icon name="required"/>
-                  <tr:commandNavigationItem text="SALES!" action="guide.navigationPane"/>
-                  <tr:icon name="required"/>
-                  <tr:outputText value="|"/>
-                  <tr:commandNavigationItem text="Help" action="guide.navigationPane"/>
-                </tr:panelGroupLayout>
-              </tr:panelGroupLayout>
-              <!--tr:navigationPane hint="bar">
-                <tr:commandNavigationItem text="Jackets" action="guide.navigationPane"
-                                    selected="true"/>
-                <tr:commandNavigationItem text="Pants" action="guide.navigationPane"/>
-                <tr:commandNavigationItem text="Shirts" action="guide.navigationPane"/>
-                <tr:commandNavigationItem text="Shoes" action="guide.navigationPane"/>
-                <tr:commandNavigationItem text="Swimwear" action="guide.navigationPane"/>
-                <tr:commandNavigationItem text="Sale Items" action="guide.navigationPane"/>
-              </tr:navigationPane-->
-              <tr:panelGroupLayout layout="horizontal"
-                             styleClass="adfFacesDemoSearchPanelGroup">
-                <f:facet name="separator">
-                  <tr:spacer width="10px"/>
-                </f:facet>
-                <tr:selectOneChoice label="Search">
-                  <tr:selectItem label="Cycling"/>
-                  <tr:selectItem label="Climbing"/>
-                </tr:selectOneChoice>
-                <tr:selectOneChoice label="Skin-family:" autoSubmit="false"
-                                    value="#{sessionScope.skinFamily}">
-                  <tr:selectItem label="simple" value="simple"/>
-                  <tr:selectItem label="minimal" value="minimal"/>
-                  <tr:selectItem label="purple" value="purple"/>
-                  <tr:selectItem label="purpleBigFont" value="purpleBigFont"/>
-                  <tr:selectItem label="beach" value="beach"/>
-                  <tr:selectItem label="suede" value="suede"/>
-                  <tr:selectItem label="locale" value="localeDemo"/>
-                </tr:selectOneChoice>
-                <tr:commandButton text="Go"/>
-                <tr:commandButton text="Set Skin Dirty" actionListener="#{skinDirty.buttonAction}"/>
-                <tr:outputText value="(to immediately see skin's css changes)" />
-                <tr:goLink id="goLinkId" text="EmailablePageMode" 
-                  destination="panelPageSkinDemo.jspx?org.apache.myfaces.trinidad.agent.email=true" />
-                <tr:selectBooleanCheckbox text="true" label="Label (red in purple skin + email mode):" value="true"/>
-              </tr:panelGroupLayout>
-              <tr:panelGroupLayout layout="horizontal" styleClass="welcomePanel">
-                <tr:outputFormatted styleUsage="instruction"
-                                    value="&lt;b>Welcome!&lt;/b> We hope you find something you like."></tr:outputFormatted>
-              </tr:panelGroupLayout>
-              <tr:panelHorizontalLayout valign="top" inlineStyle="padding:5px;">
-                <tr:panelBox background="medium" text="Browse" inlineStyle="width:160px">
-                  <tr:outputText value="Recent Purchases"
-                                 styleClass="panelBoxHeader"/>
-                  <tr:panelList>
-                    <tr:goLink text="flip flops"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="sandals"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="trail shoes"
-                               destination="http://www.apache.org"/>
-                  </tr:panelList>
-                  <tr:outputText value="Equipment" styleClass="panelBoxHeader"/>
-                  <tr:panelList>
-                    <tr:goLink text="Cycling"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="Climbing"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="Kayaking"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="Camping"
-                               destination="http://www.apache.org"/>
-                  </tr:panelList>
-                  <tr:outputText value="Clothing" styleClass="panelBoxHeader"/>
-                  <tr:panelList>
-                    <tr:goLink text="Shirts"
-                               destination="http://www.apache.org"/>
-                    <tr:goLink text="Shoes"
-                               destination="http://www.apache.org"/>
-                  </tr:panelList>
-                </tr:panelBox>
-                <tr:panelGroupLayout layout="vertical">
-                  <tr:panelHeader text="Recommendations for you">
-                    <tr:outputText value="Everything in Camping  is on sale! Enjoy huge savings on our most popular tents                     and sleeping bags. We even have dried food and mattresses"
-                                   styleClass="mainContentText"/>
-                  </tr:panelHeader>
-                  <tr:spacer height="5px"/>
-                  <tr:panelHeader text="New in Down Jackets!">
-                    <tr:outputText value="You might be sweltering in 100 degree heat, but think ahead to the cold winters and buy                     a down jacket!"
-                                   styleClass="mainContentText"/>
-                  </tr:panelHeader>
-                  <tr:spacer height="15px"/>
-                  <tr:panelTabbed>
-                    <tr:showDetailItem text="Tab 1">
-                      <tr:panelHeader text="Tab Header 1">
-                        <tr:panelFormLayout>
-                          <tr:inputText readOnly="true" label="Label 2-1"
-                                        value="Value" styleClass="AFFieldTextMarker"/>
-                          <tr:inputText readOnly="true"
-                                        label="Date/Time from last partial refresh"
-                                        value="#{date.currentDate}"
-                                        styleClass="AFFieldTextMarker">
-                            <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
-                          </tr:inputText>
-                          <tr:inputDate label="Birthdate:"/>
-                        </tr:panelFormLayout>
-                      </tr:panelHeader>
-                    </tr:showDetailItem>
-                    <tr:showDetailItem text="Tab 2" disclosed="true">
-                      <tr:panelHeader text="PanelTabbed details">
-                        <tr:outputText value="In Locale Skin, commandButton text is red in en and de locales and blue in ro-RO. Test it out!"
-                                       styleClass="mainContentText"/>
-                        <tr:panelGroupLayout layout="horizontal">
-                          <tr:goButton text="Sorry, Disabled" disabled="true"/>
-                          <tr:spacer width="10px"/>
-                          <tr:goButton text="Go!" disabled="false"/>
-                        </tr:panelGroupLayout>
-                      </tr:panelHeader>
-                    </tr:showDetailItem>
-                    <tr:showDetailItem text="Tab 4" disabled="true"/>
-                    <tr:showDetailItem text="Tab 5">
-                      <tr:panelHeader text="Header 5">
-
-            <tr:table allDetailsEnabled="true" var="row"
-                      rowBandingInterval="2"
-                      value="#{periodicTable.tableData}" rows="10"
-                      summary="Element information">
-              <f:facet name="actions">
-                <tr:outputText value="(Actions)"/>
-              </f:facet>
-              <tr:column headerText="Name">
-                <tr:outputText value="#{row.name}"/>
-              </tr:column>
-              <f:facet name="detailStamp" >
-                <tr:panelGroupLayout layout="vertical" >
-                  <tr:outputText value="Element Name: #{row.name}"/>
-                </tr:panelGroupLayout>
-              </f:facet>
-            </tr:table>
-
-                      </tr:panelHeader>
-                    </tr:showDetailItem>
-                  </tr:panelTabbed>
-                  <tr:tree var="foo" value="#{demoTree.model}">
-                      <f:facet name="nodeStamp">
-                        <tr:outputText value="#{foo.text}"/>
-                      </f:facet>
-                    </tr:tree>
-                </tr:panelGroupLayout>
-                <tr:panelGroupLayout layout="vertical">
-                  <f:facet name="separator">
-                    <tr:spacer height="10px"/>
-                  </f:facet>
-                  <tr:panelBox background="medium" inlineStyle="width:160px">
-                    <tr:panelGroupLayout layout="vertical">
-                      <tr:outputText value="New Releases"
-                                     styleClass="panelBoxHeader"/>
-                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
-                      <tr:outputFormatted styleUsage="instruction"
-                                          value="Check this out!"/>
-                    </tr:panelGroupLayout>
-                  </tr:panelBox>
-                  <tr:panelBox background="medium" inlineStyle="width:160px">
-                    <tr:panelGroupLayout layout="vertical">
-                      <tr:outputText value="More Stuff"
-                                     styleClass="panelBoxHeader"/>
-                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
-                      <tr:outputFormatted styleUsage="instruction"
-                                          value="Check this out!"/>
-                    </tr:panelGroupLayout>
-                  </tr:panelBox>
-                  <tr:panelBox background="medium" inlineStyle="width:160px">
-                    <tr:panelGroupLayout layout="vertical">
-                      <tr:outputText value="Your New Releases"
-                                     styleClass="panelBoxHeader"/>
-                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
-                      <tr:outputFormatted styleUsage="instruction"
-                                          value="Check this out!"/>
-                    </tr:panelGroupLayout>
-                  </tr:panelBox>
-                </tr:panelGroupLayout>
-              </tr:panelHorizontalLayout>
-            </tr:panelGroupLayout>
-          </tr:panelGroupLayout>
-        </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: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 beforePhase="#{skinDirty.beforePhase}">
+    <trh:html>
+      <trh:head title="Skin Demo">
+        <!-- the beach skin is defined in beach.css. If you want to add your own
+     custom style classes, you can add it to beach.css or to your own css
+     file, like what we demo here in beachCustomStyles.css -->
+        <link rel="stylesheet" charset="UTF-8" type="text/css"
+              href="/adf-faces-demo-context-root/skins/beach/CustomStyles.css"/>
+      </trh:head>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                            action="guide"/>
+            <tr:panelGroupLayout layout="vertical">
+              <tr:panelGroupLayout layout="horizontal" styleClass="tabsPanelGroup">
+                <tr:navigationPane hint="tabs" shortDesc="Select tab">
+                  <tr:commandNavigationItem text="Home" action="guide.navigationPane"
+                                      selected="true"/>
+                  <tr:commandNavigationItem text="Clothing" action="guide.navigationPane"/>
+                  <tr:commandNavigationItem text="Equipment" action="guide.navigationPane"/>
+                </tr:navigationPane>
+                <tr:panelGroupLayout>
+                  <tr:commandNavigationItem text="Your Account"
+                                      action="guide.navigationPane"/>
+                  <tr:outputText value="|"/>
+                  <tr:icon name="required"/>
+                  <tr:commandNavigationItem text="SALES!" action="guide.navigationPane"/>
+                  <tr:icon name="required"/>
+                  <tr:outputText value="|"/>
+                  <tr:commandNavigationItem text="Help" action="guide.navigationPane"/>
+                </tr:panelGroupLayout>
+              </tr:panelGroupLayout>
+              <!--tr:navigationPane hint="bar">
+                <tr:commandNavigationItem text="Jackets" action="guide.navigationPane"
+                                    selected="true"/>
+                <tr:commandNavigationItem text="Pants" action="guide.navigationPane"/>
+                <tr:commandNavigationItem text="Shirts" action="guide.navigationPane"/>
+                <tr:commandNavigationItem text="Shoes" action="guide.navigationPane"/>
+                <tr:commandNavigationItem text="Swimwear" action="guide.navigationPane"/>
+                <tr:commandNavigationItem text="Sale Items" action="guide.navigationPane"/>
+              </tr:navigationPane-->
+              <tr:panelGroupLayout layout="horizontal"
+                             styleClass="adfFacesDemoSearchPanelGroup">
+                <f:facet name="separator">
+                  <tr:spacer width="10px"/>
+                </f:facet>
+                <tr:selectOneChoice label="Search">
+                  <tr:selectItem label="Cycling"/>
+                  <tr:selectItem label="Climbing"/>
+                </tr:selectOneChoice>
+                <tr:selectOneChoice label="Skin-family:" autoSubmit="false"
+                                    value="#{sessionScope.skinFamily}">
+                  <tr:selectItem label="simple" value="simple"/>
+                  <tr:selectItem label="minimal" value="minimal"/>
+                  <tr:selectItem label="purple" value="purple"/>
+                  <tr:selectItem label="purpleBigFont" value="purpleBigFont"/>
+                  <tr:selectItem label="beach" value="beach"/>
+                  <tr:selectItem label="suede" value="suede"/>
+                  <tr:selectItem label="locale" value="localeDemo"/>
+                </tr:selectOneChoice>
+                <tr:commandButton text="Go"/>
+                <tr:commandButton text="Set Skin Dirty" actionListener="#{skinDirty.buttonAction}"/>
+                <tr:outputText value="(to immediately see skin's css changes)" />
+                <tr:goLink id="goLinkId" text="EmailablePageMode" 
+                  destination="panelPageSkinDemo.jspx?org.apache.myfaces.trinidad.agent.email=true" />
+                <tr:selectBooleanCheckbox text="true" label="Label (red in purple skin + email mode):" value="true"/>
+              </tr:panelGroupLayout>
+              <tr:panelGroupLayout layout="horizontal" styleClass="welcomePanel">
+                <tr:outputFormatted styleUsage="instruction"
+                                    value="&lt;b>Welcome!&lt;/b> We hope you find something you like."></tr:outputFormatted>
+              </tr:panelGroupLayout>
+              <tr:panelHorizontalLayout valign="top" inlineStyle="padding:5px;">
+                <tr:panelBox background="medium" text="Browse" inlineStyle="width:160px">
+                  <tr:outputText value="Recent Purchases"
+                                 styleClass="panelBoxHeader"/>
+                  <tr:panelList>
+                    <tr:goLink text="flip flops"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="sandals"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="trail shoes"
+                               destination="http://www.apache.org"/>
+                  </tr:panelList>
+                  <tr:outputText value="Equipment" styleClass="panelBoxHeader"/>
+                  <tr:panelList>
+                    <tr:goLink text="Cycling"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="Climbing"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="Kayaking"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="Camping"
+                               destination="http://www.apache.org"/>
+                  </tr:panelList>
+                  <tr:outputText value="Clothing" styleClass="panelBoxHeader"/>
+                  <tr:panelList>
+                    <tr:goLink text="Shirts"
+                               destination="http://www.apache.org"/>
+                    <tr:goLink text="Shoes"
+                               destination="http://www.apache.org"/>
+                  </tr:panelList>
+                </tr:panelBox>
+                <tr:panelGroupLayout layout="vertical">
+                  <tr:panelHeader text="Recommendations for you">
+                    <tr:outputText value="Everything in Camping  is on sale! Enjoy huge savings on our most popular tents                     and sleeping bags. We even have dried food and mattresses"
+                                   styleClass="mainContentText"/>
+                  </tr:panelHeader>
+                  <tr:spacer height="5px"/>
+                  <tr:panelHeader text="New in Down Jackets!">
+                    <tr:outputText value="You might be sweltering in 100 degree heat, but think ahead to the cold winters and buy                     a down jacket!"
+                                   styleClass="mainContentText"/>
+                  </tr:panelHeader>
+                  <tr:spacer height="15px"/>
+                  <tr:panelTabbed>
+                    <tr:showDetailItem text="Tab 1">
+                      <tr:panelHeader text="Tab Header 1">
+                        <tr:panelFormLayout>
+                          <tr:inputText readOnly="true" label="Label 2-1"
+                                        value="Value" styleClass="AFFieldTextMarker"/>
+                          <tr:inputText readOnly="true"
+                                        label="Date/Time from last partial refresh"
+                                        value="#{date.currentDate}"
+                                        styleClass="AFFieldTextMarker">
+                            <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+                          </tr:inputText>
+                          <tr:inputDate label="Birthdate:"/>
+                        </tr:panelFormLayout>
+                      </tr:panelHeader>
+                    </tr:showDetailItem>
+                    <tr:showDetailItem text="Tab 2" disclosed="true">
+                      <tr:panelHeader text="PanelTabbed details">
+                        <tr:outputText value="In Locale Skin, commandButton text is red in en and de locales and blue in ro-RO. Test it out!"
+                                       styleClass="mainContentText"/>
+                        <tr:panelGroupLayout layout="horizontal">
+                          <tr:goButton text="Sorry, Disabled" disabled="true"/>
+                          <tr:spacer width="10px"/>
+                          <tr:goButton text="Go!" disabled="false"/>
+                        </tr:panelGroupLayout>
+                      </tr:panelHeader>
+                    </tr:showDetailItem>
+                    <tr:showDetailItem text="Tab 4" disabled="true"/>
+                    <tr:showDetailItem text="Tab 5">
+                      <tr:panelHeader text="Header 5">
+
+            <tr:table allDetailsEnabled="true" var="row"
+                      rowBandingInterval="2"
+                      value="#{periodicTable.tableData}" rows="10"
+                      summary="Element information">
+              <f:facet name="actions">
+                <tr:outputText value="(Actions)"/>
+              </f:facet>
+              <tr:column headerText="Name">
+                <tr:outputText value="#{row.name}"/>
+              </tr:column>
+              <f:facet name="detailStamp" >
+                <tr:panelGroupLayout layout="vertical" >
+                  <tr:outputText value="Element Name: #{row.name}"/>
+                </tr:panelGroupLayout>
+              </f:facet>
+            </tr:table>
+
+                      </tr:panelHeader>
+                    </tr:showDetailItem>
+                  </tr:panelTabbed>
+                  <tr:tree var="foo" value="#{demoTree.model}">
+                      <f:facet name="nodeStamp">
+                        <tr:outputText value="#{foo.text}"/>
+                      </f:facet>
+                    </tr:tree>
+                </tr:panelGroupLayout>
+                <tr:panelGroupLayout layout="vertical">
+                  <f:facet name="separator">
+                    <tr:spacer height="10px"/>
+                  </f:facet>
+                  <tr:panelBox background="medium" inlineStyle="width:160px">
+                    <tr:panelGroupLayout layout="vertical">
+                      <tr:outputText value="New Releases"
+                                     styleClass="panelBoxHeader"/>
+                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
+                      <tr:outputFormatted styleUsage="instruction"
+                                          value="Check this out!"/>
+                    </tr:panelGroupLayout>
+                  </tr:panelBox>
+                  <tr:panelBox background="medium" inlineStyle="width:160px">
+                    <tr:panelGroupLayout layout="vertical">
+                      <tr:outputText value="More Stuff"
+                                     styleClass="panelBoxHeader"/>
+                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
+                      <tr:outputFormatted styleUsage="instruction"
+                                          value="Check this out!"/>
+                    </tr:panelGroupLayout>
+                  </tr:panelBox>
+                  <tr:panelBox background="medium" inlineStyle="width:160px">
+                    <tr:panelGroupLayout layout="vertical">
+                      <tr:outputText value="Your New Releases"
+                                     styleClass="panelBoxHeader"/>
+                      <tr:image source="/skins/beach/images/otn_logo_small.gif"/>
+                      <tr:outputFormatted styleUsage="instruction"
+                                          value="Check this out!"/>
+                    </tr:panelGroupLayout>
+                  </tr:panelBox>
+                </tr:panelGroupLayout>
+              </tr:panelHorizontalLayout>
+            </tr:panelGroupLayout>
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

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