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/05/03 15:07:21 UTC

svn commit: r940441 [1/3] - in /myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main: java/org/apache/myfaces/trinidaddemo/ java/org/apache/myfaces/trinidaddemo/feature/ java/org/apache/myfaces/trinidaddemo/f...

Author: ckormos
Date: Mon May  3 13:07:19 2010
New Revision: 940441

URL: http://svn.apache.org/viewvc?rev=940441&view=rev
Log:
Patch applied for [TRINIDAD-1803] - Navigation implementation for Trinidad's showcase menu bar (Thanks to Cosmin Martinconi)

Added:
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoInitializer.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoRegistry.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/AddRemoveFacetsDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/AddRemoveReorderChildrenDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/ExplicitAttributeChangeDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/ImplicitAttributeChangeDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/ClientSideConvertersDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/ClientSideDateRestrictionDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/ClientSideValidatorsDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/MessageCustomizationDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/ServerSideConvertersDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/ServerSideDateRestrictionsDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/ServerSideValidatorsDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/AccessibilityProfileDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/DialogFrameworkDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/FileDownloadDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/PartialPageRenderingDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/ProgressStepsDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/ShowDetailDisclosureDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/AddRowDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/ExportToCSVDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/TotalRowDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ContactListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/Email.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ReceivedEmailListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/SentEmailListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/TableBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/FeatureDemoCategoryId.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/FeatureDemoId.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/IFeatureDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/IFeatureDemoCategory.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/impl/AbstractFeatureDemo.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/impl/FeatureDemoCategoryImpl.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/notImplemented.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/pages/featureDemo.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/defaultPageTemplateE-Mail.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/e-mailContacts.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/e-mailListReceived.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/e-mailListSent.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/e-mailTemplate.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/index.html
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/samples/email/newEmail.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/template/featureDemosTemplate.xhtml
Removed:
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerPhaseListener.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/ContactListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/Email.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/ReceivedEmailListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/SentEmailListBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/TableBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/defaultPageTemplateE-Mail.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/e-mailContacts.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/e-mailListReceived.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/e-mailListSent.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/e-mailTemplate.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/index.html
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/feature/newEmail.xhtml
Modified:
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/ComponentShowcaseContextListener.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerBean.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/IComponentDemoVariantId.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/support/PrettyUrlFilter.java
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/faces-config.xml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/trinidad-skins.xml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/WEB-INF/web.xml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/template/fragment/navigationBar.xhtml
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/webapp/template/fragment/searchBar.xhtml

Modified: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/ComponentShowcaseContextListener.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/ComponentShowcaseContextListener.java?rev=940441&r1=940440&r2=940441&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/ComponentShowcaseContextListener.java (original)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/ComponentShowcaseContextListener.java Mon May  3 13:07:19 2010
@@ -29,6 +29,7 @@ public class ComponentShowcaseContextLis
     
     public void contextInitialized(ServletContextEvent sce) {
         ComponentDemoInitializer.getInstance().init();
+        FeatureDemoInitializer.getInstance().init();
     }
 
     public void contextDestroyed(ServletContextEvent sce) {}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoInitializer.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoInitializer.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoInitializer.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoInitializer.java Mon May  3 13:07:19 2010
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoCategoryId;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.clientSideConverters.ClientSideConvertersDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.clientSideValidators.ClientSideValidatorsDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.clientSideDateRestriction.ClientSideDateRestrictionDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.serverSideConverters.ServerSideConvertersDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.serverSideValidators.ServerSideValidatorsDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.serverSideDateRestrictions.ServerSideDateRestrictionsDemo;
+import org.apache.myfaces.trinidaddemo.feature.convertersAndValidators.messageCustomization.MessageCustomizationDemo;
+import org.apache.myfaces.trinidaddemo.feature.changePersistence.addRemoveFacets.AddRemoveFacetsDemo;
+import org.apache.myfaces.trinidaddemo.feature.changePersistence.addRemoveReorderChildren.AddRemoveReorderChildrenDemo;
+import org.apache.myfaces.trinidaddemo.feature.changePersistence.explicitAttributeChange.ExplicitAttributeChangeDemo;
+import org.apache.myfaces.trinidaddemo.feature.changePersistence.implicitAttributeChange.ImplicitAttributeChangeDemo;
+import org.apache.myfaces.trinidaddemo.feature.table.addRow.AddRowDemo;
+import org.apache.myfaces.trinidaddemo.feature.table.exportToCSV.ExportToCSVDemo;
+import org.apache.myfaces.trinidaddemo.feature.table.totalRow.TotalRowDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.accessibilityProfile.AccessibilityProfileDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.dialogFramework.DialogFrameworkDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.fileDownload.FileDownloadDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.partialPageRendering.PartialPageRenderingDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.progressSteps.ProgressStepsDemo;
+import org.apache.myfaces.trinidaddemo.feature.others.showDetailDisclosure.ShowDetailDisclosureDemo;
+
+/**
+ *
+ */
+public class FeatureDemoInitializer {
+
+    private static FeatureDemoInitializer instance = new FeatureDemoInitializer();
+
+    private static final String CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE   = "Converters and Validators";
+    private static final String CHANGE_PERSISTENCE_TITLE  = "Change persistence";
+    private static final String TABLE_TITLE  = "Table";
+    private static final String OTHERS_TITLE   = "Others";
+
+
+    /**
+     * Constructor.
+     */
+    private FeatureDemoInitializer(){}
+
+    /**
+     * Gets the singleton instance of the feature demos initializer.
+     *
+     * @return a ComponentDemoInitializer.
+     */
+    public static FeatureDemoInitializer getInstance() {
+        return instance;
+    }
+
+	public void init() {
+		FeatureDemoRegistry registry = FeatureDemoRegistry.getInstance();
+        registerFeatureDemos(registry);
+	}
+
+    /**
+     * @param registry
+     */
+    public void registerFeatureDemos(FeatureDemoRegistry registry) {
+        //  registering Layout Converters And Validators components
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ClientSideConvertersDemo());
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ClientSideValidatorsDemo());
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ClientSideDateRestrictionDemo());
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ServerSideConvertersDemo());
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ServerSideValidatorsDemo());
+		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new ServerSideDateRestrictionsDemo());
+ 		registry.registerFeatureDemo(FeatureDemoCategoryId.convertersAndValidators, CATEGORY_CONVERTERS_AND_VALIDATORS_TITLE, new MessageCustomizationDemo());             
+
+        registry.registerFeatureDemo(FeatureDemoCategoryId.changePersistence, CHANGE_PERSISTENCE_TITLE, new AddRemoveFacetsDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.changePersistence, CHANGE_PERSISTENCE_TITLE, new AddRemoveReorderChildrenDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.changePersistence, CHANGE_PERSISTENCE_TITLE, new ExplicitAttributeChangeDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.changePersistence, CHANGE_PERSISTENCE_TITLE, new ImplicitAttributeChangeDemo());
+        
+        registry.registerFeatureDemo(FeatureDemoCategoryId.table, TABLE_TITLE, new AddRowDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.table, TABLE_TITLE, new ExportToCSVDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.table, TABLE_TITLE, new TotalRowDemo());
+
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new AccessibilityProfileDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new DialogFrameworkDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new FileDownloadDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new PartialPageRenderingDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new ProgressStepsDemo());
+        registry.registerFeatureDemo(FeatureDemoCategoryId.others, OTHERS_TITLE, new ShowDetailDisclosureDemo());        
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoRegistry.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoRegistry.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoRegistry.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/FeatureDemoRegistry.java Mon May  3 13:07:19 2010
@@ -0,0 +1,131 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.trinidaddemo;
+
+import org.apache.myfaces.trinidaddemo.support.impl.FeatureDemoCategoryImpl;
+import org.apache.myfaces.trinidaddemo.support.IFeatureDemoCategory;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoCategoryId;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+import org.apache.myfaces.trinidaddemo.support.IFeatureDemo;
+
+import java.util.logging.Logger;
+import java.util.logging.Level;
+import java.util.List;
+import java.util.Map;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Collection;
+
+/**
+ *
+ */
+public class FeatureDemoRegistry {
+
+    private static final Logger _LOG = Logger.getLogger(FeatureDemoRegistry.class.getName());
+
+    private static FeatureDemoRegistry instance = new FeatureDemoRegistry();
+
+    private List<IFeatureDemoCategory> categories;
+
+    private Map<FeatureDemoCategoryId, IFeatureDemoCategory> categoriesRegistry;
+    private Map<FeatureDemoId, IFeatureDemo> featuresDemoRegistry;
+
+    /**
+     * Constructor.
+     */
+    private FeatureDemoRegistry() {
+        categories = new ArrayList<IFeatureDemoCategory>();
+
+        categoriesRegistry = new HashMap<FeatureDemoCategoryId, IFeatureDemoCategory>();
+        featuresDemoRegistry = new HashMap<FeatureDemoId, IFeatureDemo>();
+    }
+
+    /**
+     * Gets the singleton instance of the feature demos registry.
+     *
+     * @return a FeatureDemoRegistry.
+     */
+    public static FeatureDemoRegistry getInstance() {
+        return instance;
+    }
+
+    /**
+     * Registers the given feature demo into a specific category.
+     *
+     * @param categoryId    the unique id of the category.
+     * @param categoryName  the name of the category.
+     * @param featureDemo   the feature demo to be registered.
+     */
+    public void registerFeatureDemo(FeatureDemoCategoryId categoryId, String categoryName, IFeatureDemo featureDemo) {
+        if (featureDemo == null) {
+            throw new IllegalArgumentException("Trying to register a null feature demo!");
+        }
+
+        _LOG.log(Level.INFO, "Register feature demo '" + featureDemo.getDisplayName() + "' in category '" + categoryName + "'");
+
+        IFeatureDemoCategory category = categoriesRegistry.get(categoryId);
+        if (category == null) {
+            category = new FeatureDemoCategoryImpl(categoryId, categoryName);
+
+            categories.add(category);
+            categoriesRegistry.put(categoryId, category);
+        }
+
+        category.addFeatureDemo(featureDemo);
+        featuresDemoRegistry.put(featureDemo.getId(), featureDemo);
+    }
+
+    /**
+     * Returns the feature demo identified by the given id.
+     *
+     * @param id the unique id of the desired feature demo.
+     * @return the feature demo identified by the given id, or null if it's not available in this registry.
+     */
+    public IFeatureDemo getFeatureDemo(FeatureDemoId id) {
+        return featuresDemoRegistry.get(id);
+    }
+
+    /**
+     * Returns the category identified by the given id.
+     *
+     * @param id the unique id of the desired category.
+     * @return the category identified by the given id, or null if it's not available in this registry.
+     */
+    public IFeatureDemoCategory getFeatureDemoCategory(FeatureDemoCategoryId id) {
+        return categoriesRegistry.get(id);
+    }
+
+    /**
+     * Returns the collection containing all available categories.
+     *
+     * @return the collection containing all available categories.
+     */
+    public Collection<IFeatureDemoCategory> getDemoCategories() {
+        return categories;
+    }
+
+    /**
+     * Returns the collection containing all available feature demos.
+     *
+     * @return the collection containing all available feature demos.
+     */
+    public Collection<IFeatureDemo> getFeatureDemos() {
+		return featuresDemoRegistry.values();
+	}
+}

Modified: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerBean.java?rev=940441&r1=940440&r2=940441&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerBean.java (original)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/NavigationHandlerBean.java Mon May  3 13:07:19 2010
@@ -26,6 +26,9 @@ import org.apache.myfaces.trinidaddemo.s
 import org.apache.myfaces.trinidaddemo.support.IComponentVariantDemo;
 import org.apache.myfaces.trinidaddemo.support.IComponentDemo;
 import org.apache.myfaces.trinidaddemo.support.IComponentDemoCategory;
+import org.apache.myfaces.trinidaddemo.support.IFeatureDemoCategory;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoCategoryId;
+import org.apache.myfaces.trinidaddemo.support.IFeatureDemo;
 
 import javax.faces.context.FacesContext;
 import javax.faces.application.FacesMessage;
@@ -39,8 +42,10 @@ public class NavigationHandlerBean {
     private String searchText;
 
     private ComponentDemoCategoryId defaultDisclosedCategoryId = ComponentDemoCategoryId.layout;
+    private FeatureDemoCategoryId defaultFeatureDisclosedCategoryId = FeatureDemoCategoryId.changePersistence;
 
     private IComponentVariantDemo currentComponentVariantDemo;
+    private IFeatureDemo currentFeatureDemo;
 
     /**
      * @return
@@ -94,6 +99,13 @@ public class NavigationHandlerBean {
     /**
      * @return
      */
+    public Map<String, Object> getFeatureCategoryDisclosed() {
+        return new FeatureCategoryDisclosedStateEvalMap();
+    }
+
+    /**
+     * @return
+     */
     public Map<String, Object> getComponentDemoSelected() {
         return new ComponentDemoSelectedEvalMap();
     }
@@ -101,6 +113,13 @@ public class NavigationHandlerBean {
     /**
      * @return
      */
+    public Map<String, Object> getFeatureDemoSelected() {
+        return new FeatureDemoSelectedEvalMap();
+    }
+
+    /**
+     * @return
+     */
     public Map<String, Object> getComponentVariantDemoSelected() {
         return new ComponentVariantDemoSelectedEvalMap();
     }
@@ -117,6 +136,17 @@ public class NavigationHandlerBean {
     /**
      * @return
      */
+    public IFeatureDemo getCurrentFeatureDemo() {
+        return currentFeatureDemo;
+    }
+
+    public void setCurrentFeatureDemo(IFeatureDemo featureDemo){
+        this.currentFeatureDemo = featureDemo;    
+    }
+
+    /**
+     * @return
+     */
     public IComponentVariantDemo getCurrentComponentVariantDemo() {
         return currentComponentVariantDemo;
     }
@@ -143,6 +173,13 @@ public class NavigationHandlerBean {
     }
 
     /**
+     * @return
+     */
+    public Collection<IFeatureDemoCategory> getFeatureDemoCategories() {
+        return FeatureDemoRegistry.getInstance().getDemoCategories();
+    }
+
+    /**
      * @return the searchText
      */
     public String getSearchText() {
@@ -206,6 +243,27 @@ public class NavigationHandlerBean {
     /**
      *
      */
+    class FeatureCategoryDisclosedStateEvalMap extends EvalMapAdapter {
+
+        @Override
+        public Object get(Object key) {
+            IFeatureDemoCategory category = (IFeatureDemoCategory) key;
+
+            //if there is no concrete component demo selected yet, disclose the default category
+            if (currentFeatureDemo == null &&
+                defaultFeatureDisclosedCategoryId.equals(category.getId())) {
+                    return true;
+            }
+
+            return category != null &&
+                   currentFeatureDemo != null &&
+                   category.equals(currentFeatureDemo.getCategory());
+        }
+    }
+
+    /**
+     *
+     */
     class ComponentVariantDemoSelectedEvalMap extends EvalMapAdapter {
 
         @Override
@@ -232,4 +290,16 @@ public class NavigationHandlerBean {
                     componentDemo.equals(getCurrentComponentDemo());
         }
     }
+
+    class FeatureDemoSelectedEvalMap extends EvalMapAdapter {
+
+        @Override
+        public Object get(Object key) {
+            IFeatureDemo featureDemo = (IFeatureDemo) key;
+
+            return featureDemo != null &&
+                    getCurrentFeatureDemo() != null &&
+                    featureDemo.equals(getCurrentFeatureDemo());
+        }
+    }
 }

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/AddRemoveFacetsDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/AddRemoveFacetsDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/AddRemoveFacetsDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveFacets/AddRemoveFacetsDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.changePersistence.addRemoveFacets;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class AddRemoveFacetsDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -7007065797440189578L;
+
+    public AddRemoveFacetsDemo() {
+        super(FeatureDemoId.addRemoveFacets, "Add/Remove Facets", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/AddRemoveReorderChildrenDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/AddRemoveReorderChildrenDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/AddRemoveReorderChildrenDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/addRemoveReorderChildren/AddRemoveReorderChildrenDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.changePersistence.addRemoveReorderChildren;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class AddRemoveReorderChildrenDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -295107556858955093L;
+
+    public AddRemoveReorderChildrenDemo() {
+        super(FeatureDemoId.addRemoveReorderChildren, "Add/Remove/Reorder Children", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/ExplicitAttributeChangeDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/ExplicitAttributeChangeDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/ExplicitAttributeChangeDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/explicitAttributeChange/ExplicitAttributeChangeDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.changePersistence.explicitAttributeChange;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ExplicitAttributeChangeDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 5023953507042889657L;
+
+    public ExplicitAttributeChangeDemo() {
+        super(FeatureDemoId.explicitAttributeChange, "Explicit attribute change", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/ImplicitAttributeChangeDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/ImplicitAttributeChangeDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/ImplicitAttributeChangeDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/changePersistence/implicitAttributeChange/ImplicitAttributeChangeDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.changePersistence.implicitAttributeChange;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ImplicitAttributeChangeDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -1949652999271582013L;
+
+    public ImplicitAttributeChangeDemo() {
+        super(FeatureDemoId.implicitAttributeChange, "Implicit attribute change", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/ClientSideConvertersDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/ClientSideConvertersDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/ClientSideConvertersDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideConverters/ClientSideConvertersDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.clientSideConverters;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ClientSideConvertersDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 3563049421708887833L;
+
+    public ClientSideConvertersDemo() {
+        super(FeatureDemoId.clientSideConverters , "Client side converters", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/ClientSideDateRestrictionDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/ClientSideDateRestrictionDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/ClientSideDateRestrictionDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideDateRestriction/ClientSideDateRestrictionDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.clientSideDateRestriction;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ClientSideDateRestrictionDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 3126455178857911137L;
+
+    public ClientSideDateRestrictionDemo() {
+        super(FeatureDemoId.clientSideDateRestriction, "Client side date restriction", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/ClientSideValidatorsDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/ClientSideValidatorsDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/ClientSideValidatorsDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/clientSideValidators/ClientSideValidatorsDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.clientSideValidators;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ClientSideValidatorsDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 3295524807854872867L;
+
+    public ClientSideValidatorsDemo() {
+        super(FeatureDemoId.clientSideValidators, "Client side validators", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/MessageCustomizationDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/MessageCustomizationDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/MessageCustomizationDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/messageCustomization/MessageCustomizationDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.messageCustomization;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class MessageCustomizationDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 1077046580919408414L;
+
+    public MessageCustomizationDemo() {
+        super(FeatureDemoId.messageCustomization, "Message customization", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/ServerSideConvertersDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/ServerSideConvertersDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/ServerSideConvertersDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideConverters/ServerSideConvertersDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.serverSideConverters;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ServerSideConvertersDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 7190157724163388061L;
+
+    public ServerSideConvertersDemo() {
+        super(FeatureDemoId.serverSideConverters, "Server side converters", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/ServerSideDateRestrictionsDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/ServerSideDateRestrictionsDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/ServerSideDateRestrictionsDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideDateRestrictions/ServerSideDateRestrictionsDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.serverSideDateRestrictions;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ServerSideDateRestrictionsDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -7829922605289506671L;
+
+    public ServerSideDateRestrictionsDemo() {
+        super(FeatureDemoId.serverSideDateRestrictions, "Server side date restrictions", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/ServerSideValidatorsDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/ServerSideValidatorsDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/ServerSideValidatorsDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/convertersAndValidators/serverSideValidators/ServerSideValidatorsDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.convertersAndValidators.serverSideValidators;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ServerSideValidatorsDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -4108039267779034679L;
+
+    public ServerSideValidatorsDemo() {
+        super(FeatureDemoId.serverSideValidators, "Server side validators", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/AccessibilityProfileDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/AccessibilityProfileDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/AccessibilityProfileDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/accessibilityProfile/AccessibilityProfileDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.accessibilityProfile;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class AccessibilityProfileDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 7873992136425894332L;
+
+    public AccessibilityProfileDemo() {
+        super(FeatureDemoId.accessibilityProfile, "Accessibility profile", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/DialogFrameworkDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/DialogFrameworkDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/DialogFrameworkDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/dialogFramework/DialogFrameworkDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.dialogFramework;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class DialogFrameworkDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 8998548100856695810L;
+
+    public DialogFrameworkDemo() {
+        super(FeatureDemoId.dialogFramework, "Dialog framework", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/FileDownloadDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/FileDownloadDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/FileDownloadDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/fileDownload/FileDownloadDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.fileDownload;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ * 
+ */
+public class FileDownloadDemo extends AbstractFeatureDemo {
+    
+    private static final long serialVersionUID = -5348384539310849382L;
+
+    public FileDownloadDemo() {
+        super(FeatureDemoId.fileDownload, "File download", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/PartialPageRenderingDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/PartialPageRenderingDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/PartialPageRenderingDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/partialPageRendering/PartialPageRenderingDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.partialPageRendering;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class PartialPageRenderingDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 4589876885469651542L;
+
+    public PartialPageRenderingDemo() {
+        super(FeatureDemoId.partialPageRendering, "Partial page rendering", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/ProgressStepsDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/ProgressStepsDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/ProgressStepsDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/progressSteps/ProgressStepsDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.progressSteps;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ProgressStepsDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 7311021119808215193L;
+
+    public ProgressStepsDemo() {
+        super(FeatureDemoId.progressSteps, "Progress steps", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/ShowDetailDisclosureDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/ShowDetailDisclosureDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/ShowDetailDisclosureDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/others/showDetailDisclosure/ShowDetailDisclosureDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.others.showDetailDisclosure;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ * 
+ */
+public class ShowDetailDisclosureDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = -4160668260289720882L;
+
+    public ShowDetailDisclosureDemo() {
+        super(FeatureDemoId.showDetailDisclosure, "Show detail disclosure", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/AddRowDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/AddRowDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/AddRowDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/addRow/AddRowDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.table.addRow;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class AddRowDemo extends AbstractFeatureDemo {
+    
+    private static final long serialVersionUID = -7591821475984629174L;
+
+    public AddRowDemo() {
+        super(FeatureDemoId.addRow, "Add row", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/ExportToCSVDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/ExportToCSVDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/ExportToCSVDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/exportToCSV/ExportToCSVDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.feature.table.exportToCSV;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class ExportToCSVDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 7236423446140207645L;
+
+    public ExportToCSVDemo() {
+        super(FeatureDemoId.exportToCSV, "Export to CSV", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/TotalRowDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/TotalRowDemo.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/TotalRowDemo.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/feature/table/totalRow/TotalRowDemo.java Mon May  3 13:07:19 2010
@@ -0,0 +1,16 @@
+package org.apache.myfaces.trinidaddemo.feature.table.totalRow;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractFeatureDemo;
+import org.apache.myfaces.trinidaddemo.support.FeatureDemoId;
+
+/**
+ *
+ */
+public class TotalRowDemo extends AbstractFeatureDemo {
+
+    private static final long serialVersionUID = 8838355948178032206L;
+
+    public TotalRowDemo() {
+        super(FeatureDemoId.totalRow, "Total Row", "/feature/notImplemented.xhtml");
+    }
+}

Added: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ContactListBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ContactListBean.java?rev=940441&view=auto
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ContactListBean.java (added)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/samples/email/ContactListBean.java Mon May  3 13:07:19 2010
@@ -0,0 +1,202 @@
+/*
+ * 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.samples.email;
+
+import org.apache.myfaces.trinidaddemo.samples.email.TableBean;
+
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ *
+ */
+public class ContactListBean {
+    private List<Contact> list = new ArrayList<Contact>();
+    private Contact contact;
+    private TableBean tableBean = new TableBean();
+
+    public ContactListBean() {
+        list.add(new Contact("Tom", "Smith", "tom@yahoo.com", "1977.12.12"));
+        list.add(new Contact("Mark", "Smith", "marc@yahoo.com", "1977.11.11"));
+        list.add(new Contact("Jack", "Smith", "jack@yahoo.com", "1977.10.10"));
+    }
+
+    public ContactListBean(List<Contact> list) {
+        this.list = list;
+    }
+
+    public Contact getContact() {
+        return contact;
+    }
+
+    public void setContact(Contact contact) {
+        this.contact = contact;
+    }
+
+    public TableBean getTableBean() {
+        return tableBean;
+    }
+
+    public void setTableBean(TableBean tableBean) {
+        this.tableBean = tableBean;
+    }
+
+    public void newContact() {
+        contact = new Contact();
+    }
+
+    public void editContact() {
+        tableBean.performReport();
+        List<Object> reportItems = tableBean.getReportItems();
+        if (reportItems.size() > 0) {
+            contact = (Contact) reportItems.get(0);
+        } else {
+            contact = null;
+        }
+    }
+
+    public void deleteContact() {
+        tableBean.performReport();
+        List<Object> reportItems = tableBean.getReportItems();
+        for (Object reportItem : reportItems) {
+            if (list.contains((Contact)reportItem)) {
+                list.remove(reportItem);
+            }
+        }
+    }
+
+    public String save() {
+        if (!list.contains(contact)) {
+            list.add(contact);
+        }
+        contact = null;
+        return null;
+    }
+
+    public String cancel() {
+        contact = null;
+        return null;
+    }
+
+
+    public List<Contact> getList() {
+        return list;
+    }
+
+    public void setList(List<Contact> list) {
+        this.list = list;
+    }
+
+    public static class Contact {
+        private String firstName;
+        private String eMailAddress;
+        private String birthDay;
+        private String lastName;
+        private String city;
+        private String zip;
+        private String street;
+        private String country;
+
+        public Contact() {
+        }
+
+        public Contact(String firstName, String lastName, String eMailAddress, String birthDay) {
+            this.firstName = firstName;
+            this.lastName = lastName;
+            this.eMailAddress = eMailAddress;
+            this.birthDay = birthDay;
+        }
+
+        public Contact(String firstName, String country, String street, String zip,
+                       String city, String lastName, String birthDay, String eMailAddress) {
+            this.firstName = firstName;
+            this.country = country;
+            this.street = street;
+            this.zip = zip;
+            this.city = city;
+            this.lastName = lastName;
+            this.birthDay = birthDay;
+            this.eMailAddress = eMailAddress;
+        }
+
+        public String getCity() {
+            return city;
+        }
+
+        public void setCity(String city) {
+            this.city = city;
+        }
+
+        public String getZip() {
+            return zip;
+        }
+
+        public void setZip(String zip) {
+            this.zip = zip;
+        }
+
+        public String getStreet() {
+            return street;
+        }
+
+        public void setStreet(String street) {
+            this.street = street;
+        }
+
+        public String getCountry() {
+            return country;
+        }
+
+        public void setCountry(String country) {
+            this.country = country;
+        }
+
+        public String getFirstName() {
+            return firstName;
+        }
+
+        public void setFirstName(String firstName) {
+            this.firstName = firstName;
+        }
+
+        public String getLastName() {
+            return lastName;
+        }
+
+        public void setLastName(String lastName) {
+            this.lastName = lastName;
+        }
+
+        public String getEMailAddress() {
+            return eMailAddress;
+        }
+
+        public void setEMailAddress(String eMailAddress) {
+            this.eMailAddress = eMailAddress;
+        }
+
+        public String getBirthDay() {
+            return birthDay;
+        }
+
+        public void setBirthDay(String birthDay) {
+            this.birthDay = birthDay;
+        }
+    }
+}