You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by ma...@apache.org on 2007/03/07 14:44:48 UTC

svn commit: r515587 [8/19] - in /incubator/adffaces/branches/matzew-core-1.0.0-incubation: ./ examples/ examples/trinidad-demo/ examples/trinidad-demo/src/ examples/trinidad-demo/src/conf/ examples/trinidad-demo/src/main/ examples/trinidad-demo/src/mai...

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml Wed Mar  7 06:44:35 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+    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>
+  <component>
+    <component-type>org.apache.myfaces.trinidaddemo.region.stock</component-type>
+    <component-class>
+      org.apache.myfaces.trinidad.component.UIXRegion
+    </component-class>
+    <component-extension>
+      <region-jsp-ui-def>/components/regions/stock.jspx</region-jsp-ui-def>
+    </component-extension>
+    <attribute>
+      <attribute-name>symbol</attribute-name>
+      <attribute-class>java.lang.String</attribute-class>
+      <attribute-extension>
+        <required>true</required>
+      </attribute-extension>
+    </attribute>
+    <attribute>
+      <attribute-name>amount</attribute-name>
+      <attribute-class>float</attribute-class>
+      <default-value>0</default-value>
+    </attribute>
+    <attribute>
+      <attribute-name>company</attribute-name>
+      <attribute-class>java.lang.String</attribute-class>
+      <default-value>Default Company</default-value>
+    </attribute>
+    <attribute>
+      <attribute-name>description</attribute-name>
+      <attribute-class>java.lang.String</attribute-class>
+      <default-value>Default Description</default-value>
+    </attribute>
+  </component>
+
+</faces-config>
+

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/region-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld Wed Mar  7 06:44:35 2007
@@ -0,0 +1,43 @@
+<?xml version = "1.0" ?>
+<!--
+    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 taglib
+PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+
+<taglib>
+   <tlib-version>1.0</tlib-version>
+   <jsp-version>1.2</jsp-version>
+   <short-name>survey</short-name>
+   <uri>http://myfaces.apache.org/trinidad/demo</uri>
+   <display-name>survey</display-name>   
+   
+   <tag>
+      <name>validate_answer</name>
+      <tag-class>org.apache.myfaces.trinidaddemo.survey.AnswerValidatorTag</tag-class>
+      <attribute>
+         <name>questionIndex</name>
+         <required>true</required>
+         <rtexprvalue>false</rtexprvalue>
+      </attribute>
+   </tag>
+   
+</taglib>
+      

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/survey.tld
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml Wed Mar  7 06:44:35 2007
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+    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.
+	   
+-->
+<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
+  <debug-output>true</debug-output>
+  <!--client-validation-disabled>true</client-validation-disabled-->
+
+  <accessibility-mode>#{prefs.proxy.accessibilityMode}</accessibility-mode>
+  <!-- you can use EL to get the skin. This allows the skin to change between
+       requests. -->
+  <skin-family>#{prefs.proxy.skinFamily}</skin-family>  <!--
+  <output-mode>portlet</output-mode>
+  -->
+  <!--  Uncomment any of these to enable them -->
+  <!-- accessibility-mode>inaccessible</accessibility-mode -->  
+</trinidad-config>

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml Wed Mar  7 06:44:35 2007
@@ -0,0 +1,53 @@
+<?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.
+	   
+-->
+<skins xmlns="http://myfaces.apache.org/trinidad/skin">
+    <skin>
+        <id>
+            purple.desktop
+        </id>
+        <family>
+            purple
+        </family>
+        <render-kit-id>
+            org.apache.myfaces.trinidad.desktop
+        </render-kit-id>
+        <style-sheet-name>
+            skins/purple/purpleSkin.css
+        </style-sheet-name>
+        <bundle-name>
+            org.apache.myfaces.trinidaddemo.resource.SkinBundle
+        </bundle-name>
+    </skin>
+    <skin>
+        <id>
+            beach.desktop
+        </id>
+        <family>
+            beach
+        </family>
+        <render-kit-id>
+            org.apache.myfaces.trinidad.desktop
+        </render-kit-id>
+        <style-sheet-name>
+            skins/beach/beach.css
+        </style-sheet-name>
+    </skin>
+</skins>

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/trinidad-skins.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld Wed Mar  7 06:44:35 2007
@@ -0,0 +1,107 @@
+<?xml version = "1.0" ?>
+<!--
+    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 taglib
+PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<taglib>
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.2</jsp-version>
+  <short-name>trinidad demo</short-name>
+  <uri>http://myfaces.apache.org/trinidaddemo</uri>
+  <display-name>trinidaddemo</display-name>    
+
+    <tag>
+      <name>dateField</name>
+      <tag-class>org.apache.myfaces.trinidaddemo.composite.DateFieldTag</tag-class>
+      <attribute>
+        <name>id</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>the identifier for the component</description>
+      </attribute>
+      <attribute>
+        <name>immediate</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>whether the value is converted and validated immediately in the Apply Request Values phase, or in the Process Validators phase.
+            </description>
+      </attribute>
+      <attribute>
+        <name>required</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>whether a non-null, non-empty value must be entered
+            </description>
+      </attribute>
+      <attribute>
+        <name>validator</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>a method reference to a validator method</description>
+      </attribute>
+      <attribute>
+        <name>valueChangeListener</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>a method reference to an value change listener</description>
+      </attribute>
+      <attribute>
+        <name>value</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+              the value of the component
+            </description>
+      </attribute>
+      <attribute>
+        <name>rendered</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          whether the bean is rendered.  When set to false,
+          no output will be delivered for this bean.
+        </description>
+      </attribute>
+      <attribute>
+        <name>transient</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          whether the component should have its state saved across requests.
+        </description>
+      </attribute>
+      <attribute>
+        <name>binding</name>
+        <rtexprvalue>false</rtexprvalue>
+        <description>
+          a binding reference to store the component instance
+        </description>
+      </attribute>
+    </tag>
+    <tag>
+      <name>convertSSN</name>   
+      <tag-class>org.apache.myfaces.trinidaddemo.convertValidate.ConvertSSNTag</tag-class>
+      <body-content>empty</body-content>
+      <description>
+        The convertSSN tag converts to/from a social security number.
+      </description>
+    </tag>    
+    <tag>
+      <name>validatePassword</name>   
+      <tag-class>org.apache.myfaces.trinidaddemo.convertValidate.ValidatePasswordTag</tag-class>
+      <body-content>empty</body-content>
+      <description>
+        The validatePassword tag checks to see that a password contains at least on number.
+      </description>
+    </tag>    
+</taglib>

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/uixdemo.tld
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml Wed Mar  7 06:44:35 2007
@@ -0,0 +1,170 @@
+<?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.
+	   
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+         version="2.4">
+  <!-- Use client-side state saving.  In Trinidad, it is an
+       optimized, token-based mechanism that is almost always a
+       better choice than the standard JSF server-side state saving. -->
+  <context-param>
+    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    <param-value>client</param-value>
+    <!--param-value>server</param-value-->
+  </context-param>
+
+  <!-- Trinidad by default uses an optimized client-side state saving
+       mechanism. To disable that, uncomment the following -->
+  <!--context-param>
+    <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
+    <param-value>all</param-value>
+  </context-param-->
+
+  <!-- Trinidad also supports an optimized strategy for caching some
+   view state at an application level, which significantly improves
+   scalability.  However, it makes it harder to develop (updates to
+   pages will not be noticed until the server is restarted), and in
+   some rare cases cannot be used for some pages (see Trinidad
+   documentation for more information) -->
+  <context-param>
+    <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
+    <param-value>false</param-value>
+  </context-param>
+
+  <!-- If this parameter is enabled, Trinidad will automatically
+       check the modification date of your JSPs, and discard saved
+       state when they change;  this makes development easier,
+       but adds overhead that should be avoided when your application
+       is deployed -->
+  <context-param>
+    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
+    <param-value>true</param-value>
+  </context-param>
+
+  <!-- Enables Change Persistence at a session scope.  By default,
+       Change Persistence is entirely disabled. The ChangeManager is
+       an API, which can persist component modifications (like,
+       is a showDetail or tree expanded or collapsed). For providing
+       a custom Change Persistence implementation inherit from the 
+       Trinidad API's ChangeManager class. As the value you have 
+       to use the fullqualified class name. -->
+  <context-param>
+    <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
+    <param-value>session</param-value>
+  </context-param>
+  
+  <context-param>
+    <param-name>org.apache.myfaces.trinidad.resource.DEBUG</param-name>
+    <param-value>false</param-value>
+  </context-param>
+
+  <!-- With setting this parameter you are able to specify the logical
+       outcome prefix to launch the dialog framework. If not set, the
+       default value (dialog:) is used. -->
+  <!--context-param>
+    <param-name>org.apache.myfaces.trinidad.DIALOG_NAVIGATION_PREFIX</param-name>
+    <param-value>userInputHere:</param-value>
+  </context-param--> 
+
+  <filter>
+    <filter-name>trinidad</filter-name>
+    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
+  </filter>
+
+  <filter>
+    <filter-name>demoRedirect</filter-name>
+    <filter-class>org.apache.myfaces.trinidaddemo.webapp.RedirectFilter</filter-class>
+  </filter>
+  
+  <filter-mapping>
+    <filter-name>trinidad</filter-name>
+    <servlet-name>faces</servlet-name>
+  </filter-mapping>
+
+  <filter-mapping>
+    <filter-name>demoRedirect</filter-name>
+    <url-pattern>*.jspx</url-pattern>
+  </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>
+
+  <!-- source code servlet -->
+  <servlet>
+    <servlet-name>source</servlet-name>
+    <servlet-class>org.apache.myfaces.trinidaddemo.webapp.SourceCodeServlet</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>
+
+  <servlet-mapping>
+    <servlet-name>source</servlet-name>
+    <url-pattern>*.source</url-pattern>
+  </servlet-mapping>
+
+
+  <!-- Welcome Files -->
+  <welcome-file-list>
+    <welcome-file>index.jspx</welcome-file>
+  </welcome-file-list>
+
+  <!-- Survey Demo (Custom) Tag Library -->
+  <jsp-config>
+    <taglib>
+      <taglib-uri>http://myfaces.apache.org/trinidad/demo</taglib-uri>
+      <taglib-location>/WEB-INF/survey.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+      <taglib-uri>http://myfaces.apache.org/trinidaddemo</taglib-uri>
+      <taglib-location>/WEB-INF/uixdemo.tld</taglib-location>
+    </taglib>
+  </jsp-config>
+
+</web-app>

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/componentDemos.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/componentDemos.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/componentDemos.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/componentDemos.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,69 @@
+<?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="Component Demos">
+      <tr:form> 
+        <tr:panelPage>
+          <f:facet name="navigationGlobal">
+            <tr:navigationPane hint="buttons">
+              <tr:commandNavigationItem text="Return to Index"
+                  immediate="true"
+                  action="home"/>
+            </tr:navigationPane>
+          </f:facet>
+          <tr:panelHeader text="Component Demos">
+            <tr:panelHeader text="Core Components">
+              <tr:tree var="component" value="#{componentTree.model}"
+                binding="#{componentTreeBean.tree}">
+                <f:facet name="nodeStamp">
+                  <tr:panelGroupLayout>
+                    <tr:outputText value="Example:" rendered="#{component.example}"/>
+                    <tr:commandLink text="#{component.label}"
+                      disabled="#{empty component.filename}"
+                      action="#{component.view}"/>
+                  </tr:panelGroupLayout>
+                </f:facet>
+              </tr:tree>
+            </tr:panelHeader>
+  
+            <tr:panelHeader text="Html Components">
+              <tr:panelGroupLayout layout="vertical">
+                <tr:commandLink text="body" action="guide.body"/>
+                <tr:commandLink text="cellFormat" action="guide.cellFormat"/>
+                <tr:outputFormatted value="frame - see FrameBorderLayout" styleUsage="instruction"/>
+                <tr:commandLink text="frameBorderLayout" action="guide.frameBorderLayout"/>
+                <tr:commandLink text="html" action="guide.html"/>
+                <tr:commandLink text="rowLayout" action="guide.rowLayout"/>
+                <tr:commandLink text="tableLayout" action="guide.tableLayout"/>
+              </tr:panelGroupLayout>
+            </tr:panelHeader>
+          </tr:panelHeader>
+        </tr:panelPage>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/breadCrumbs.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/breadCrumbs.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/breadCrumbs.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/breadCrumbs.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:tr="http://myfaces.apache.org/trinidad"
+          version="1.2">
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+    <tr:document title="BreadCrumbs Demo">
+      <tr:form>
+        <tr:panelGroupLayout layout="vertical">
+          <f:facet name="separator">
+            <tr:separator/>
+          </f:facet>
+          <tr:navigationPane hint="buttons">
+            <tr:commandNavigationItem immediate="true" text="Component Guide"
+              action="guide"/>
+            <tr:commandNavigationItem immediate="true" text="Page Hierarchy Demo"
+              action="guide.page"/>
+            <tr:commandNavigationItem immediate="true" text="NavigationPane Demo"
+              action="guide.navigationPane"/>
+            <tr:commandNavigationItem immediate="true" text="CommandNavigationItem Demo"
+              action="guide.commandNavigationItem"/>
+            <tr:commandNavigationItem immediate="true" text="PanelPage Demo"
+              action="guide.panelPage"/>
+          </tr:navigationPane>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>A breadCrumbs&lt;/b>"/>
+          <tr:breadCrumbs binding="#{editor.component}">
+            <tr:commandNavigationItem text="breadCrumbs Demo" action="guide.breadCrumbs"/>
+            <tr:commandNavigationItem text="Apache.org" destination="http://www.apache.org" targetFrame="_new"/>
+            <tr:commandNavigationItem text="Disabled Item" disabled="true" action="guide.tree"/>
+            <tr:commandNavigationItem text="NavigationPane Demo" action="guide.navigationPane"/>
+            <tr:commandNavigationItem text="Current Page" action="guide.breadCrumbs"/>
+          </tr:breadCrumbs>
+          <jsp:directive.include file="editor.jspf"/>
+          <tr:outputFormatted styleUsage="instruction" value="&lt;b>A breadCrumbs with the 'orientation' attribute set to 'vertical'&lt;/b>"/>
+          <tr:breadCrumbs orientation="vertical">
+            <tr:commandNavigationItem text="Table Demo" action="guide.table"/>
+            <tr:commandNavigationItem text="Tree Demo" action="guide.tree"/>
+            <tr:commandNavigationItem text="PanelPage Demo" action="guide.panelPage"/>
+            <tr:commandNavigationItem text="BreadCrumbs Demo" action="guide.breadCrumbs"/>
+          </tr:breadCrumbs>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chart.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chart.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chart.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chart.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,101 @@
+<?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="Chart 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>Chart&lt;/b>"/>
+          <tr:chart chartDrillDownListener="#{chart.drillDown}" id="chart" YMajorGridLineCount="7" value="#{chart.value}" inlineStyle="width:680px; height:400px;" 
+            binding="#{chart.editor.component}"/>
+          <tr:panelGroupLayout layout="horizontal">
+            <tr:commandButton  text="Update"
+                              action="#{chart.editor.update}"/>
+            <tr:commandButton id="partialButton" partialSubmit="true" text="Update Partial"
+                              action="#{chart.updatePartial}"/>
+            
+            <tr:selectBooleanCheckbox immediate="true" label="Larger Data Set"
+                value="#{chart.largerDataSet}"/>
+
+          </tr:panelGroupLayout>
+          <tr:table var="row" rows="100" value="#{chart.editor.attributes}" 
+                    summary="Attributes">
+            <tr:column>
+              <f:facet name="header">
+                <tr:outputText value="Name"/>
+              </f:facet>
+              <tr:outputText value="#{row.name}"/>
+            </tr:column>
+            <tr:column>
+              <f:facet name="header">
+                <tr:outputText value="Value"/>
+              </f:facet>
+              <tr:inputText immediate="true"
+                             readOnly="#{row.name == 'value' ||
+                                         row.name == 'var' ||
+                                         row.name == 'currencyKey' ||
+                                         row.name == 'currencyString' ||
+                                         row.name == 'rowKey' ||
+                                         row.name == 'id' ||
+                                         row.name == 'rendererType' ||
+                                         row.name == 'submittedValue'}"
+                             rendered="#{row.type == 'string'}"
+                             value="#{row.value}"
+                             shortDesc="Type to change '#{row.name}'"/>
+              <tr:inputText immediate="true"
+                             readOnly="#{row.name == 'rowIndex'}"
+                             rendered="#{row.type == 'integer'}"
+                             value="#{row.value}"
+                             shortDesc="Type to change '#{row.name}'">
+                <f:converter converterId="javax.faces.Integer"/>
+              </tr:inputText>
+              <tr:inputText immediate="true"
+                            rendered="#{row.type == 'date'}"
+                            value="#{row.value}"
+                            shortDesc="Type to change '#{row.name}'">
+                <f:facet name="help">
+                  <tr:outputText value="Sample format: 2004-07-15"/>
+                </f:facet>
+                <f:convertDateTime pattern="yyyy-MM-dd"/>
+              </tr:inputText>
+              <tr:selectBooleanCheckbox rendered="#{row.type == 'boolean'}"
+                                         readOnly="#{row.name == 'localValueSet' ||
+                                                     row.name == 'valid' ||
+                                                     row.name == 'transient'}"
+                                         immediate="true" value="#{row.value}"
+                                         shortDesc="Click to change '#{row.name}'"/>
+            </tr:column>
+          </tr:table>
+        </tr:panelGroupLayout>
+      </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt Wed Mar  7 06:44:35 2007
@@ -0,0 +1,53 @@
+2176.47	2142.73	2186.83
+2157.37	2093.06	2162.14
+2127.9	2107.7	2151.69
+2152.7	2069.04	2167
+2091.68	2025.58	2093.23
+2065.54	2042.03	2096.43
+2089.51	2063.81	2121.36
+2094.37	2094.37	2172.68
+2174.25	2162.65	2205.36
+2203.79	2176.54	2234.3
+2226.62	2219.25	2269.3
+2263.55	2230.19	2273.61
+2269.07	2233.74	2278.16
+2263.97	2247.32	2271.85
+2254.64	2213.52	2256.03
+2253.05	2200.51	2259.68
+2216.53	2189.91	2306.72
+2306.18	2303.13	2332.92
+2302.56	2245.2	2311.71
+2255.31	2241.02	2314.36
+2306.24	2255.99	2313.98
+2263.12	2235.41	2284.52
+2252.04	2232.68	2294.63
+2283.52	2256.75	2293.74
+2291.48	2276.74	2324.92
+2306.66	2239.54	2309.51
+2269.44	2263.68	2323.79
+2311.93	2282.38	2332.95
+2312.47	2299.56	2353.14
+2352.24	2332.67	2375.45
+2340.39	2302.19	2343.59
+2325.56	2299.42	2375.54
+2338.78	2315.12	2361.89
+2329.79	2295.03	2344.37
+2342.41	2243.32	2352.56
+2234.01	2164.54	2245.18
+2178.15	2135.81	2210.49
+2202.57	2164.74	2233.88
+2212.35	2100.43	2219.41
+2137.47	2065.11	2147.91
+2136.6	2103.77	2152.56
+2126.46	2090.78	2183.48
+2177.91	2126.64	2190.44
+2135.96	2027.11	2142.36
+2034.76	2012.78	2086.07
+2030.49	2030.49	2094.95
+2087.86	2052.75	2119.01
+2079.45	2048.22	2097.76
+2073.01	2067.69	2168.11
+2151.91	2122.65	2162.68
+2140.52	2139.57	2198.58
+2192.94	2149.36	2207.55
+2152.12	2147.44	2247.16

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqData.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt Wed Mar  7 06:44:35 2007
@@ -0,0 +1,53 @@
+1	1	1
+2	2	2
+3	3	3
+4	4	4
+5	5	5
+6	6	6
+7	7	7
+8	8	8
+9	9	9
+10	10	10
+11	11	11
+12	12	12
+13	13	13
+14	14	14
+15	15	15
+16	16	16
+17	17	17
+18	18	18
+19	19	19
+20	20	20
+21	21	21
+22	22	22
+23	23	23
+24	24	24
+25	25	25
+26	26	26
+27	27	27
+28	28	28
+29	29	29
+30	30	30
+31	31	31
+32	32	32
+33	33	33
+34	34	34
+35	35	35
+36	36	36
+37	37	37
+38	38	38
+39	39	39
+40	40	40
+41	41	41
+42	42	42
+43	43	43
+44	44	44
+45	45	45
+46	46	46
+47	47	47
+48	48	48
+49	49	49
+50	50	50
+51	51	51
+52	52	52
+53	53	53

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chartData/NasdaqXData.txt
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseColor.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseColor.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseColor.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseColor.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,66 @@
+<?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="ChooseColor 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>A chooseColor associated with a selectInputColor&lt;/b>"/>                
+              <tr:inputColor id="sic1" chooseId="cp1"
+                shortDesc="Select color from pallette"                
+                label="Enter or select color from palette below"
+                value="#{color.colorValue1}"/>                              
+              <tr:chooseColor id="cp1" 
+                colorData="#{requestContext.colorPalette.default49}"/>
+                          
+              <tr:outputFormatted styleUsage="instruction" value="&lt;b>Color Converter with patterns &quot;rrr-ggg-bbb #RRGGBB&quot; associated with selectInputColor component&lt;/b>"/>                
+              <tr:inputColor id="sicConv" chooseId="cpConv"
+                label="Enter or select color from palette below"
+                value="#{color.colorValue1}">
+                <tr:convertColor  patterns="rrr-ggg-bbb #RRGGBB" transparentAllowed="false" />
+              </tr:inputColor>
+              <tr:chooseColor id="cpConv" 
+                colorData="#{requestContext.colorPalette.default49}"/>
+
+              <tr:outputFormatted styleUsage="instruction" value="&lt;b>A chooseColor with attribute 'colorData' bound to a list(java.util.List) of colors(java.awt.Color) and attribute 'customColorData' bound to an array of colors(java.awt.Color)&lt;/b>"/>                                
+              <tr:chooseColor id="cp2" 
+                colorData="#{color.colorList}"
+                customColorData="#{color.colorArray}"/>
+  
+              <tr:outputFormatted styleUsage="instruction" value="&lt;b>A chooseColor using standard 80 color palette(Trinidad implicit object) - Update its properties  from the table below&lt;/b>"/>                                
+              <tr:chooseColor binding="#{editor.component}" id="cp3" 
+                colorData="#{requestContext.colorPalette.default80}" width="16"/>
+              <jsp:directive.include file="editor.jspf" />
+          </tr:panelGroupLayout>
+        </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseDate.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseDate.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseDate.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/chooseDate.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html"
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+   <tr:document title="ChooseDate 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>Simple chooseDate &lt;/b>"/>
+            <tr:chooseDate binding="#{editor.component}" id="idp1" shortDesc="Choose Date"/>
+            <tr:inputDate id="df1a"
+                           chooseId="idp1"
+                           shortDesc="Choose Date"/>
+            <tr:inputText id="ti1a" value="Not a Date Field" shortDesc="Enter value"/>
+            <tr:inputDate id="df1b"
+                           chooseId="idp1"
+                           shortDesc="Choose Date"/>
+            <tr:inputDate id="df1c"
+                           chooseId="idp1"
+                           shortDesc="Choose Date"/>
+
+            <jsp:directive.include file="editor.jspf" />
+          </tr:panelGroupLayout>
+        </tr:form>
+     </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+ <tr:document title="Column Demo">
+        <tr:form >
+          <tr:panelGroupLayout layout="vertical">
+            <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/>
+            <tr:commandLink immediate="true" text="Column Demo"
+                  action="guide.column"/>
+            <tr:commandLink immediate="true" text="Column Group"
+                  action="guide.column.group"/>
+            <tr:commandLink immediate="true" text="RowHeader Column"
+                  action="guide.column.rowHeader"/>
+            <tr:commandLink immediate="true" text="Sortable Column"
+                  action="guide.column.sortable"/>
+            <tr:commandLink immediate="true" text="Column Footer"
+                  action="guide.column.footer"/>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;&lt;b>Column&lt;/b>"/>
+            <tr:table id="foo" value="#{table}" var="row" rows="5" 
+                      summary="Column Demo">
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Header 1"/>
+                </f:facet>
+                <tr:outputText value="#{row.int}"/>
+              </tr:column>
+              <tr:column  separateRows="true"
+                          binding="#{editor.component}">
+                <f:facet name="header">
+                  <tr:outputText value="Separate Rows"/>
+                </f:facet>
+                <tr:outputText value="#{row.int}"/>
+                <tr:outputText value="#{row.string}"/>
+              </tr:column>
+
+              <tr:column align="right">
+                <f:facet name="header">
+                  <tr:outputText value="Right"/>
+                </f:facet>
+                <tr:outputText value="#{row.int}"/>
+              </tr:column>
+              <tr:column align="center">
+                <f:facet name="header">
+                  <tr:outputText value="Center"/>
+                </f:facet>
+                <tr:outputText value="#{row.int}"/>
+              </tr:column>
+
+              <tr:column noWrap="true">
+                <f:facet name="header">
+                  <tr:outputText value="Data Does Not Wrap"/>
+                </f:facet>
+                <tr:outputText value=" #{row.string} #{row.string}"/>
+              </tr:column>
+              <tr:column headerNoWrap="true">
+                <f:facet name="header">
+                  <tr:outputText value="Header No Wrap"/>
+                </f:facet>
+                <tr:outputText value=" #{row.string} #{row.string} #{row.string}"/>
+              </tr:column>
+
+            </tr:table>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;This Editor controls the 'Separate Rows' Column:"/>
+            <jsp:directive.include file="editor.jspf" />
+
+
+
+          </tr:panelGroupLayout>
+        </tr:form>
+    </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_footer.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_footer.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_footer.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_footer.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+ <tr:document title="Column Footer Demo">
+        <tr:form >
+          <tr:panelGroupLayout layout="vertical">
+            <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/>
+            <tr:commandLink immediate="true" text="Column Demo"
+                  action="guide.column"/>
+            <tr:commandLink immediate="true" text="Column Group"
+                  action="guide.column.group"/>
+            <tr:commandLink immediate="true" text="RowHeader Column"
+                  action="guide.column.rowHeader"/>
+            <tr:commandLink immediate="true" text="Sortable Column"
+                  action="guide.column.sortable"/>
+            <tr:commandLink immediate="true" text="Column Footer"
+                  action="guide.column.footer"/>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;&lt;b>Columns With Footer&lt;/b>"/>
+            <tr:table value="#{table}" var="row" 
+                      rows="5" summary="Column Footer Demo">
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Header 1"/>
+                </f:facet>
+                <tr:outputText value="#{row.string}"/>
+              </tr:column>
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Header 2"/>
+                </f:facet>
+                <tr:outputText value="#{row.string}"/>
+              </tr:column>
+
+              <tr:column align="right">
+                <f:facet name="header">
+                  <tr:outputText value="Header 3"/>
+                </f:facet>
+                <tr:outputText value="#{10 * row.int}"/>
+                <f:facet name="footer">
+                  <tr:outputText value="999"/>
+                </f:facet>
+              </tr:column>             
+
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Header 4"/>
+                </f:facet>
+                <tr:outputText value="#{row.string}"/>
+              </tr:column>
+
+              <tr:column align="right">
+                <f:facet name="header">
+                  <tr:outputText value="Header 5"/>
+                </f:facet>
+                <tr:outputText value="#{100 * row.int}"/>
+                <f:facet name="footer">
+                  <tr:outputText value="9999"/>
+                </f:facet>
+              </tr:column>             
+
+              <f:facet name="footer">
+                <tr:outputText value="Total"/>
+              </f:facet>
+            </tr:table>
+
+
+
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_group.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_group.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_group.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_group.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+ <tr:document title="Column Group Demo">
+        <tr:form>
+          <tr:panelGroupLayout layout="vertical">
+             <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/>
+            <tr:commandLink immediate="true" text="Column Demo"
+                  action="guide.column"/>
+            <tr:commandLink immediate="true" text="Column Group"
+                  action="guide.column.group"/>
+            <tr:commandLink immediate="true" text="RowHeader Column"
+                  action="guide.column.rowHeader"/>
+            <tr:commandLink immediate="true" text="Sortable Column"
+                  action="guide.column.sortable"/>
+
+            <tr:outputFormatted styleUsage="instruction" value="&lt;p>&lt;b>Column Group&lt;/b>"/>
+            <tr:table value="#{periodicTable.tableData}" rows="7"
+              var="row" summary="Column Group Demo">
+              <tr:column>
+                <f:facet name="header">
+                  <tr:outputText value="Atom"/>
+                </f:facet>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Symbol"/>
+                  </f:facet>
+                  <tr:outputText value="#{row.symbol}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Description"/>
+                  </f:facet>
+                  <tr:column>
+                    <f:facet name="header">
+                      <tr:outputText value="Name"/>
+                    </f:facet>
+                    <tr:outputText value="#{row.name}"/>
+                  </tr:column>
+                  <tr:column>
+                    <f:facet name="header">
+                      <tr:outputText value="Number"/>
+                    </f:facet>
+                    <tr:outputText value="#{row.number}"/>
+                  </tr:column>
+                  <tr:column>
+                    <f:facet name="header">
+                      <tr:outputText value="Group"/>
+                    </f:facet>
+                    <tr:outputText value="#{row.group}"/>
+                  </tr:column>
+                </tr:column>
+              </tr:column>
+            </tr:table>
+
+
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_rowHeader.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_rowHeader.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_rowHeader.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_rowHeader.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+ <tr:document title="Row Header Column Demo">
+        <tr:form >
+          <tr:panelGroupLayout layout="vertical">
+            <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/>
+            <tr:commandLink immediate="true" text="Column Demo"
+                  action="guide.column"/>
+            <tr:commandLink immediate="true" text="Column Group"
+                  action="guide.column.group"/>
+            <tr:commandLink immediate="true" text="RowHeader Column"
+                  action="guide.column.rowHeader"/>
+            <tr:commandLink immediate="true" text="Sortable Column"
+                  action="guide.column.sortable"/>
+            <tr:commandLink immediate="true" text="Column Footer"
+                  action="guide.column.footer"/>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;&lt;b>RowHeader Column&lt;/b>"/>
+            <tr:table value="#{periodicTable.tableData}" rows="7"
+              rowSelection="single"
+              var="row" summary="Row Header Column Demo">
+                <tr:column rowHeader="true"
+                    binding="#{editor.component}">
+                  <tr:outputText value="#{row.group}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Symbol"/>
+                  </f:facet>
+                  <tr:outputText value="#{row.symbol}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Name"/>
+                  </f:facet>
+                  <tr:outputText value="#{row.name}"/>
+                </tr:column>
+                <tr:column>
+                  <f:facet name="header">
+                    <tr:outputText value="Number"/>
+                  </f:facet>
+                  <tr:outputText value="#{row.number}"/>
+                </tr:column>
+            </tr:table>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;This Editor controls the RowHeader Column:"/>
+            <jsp:directive.include file="editor.jspf" />
+          </tr:panelGroupLayout>
+        </tr:form>
+  </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_sortable.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_sortable.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_sortable.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/column_sortable.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns:h="http://java.sun.com/jsf/html"
+          xmlns:trh="http://myfaces.apache.org/trinidad/html" 
+          xmlns:tr="http://myfaces.apache.org/trinidad" >
+  <jsp:directive.page contentType="text/html;charset=utf-8"/>
+  <f:view>
+ <tr:document title="table Sorting Demo">
+        <tr:form >
+          <tr:panelGroupLayout layout="vertical">
+            <tr:commandLink immediate="true" text="Component Guide"
+                  action="guide"/>
+            <tr:commandLink immediate="true" text="Column Demo"
+                  action="guide.column"/>
+            <tr:commandLink immediate="true" text="Column Group"
+                  action="guide.column.group"/>
+            <tr:commandLink immediate="true" text="RowHeader Column"
+                  action="guide.column.rowHeader"/>
+            <tr:commandLink immediate="true" text="Sortable Column"
+                  action="guide.column.sortable"/>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;&lt;b>Sortable Table&lt;/b>"/>
+            <tr:table value="#{periodicTable.tableData}" var="row" rows="10"
+                      summary="Element Properties"> 
+              <tr:column sortProperty="name" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="Name"/>
+                </f:facet>
+                <tr:inputText value="#{row.name}" shortDesc="{row.name}"/>
+              </tr:column>
+              <tr:column sortProperty="symbol" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="Symbol"/>
+                </f:facet>
+                <tr:inputText value="#{row.symbol}" shortDesc="{row.symbol}"/>
+              </tr:column>
+              <tr:column sortProperty="number" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="Number"/>
+                </f:facet>
+                <tr:inputText value="#{row.number}" shortDesc="#{row.number}"/>
+              </tr:column>
+              <tr:column sortProperty="group" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="Group"/>
+                </f:facet>
+                <tr:inputText value="#{row.group}" shortDesc="#{row.group}" />
+              </tr:column>
+            </tr:table>
+
+            <tr:outputFormatted styleUsage="instruction" 
+              value="&lt;br&gt;&lt;b>Empty Table&lt;/b>"/>
+            <tr:table  var="row" rows="10"
+              emptyText="No records found" summary="Empty Table">            
+              <tr:column sortProperty="int" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="Int"/>
+                </f:facet>
+                <tr:inputText value="#{row.int}" shortDesc="#{row.int}"/>
+              </tr:column>
+              <tr:column sortProperty="string" sortable="true">
+                <f:facet name="header">
+                  <tr:outputText value="String"/>
+                </f:facet>
+                <tr:inputText value="#{row.string}" shortDesc="#{row.string}"/>
+              </tr:column>
+            </tr:table>
+            
+          </tr:panelGroupLayout>    
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandButton.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandButton.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandButton.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandButton.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,44 @@
+<?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="commandButton 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>Command button&lt;/b>"/>
+              <tr:commandButton binding="#{editor.component}"
+                  text="Go to breadCrumbs demo" action="guide.breadCrumbs"/>
+              <jsp:directive.include file="editor.jspf" />
+            </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>

Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandLink.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandLink.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandLink.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/commandLink.jspx Wed Mar  7 06:44:35 2007
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+	   
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+          xmlns:f="http://java.sun.com/jsf/core"
+          xmlns: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="CommandLink 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>A simple commandLink &lt;/b>"/>            
+            <tr:commandLink binding="#{editor.component}" accessKey="P" text="Page 1" action="#{action.app1}"/>            
+            
+            <jsp:directive.include file="editor.jspf" />
+    
+          </tr:panelGroupLayout>
+        </tr:form>
+ </tr:document>
+  </f:view>
+</jsp:root>