You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ck...@apache.org on 2010/01/27 21:37:48 UTC

svn commit: r903822 [8/17] - in /myfaces/trinidad/trunk/trinidad-examples: ./ trinidad-components-showcase/ trinidad-components-showcase/src/ trinidad-components-showcase/src/main/ trinidad-components-showcase/src/main/java/ trinidad-components-showcas...

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,39 @@
+/*
+ * 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.support.util;
+
+import com.uwyn.jhighlight.renderer.JavaXhtmlRenderer;
+
+/**
+ *
+ */
+public class HighlightJavaSource extends JavaXhtmlRenderer {
+
+    public String getCssClass(int style){
+        return "highlight_"+super.getCssClass(style);
+    }
+
+    public String getXhtmlHeaderFragment(String name){
+        if (null == name){
+            name = "";
+		}
+
+	    return "<h3> "+name+" </h3>";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightJavaSource.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,39 @@
+/*
+ * 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.support.util;
+
+import com.uwyn.jhighlight.renderer.XmlXhtmlRenderer;
+
+/**
+ *
+ */
+public class HighlightXhtmlSource extends XmlXhtmlRenderer {
+
+    public String getCssClass(int style){
+        return "highlight_"+super.getCssClass(style);
+    }
+
+    public String getXhtmlHeaderFragment(String name){
+        if (null == name){
+			name = "";
+		}
+
+	    return "<h3> "+name+" </h3>";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/HighlightXhtmlSource.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,222 @@
+/*
+ * 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.support.util;
+
+import org.apache.myfaces.trinidaddemo.ComponentDemoInitializer;
+import org.apache.myfaces.trinidaddemo.ComponentDemoRegistry;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoCategory;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.IComponentVariantDemo;
+
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.util.List;
+import java.util.Iterator;
+import java.util.ArrayList;
+import java.util.Set;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.HashSet;
+
+/**
+ *
+ */
+public class SitemapGenerator {
+
+    private static final String DEFAULT_PAGE_PATH = "/faces/pages/demoStart.xhtml";
+    private static final String COMPONENT_DEMO_PAGE_PATH = "/component-demo";
+
+    private String loc;
+    private String priority;
+    private String changeFreq;
+
+    /**
+     * Constructor.
+     *
+     * @param loc
+     */
+    public SitemapGenerator(String loc) {
+        this(loc, "0.5", "daily");
+    }
+
+    /**
+     * Constructor.
+     *
+     * @param loc
+     * @param priority
+     * @param changeFreq
+     */
+    public SitemapGenerator(String loc, String priority, String changeFreq) {
+        this.loc = loc;
+        this.priority = priority;
+        this.changeFreq = changeFreq;
+    }
+
+    public void generateSitemap() {
+        List<String> urls = getSitemapUrls();
+
+        try {
+            String userDir = System.getProperty("user.dir");
+            File outputDir = new File(userDir, "src/main/webapp");
+            if (!outputDir.exists()) {
+                outputDir.mkdirs();
+            }
+
+            File outputFile = new File(outputDir, "sitemap.xml");
+
+            BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputFile),"UTF8"));
+            
+            out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
+            out.write("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n");                 
+
+            Iterator<String> urlsIterator = urls.listIterator();
+            while (urlsIterator.hasNext()) {
+                out.write(urlsIterator.next());
+            }
+
+            out.write(getSitemapUrl(getLoc() + DEFAULT_PAGE_PATH));
+            out.write("</urlset>");
+
+            out.flush();
+            out.close();
+        }
+        catch (Exception exc) {
+            exc.printStackTrace();
+        }
+    }
+
+    /**
+     * @return
+     */
+    protected List<String> getSitemapUrls() {
+        List<String> list = new ArrayList<String>();
+
+        ComponentDemoInitializer initializer = ComponentDemoInitializer.getInstance();
+
+        ComponentDemoRegistry registry = ComponentDemoRegistry.getInstance();
+        initializer.registerComponentDemos(registry);
+
+        Map<ComponentDemoId, Set<IComponentDemoVariantId>> variantsAdded = new HashMap<ComponentDemoId, Set<IComponentDemoVariantId>>();
+
+        Iterator<IComponentDemoCategory> categories = registry.getDemoCategories().iterator();
+        while (categories.hasNext()) {
+            IComponentDemoCategory aCategory = categories.next();
+            Iterator<IComponentDemo> componentDemos = aCategory.getComponentDemos().iterator();
+            while (componentDemos.hasNext()) {
+                IComponentDemo aComponentDemo = componentDemos.next();
+
+                Set<IComponentDemoVariantId> alreadyAddedVariants = variantsAdded.get(aComponentDemo.getId());
+                if (alreadyAddedVariants == null) {
+                    alreadyAddedVariants = new HashSet<IComponentDemoVariantId>();
+                    variantsAdded.put(aComponentDemo.getId(), alreadyAddedVariants);
+                }
+
+                if (!alreadyAddedVariants.contains(aComponentDemo.getVariantId())) {
+                    list.add(getSitemapUrl(getUrl(aComponentDemo)));
+                    alreadyAddedVariants.add(aComponentDemo.getVariantId());
+                }
+
+                Iterator<IComponentVariantDemo> variants = aComponentDemo.getVariants().iterator();
+                while (variants.hasNext()) {
+                    IComponentVariantDemo aVariantDemo = variants.next();
+
+                    if (!alreadyAddedVariants.contains(aVariantDemo.getVariantId())) {
+                        list.add(getSitemapUrl(getUrl(aVariantDemo)));
+                        alreadyAddedVariants.add(aVariantDemo.getVariantId());
+                    }
+                }
+            }
+        }
+
+        return list;
+    }
+
+    /**
+     * @param componentVariantDemo
+     * @return
+     */
+    protected String getUrl(IComponentVariantDemo componentVariantDemo) {
+        StringBuilder builder = new StringBuilder();
+        builder.append(getLoc());
+        builder.append(COMPONENT_DEMO_PAGE_PATH);
+        builder.append("/");
+        builder.append(componentVariantDemo.getId());
+        builder.append("-");       
+        builder.append(componentVariantDemo.getVariantId());
+
+        return builder.toString();
+    }
+
+    /**
+     * @param url
+     * @return
+     */
+    protected String getSitemapUrl(String url) {
+        StringBuilder builder = new StringBuilder();
+
+        builder.append("<url>").append("\n");
+            builder.append("\t<loc>");
+            builder.append(url);
+            builder.append("</loc>").append("\n");        
+
+            builder.append("\t<priority>");
+            builder.append(getPriority());
+            builder.append("</priority>").append("\n");
+
+            builder.append("\t<changefreq>");
+            builder.append(getChangeFreq());
+            builder.append("</changefreq>").append("\n");
+        builder.append("</url>").append("\n");
+
+        return builder.toString();
+    }
+
+    public String getLoc() {
+        return loc;
+    }
+
+    public void setLoc(String loc) {
+        this.loc = loc;
+    }
+
+    public String getPriority() {
+        return priority;
+    }
+
+    public void setPriority(String priority) {
+        this.priority = priority;
+    }
+
+    public String getChangeFreq() {
+        return changeFreq;
+    }
+
+    public void setChangeFreq(String changeFreq) {
+        this.changeFreq = changeFreq;
+    }
+
+    public static void main(String[] args) {
+        SitemapGenerator generator = new SitemapGenerator("http://test.codebeat.ro/trinidad-components-demo");
+        generator.generateSitemap();
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/util/SitemapGenerator.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties Wed Jan 27 20:37:29 2010
@@ -0,0 +1,18 @@
+#for debugging log4j itself
+log4j.debug=false
+
+#Logger-Priorities:
+#DEBUG lowest, prints all messages
+#INFO  prints all messages with FATAL, ERROR, WARN or INFO priority
+#WARN  prints all messages with FATAL, ERROR or WARN priority
+#ERROR prints all messages with FATAL or ERROR priority
+#FATAL highest, prints only FATAL messages
+
+# root logger
+log4j.rootLogger=INFO, A1
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
+
+# myfaces logger
+log4j.logger.org.apache.myfaces=INFO

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/resources/log4j.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,349 @@
+<?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 faces-config PUBLIC
+        "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+        "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >
+
+<faces-config>
+
+    <application>
+        <!-- Use the Trinidad RenderKit -->
+        <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
+    </application>
+
+    <lifecycle>
+        <phase-listener>org.apache.myfaces.trinidaddemo.NavigationHandlerPhaseListener</phase-listener>
+    </lifecycle>
+    
+    <managed-bean>
+        <managed-bean-name>appConfig</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.support.ApplicationConfigurationBean</managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+        <managed-property>
+        	<property-name>jsBasedCodeFormatting</property-name>
+        	<value>true</value>
+        </managed-property>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>navigationHandler</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.NavigationHandlerBean</managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>groupLayoutDynamicBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.layout.panelGroupLayout.GroupLayoutDynamicBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>commandButtonBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.buttonsAndLinks.commandButton.CommandButtonBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>commandLinkBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.buttonsAndLinks.commandLink.CommandLinkBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>messagesBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.output.messages.MessagesBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>chartBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.output.chart.ChartBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>progressIndicatorBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.output.progessIndicator.ProgressIndicatorBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>formBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.panel.form.FormBean</managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>statusIndicatorBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.output.statusIndicator.StatusIndicatorBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>singleStepButtonBarBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.components.navigation.singleStepButtonBar.SingleStepButtonBarBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>inputListOfValuesBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.components.input.inputListOfValues.InputListOfValuesBean
+        </managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>selectRangeChoiceBarBean</managed-bean-name>    
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.components.select.selectRangeChoiceBar.SelectRangeChoiceBarBean
+        </managed-bean-class>
+        <managed-bean-scope>none</managed-bean-scope>
+    </managed-bean>
+
+
+    <managed-bean>
+        <managed-bean-name>tableColumn</managed-bean-name>
+        <managed-bean-class>
+            java.util.ArrayList
+        </managed-bean-class>
+        <managed-bean-scope>
+            application
+        </managed-bean-scope>
+        <list-entries>
+            <value-class>
+                org.apache.myfaces.trinidaddemo.components.table.column.TableColumnBean
+            </value-class>
+            <value>#{tableColumnRowBean}</value>
+            <value>#{tableColumnRowBean}</value>
+            <value>#{tableColumnRowBean}</value>
+            <value>#{tableColumnRowBean}</value>
+            <value>#{tableColumnRowBean}</value>
+        </list-entries>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>tableColumnRowBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.components.table.column.TableColumnBean
+        </managed-bean-class>
+        <managed-bean-scope>none</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>treeTableBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.table.treeTable.TreeTableBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+
+    <managed-bean>
+        <managed-bean-name>pageBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.panel.page.PageBean</managed-bean-class>
+        <managed-bean-scope>request</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>navigationTreeBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.navigation.navigationTree.NavigationTreeBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>trainBean</managed-bean-name>
+        <managed-bean-class>org.apache.myfaces.trinidaddemo.components.navigation.train.TrainBean</managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>processChoiceBarBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.components.navigation.processChoiceBar.ProcessChoiceBarBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>contactListBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.feature.ContactListBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>receivedEmailListBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.feature.ReceivedEmailListBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <managed-bean>
+        <managed-bean-name>sentEmailListBean</managed-bean-name>
+        <managed-bean-class>
+            org.apache.myfaces.trinidaddemo.feature.SentEmailListBean
+        </managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+
+    <component>
+        <component-type>org.apache.myfaces.trinidad.OutputSource</component-type>
+        <component-class>org.apache.myfaces.trinidaddemo.support.jsf.OutputSource</component-class>
+    </component>
+
+
+    <render-kit>
+        <renderer>
+            <component-family>org.apache.myfaces.trinidad.Output</component-family>
+            <renderer-type>org.apache.myfaces.trinidad.OutputSource</renderer-type>
+            <renderer-class>org.apache.myfaces.trinidaddemo.support.jsf.OutputSourceRenderer</renderer-class>
+        </renderer>
+
+    </render-kit>
+
+    <navigation-rule>
+
+        <navigation-case>
+            <from-outcome>homeForm</from-outcome>
+            <to-view-id>/pages/demoStart.xhtml</to-view-id>
+            <redirect/>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>demoAppForm</from-outcome>
+            <to-view-id>/feature/e-mailTemplate.xhtml</to-view-id>
+            <redirect/>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>searchForm</from-outcome>
+            <to-view-id>/pages/demoSearch.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>processChoiceBar1</from-outcome>
+            <to-view-id>/components/navigation/processChoiceBar/processChoiceBar.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>processChoiceBar2</from-outcome>
+            <to-view-id>/components/navigation/processChoiceBar/processChoiceBar2.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>processChoiceBar3</from-outcome>
+            <to-view-id>/components/navigation/processChoiceBar/processChoiceBar3.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train</from-outcome>
+            <to-view-id>/components/navigation/train/train.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train2</from-outcome>
+            <to-view-id>/components/navigation/train/train2.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train3</from-outcome>
+            <to-view-id>/components/navigation/train/train3.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train4</from-outcome>
+            <to-view-id>/components/navigation/train/train4.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train5</from-outcome>
+            <to-view-id>/components/navigation/train/train5.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train6</from-outcome>
+            <to-view-id>/components/navigation/train/train6.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>train7</from-outcome>
+            <to-view-id>/components/navigation/train/train7.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>goToEMailContacts</from-outcome>
+            <to-view-id>/feature/e-mailContacts.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>goToInbox</from-outcome>
+            <to-view-id>/feature/e-mailListReceived.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>goToSent</from-outcome>
+            <to-view-id>/feature/e-mailListSent.xhtml</to-view-id>
+        </navigation-case>
+
+        <navigation-case>
+            <from-outcome>goToNewMail</from-outcome>
+            <to-view-id>/feature/newEmail.xhtml</to-view-id>
+        </navigation-case>
+
+
+    </navigation-rule>
+
+    <navigation-rule>
+        <from-view-id>/components/input/inputListOfValues/inputListOfValues.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>dialog:periodicTable</from-outcome>
+            <to-view-id>/components/input/inputListOfValues/inputListOfValuesDialog.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+    <navigation-rule>
+        <from-view-id>/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>dialog:periodicTable</from-outcome>
+            <to-view-id>/components/input/inputListOfValues/inputListOfValuesDialog.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+    <navigation-rule>
+        <from-view-id>/components/input/inputListOfValues/inputListOfValuesSimple.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>dialog:periodicTable</from-outcome>
+            <to-view-id>/components/input/inputListOfValues/inputListOfValuesDialog.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
+
+</faces-config>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,23 @@
+<?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">
+    
+</trinidad-config>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE facelet-taglib PUBLIC
+        "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
+        "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
+
+<facelet-taglib>
+    <namespace>http://localhost:8080/trinidad-demo</namespace>
+
+    <tag>
+        <tag-name>outputSource</tag-name>
+        <component>
+            <component-type>org.apache.myfaces.trinidad.OutputSource</component-type>
+            <renderer-type>org.apache.myfaces.trinidad.OutputSource</renderer-type>
+        </component>
+    </tag>
+
+
+</facelet-taglib>
\ No newline at end of file

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-demo.taglib.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,58 @@
+<?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">
+
+	<!-- Define our layout styling as a skin addition to the 'casablanca' skin -->
+    <skin-addition>
+	    <skin-id>
+	        casablanca.desktop
+	    </skin-id>
+	    <style-sheet-name>
+            skins/layout.css
+        </style-sheet-name>
+    </skin-addition>
+    
+    <!-- Define the code highliter styling as skin additions to the 'casablanca' skin -->
+    <skin-addition>
+        <id>
+            highliter_core
+        </id>
+	    <skin-id>
+	        casablanca.desktop
+	    </skin-id>
+	    <style-sheet-name>
+            skins/highliter_core.css
+        </style-sheet-name>
+    </skin-addition>    
+
+    <skin-addition>
+        <id>
+            highliter_theme_casablanca
+        </id>
+	    <skin-id>
+	        casablanca.desktop
+	    </skin-id>
+	    <style-sheet-name>
+            skins/highliter_theme_casablanca.css
+        </style-sheet-name>
+    </skin-addition>
+
+</skins>
\ No newline at end of file

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,181 @@
+<?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/javaee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+         version="2.5">
+
+  <!-- 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>
+
+    <context-param>
+        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+        <param-value>.xhtml</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>org.apache.myfaces.CONFIG_REFRESH_PERIOD</param-name>
+        <param-value>0</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>
+ 
+    <context-param>
+        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
+        <param-value>true</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. Trinidad will also automatically check
+        if your skinning css files have changed without having to restart
+        the server; 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.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
+        <param-value>true</param-value>
+    </context-param> 
+    
+    <context-param>
+        <param-name>org.apache.myfaces.trinidad.resource.DEBUG</param-name>
+        <param-value>true</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
+        <param-value>true</param-value>
+    </context-param>
+   
+    <context-param>
+        <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
+        <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
+        <param-value>*.xhtml</param-value>
+    </context-param>
+
+    <context-param>
+        <param-name>facelets.SKIP_COMMENTS</param-name>
+        <param-value>true</param-value>
+    </context-param>
+
+    <!-- Facelets Config -->
+    <context-param>
+        <param-name>facelets.LIBRARIES</param-name>
+        <param-value>
+        	/WEB-INF/trinidad-demo.taglib.xml
+        </param-value>
+    </context-param>
+    
+    <listener>
+        <listener-class>org.apache.myfaces.trinidaddemo.ComponentShowcaseContextListener</listener-class>
+    </listener>
+
+    <filter>
+        <filter-name>prettyUrl</filter-name>
+        <filter-class>org.apache.myfaces.trinidaddemo.support.PrettyUrlFilter</filter-class>
+    </filter>
+
+    <filter>
+        <filter-name>trinidad</filter-name>
+        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
+    </filter>
+
+    <filter-mapping>
+        <filter-name>prettyUrl</filter-name>
+        <url-pattern>/component-demo/*</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>
+
+    <!-- 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>resources</servlet-name>
+        <url-pattern>/afr/*</url-pattern>
+    </servlet-mapping>
+    
+    <welcome-file-list>
+        <welcome-file>index.jsp</welcome-file>
+    </welcome-file-list>
+
+</web-app>

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButton.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButton.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButton.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButton.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,16 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+	<tr:panelHorizontalLayout halign="left">
+        <f:facet name="separator">
+            <tr:spacer width="10" height="5"/>
+        </f:facet>
+        <tr:inputText label="Your name" value="#{commandButtonBean.name}" required="true" />
+        <tr:commandButton text="Say Hello" action="#{commandButtonBean.sayHello}"/>        
+    </tr:panelHorizontalLayout>  
+    
+    <tr:outputText value="#{commandButtonBean.message}" inlineStyle="font-weight: bold;"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButtonAjax.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButtonAjax.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButtonAjax.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/commandButtonAjax.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,22 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+	<tr:panelHorizontalLayout halign="left">
+        <f:facet name="separator">
+            <tr:spacer width="10" height="5"/>
+        </f:facet>
+
+        <tr:inputText label="Your name" value="#{commandButtonBean.name}"
+                      required="true"/>
+        <tr:commandButton id="sayHello" text="Say Hello"
+                          partialSubmit="true"
+                          action="#{commandButtonBean.sayHello}"/>
+    </tr:panelHorizontalLayout>
+
+    <tr:spacer height="15px"/>
+    <tr:outputText value="#{commandButtonBean.message}" partialTriggers="sayHello" 
+                   inlineStyle="font-weight: bold;"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The commandButton control creates a button representation of a UIXCommand.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/commandLink.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/commandLink.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/commandLink.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/commandLink.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:inputText value="#{commandLinkBean.text}"/>
+        <tr:commandLink text="Submit" action="#{commandLinkBean.showMessage}"/>
+        <tr:outputText value="#{commandLinkBean.message}"/>
+    </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandLink/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+   The commandLink control creates a link representation of a UIXCommand.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/goButton.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/goButton.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/goButton.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/goButton.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:goButton text="Go" destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_goButton.html"/>
+    </tr:panelFormLayout>                
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goButton/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The goButton creates a push button that navigates directly to another location instead of
+    delivering an action. It can be used in place of commandButton where a server-side action is not needed.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/goLink.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/goLink.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/goLink.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/goLink.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:goLink text="Go" destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_goLink.html"/>
+    </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/goLink/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The goLink component wraps its children inside of an HTML link. It is used on its own for
+    general linking, but can also be used as the content for menu components that support linking when a server-side
+    command (e.g., CommandLink) is not desired.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/resetButton.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/resetButton.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/resetButton.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/resetButton.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,13 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelGroupLayout layout="vertical">
+        <tr:panelHeader text="Reset Elements."/>
+        <tr:selectBooleanCheckbox text="Box1"/>
+        <tr:selectBooleanCheckbox text="Box2" selected="true"/>
+        <tr:selectBooleanCheckbox text="Box3"/>
+        <tr:resetButton textAndAccessKey="&amp;Reset"/>
+    </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/resetButton/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The reset button control creates a push button which will reset the content of a form.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/icon.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/icon.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/icon.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/icon.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,25 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:outputText value="Types of icons that can be rendered are:"/>
+    <tr:spacer height="10px"/>
+
+    <tr:panelHorizontalLayout>
+        <tr:icon name="info"/>
+        <tr:spacer width="5"/>
+        <tr:outputText value="Info: "/>
+    </tr:panelHorizontalLayout>
+
+    <tr:panelHorizontalLayout>
+        <tr:icon name="warning"/>
+        <tr:spacer width="5"/>
+        <tr:outputText value="Warning: "/>
+    </tr:panelHorizontalLayout>       
+
+    <tr:panelHorizontalLayout>
+        <tr:icon name="error"/>
+        <tr:spacer width="5"/>
+        <tr:outputText value="Error: "/>
+    </tr:panelHorizontalLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/icon/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The icon component renders a skin specific icon. Each skin implementation exposes a set
+    of customizable icons that can be overridden by a custom skin. Each icon is identified by name.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/image.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/image.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/image.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/image.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:image source="/resources/Butterfly.jpg" shortDesc="Butterfly"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/image/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The image control creates an image tag.
+    <br/>
+    The &quot;alt&quot; image tag can be set using the shortDesc  attribute of the base bean type.
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/media.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/media.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/media.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/media.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaAllControls.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaAllControls.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaAllControls.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaAllControls.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              controls="all"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaLink.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaLink.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaLink.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaLink.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              player="link"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaNoControls.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaNoControls.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaNoControls.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaNoControls.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              controls="none"/>
+       
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaQuicktime.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaQuicktime.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaQuicktime.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaQuicktime.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              player="quicktime"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaReal.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaReal.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaReal.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaReal.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              player="real"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaWindows.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaWindows.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaWindows.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/mediaWindows.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:media source="/resources/seattle.wmv" innerWidth="240" innerHeight="168"
+              shortDesc="Visit Seattle"
+              player="windows"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/graphic/media/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,26 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The media component displays media content, such as audio, video, or image in a player 
+    embedded in the user agent. The media control displays the media specified by the &quot;source&quot; attribute ]
+    in the appropriate media player. If a particular media player is desired, it can be specified using the
+    &quot;player&quot; attribute. The media control attempts to intelligently handle two tricky aspects of
+    cross-platform media display--determining the best player to display the media, and sizing the media player.
+
+    <tr:spacer height="12px"/>
+
+    <tr:outputText value="The media component supports two approaches to sizing the media control setting the
+        &quot;width&quot; and &quot;height&quot; attributes, which specify the amount of space reserved on the user
+        agent for the media control, and setting the &quot;innerWidth&quot; and &quot;innerHeight&quot; attributes,
+        which specify the size of the media resource content. Since it is almost impossible to determine the correct
+        width and height to use across different players and different player control configurations, specifying the
+        &quot;innerWidth&quot; and &quot;innerHeight&quot; is the recommended strategy. "/>
+
+    <tr:spacer height="12px"/>
+
+    <tr:outputText value="If the size of the media control isn't specified by one of the above approaches, a default
+        inner size, determined by the content type of the media resource, will be used. This works well for audio
+        content, but can cause content to be clipped or occupy too much space for video content."/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/index.html
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/index.html?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/index.html (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/index.html Wed Jan 27 20:37:29 2010
@@ -0,0 +1,5 @@
+<html>
+<header>
+<meta http-equiv="Refresh" content="0;url=/faces/pages/demoStart.xhtml">
+</header>
+</html>

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColor.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColor.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColor.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColor.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:inputColor  label="Color" />
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorCompact.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorCompact.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorCompact.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorCompact.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:inputColor  label="Color" compact="true"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorDetailed.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:inputColor  label="Color" simple="false"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/inputColorSimple.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:inputColor  label="Color" simple="true"/>
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputColor/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,18 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The inputColor component creates a text field for entering colors. Users can specify
+    color values in one of three ways, depending on how the inputColor component is configured.
+
+    <tr:panelList>
+        <tr:outputText value="Users can type the color value directly in the field. This option is always available."/>
+        <tr:outputText value="Users can select a color value from a secondary dialog. This option may not be
+            available in all look and feel implementations. In particular, this option is not available on PDA look and feels."/>
+        <tr:outputText value="Users can select a color value from an inline chooseColor component. In order to
+            enable this option, the chooseColor must be placed in the same page as the inputColor, and the inputColor's
+            paletteId attribute must be set to the id of the corresponding chooseColor. Again, this option is not
+            supported on PDA look and feel."/>
+    </tr:panelList>
+    
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDate.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDate.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDate.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDate.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,15 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:inputDate id="mdf2" label="Short Date">
+            <f:convertDateTime dateStyle="short"/>
+        </tr:inputDate>
+        
+        <tr:inputDate id="mdf1" label="Full Date">
+            <f:convertDateTime dateStyle="full"/>
+        </tr:inputDate>
+    </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateDetailed.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,15 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+    
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:inputDate id="mdf2" label="Short Date" simple="false">
+            <f:convertDateTime dateStyle="short"/>
+        </tr:inputDate>
+
+        <tr:inputDate id="mdf1" label="Full Date" simple="false">
+            <f:convertDateTime dateStyle="full"/>
+        </tr:inputDate>
+    </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/inputDateSimple.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,15 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:panelFormLayout rows="4" labelAlignment="start">
+        <tr:inputDate id="mdf2" label="Short Date" simple="true">
+            <f:convertDateTime dateStyle="short"/>
+        </tr:inputDate>
+
+        <tr:inputDate id="mdf1" label="Full Date" simple="true">
+            <f:convertDateTime dateStyle="full"/>
+        </tr:inputDate>
+    </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputDate/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    The inputDate component creates a text field for entering dates and a button for picking dates from a calendar.
+    <br/>
+    The inputDate will default its format to the&quot;short&quot; date format appropriate
+    for the current locale; for example, in English, this is &quot;mm/dd/yy&quot;. However, the format can be 
+    overridden by using a DateTimeConverter.
+
+</ui:composition>
\ No newline at end of file

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFile.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFile.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFile.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFile.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:tr="http://myfaces.apache.org/trinidad">
+
+    <tr:inputFile label="File" required="false" />
+
+</ui:composition>
\ No newline at end of file