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 [13/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/main/webapp/components/train3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.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="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="train Demo">
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Third Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>   
+            </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.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="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>
+    <trh:html>
+      <trh:head title="train Demo"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Fourth Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>   
+            <tr:commandLink action="guide.train4a" text="Go to subprocess"/>
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,53 @@
+<?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>
+    <trh:html>
+      <trh:head title="train Demo"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SubTrain A&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>             
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,53 @@
+<?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>
+    <trh:html>
+      <trh:head title="train Demo"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SubTrain B&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>             
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.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="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>
+    <trh:html>
+      <trh:head title="train Demo"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>SubTrain C&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train> 
+            <tr:commandLink action="guide.train4" text="back to main process"/>            
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.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="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="train Demo">
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Fifth Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+                                    
+              </f:facet>
+            </tr:train>             
+          
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.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="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="train Demo">
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Sixth Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>             
+           
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.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="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="train Demo">
+    <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Seventh Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>             
+
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,53 @@
+<?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>
+    <trh:html>
+      <trh:head title="train Demo"/>
+      <trh:body>
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator/>
+            </f:facet>
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>             
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Eighth Step -- train with navigation&lt;/b>"/>
+            <tr:train var="foo" value="#{processTrainMenuModel}">
+              <f:facet name="nodeStamp">
+                <tr:commandNavigationItem text="#{foo.label}"
+                                    action="#{foo.getOutcome}"
+                                    immediate="#{processTrainMenuModel.immediate}"
+                                    disabled="#{processTrainMenuModel.readOnly}"
+                                    visited="#{processTrainMenuModel.visited}"/>
+              </f:facet>
+            </tr:train>             
+          </tr:panelGroupLayout>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +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: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="Tree Demo">
+        <tr:form>
+          <tr:messages/>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator />
+            </f:facet>  
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>                
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Basic Tree&lt;/b>"/>
+<!--
+            <tr:tree value="#{tree.model}" binding="#{editor.component}" />
+
+            <jsp:directive.include file="editor.jspf" />    
+-->
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Tree with TreeModel&lt;/b>"/>
+            <tr:tree  binding="#{editor.component}"
+                      var="foo" value="#{tree.model}">
+              <f:facet name="nodeStamp">
+                <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
+              </f:facet>
+            </tr:tree>
+
+            <jsp:directive.include file="editor.jspf" />  
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Tree with CollectionModel&lt;/b>"/>
+            <tr:tree var="foo" value="#{periodicTable.tableData}">
+              <f:facet name="nodeStamp">
+                <tr:commandLink text="#{foo.name}" action="#{foo.action}"/>
+              </f:facet>
+            </tr:tree>
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,175 @@
+<?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="TreeTable Demo">
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+            <f:facet name="separator">
+              <tr:separator />
+            </f:facet>   
+            <tr:commandLink immediate="true" text="Component Guide"
+                action="guide"/>    
+            
+            <!--
+            <tr:treeTable var="foo" value="#{tree.model}" binding="#{editor.component}">
+              <f:facet name="nodeStamp">
+                <tr:outputText value="#{foo.text}"/>
+              </f:facet>
+            </tr:treeTable>
+
+
+            <jsp:directive.include file="editor.jspf" />    
+-->
+
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;b>Editable treeTable with Record Set Navigation&lt;/b>"/>
+            <tr:treeTable  binding="#{editor.component}" var="foo" value="#{tree.model}" rendered="true"
+              rowsByDepth="3" summary="Demo of treeTable"
+              >
+              <f:facet name="nodeStamp">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Text"/>
+                  </f:facet>
+                  <tr:outputFormatted value="&lt;b>text:#{foo.text}&lt;/b>"/>
+                </tr:column>
+              </f:facet>
+              <f:facet name="pathStamp">
+                <tr:outputFormatted value="&lt;b>text:#{foo.text}&lt;/b>"/>
+              </f:facet>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Foo Column"/>
+                </f:facet>
+                <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
+              </tr:column>
+
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Bar Column"/>
+                </f:facet>
+                <h:outputText value="#{foo.text} Bar"/>
+              </tr:column>
+            </tr:treeTable>
+
+            <jsp:directive.include file="editor.jspf" />  
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>No Focus Column&lt;/b>"/>
+            <tr:treeTable var="foo" value="#{tree.model}" rendered="true" 
+                 summary="Second treeTable" >
+              <f:facet name="nodeStamp">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Text"/>
+                  </f:facet>
+                  <tr:outputText value="#{foo.text}"/>
+                </tr:column>
+              </f:facet>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Text"/>
+                </f:facet>
+                <tr:outputText value="#{foo.text}"/>
+              </tr:column>
+
+            </tr:treeTable>
+
+            <tr:commandButton text="Submit"/>
+
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Giant treeTable&lt;/b>"/>
+            <tr:treeTable var="foo" value="#{largeTree.model}" 
+               summary="Giant treeTable"
+              rendered='true'>
+              <f:facet name="nodeStamp">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Label"/>
+                  </f:facet>
+                <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
+                </tr:column>
+              </f:facet>
+              <f:facet name="pathStamp">
+                <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
+              </f:facet>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Parent"/>
+                </f:facet>
+                <tr:outputText value="#{foo.parentLabel}"/>
+              </tr:column>
+
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Index"/>
+                </f:facet>
+                <h:outputText value="#{foo.index}"/>
+              </tr:column>
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Depth"/>
+                </f:facet>
+                <h:outputText value="#{foo.depth}"/>
+              </tr:column>
+            </tr:treeTable>
+
+            <tr:outputFormatted styleUsage="instruction" value="&lt;b>Empty treeTable&lt;/b>"/>
+            <tr:treeTable var="foo" rendered="true"
+              summary="Empty treeTable"
+              emptyText="no records found"
+              >
+              <f:facet name="nodeStamp">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Text"/>
+                  </f:facet>
+                <tr:outputFormatted value="&lt;b>text:#{foo.text}&lt;/b>"/>
+                </tr:column>
+              </f:facet>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Foo Column"/>
+                </f:facet>
+                <tr:outputText value="foo #{foo.text}"/>
+              </tr:column>
+
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Bar Column"/>
+                </f:facet>
+                <h:outputText value="#{foo.text} Bar"/>
+              </tr:column>
+            </tr:treeTable>
+          </tr:panelGroupLayout>
+
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="tableSelectMany Demo"/>
+      <trh:body>
+        <tr:form >
+          <tr:panelGroupLayout layout="vertical">
+            <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/> 
+          </tr:panelGroupLayout>
+          <tr:panelPage>
+            <tr:messages/>
+            <tr:selectOneChoice value="#{sessionScope.tableSelection}"
+                autoSubmit="true"
+                id="selType"
+                label="Selection Type">
+              <tr:selectItem label="Single" value="#{null}"/>
+              <tr:selectItem label="Multiple" value="#{true}"/>
+            </tr:selectOneChoice>
+            <tr:treeTable var="foo" value="#{largeTree.model}" 
+              binding="#{tableActions.table}"
+              summary="Demo of TreeTable selection"
+              partialTriggers="selType"
+              rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}">
+              <f:facet name="footer">
+                <tr:commandButton text="Report" 
+                     actionListener="#{tableActions.performReport}"/>
+              </f:facet>
+              <f:facet name="nodeStamp">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Label"/>
+                  </f:facet>
+                <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
+                </tr:column>
+              </f:facet>
+              <f:facet name="pathStamp">
+                <tr:outputFormatted value="&lt;b>#{foo.label}&lt;/b>"/>
+              </f:facet>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Parent"/>
+                </f:facet>
+                <tr:outputText value="#{foo.parentLabel}"/>
+              </tr:column>
+
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Index"/>
+                </f:facet>
+                <h:outputText value="#{foo.index}"/>
+              </tr:column>
+              <tr:column>
+                <f:facet name="header">
+                  <h:outputText value="Depth"/>
+                </f:facet>
+                <h:outputText value="#{foo.depth}"/>
+              </tr:column>
+            </tr:treeTable>
+            
+            <tr:panelHeader text="Report Items">
+              <tr:table var="foo" value="#{tableActions.reportItems}"
+                emptyText="Report is Empty" 
+                summary="Report">
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Label"/>
+                  </f:facet>
+                  <tr:outputText value="#{foo.label}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Parent"/>
+                  </f:facet>
+                  <tr:outputText value="#{foo.parentLabel}"/>
+                </tr:column>
+  
+                <tr:column>
+                  <f:facet name="header">
+                    <h:outputText value="Index"/>
+                  </f:facet>
+                  <h:outputText value="#{foo.index}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <h:outputText value="Depth"/>
+                  </f:facet>
+                  <h:outputText value="#{foo.depth}"/>
+                </tr:column>
+              </tr:table>
+            </tr:panelHeader>
+
+          </tr:panelPage>
+        </tr:form>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,64 @@
+<?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="Apache Trinidad Demo Index">
+       <tr:form>
+       
+        <tr:panelPage>
+         <tr:messages/>
+         <tr:panelHeader text="Welcome to the Apache Trinidad Demos">  
+          <tr:panelHeader text="Basics">    
+            <tr:panelGroupLayout layout="vertical">
+              <tr:commandLink text="Component Guide" action="guide" />
+            </tr:panelGroupLayout>
+          </tr:panelHeader>
+          
+          <tr:panelHeader text="Simple Demos">     
+            <tr:panelGroupLayout layout="vertical">
+              <tr:commandLink text="Feature Demos"
+                       action="demos" />
+            </tr:panelGroupLayout>
+          </tr:panelHeader>
+
+          <tr:panelHeader text="Sample Applications">     
+            <tr:panelGroupLayout layout="vertical">
+              <tr:panelGroupLayout>
+                <tr:commandLink text="Email" action="emaildemo" />
+                <tr:outputText styleClass="AFInstructionText" value=" - Trinidad Email Demo"/>
+              </tr:panelGroupLayout>
+              <tr:panelGroupLayout>
+                <tr:commandLink text="Survey" action="survey" />                
+                <tr:outputText styleClass="AFInstructionText" value=" - simple application"/>
+              </tr:panelGroupLayout>
+
+            </tr:panelGroupLayout>
+          </tr:panelHeader>
+         </tr:panelHeader>
+        </tr:panelPage>
+       
+       </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/reorderTest.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/reorderTest.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/reorderTest.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/reorderTest.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +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="Reordering Test">
+      <tr:form>
+        <tr:panelGroupLayout binding="#{reorder.panel}" layout="vertical">
+          <tr:outputText value="Item 1"/>
+          <tr:outputText value="Item 2"/>
+          <tr:outputText value="Item 3"/>
+          <f:facet name="separator">
+            <tr:outputText value="----------"/>
+          </f:facet>
+        </tr:panelGroupLayout>
+        <f:verbatim><br /></f:verbatim>
+        <tr:commandButton text="Add" actionListener="#{reorder.add}"/>
+        <tr:commandButton text="Remove last" actionListener="#{reorder.remove}"/>
+        <tr:commandButton text="Remove first" actionListener="#{reorder.removeFirst}"/>
+        <tr:commandButton text="Remove Last" actionListener="#{reorder.remove}"/>
+        <tr:commandButton text="Rotate" actionListener="#{reorder.rotate}"/>
+        <tr:commandButton text="Remove Separator" actionListener="#{reorder.removeSeparator}"/>
+        <tr:commandButton text="Set Separator" actionListener="#{reorder.setSeparator}"/>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml Thu Mar 29 00:50:53 2007
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<project name="Apache Incubator Trinidad Podling">
+  <bannerLeft>
+    <name>Apache Incubator Trinidad Podling Demo</name>
+  </bannerLeft>
+  <body>
+    <links>
+      <item name="MyFaces" href="http://myfaces.apache.org/"/>
+    </links>
+    
+    <menu ref="parent"/>
+    <menu ref="modules"/>
+    <menu ref="reports"/>
+  </body>
+</project>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java Thu Mar 29 00:50:53 2007
@@ -0,0 +1,99 @@
+/*
+ *  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.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+public class AddressBean
+{
+
+  public AddressBean()
+  {
+  }
+
+  public String getFirstName()
+  {
+     return _firstName;
+  }
+
+  public void setFirstName(String firstName)
+  {
+    _firstName = firstName;
+  }
+
+  public String getLastName()
+  {
+     return _lastName;
+  }
+
+  public void setLastName(String lastName)
+  {
+    _lastName = lastName;
+  }
+
+
+  public String getStreetAddress()
+  {
+    return _streetAddress ;
+  }
+
+  public void setStreetAddress(String streetAddress)
+  {
+    _streetAddress = streetAddress;
+  }
+
+  public String getCity()
+  {
+    return _city ;
+  }
+
+  public void setCity(String city)
+  {
+    _city = city;
+  }
+
+  public String getState()
+  {
+    return _state ;
+  }
+
+  public void setState(String state)
+  {
+    _state = state;
+  }
+
+
+  public String getZip()
+  {
+    return _zip ;
+  }
+
+  public void setZip(String zip)
+  {
+    _zip = zip;
+  }
+
+
+  private String _firstName = null;
+  private String _lastName = null;
+  private String _streetAddress = null;
+  private String _city = null;
+  private String _state = null;
+  private String _zip = null;
+
+}
+

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/AddressBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java Thu Mar 29 00:50:53 2007
@@ -0,0 +1,76 @@
+/*
+ *  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.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+public class CreditCardBean
+{
+
+  public CreditCardBean()
+  {
+
+  }
+
+
+  public String getNumber()
+  {
+    return _number ;
+  }
+
+  public void setNumber(String number)
+  {
+    _number = number;
+  }
+
+  public String getExpirationDate()
+  {
+    return _expirationDate ;
+  }
+
+  public void setExpirationDate(String expirationDate)
+  {
+    _expirationDate = expirationDate;
+  }
+
+
+  public String getFirstName()
+  {
+     return _firstName;
+  }
+
+  public void setFirstName(String firstName)
+  {
+    _firstName = firstName;
+  }
+
+  public String getLastName()
+  {
+     return _lastName;
+  }
+
+  public void setLastName(String lastName)
+  {
+    _lastName = lastName;
+  }
+
+  private String _firstName = null;
+  private String _lastName = null;
+  private String _number = null;
+  private String _expirationDate = null;
+}
+

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CreditCardBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java Thu Mar 29 00:50:53 2007
@@ -0,0 +1,84 @@
+/*
+ *  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.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+public class CustomerBean
+{
+
+  public CustomerBean()
+  {
+
+    // This isn't thread-safe.  I don't care. :)
+    _id = _sID++;
+
+  }
+
+
+  public String getFirstName()
+  {
+     return _firstName;
+  }
+
+  public void setFirstName(String firstName)
+  {
+    _firstName = firstName;
+  }
+
+  public String getLastName()
+  {
+     return _lastName;
+  }
+
+  public void setLastName(String lastName)
+  {
+    _lastName = lastName;
+  }
+
+  public String getUserName()
+  {
+     return _userName;
+  }
+
+  public void setUserName(String userName)
+  {
+    _userName = userName;
+  }
+
+  public String getPassword()
+  {
+     return _password;
+  }
+
+  public void setPassword(String password)
+  {
+    _password = password;
+  }
+
+  private String _firstName = null;
+  private String _lastName = null;
+  private String _userName = null;
+  private String _password = null;
+  // Never read
+  @SuppressWarnings("unused")
+  private int   _id;
+
+  static private int _sID = 2242;
+
+}
+

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/CustomerBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java Thu Mar 29 00:50:53 2007
@@ -0,0 +1,68 @@
+/*
+ *  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.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+import javax.faces.context.FacesContext;
+import javax.faces.el.MethodBinding;
+import javax.faces.event.ActionEvent;
+
+import org.apache.myfaces.trinidad.component.core.layout.CorePanelBox;
+import org.apache.myfaces.trinidad.component.core.nav.CoreCommandLink;
+
+public class DynamicBean
+{
+  public DynamicBean()
+  {
+  }
+
+  public void doSomething(ActionEvent event)
+  {
+    System.out.println("Received " + event);
+  }
+
+  @SuppressWarnings("unchecked")
+  public CorePanelBox getPanel()
+  {
+    if (_panel == null)
+    {
+      FacesContext context = FacesContext.getCurrentInstance();
+
+      _panel = new CorePanelBox();
+      CoreCommandLink link = new CoreCommandLink();
+      link.setText("Dynamic Link");
+
+      MethodBinding actionListenerMethod = context.getApplication().
+          createMethodBinding("#{dynamic.doSomething}",
+                              new Class[]{ActionEvent.class}); 
+      link.setActionListener(actionListenerMethod); 
+      link.setId("TheLinkId");
+      _panel.getChildren().add(link);
+    }
+
+    return _panel;
+  }
+
+  public void setPanel(CorePanelBox panel)
+  {
+    _panel = panel;
+  }
+
+  private CorePanelBox _panel;
+}
+

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/DynamicBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java Thu Mar 29 00:50:53 2007
@@ -0,0 +1,126 @@
+/*
+ *  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.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+import javax.faces.event.ActionEvent;
+
+public class OrderBean
+{
+
+  public OrderBean()
+  {
+System.out.println("Order constructor");
+
+    // This isn't thread-safe.  I don't care. :)
+    _id = _sOrderID++;
+
+  }
+
+
+
+  public int getId()
+  {
+     return _id;
+  }
+
+  public void setId(int id)
+  {
+    _id = id;
+  }
+
+
+   public String getNextAction()
+  {
+    return "next";
+
+  }
+
+  public String getPreviousAction()
+  {
+    return "previous";
+
+  }
+
+
+
+  public void processNext(
+      ActionEvent event)
+    {
+      System.out.println(" demo processNext");
+
+    }
+
+
+    public void processPrevious(
+      ActionEvent event)
+    {
+      System.out.println(" demo processPrevious" );
+
+    }
+
+    public AddressBean getShippingAddress()
+    {
+      return _shippingAddress;
+    }
+
+    public void setShippingAddress(AddressBean shippingAddress)
+    {
+      _shippingAddress = shippingAddress;
+    }
+
+    public AddressBean getBillingAddress()
+    {
+      return _billingAddress;
+    }
+
+    public void setBillingAddress(AddressBean billingAddress)
+    {
+      _billingAddress = billingAddress;
+    }
+
+    public CustomerBean getCustomer()
+    {
+      return _customer;
+    }
+
+    public void setCustomer(CustomerBean customer)
+    {
+      _customer = customer;
+    }
+
+    public CreditCardBean getCreditCard()
+    {
+      return _creditCard;
+    }
+
+    public void setCreditCard(CreditCardBean creditCard)
+    {
+      _creditCard = creditCard;
+    }
+
+  private int _id;
+  private CustomerBean _customer = new CustomerBean();
+  private CreditCardBean _creditCard = new CreditCardBean();
+  private AddressBean _shippingAddress = new AddressBean();
+  private AddressBean _billingAddress = new AddressBean();
+
+  static private int _sOrderID = 4524;
+
+}
+

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/java/org/apache/myfaces/trinidaddemo/OrderBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml Thu Mar 29 00:50:53 2007
@@ -0,0 +1,155 @@
+<!--
+    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.
+	   
+-->
+<faces-config>
+ 
+  <!-- SHOPPING CART -->
+  <navigation-rule>
+    <from-view-id>/cart.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>checkout</from-outcome>
+      <to-view-id>/login.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>
+  
+  
+  <!-- LOGIN -->
+  <navigation-rule>
+    <from-view-id>/login.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>loggedIn</from-outcome>
+      <to-view-id>/items.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>newUser</from-outcome>
+      <to-view-id>/register.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>  
+  
+
+  <!-- REGISTER -->  
+  <navigation-rule>
+    <from-view-id>/register.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>loggedIn</from-outcome>
+      <to-view-id>/items.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>    
+  
+  <!-- ITEMS LIST -->
+  <navigation-rule>
+    <from-view-id>/items.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>next</from-outcome>
+      <to-view-id>/credit.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>  
+  
+
+  <!-- CREDIT CARD -->
+  <navigation-rule>
+    <from-view-id>/credit.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>next</from-outcome>
+      <to-view-id>/billing.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>previous</from-outcome>
+      <to-view-id>/items.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>
+
+
+  <!-- BILLING -->
+  <navigation-rule>
+    <from-view-id>/billing.jspx</from-view-id>
+    <navigation-case>
+      <from-outcome>next</from-outcome>
+      <to-view-id>/shipping.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+    <navigation-case>
+      <from-outcome>previous</from-outcome>
+      <to-view-id>/credit.jspx</to-view-id>
+      <redirect/>
+    </navigation-case>
+  </navigation-rule>
+  
+
+  <!-- SHIPPING -->  
+   <navigation-rule>
+      <from-view-id>/shipping.jspx</from-view-id>
+      <navigation-case>
+        <from-outcome>next</from-outcome>
+        <to-view-id>/review.jspx</to-view-id>
+        <redirect/>
+      </navigation-case>
+      <navigation-case>
+        <from-outcome>previous</from-outcome>
+        <to-view-id>/billing.jspx</to-view-id>
+        <redirect/>
+      </navigation-case>
+  </navigation-rule>
+
+
+  <!-- REVIEW -->
+   <navigation-rule>
+      <from-view-id>/review.jspx</from-view-id>
+      <navigation-case>
+        <from-outcome>previous</from-outcome>
+        <to-view-id>/shipping.jspx</to-view-id>
+        <redirect/>
+      </navigation-case>
+      <navigation-case>
+        <from-outcome>confirm</from-outcome>
+        <to-view-id>/confirm.jspx</to-view-id>
+        <redirect/>
+      </navigation-case>
+  </navigation-rule>
+
+  <!-- ORDER BEAN FOR SHOPPING CART CHECKOUT -->  
+  <managed-bean>
+    <managed-bean-name>order</managed-bean-name>
+    <managed-bean-class>
+       org.apache.myfaces.trinidaddemo.OrderBean
+    </managed-bean-class>
+    <managed-bean-scope>
+       session
+    </managed-bean-scope>
+  </managed-bean>
+ 
+  <!-- END OF CART -->
+  <managed-bean>
+    <managed-bean-name>dynamic</managed-bean-name>
+    <managed-bean-class>
+       org.apache.myfaces.trinidaddemo.DynamicBean
+    </managed-bean-class>
+    <managed-bean-scope>
+       request
+    </managed-bean-scope>
+  </managed-bean>
+
+</faces-config>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/faces-config-add.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml Thu Mar 29 00:50:53 2007
@@ -0,0 +1,125 @@
+<?xml version = '1.0' encoding = 'ISO-8859-1'?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+
+  <!-- Faces API parameter -->
+  <context-param>
+    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    <param-value>client</param-value>
+    <!--param-value>server</param-value-->
+  </context-param>
+
+  <!-- Faces Filter -->
+  <filter>
+    <filter-name>faces</filter-name>
+    <filter-class>org.apache.myfaces.trinidadinternal.webapp.FacesFilter</filter-class>
+    <init-param>
+      <param-name>faces-servlet-url-pattern</param-name>
+      <param-value>/faces/*</param-value>
+    </init-param>
+  </filter>
+
+  <filter>
+    <filter-name>trinidad</filter-name>
+    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
+  </filter>
+
+  <!-- Faces Filter Mappings -->
+  <filter-mapping>
+    <filter-name>faces</filter-name>
+    <url-pattern>*.jspx</url-pattern>
+  </filter-mapping>
+
+  <filter-mapping>
+    <filter-name>trinidad</filter-name>
+    <servlet-name>faces</servlet-name>
+  </filter-mapping>
+
+  <!-- Faces Servlet -->
+  <servlet>
+    <servlet-name>faces</servlet-name>
+    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+  </servlet>
+
+  <!-- resource loader servlet -->
+  <servlet>
+    <servlet-name>resources</servlet-name>
+    <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
+  </servlet>
+
+  <!-- On some version of OC4J, the following is needed when using jsf 1.0 -->
+  <!--servlet>
+    <servlet-name>jsp</servlet-name>
+    <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
+    <init-param>
+      <param-name>tags_reuse_default</param-name>
+      <param-value>none</param-value>
+    </init-param>
+  </servlet-->
+
+  <!-- Faces Servlet Mappings -->
+  <servlet-mapping>
+    <servlet-name>faces</servlet-name>
+    <url-pattern>/faces/*</url-pattern>
+  </servlet-mapping>
+
+  <servlet-mapping>
+    <servlet-name>resources</servlet-name>
+    <url-pattern>/adf/*</url-pattern>
+  </servlet-mapping>
+
+
+  <!-- Welcome Files -->
+  <welcome-file-list>
+    <welcome-file>index.jspx</welcome-file>
+  </welcome-file-list>
+
+  <!-- Trinidad Tag Library -->
+  <taglib>
+    <taglib-uri>http://myfaces.apache.org/trinidad</taglib-uri>
+    <taglib-location>/WEB-INF/tr.tld</taglib-location>
+  </taglib>
+
+  <taglib>
+    <taglib-uri>http://myfaces.apache.org/trinidad/html</taglib-uri>
+    <taglib-location>/WEB-INF/trh.tld</taglib-location>
+  </taglib>
+
+  <!-- Faces Core Tag Library -->
+  <taglib>
+    <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
+    <taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
+  </taglib>
+
+  <!-- Faces Html Basic Tag Library -->
+  <taglib>
+    <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
+    <taglib-location>/WEB-INF/html_basic.tld</taglib-location>
+  </taglib>
+
+  <!-- Trinidad Demo Tag Library --> 
+  <taglib>
+    <taglib-uri>http://myfaces.apache.org/trinidaddemo</taglib-uri>
+    <taglib-location>/WEB-INF/uixdemo.tld</taglib-location>
+  </taglib>
+
+</web-app>

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/billing.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/billing.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/billing.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/billing.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 Billing Information"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+          <tr:panelHeader text="Billing Address">
+            <tr:panelFormLayout>     
+              <tr:inputText label="First Name"  value="#{order.billingAddress.firstName}"/>   
+              <tr:inputText label="Last Name"  value="#{order.billingAddress.lastName}"/>   
+              <tr:inputText label="Street Address" value="#{order.billingAddress.streetAddress}"/>   
+              <tr:inputText label="City" value="#{order.billingAddress.city}"/>   
+              <tr:inputText label="State" value="#{order.billingAddress.state}"/>   
+              <tr:inputText label="Zip Code" value="#{order.billingAddress.zip}"/>   
+            </tr:panelFormLayout>
+            <tr:panelButtonBar>        
+             <tr:singleStepButtonBar selectedStep="3" 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/cart.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/cart.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/cart.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/cart.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 Cart"/>
+      <trh:body>
+       <tr:form>
+       
+        <tr:panelPage>
+          <tr:messages/>
+    
+          <tr:panelHeader text="Shopping Cart">
+          <tr:panelFormLayout>        
+            <tr:inputText readOnly="true" value="foobar" label="Items" />
+          </tr:panelFormLayout>
+          
+          <tr:panelButtonBar>
+            <tr:commandButton action="checkout" text="Proceed to Checkout"/>        
+          </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/composite.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/composite.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/composite.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/test/webapp/composite.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,58 @@
+<?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"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:afdemo="http://myfaces.apache.org/adffacesdemo" >
+  <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
+  <f:view>
+    <trh:html>
+      <trh:head title="Test of composite component"/>
+    
+      <trh:body>
+       <tr:panelPage>
+       <tr:form>
+         <tr:messages/>
+         <tr:panelGroupLayout layout="vertical">
+           <afdemo:dateField id="dateField" value="#{date.date1}"/>
+           <tr:message for="dateField"/>
+           <tr:outputText value="Date is now #{date.date1}"/>
+
+           <tr:separator/>
+
+    <!-- Use a normal inputText, but use binding to force the renderer type -->
+           <h:inputText id="dateInput" value="#{date.date2}" binding="#{compositeTest.dateInput}"/>
+
+           <tr:message for="dateInput"/>
+           <tr:outputText value="Date is now #{date.date2}"/>
+
+           <tr:separator/>
+
+           <tr:commandButton text="Submit"/>
+         </tr:panelGroupLayout>
+       </tr:form>
+       </tr:panelPage>
+      </trh:body>
+    </trh:html>
+  </f:view>
+</jsp:root>



Mime
View raw message