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 [4/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/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,46 @@
+/*
+ * 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.components.navigation.singleStepButtonBar;
+
+/**
+ *
+ */
+public class SingleStepButtonBarBean {
+    public void setCurrentStep(int currentStep) {
+        this.currentStep = currentStep;
+    }
+
+    public int getCurrentStep() {
+        return currentStep;
+    }
+
+    public String doBack(){
+        if(currentStep >0)
+            currentStep--;
+        return null;
+        }
+
+    public void doNext(){
+        if(currentStep <5)
+            currentStep++;
+        }
+
+    private int currentStep = 2;
+
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.navigation.singleStepButtonBar;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class SingleStepButtonBarDemo extends AbstractComponentDemo {
+    
+    private static final long serialVersionUID = -1982060956387098310L;
+
+	/**
+	 * Constructor.
+	 */
+	public SingleStepButtonBarDemo() {
+		super(ComponentDemoId.singleStepButtonBar, "Single Step Button Bar");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/navigation/singleStepButtonBar/summary.xhtml";
+    }    
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/singleStepButtonBar/SingleStepButtonBarDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,136 @@
+/*
+ * 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.components.navigation.train;
+
+import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
+import org.apache.myfaces.trinidad.model.ProcessMenuModel;
+
+import java.beans.IntrospectionException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ *
+ */
+public class TrainBean extends ProcessMenuModel /*implements java.io.Serializable*/ {
+    private ArrayList<TrainNavigationItem> arrayList = new ArrayList<TrainNavigationItem>();
+
+
+    public TrainBean() {
+        super();
+        addList();
+    }
+
+    public TrainBean(Object instance, String viewIdProperty) throws IntrospectionException {
+        super(instance, viewIdProperty);
+        addList();
+    }
+
+    public TrainBean(Object instance, String viewIdProperty, String maxPathKey) throws IntrospectionException {
+        super(instance, viewIdProperty);
+        setMaxPathKey(maxPathKey);
+        addList();
+    }
+
+    public void addList() {
+        TrainNavigationItem page1 = new TrainNavigationItem("First Step", "train");
+        TrainNavigationItem page2 = new TrainNavigationItem("Second Step", "train2");
+        TrainNavigationItem page3 = new TrainNavigationItem("Third Step", "train3");
+        TrainNavigationItem page4 = new TrainNavigationItem("Fourth Step", "train4");
+        TrainNavigationItem page5 = new TrainNavigationItem("Fifth Step", "train5");
+        TrainNavigationItem page6 = new TrainNavigationItem("Sixth Step", "train6");
+        TrainNavigationItem page7 = new TrainNavigationItem("Seventh Step", "train7");
+
+        arrayList.add(page1);
+        arrayList.add(page2);
+        arrayList.add(page3);
+        arrayList.add(page4);
+        arrayList.add(page5);
+        arrayList.add(page6);
+        arrayList.add(page7);
+
+        ChildPropertyTreeModel childProperty = new ChildPropertyTreeModel();
+        childProperty.setChildProperty("children");
+        childProperty.setWrappedData(arrayList);
+
+
+        setViewIdProperty("viewId");
+        setMaxPathKey("TRAIN_DEMO_MAX_PATH_KEY");
+        setWrappedData(childProperty);
+    }
+
+
+    public static class TrainNavigationItem implements java.io.Serializable {
+        private String _label = null;
+        private String _outcome = null;
+        private String _viewId = null;
+        private String _destination = null;
+        private List<?> _children = null;
+
+
+        public TrainNavigationItem() {
+        }
+
+        public TrainNavigationItem(String _label, String _outcome) {
+            this._label = _label;
+            this._outcome = _outcome;
+        }
+
+        public void setLabel(String label) {
+            _label = label;
+        }
+
+        public String getLabel() {
+            return _label;
+        }
+
+        public void setOutcome(String outcome) {
+            _outcome = outcome;
+        }
+
+        public String getOutcome() {
+            return _outcome;
+        }
+
+        public void setViewId(String viewId) {
+            _viewId = viewId;
+        }
+
+        public String getViewId() {
+            return _viewId;
+        }
+
+        public void setDestination(String destination) {
+            _destination = destination;
+        }
+
+        public String getDestination() {
+            return _destination;
+        }
+
+        public List<?> getChildren() {
+            return _children;
+        }
+
+        public void setChildren(List<?> children) {
+            _children = children;
+        }
+
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.navigation.train;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class TrainDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982060956387098910L;
+
+	/**
+	 * Constructor.
+	 */
+	public TrainDemo() {
+		super(ComponentDemoId.train, "Train");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/navigation/train/train.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/navigation/train/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/train/TrainDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,49 @@
+/*
+ * 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.components.navigation.tree;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class TreeDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982060956387090010L;
+
+    /**
+     * Constructor.
+     */
+    public TreeDemo() {
+        super(ComponentDemoId.tree, "Tree");
+    }
+
+    public String getJsfResourcePath() {
+        return "/components/navigation/tree/tree.xhtml";
+    }
+
+    public String getSummaryResourcePath() {
+        return "/components/navigation/tree/summary.xhtml";
+    }
+
+    public String getBackingBeanResourcePath() {
+        return "/org/apache/myfaces/trinidaddemo/components/table/treeTable/TreeTableBean.java";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/navigation/tree/TreeDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,150 @@
+/*
+ * 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.components.output.chart;
+
+import org.apache.myfaces.trinidad.model.ChartModel;
+
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.io.Serializable;
+
+/**
+ *
+ */
+public class ChartBean implements Serializable {
+
+    public ChartModel getValue() {
+        return _chartModel;
+    }
+
+    private class MyChartModel extends ChartModel implements Serializable {
+        @Override
+        public List<String> getSeriesLabels() {
+            if (_largerDataSet)
+                return _largeSeriesLabels;
+            else
+                return _seriesLabels;
+        }
+
+        @Override
+        public List<String> getGroupLabels() {
+
+            return _groupLabels;
+        }
+
+        @Override
+        public List<List<Double>> getXValues() {
+
+            return null;
+        }
+
+        @Override
+        public List<List<Double>> getYValues() {
+
+            return _chartYValues;
+        }   
+
+        @Override
+        public Double getMaxYValue() {
+
+            return 200000.0;
+        }
+
+        @Override
+        public Double getMinYValue() {
+
+            return 0.0;
+        }
+
+        @Override
+        public Double getMaxXValue() {
+            if (_largerDataSet)
+                return 54.0;
+            else
+                return 10.0;
+        }
+
+        @Override
+        public Double getMinXValue() {
+            if (_largerDataSet)
+                return 0.0;
+            else
+                return 6.0;
+        }
+
+        @Override
+        public String getTitle() {
+
+            return "Title";
+        }
+
+        @Override
+        public String getSubTitle() {
+
+            return "SubTitle";
+        }
+
+        @Override
+        public String getFootNote() {
+
+            return "FootNote";
+        }
+
+        private final List<String> _groupLabels =
+                Arrays.asList(new String[]{"June", "July", "August", "September", "October"});
+
+        private final List<String> _seriesLabels =
+                Arrays.asList(new String[]{"Previous", "Target", "Actual"});
+
+        private final List<String> _largeSeriesLabels =
+                Arrays.asList(new String[]{"Opening", "Low", "High"});
+
+        private final ArrayList<List<Double>> _chartYValues;
+        private final ArrayList<List<Double>> _chartXValues;
+        private final ArrayList<List<Double>> _dialchartYValues;
+
+        {
+            _chartYValues = new ArrayList<List<Double>>();
+            _chartYValues.add(Arrays.asList(new Double[]{135235.0, 155535.0, 141725.0}));
+            _chartYValues.add(Arrays.asList(new Double[]{106765., 131725., 127868.}));
+            _chartYValues.add(Arrays.asList(new Double[]{108456., 119326., 139326.}));
+            _chartYValues.add(Arrays.asList(new Double[]{136765., 147265., 184349.}));
+            _chartYValues.add(Arrays.asList(new Double[]{107868., 113968., 174349.}));
+
+            _dialchartYValues = new ArrayList<List<Double>>();
+            _dialchartYValues.add(Arrays.asList(new Double[]{135.}));
+            _dialchartYValues.add(Arrays.asList(new Double[]{106.}));
+
+            _chartXValues = new ArrayList<List<Double>>();
+            _chartXValues.add(Arrays.asList(new Double[]{6.1, 6.3, 6.5}));
+            _chartXValues.add(Arrays.asList(new Double[]{6.8, 7.1, 7.3}));
+            _chartXValues.add(Arrays.asList(new Double[]{7.6, 7.8, 8.0}));
+            _chartXValues.add(Arrays.asList(new Double[]{8.25, 8.55, 8.78}));
+            _chartXValues.add(Arrays.asList(new Double[]{9.23, 9.48, 9.88}));
+        }
+
+    }
+
+    private boolean _largerDataSet = false;
+
+    private final ChartModel _chartModel = new MyChartModel();
+
+
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,79 @@
+/*
+ * 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.components.output.chart;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+
+/**
+ *
+ */
+public class ChartDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886498710L;
+
+    private enum VARIANTS implements IComponentDemoVariantId {
+        Area,
+        HorizontalBar,
+        VerticalBar,
+        Pie,
+        LegendButtom,
+        LegendTop
+    }
+
+    /**
+     * Constructor.
+     */
+    public ChartDemo() {
+        super(ComponentDemoId.chart, "Chart");
+
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Area, this,
+                "/components/output/chart/chartArea.xhtml", getSummaryResourcePath(),
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.HorizontalBar, this,
+                "/components/output/chart/chartHorizontalBar.xhtml", getSummaryResourcePath(),
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LegendButtom, this,
+                "/components/output/chart/chartLegendButtom.xhtml", getSummaryResourcePath(),
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.LegendTop, this,
+                "/components/output/chart/chartLegendTop.xhtml", getSummaryResourcePath(),
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Pie, this,
+                "/components/output/chart/chartPie.xhtml", getSummaryResourcePath(),
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.VerticalBar, this,
+                "/components/output/chart/chartVerticalBar.xhtml", getSummaryResourcePath(), 
+                "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java"));
+    }
+
+    public String getJsfResourcePath() {
+        return "/components/output/chart/chart.xhtml";
+    }
+
+    public String getSummaryResourcePath() {
+        return "/components/output/chart/summary.xhtml";
+    }
+
+    public String getBackingBeanResourcePath() {
+        return "/org/apache/myfaces/trinidaddemo/components/output/chart/ChartBean.java";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/chart/ChartDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,50 @@
+/*
+ * 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.components.output.legend;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class LegendDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886498710L;
+
+    private enum VARIANTS implements IComponentDemoVariantId {
+        Default
+    }
+
+	/**
+	 * Constructor.
+	 */
+	public LegendDemo() {
+		super(ComponentDemoId.legend, "Legend", VARIANTS.Default, "Default");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/legend/legend.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/legend/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/legend/LegendDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,64 @@
+/*
+ * 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.components.output.message;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class MessageDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886499710L;
+
+    private enum VARIANTS implements IComponentDemoVariantId {
+		None,
+        Warning,
+        Info,
+        Error       
+	}
+
+	/**
+	 * Constructor.
+	 */
+	public MessageDemo() {
+		super(ComponentDemoId.message, "Message");
+
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.None, this,
+                "/components/output/message/messageNone.xhtml", getSummaryResourcePath()));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Warning, this,
+                "/components/output/message/messageWarning.xhtml", getSummaryResourcePath()));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Info, this,
+                "/components/output/message/messageInfo.xhtml", getSummaryResourcePath()));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.Error, this,
+                "/components/output/message/messageError.xhtml", getSummaryResourcePath()));
+
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/message/message.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/message/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/message/MessageDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,57 @@
+/*
+ * 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.components.output.messages;
+
+import javax.faces.context.FacesContext;
+import javax.faces.application.FacesMessage;
+import java.util.Date;
+
+/**
+ *
+ */
+public class MessagesBean implements java.io.Serializable {
+
+    public String createGlobalMessage() {
+        FacesContext context = FacesContext.getCurrentInstance();
+
+        FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_FATAL,
+                "Fatal Msg.", "Programatically generated at " + new Date());
+
+        context.addMessage(null, msg);
+
+        return null;
+    }
+
+    public String createMultipleGlobalMessages() {
+        FacesContext context = FacesContext.getCurrentInstance();
+
+        FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_WARN,
+                "Warning Msg.", "Programatically generated at " + new Date());
+
+        context.addMessage(null, msg);
+
+        msg = new FacesMessage(FacesMessage.SEVERITY_INFO,
+                "Info Msg.", "Programatically generated at " + new Date());
+
+        context.addMessage(null, msg);
+
+        return null;
+    }
+
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,49 @@
+/*
+ * 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.components.output.messages;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class MessagesDemo extends AbstractComponentDemo {
+    
+    private static final long serialVersionUID = -1982371956881498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public MessagesDemo() {
+		super(ComponentDemoId.messages, "Messages");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/messages/messages.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/messages/summary.xhtml";
+    }
+
+    public String getBackingBeanResourcePath() {
+		return "/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesBean.java";
+	}
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/messages/MessagesDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.output.outputDocument;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class OutputDocumentDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public OutputDocumentDemo() {
+		super(ComponentDemoId.outputDocument, "Output Document");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/outputDocument/outputDocument.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/outputDocument/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputDocument/OutputDocumentDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,61 @@
+/*
+ * 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.components.output.outputFormated;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.impl.ComponentVariantDemoImpl;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+
+/**
+ *
+ */
+public class OutputFormatedDemo extends AbstractComponentDemo {
+    
+    private static final long serialVersionUID = -1982371956886498710L;
+
+    private enum VARIANTS implements IComponentDemoVariantId {
+        Default,
+		InContextBrandingStyle,
+        InstructionStyle,
+        PageStampStyle       
+	}
+
+	/**
+	 * Constructor.
+	 */
+	public OutputFormatedDemo() {
+		super(ComponentDemoId.outputFormated, "Output Formated", VARIANTS.Default, "Default");
+
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InContextBrandingStyle, "In context branding style", this,
+                "/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml", getSummaryResourcePath()));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InstructionStyle, "Instruction style", this,
+                "/components/output/outputFormated/outputFormatedInstructionStyle.xhtml", getSummaryResourcePath()));
+        addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.PageStampStyle, "Page stamp style", this,
+                "/components/output/outputFormated/outputFormatedPageStampStyle.xhtml", getSummaryResourcePath()));
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/outputFormated/outputFormated.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/outputFormated/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputFormated/OutputFormatedDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.output.outputLabel;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class OutputLabelDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886492710L;
+
+	/**
+	 * Constructor.
+	 */
+	public OutputLabelDemo() {
+		super(ComponentDemoId.outputLabel, "Output Label");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/outputLabel/outputLabel.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/outputLabel/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputLabel/OutputLabelDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,50 @@
+/*
+ * 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.components.output.outputText;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.IComponentDemoVariantId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class OutputTextDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371956886494710L;
+
+    private enum VARIANTS implements IComponentDemoVariantId {
+        Default
+    };
+
+	/**
+	 * Constructor.
+	 */
+	public OutputTextDemo() {
+		super(ComponentDemoId.outputText, "Output Text", VARIANTS.Default, "Default");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/outputText/outputText.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/outputText/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/outputText/OutputTextDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,116 @@
+/*
+ * 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.components.output.progessIndicator;
+
+import org.apache.myfaces.trinidad.model.BoundedRangeModel;
+import org.apache.myfaces.trinidad.model.DefaultBoundedRangeModel;
+
+import java.io.Serializable;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+/**
+ *
+ */
+public class ProgressIndicatorBean implements Serializable {
+    protected volatile DefaultBoundedRangeModel __model;
+    protected volatile ProcessThread __processThread;
+    protected boolean finished = false;
+
+
+    public BoundedRangeModel getProgressModel() {
+        return __model;
+    }
+
+    public boolean isFinished() {
+        return finished;
+    }
+
+    public void beginProcess() {
+        if (null == __model) {
+            prepare();
+        }
+    }
+
+    public void endProcess() {
+        __processThread = null;
+        __model = null;
+        finished = false;
+    }
+
+    public void finishProcess() {
+        finished = true;
+    }
+
+    protected void prepare() {
+        __model = new DefaultBoundedRangeModel(-1, 125);
+        //pu: simulate asynchronous model updates on a different thread
+        __processThread = new ProcessThread(500, 0);
+        __processThread.start();
+    }
+
+    protected class ProcessThread extends Thread implements Serializable {        
+        private long _updateIntervalFactor;
+        private long _updateValueFactor;
+
+        /**
+         * @param updateIntervalFactor - controls the speed of the thread
+         * @param updateValueFactor    - The value by which the 'value' from the
+         *                             model should be incremented for every cycle. Randomizes the increment
+         *                             if updateValueFactor supplied is '0'.
+         */
+        ProcessThread(long updateIntervalFactor, long updateValueFactor) {
+            _updateIntervalFactor = updateIntervalFactor;
+            _updateValueFactor = updateValueFactor;
+        }
+
+        @Override
+        public void run() {
+            try {
+                //pu: Be in indeterminate mode for some time to start with
+                sleep(3000);
+                //pu: Take care to get out if we are the discarded thread upon endProcess()
+                while ((__processThread == Thread.currentThread()) &&
+                        (__model != null) &&
+                        (__model.getValue() < __model.getMaximum())
+                        ) {
+                    long sleepFactor = Math.round(Math.random() * 10);
+                    long updatedValue = __model.getValue() +
+                            ((_updateValueFactor == 0) ? sleepFactor : _updateValueFactor);
+                    long maximum = __model.getMaximum();
+                    if (updatedValue > maximum) {
+                        updatedValue = maximum;
+                    }
+                    __model.setValue(updatedValue);
+                    sleep(sleepFactor * _updateIntervalFactor);
+                }
+            }
+            catch (InterruptedException ie) {
+                _LOG.log(Level.WARNING, "Background task thread interrupted", ie);
+            }
+            __model = null;
+        }
+
+    }
+
+
+    static private final Logger _LOG = Logger.getLogger(
+            ProgressIndicatorBean.class.getName());
+
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,49 @@
+/*
+ * 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.components.output.progessIndicator;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class ProgressIndicatorDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982371957886498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public ProgressIndicatorDemo() {
+		super(ComponentDemoId.progressIndicator, "Progress Indicator");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/progressIndicator/progressIndicator.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/progressIndicator/summary.xhtml";
+    }
+
+    public String getBackingBeanResourcePath() {
+		return "/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorBean.java";
+	}
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/progessIndicator/ProgressIndicatorDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,43 @@
+/*
+ * 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.components.output.statusIndicator;
+
+/**
+ *
+ */
+public class StatusIndicatorBean {
+    private int loadingSec = 5;
+
+    public void setLoadingSec(int loadingSec) {
+        this.loadingSec = loadingSec;
+    }
+
+    public int getLoadingSec() {
+        return loadingSec;
+    }
+
+    public void doLoad() {
+        try {
+            Thread.currentThread().sleep(loadingSec*1000);
+        } catch (InterruptedException e) {
+            e.printStackTrace();
+        }
+    }
+
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,49 @@
+/*
+ * 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.components.output.statusIndicator;
+
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+
+/**
+ *
+ */
+public class StatusIndicatorDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982374957886498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public StatusIndicatorDemo() {
+		super(ComponentDemoId.statusIndicator, "Status Indicator");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/output/statusIndicator/statusIndicator.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/output/statusIndicator/summary.xhtml";
+    }
+
+    public String getBackingBeanResourcePath() {
+		return "/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorBean.java";
+	}
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/output/statusIndicator/StatusIndicatorDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,51 @@
+/*
+ * 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.components.panel.form;
+
+/**
+ *
+ */
+public class FormBean {
+    private String text;
+    private String message;
+
+    public FormBean() {
+        this.text = "Input text";
+    }
+
+    public String getText() {
+        return text;
+    }
+
+    public String getMessage() {
+        return message;
+    }
+
+    public void setText(String text) {
+        this.text = text;
+    }
+
+    public void setMessage(String message) {
+        this.message = message;
+    }
+
+    public void showMessage() {
+        this.message="Input text: "+text;
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.panel.form;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class FormDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982061956882498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public FormDemo() {
+		super(ComponentDemoId.form, "Form");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/panel/form/form.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/panel/form/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/form/FormDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+/*
+ * 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.components.panel.group;
+
+import org.apache.myfaces.trinidaddemo.support.ComponentDemoId;
+import org.apache.myfaces.trinidaddemo.support.impl.AbstractComponentDemo;
+
+/**
+ *
+ */
+public class GroupDemo extends AbstractComponentDemo {
+
+    private static final long serialVersionUID = -1982064956882498710L;
+
+	/**
+	 * Constructor.
+	 */
+	public GroupDemo() {
+		super(ComponentDemoId.group, "Group");
+	}
+
+	public String getJsfResourcePath() {
+		return "/components/panel/group/group.xhtml";
+	}
+
+    public String getSummaryResourcePath() {
+        return "/components/panel/group/summary.xhtml";
+    }
+}

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/java/org/apache/myfaces/trinidaddemo/components/panel/group/GroupDemo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain