incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r523607 [14/14] - in /incubator/adffaces/trunk/trinidad: trinidad-assembly/ trinidad-assembly/src/ trinidad-assembly/src/main/ trinidad-assembly/src/main/assembly/ trinidad-assembly/src/main/resources/ trinidad-examples/ trinidad-examples/b...
Date Thu, 29 Mar 2007 07:51:08 GMT
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/confirm.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/confirm.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/confirm.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/confirm.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,47 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Confirmation"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Confirmation">
+            <tr:outputText styleClass="AFInstructionText"
+              value="Thank you for shopping with us. Your confirmation number is:" />
+            <tr:outputText styleClass="AFInstructionText"
+              inlineStyle="font-weight:bold" value="#{order.id}" />
+          </tr:panelHeader>
+         </tr:panelPage>
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/credit.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/credit.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/credit.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/credit.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,54 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Enter Credit Card Information"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelPage>
+            <tr:messages/>
+            <tr:panelFormLayout>
+              <tr:panelHeader text="Credit Card">
+                <tr:inputText label="First Name" value="#{order.creditCard.firstName}"/>
+                <tr:inputText label="Last Name" value="#{order.creditCard.lastName}"/>
+                <tr:inputText label="Card Number" value="#{order.creditCard.number}"/>
+                <tr:inputText label="Expiration Date" value="#{order.creditCard.expirationDate}"/>
+              </tr:panelHeader>
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>
+              <tr:singleStepButtonBar selectedStep="2" maxStep="5"
+                                      nextActionListener="#{order.processNext}"
+                                      nextAction="#{order.getNextAction}"
+                                      previousActionListener="#{order.processPrevious}"
+                                      previousAction="#{order.getPreviousAction}"/>
+            </tr:panelButtonBar>
+          </tr:panelPage>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/dynamic.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/dynamic.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/dynamic.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/dynamic.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,33 @@
+<?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="1.2"
+          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="Test of dynamic components">
+    <tr:form>
+     <tr:panelBox binding="#{dynamic.panel}"/>
+    </tr:form>
+   </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/el.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/el.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/el.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/el.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,50 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Test of Trinidad EL bindings"/>
+      <trh:body>
+       <tr:panelPage>
+       <tr:form>
+         <tr:messages/>
+         <tr:panelGroupLayout layout="vertical">
+           <tr:outputText value="Current context is #{requestContext}"/>
+           <tr:outputText value="Right to left? :  #{requestContext.rightToLeft}"/>
+           <tr:outputText value="Look and feel? :  #{requestContext.lookAndFeel}"/>
+           <tr:outputText value="Accessibility mode? :  #{requestContext.accessibilityMode}"/>
+           <tr:outputText value="Time zone? :  #{requestContext.timeZone}"/>
+           
+           <tr:outputText value="#{requestContext.formatter['Test {0} MessageFormat']['of']}"/>
+           <tr:goLink destination="#{requestContext.helpSystem.frontPage}" text="Get Help"/>
+           <tr:goLink destination="#{requestContext.helpTopic.ui_table}" text="Get Help"/>
+         </tr:panelGroupLayout>
+       </tr:form>
+       </tr:panelPage>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/forEachTest.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/forEachTest.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/forEachTest.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/forEachTest.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,118 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+   <tr:form>
+   <tr:panelGroupLayout layout="vertical">
+   
+   <!-- EACH OF THE BLOCK BELOW IS A SINGLE TEST CASE, UNCOMMENT EACH AND TEST -->
+   
+   <!-- 'begin' and 'end' should default to '0' and size of 'items' respectively 
+      value of 'var' is substring of value of 'varStatus', should work fine -->
+    <!--<tr:forEach var="item" varStatus="itemitem" step="3" end="500" items="#{table}">
+      <tr:outputText 
+        value="item: #{item.string} varStatus.current: #{itemitem.current.string} varStatus.index: #{itemitem.index}"/>
+    </tr:forEach>-->
+
+    <!-- 'items' not specified, there should be iterations governed by 'begin'
+      and 'end' #{item} should resolve to an integer same as #{itemitem.index}"-->
+    <!--<tr:forEach var="item" varStatus="itemitem" begin="0" end="500">
+      <tr:outputText 
+        value="item: #{item} varStatus.current: #{itemitem.current} varStatus.index: #{itemitem.index}"/>
+    </tr:forEach>-->
+
+    <!-- 'items' not specified, but used in the expressions, some EL parsing errors expected -->
+    <!--<tr:forEach var="item" varStatus="itemitem" begin="0" end="500">
+      <tr:outputText 
+        value="item: #{item.string} varStatus.current: #{itemitem.current.string} varStatus.index: #{itemitem.index}"/>
+    </tr:forEach>-->
+
+    <!-- 'begin' greater than size of 'items' - hence no looping -->
+    <!--<tr:forEach var="item" varStatus="itemitem" begin="20" step="3" end="500" items="#{table}">
+      <tr:outputText 
+        value="item: #{item.string} varStatus.current: #{itemitem.current.string} varStatus.index: #{itemitem.index}"/>
+    </tr:forEach>-->
+    
+    <!-- 'items' do not resolve to anything valid, there should be no looping hence -->
+    <!--<tr:forEach var="item" varStatus="itemitem" begin="0" end="500" items="#{error_on_resolution}">
+      <tr:outputText 
+        value="item: #{item.string} varStatus.current: #{itemitem.current.string} varStatus.index: #{itemitem.index}"/>
+    </tr:forEach>-->
+
+    <!-- the EL expressions should not be tried to be resolved as the usage of values from
+      'var' and 'varStatus' is not correct -->
+    <!--@todo =-=pu:  FAILURE
+    <tr:forEach var="item" varStatus="itemitem" step="3" end="500" items="#{table}">
+      <tr:outputText 
+        value="item: #{itemerror.string} varStatus.current: #{itemitemerror.current.string} varStatus.index: #{itemitem[1].index}"/>
+    </tr:forEach>
+    FAILURE -->
+    
+    <!-- Nested use of forEach with 'items' specified -->
+    <!--<tr:forEach var="outer" items="#{listOfLists}">
+      <tr:forEach var="inner" items="#{outer}">
+        <tr:outputText id="myStyledText" rendered="#{(inner.int % 2 == 0)}" value="#{inner.string}"/>
+      </tr:forEach>
+    </tr:forEach>-->
+    
+    <!-- The varStatus.current should be same as varStatus.index below, nesting
+      scope should be respected for variables -->
+    <!--<tr:forEach varStatus="outer" begin="1" end="10" step="2">
+      <tr:forEach varStatus="inner" begin="1" end="5">
+        <tr:outputText id="ot1" value="outer.index: #{outer.index} | outer.count: #{outer.count} | outer.begin: #{outer.begin} | outer.end: #{outer.end} | outer.step: #{outer.step} | outer.isFirst: #{outer.first} | outer.isLast: #{outer.last} | outer.current: #{outer.current}"/>
+        <tr:outputText id="ot2" value="inner.index: #{inner.index} | inner.count: #{inner.count} | inner.begin: #{inner.begin} | inner.end: #{inner.end} | inner.step: #{inner.step} | inner.isFirst: #{inner.first} | inner.isLast: #{inner.last} | inner.current: #{inner.current}"/>
+      </tr:forEach>
+    </tr:forEach>-->
+    
+    <!-- Should throw an Jsp error as 'begin' and 'end' are must in absence of 'items' -->
+    <!--<tr:forEach varStatus="inner" begin="1">
+    </tr:forEach>-->
+    
+    <!-- Should throw an Jsp error as 'begin' > 'end' -->
+    <!--<tr:forEach varStatus="inner" begin="10" end="1">
+    </tr:forEach>-->
+    
+    <!-- Should throw an Jsp error as 'begin' < 0 -->
+    <!--<tr:forEach varStatus="inner" begin="-1" end="0">
+    </tr:forEach>-->
+
+    <!-- Should throw an Jsp error as 'step' !> 0 -->
+    <!--<tr:forEach varStatus="inner" begin="0" end="10" step="0">
+    </tr:forEach>-->
+    
+    <!-- Only one iteration as the step is very large -->
+    <!--<tr:forEach varStatus="outer" begin="1" end="10" step="20">
+        <tr:outputText id="ot1" value="outer.index: #{outer.index} | outer.count: #{outer.count} | outer.begin: #{outer.begin} | outer.end: #{outer.end} | outer.step: #{outer.step} | outer.isFirst: #{outer.first} | outer.isLast: #{outer.last}"/>
+    </tr:forEach>-->
+
+    <!-- 'var' and 'varStatus' cannot have the same value  - should throw Jsp error-->
+    <!--<tr:forEach varStatus="outer" var="outer" begin="1" end="10" step="20">
+    </tr:forEach>-->
+
+   </tr:panelGroupLayout>
+   </tr:form>   
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/hideShowInTable.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/hideShowInTable.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/hideShowInTable.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/hideShowInTable.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,49 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Test of hideShow in the table"/>
+
+      <trh:body>
+       <tr:form>
+         <tr:messages/>
+         <tr:table value="#{table}" var="row">
+          <tr:column>
+            <tr:showDetail>
+              <tr:inputText columns="2" required="true" value="#{row.int}"/>
+            </tr:showDetail>
+          </tr:column>
+          <tr:column>
+            <tr:inputText value="#{row.string}"/>
+          </tr:column>
+         </tr:table>
+         <tr:commandButton text="Submit"/>
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/items.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/items.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/items.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/items.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,51 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Shopping"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Items">
+            <tr:panelFormLayout>        
+              <tr:inputText readOnly="true" value="foobar" label="Items" />
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>        
+              <tr:singleStepButtonBar selectedStep="1" maxStep="5"
+                nextActionListener="#{order.processNext}" 
+                nextAction="#{order.getNextAction}"/>
+            </tr:panelButtonBar>
+          </tr:panelHeader>
+        </tr:panelPage>
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/login.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/login.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/login.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/login.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,51 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Log In"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Log In">
+            <tr:panelFormLayout> 
+              <tr:inputText label="UserName" value="#{order.customer.userName}"/>
+              <tr:inputText label="Password" value="#{order.customer.password}" secret="true"/>   
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>  
+              <tr:commandButton text="Log In" action="loggedIn"/>
+              <tr:commandButton text="New User" action="newUser"/>   
+            </tr:panelButtonBar>
+          </tr:panelHeader>
+        </tr:panelPage>
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/register.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/register.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/register.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/register.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,52 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Register"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Register">
+            <tr:panelFormLayout>      
+              <tr:inputText label="UserName"   value="#{order.customer.userName}"/>
+              <tr:inputText label="Password"   value="#{order.customer.password}" secret="true"/>    
+              <tr:inputText label="First Name"  value="#{order.customer.firstName}"/>   
+              <tr:inputText label="Last Name"  value="#{order.customer.lastName}"/>   
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>    
+              <tr:commandButton text="Log In" action="loggedIn"/> 
+            </tr:panelButtonBar>
+          </tr:panelHeader>
+        </tr:panelPage>
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/review.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/review.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/review.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/review.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,83 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Confirm Order Information"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Review Order Information">
+            <tr:panelHeader text="Customer Information">
+              <tr:panelFormLayout>        
+                <tr:inputText readOnly="true" label="First Name"  value="#{order.customer.firstName}"/>   
+                <tr:inputText readOnly="true" label="Last Name"  value="#{order.customer.lastName}"/>   
+              </tr:panelFormLayout>
+            </tr:panelHeader>
+            <tr:panelHeader text="Credit Card Information">
+              <tr:panelFormLayout>       
+               <tr:inputText readOnly="true" label="First Name"  value="#{order.creditCard.firstName}"/>   
+               <tr:inputText readOnly="true" label="Last Name"  value="#{order.creditCard.lastName}"/>      
+               <tr:inputText readOnly="true" label="Card Number" value="#{order.creditCard.number}"/>   
+               <tr:inputText readOnly="true" label="Expiration Date" value="#{order.creditCard.expirationDate}"/>   
+              </tr:panelFormLayout>
+            </tr:panelHeader>
+            <tr:panelHeader text="Billing Address">
+              <tr:panelFormLayout>     
+               <tr:inputText readOnly="true" label="First Name"  value="#{order.billingAddress.firstName}"/>   
+               <tr:inputText readOnly="true" label="Last Name"  value="#{order.billingAddress.lastName}"/>         
+               <tr:inputText readOnly="true" label="Street Address" value="#{order.billingAddress.streetAddress}"/>   
+               <tr:inputText readOnly="true" label="City" value="#{order.billingAddress.city}"/>   
+               <tr:inputText readOnly="true" label="State" value="#{order.billingAddress.state}"/>   
+               <tr:inputText readOnly="true" label="Zip Code" value="#{order.billingAddress.zip}"/>   
+              </tr:panelFormLayout>
+            </tr:panelHeader> 
+            <tr:panelHeader text="Shipping Address">
+              <tr:panelFormLayout>     
+                <tr:inputText readOnly="true" label="First Name"  value="#{order.shippingAddress.firstName}"/>   
+                <tr:inputText readOnly="true" label="Last Name"  value="#{order.shippingAddress.lastName}"/>      
+                <tr:inputText readOnly="true" label="Street Address" value="#{order.shippingAddress.streetAddress}"/>   
+                <tr:inputText readOnly="true" label="City" value="#{order.shippingAddress.city}"/>   
+                <tr:inputText readOnly="true" label="State" value="#{order.shippingAddress.state}"/>   
+                <tr:inputText readOnly="true" label="Zip Code" value="#{order.shippingAddress.zip}"/>    
+              </tr:panelFormLayout>
+            </tr:panelHeader>
+            <tr:panelButtonBar>        
+              <tr:singleStepButtonBar selectedStep="5" maxStep="5" 
+                previousActionListener="#{order.processPrevious}" 
+                previousAction="#{order.getPreviousAction}"/>
+              <tr:commandButton action="confirm" text="Confirm Order"/>
+            </tr:panelButtonBar>
+          </tr:panelHeader>
+         </tr:panelPage>   
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/sample.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/sample.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/sample.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/sample.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,84 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Sample page"/>
+      <trh:body>
+       <tr:form>
+        <tr:panelPage id="plTarget"
+                      binding="#{ui.panelPage}"
+                      partialTriggers="sd1 sd2">
+          <tr:messages/>
+          <f:facet name="manu1">
+            <tr:menuTabs >
+              <tr:goLink text="Home" destination="#" />
+              <tr:goLink text="Home 2" destination="#" />
+            </tr:menuTabs>
+          </f:facet>
+          <tr:commandButton text="Nothing" action="#{action.nothing}"/>
+          <tr:commandButton text="Fire Action Listener"
+                            actionListener="#{ui.anActionListener}"/>
+          <!-- This component is a trigger for the panelPage, 'cause our
+                disclosureListener modifies the panelPage's title -->
+          <tr:showDetail id="sd1"
+                         disclosureListener="#{ui.aDisclosureListener}">
+           <f:verbatim>
+            Some text
+           </f:verbatim>
+          </tr:showDetail>
+          <tr:showDetail id="sd2"
+                         immediate="false"
+                         disclosureListener="#{ui.aDisclosureListener}">
+           <f:verbatim>
+            Some more text
+           </f:verbatim>
+          </tr:showDetail>
+
+          <tr:inputText id="mti1" value="#{data.int}" required="true" label="label"/>
+
+
+          <tr:table value="#{table}" var="row" rows="10">
+           <f:facet name="selection">
+            <tr:tableSelectMany/>
+           </f:facet>
+           <tr:column>
+            <tr:inputText value="#{row.int}"/>
+           </tr:column>
+           <tr:column>
+            <tr:inputText value="#{row.string}"/>
+           </tr:column>
+           <tr:column>
+             <tr:commandButton text="Details..."
+                                action="#{row.showDetail}"/>
+           </tr:column>
+          </tr:table>
+        </tr:panelPage>
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/selectItemTest.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/selectItemTest.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/selectItemTest.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/selectItemTest.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,116 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Test of selectItemSupport"/>
+      <trh:body>
+       <tr:form>
+         <tr:panelFormLayout rows="5" maxColumns="3">
+           <tr:selectOneChoice label="Explicit selectItem">
+             <f:selectItem itemValue="foo" itemLabel="Foo"/>
+             <f:selectItem itemValue="bar" itemLabel="Bar"/>
+             <f:selectItem itemValue="baz" itemLabel="Baz"/>
+           </tr:selectOneChoice>
+
+           <tr:selectOneChoice label="Bound selectItem">
+             <f:selectItem value="#{selectItemTest.oneItem}"/>
+             <f:selectItem value="#{selectItemTest.itemList[1]}"/>
+             <f:selectItem value="#{selectItemTest.itemList[2]}"/>
+           </tr:selectOneChoice>
+
+           <tr:selectOneChoice label="selectItems at list">
+             <f:selectItems value="#{selectItemTest.itemList}"/>
+           </tr:selectOneChoice>
+
+           <tr:selectOneChoice label="selectItems at array">
+             <f:selectItems value="#{selectItemTest.itemArray}"/>
+           </tr:selectOneChoice>
+
+           <tr:selectOneChoice label="selectItems at map">
+             <f:selectItems value="#{selectItemTest.itemMap}"/>
+           </tr:selectOneChoice>
+
+           <tr:selectOneListbox label="Explicit selectItem">
+             <f:selectItem itemValue="foo" itemLabel="Foo"/>
+             <f:selectItem itemValue="bar" itemLabel="Bar"/>
+             <f:selectItem itemValue="baz" itemLabel="Baz"/>
+           </tr:selectOneListbox>
+
+           <tr:selectOneListbox label="Bound selectItem">
+             <f:selectItem value="#{selectItemTest.oneItem}"/>
+             <f:selectItem value="#{selectItemTest.itemList[1]}"/>
+             <f:selectItem value="#{selectItemTest.itemList[2]}"/>
+           </tr:selectOneListbox>
+
+           <tr:selectOneListbox label="selectItems at list">
+             <f:selectItems value="#{selectItemTest.itemList}"/>
+           </tr:selectOneListbox>
+
+           <tr:selectOneListbox label="selectItems at array">
+             <f:selectItems value="#{selectItemTest.itemArray}"/>
+           </tr:selectOneListbox>
+
+           <tr:selectOneListbox label="selectItems at map">
+             <f:selectItems value="#{selectItemTest.itemMap}"/>
+           </tr:selectOneListbox>
+
+           <tr:selectOneRadio label="Explicit selectItem">
+             <f:selectItem itemValue="foo" itemLabel="Foo"/>
+             <f:selectItem itemValue="bar" itemLabel="Bar"/>
+             <f:selectItem itemValue="baz" itemLabel="Baz"/>
+           </tr:selectOneRadio>
+
+           <tr:selectOneRadio label="Bound selectItem">
+             <f:selectItem value="#{selectItemTest.oneItem}"/>
+             <f:selectItem value="#{selectItemTest.itemList[1]}"/>
+             <f:selectItem value="#{selectItemTest.itemList[2]}"/>
+           </tr:selectOneRadio>
+
+           <tr:selectOneRadio label="selectItems at list">
+             <f:selectItems value="#{selectItemTest.itemList}"/>
+           </tr:selectOneRadio>
+
+           <tr:selectOneRadio label="selectItems at array">
+             <f:selectItems value="#{selectItemTest.itemArray}"/>
+           </tr:selectOneRadio>
+
+           <tr:selectOneRadio label="selectItems at map">
+             <f:selectItems value="#{selectItemTest.itemMap}"/>
+           </tr:selectOneRadio>
+
+         </tr:panelFormLayout>
+    
+         <tr:selectOrderShuttle>
+           <f:selectItems value="#{selectItemTest.itemList}"/>
+         </tr:selectOrderShuttle>
+
+         <tr:commandButton text="Submit"/>
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/shipping.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/shipping.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/shipping.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/shipping.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Enter Shipping Information"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Shipping Address">
+            <tr:panelFormLayout>
+              <tr:inputText label="First Name"  value="#{order.shippingAddress.firstName}"/>   
+              <tr:inputText label="Last Name"  value="#{order.shippingAddress.lastName}"/>    
+              <tr:inputText label="Street Address" value="#{order.shippingAddress.streetAddress}"/>   
+              <tr:inputText label="City" value="#{order.shippingAddress.city}"/>   
+              <tr:inputText label="State" value="#{order.shippingAddress.state}"/>   
+              <tr:inputText label="Zip Code" value="#{order.shippingAddress.zip}"/>   
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>        
+             <tr:singleStepButtonBar selectedStep="4" maxStep="5"
+                                nextActionListener="#{order.processNext}" 
+                                nextAction="#{order.getNextAction}"
+                                previousActionListener="#{order.processPrevious}" 
+                                previousAction="#{order.getPreviousAction}"
+                                />
+            </tr:panelButtonBar>
+          </tr:panelHeader>
+        </tr:panelPage>
+    
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/showDetail.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/showDetail.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/showDetail.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/showDetail.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,51 @@
+<?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="1.2"
+          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=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Show Detail Page"/>
+      <trh:body>
+       <tr:form>
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Detail of #{pageFlowScope.detail.string}">
+            <tr:panelFormLayout>
+              <tr:panelLabelAndMessage label="Int:">
+                <tr:outputText value="#{pageFlowScope.detail.int}"/>
+              </tr:panelLabelAndMessage>
+              <tr:panelLabelAndMessage label="String:">
+                <tr:outputText value="#{pageFlowScope.detail.string}"/>
+              </tr:panelLabelAndMessage>
+            </tr:panelFormLayout>
+            <tr:commandButton text="Return..."
+                               action="sample"/>
+          </tr:panelHeader>
+        </tr:panelPage>
+       </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml Thu Mar 29 00:50:53 2007
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<!--
+ * 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.
+-->
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>trinidad-example-assembly</artifactId>
+  <packaging>pom</packaging>
+  <name>Apache Trinidad Example Assembly</name>
+  <description>This is the Apache MyFaces Trinidad Example Assembly</description>
+
+  <parent>
+    <groupId>org.apache.myfaces.trinidad</groupId>
+    <artifactId>trinidad-example</artifactId>
+    <version>1.0.0-incubating</version>
+  </parent>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.0-beta-1</version>
+        <configuration>
+          <descriptor>src/main/assembly/dep.xml</descriptor>
+          <finalName>trinidad-${version}</finalName>
+          <outputDirectory>target/assembly/out</outputDirectory>
+          <workDirectory>target/assembly/work</workDirectory>
+        </configuration>
+      </plugin>
+
+       <plugin>
+        <groupId>org.apache.myfaces.maven</groupId>
+        <artifactId>wagon-maven-plugin</artifactId>
+        <version>1.0.1</version>
+        <configuration>
+          <id>myfaces-nightly-builds</id>
+          <url>scpexe://minotaur.apache.org/www/people.apache.org/builds/myfaces/nightly</url>
+          <inputDirectory>target/assembly/out</inputDirectory>
+        </configuration>
+      </plugin>
+
+    </plugins>
+
+  </build>
+  <profiles>
+    <profile>
+      <id>generate-assembly</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>dependency-maven-plugin</artifactId>
+            <executions>
+
+              <execution>
+                <id>copy-example</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>copy</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>${project.groupId}</groupId>
+                      <artifactId>trinidad-demo</artifactId>
+                      <version>${project.version}</version>
+                      <type>war</type>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>${project.groupId}</groupId>
+                      <artifactId>trinidad-blank</artifactId>
+                      <version>${project.version}</version>
+                      <type>war</type>
+                    </artifactItem>
+                  </artifactItems>
+                  <outputDirectory>${project.build.directory}/webapp</outputDirectory>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+ </project>
\ No newline at end of file

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml Thu Mar 29 00:50:53 2007
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * 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.
+-->
+
+<assembly>
+  <id>example</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+    	<directory>src/main/resources</directory>
+    	<outputDirectory></outputDirectory>
+      <includes>
+        <include>README*</include>
+        <include>DISCLAIMER*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>target/webapp</directory>
+      <outputDirectory></outputDirectory>
+      <includes>
+        <include>*.war</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/assembly/dep.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt Thu Mar 29 00:50:53 2007
@@ -0,0 +1,10 @@
+Apache Trinidad is an effort undergoing incubation at the Apache Software 
+Foundation (ASF), sponsored by the Apache Incubator PMC. 
+
+Incubation is required of all newly accepted projects until a further review 
+indicates that the infrastructure, communications, and decision making process 
+have stabilized in a manner consistent with other successful ASF projects. 
+
+While incubation status is not necessarily a reflection of the completeness 
+or stability of the code, it does indicate that the project has yet to be 
+fully endorsed by the ASF.

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/DISCLAIMER.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt Thu Mar 29 00:50:53 2007
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/LICENSE.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt Thu Mar 29 00:50:53 2007
@@ -0,0 +1,16 @@
+=========================================================================
+==  NOTICE file corresponding to section 4(d) of the Apache License,   ==
+==  Version 2.0, in this case for the Apache Trinidad Podling Plugins  ==
+=========================================================================
+
+This product includes software developed by 
+The Apache Software Foundation (http://www.apache.org/).
+
+Portions of this software were originally based on the following:
+
+ - software copyright (c) 2000-2006, Oracle Corp, <http://www.oracle.com/>.
+and are licensed to the Apache Software Foundation under the 
+"Software Grant and Corporate Contribution License Agreement"
+
+See the LICENSE.txt file for information on all licenses 
+associated with this software.
\ No newline at end of file

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-example-assembly/src/main/resources/NOTICE.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



Mime
View raw message