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 [10/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-showca...
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,36 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ SingleStepButtonBar renders a Previous button, text indicating the current step and the
+ maximum steps, and a Next button. SingleStepButtonBar is used to navigate forward and back in a series of steps,
+ like steps in a checkout process.
+
+ <br/>
+
+ SingleStepButtonBar implements javax.faces.component.ActionSource, which means it is a source of javax.faces.event.ActionEvent's.
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The ActionEvent is delivered during the Apply Request Values phase when navigating back,
+ and during the Invoke Application phase when navigating forward. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The nextAction/previousAction attributes are of type MethodBinding and must (if non-null)
+ point to an action method. The nextAction method will be called when navigating forward, and the previousAction
+ method will be called when navigating back with a singleStep component. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="JSF has a default javax.faces.event.ActionListener that passes the nextAction or
+ previousAction outcome to the NavigationHandler. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The nextActionListener/previousActionListener attributes are of type MethodBinding and
+ must (in non-null) point to a method accepting an ActionEvent, with a return type of void. When navigating to
+ the previous step, then the previousActionListener method is called. When navigating to the next step, the
+ nextActionListener method is called. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,39 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ Train is a UIXProcess component that renders a train. A train is a horizontal series of
+ train stations connected by a horizontal line. Each train station is an image and text describing the page in
+ the multi-page process.
+
+ <br/>
+
+ The train takes a model of type org.apache.myfaces.trinidad.model.MenuModel. The last node along the focusPath and its siblings are rendered
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="There are two common scenarios for processes, "Plus One" and "Max Visited"
+ which are explained below. "/>
+
+ <tr:panelList>
+ <tr:outputText value=""Plus One" - from the current step the user can navigate to any previous
+ page and the next page. If the user is on the 5th step of a process and goes back to step 2, then the user can
+ only navigate from step 2 to step 1 and step 3"/>
+ <tr:outputText value=""Max Visited" - the user can navigate to the max visited page. If the user
+ is currently on the max visited page then the user can also navigate to the next page. If the user is on the
+ 5th step of a process and goes back to step 2, then the user can navigate from step 2 to steps 1, 2, 3, 4,
+ and 5."/>
+ </tr:panelList>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The class org.apache.myfaces.trinidad.model.ProcessMenuModel and
+ org.apache.myfaces.trinidad.model.ProcessUtils were created to support the "Plus One" and
+ "Max Visited" scenarios. Please see the javadoc for these classes for more information. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="When the focusPath is not focused on a top level node, images are rendered before and
+ after the train to indicate that this train is part of a sub-process "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,16 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}" />
+
+ </f:facet>
+ </tr:train>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train2.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train2.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train2.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train2.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Second Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}" />
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train3.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train3.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train3.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train3.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Third Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}" />
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train4.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train4.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train4.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train4.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Fourth Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}"/>
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train5.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train5.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train5.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train5.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Fifth Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}"/>
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train6.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train6.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train6.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train6.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Sixth Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}"/>
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train7.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train7.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train7.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/train/train7.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,20 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Seventh Step -- train with navigation</b>"/>
+
+ <tr:train var="foo" value="#{trainBean}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{trainBean.immediate}"
+ disabled="#{trainBean.readOnly}"
+ visited="#{trainBean.visited}"/>
+
+ </f:facet>
+ </tr:train>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,16 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The Trinidad Tree is used to display data that is structured in a hierarchical format.
+ This component supports multiple root elements, and it has a simple user interface (UI) - each element in the
+ Tree is appropriately indented to indicate its level in the hierarchy, and is connected to its parent. The
+ features of the Tree component include mechanisms for expanding and collapsing portions of the hierarchy. This
+ component is not well suited for massive trees, since it does not support any focusing capability.
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The "nodeStamp" facet of the Tree is used to display the data for each element
+ in the tree. The "nodeStamp" is repeatedly rendered (stamped) once per element. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/tree.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/tree.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/tree.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/tree/tree.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,12 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:tree var="foo" value="#{treeTableBean.model}" rendered="true">
+ <f:facet name="nodeStamp">
+ <tr:outputText value="#{foo.name}" shortDesc="Enter text"/>
+ </f:facet>
+ </tr:tree>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chart.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chart.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chart.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chart.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartArea.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartArea.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartArea.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartArea.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ type="area" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartHorizontalBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartHorizontalBar.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartHorizontalBar.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartHorizontalBar.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ type="horizontalBar" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendButtom.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendButtom.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendButtom.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendButtom.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ legendPosition="bottom" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendTop.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendTop.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendTop.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartLegendTop.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ legendPosition="top" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartPie.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartPie.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartPie.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartPie.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ type="pie" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartVerticalBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartVerticalBar.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartVerticalBar.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/chartVerticalBar.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:chart YMajorGridLineCount="8" value="#{chartBean.value}"
+ type="verticalBar" inlineStyle="width:500px; height:300px;"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/chart/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The Trinidad Chart is used to display data as a chart.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/legend.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/legend.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/legend.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/legend.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,6 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:legend name="required"/>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/legend/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The legend adds a legend describing the meaning of an icon. The "name"
+ attribute specifies which icon needs to be described. This control can be placed in any location, but is most
+ commonly placed in the pageStatus facet of a panelPage.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/message.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/message.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/message.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/message.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,24 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="Type 'cat' to see an error message"/>
+ <tr:spacer height="10"/>
+
+ <tr:panelFormLayout rows="8" labelAlignment="top">
+ <tr:outputLabel for="luky_no" value="Luky number"/>
+ <tr:message for="luky_no" inlineStyle="background-color:#F6F4F0; border: 1px solid #BBB1AA">
+ <!--
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ -->
+ </tr:message>
+ <tr:inputText id="luky_no" simple="true" label="Luky No">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton text="Submit"/>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageError.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageError.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageError.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageError.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,23 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="Type 'cat' to see an error message"/>
+ <tr:spacer height="10"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" messageType="error" inlineStyle="background-color:#BBB1AA">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageInfo.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageInfo.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageInfo.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageInfo.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,23 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="Type 'cat' to see an error message"/>
+ <tr:spacer height="10"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" messageType="info" inlineStyle="background-color:#BBB1AA">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageNone.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageNone.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageNone.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageNone.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,23 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="Type 'cat' to see an error message"/>
+ <tr:spacer height="10"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" messageType="none" inlineStyle="background-color:#BBB1AA">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageWarning.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageWarning.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageWarning.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/messageWarning.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,23 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="Type 'cat' to see an error message"/>
+ <tr:spacer height="10"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" messageType="warning" inlineStyle="background-color:#BBB1AA">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton text="Submit"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/message/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ Component that displays a message on behalf of a component. Trinidad input components
+ typically support automatically showing their own messages, including a tip and the error message.
+ Developers should use this when they set "simple" to "true" on an Trinidad input component,
+ or when using a non-Trinidad input component.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/messages.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/messages.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/messages.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/messages.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,30 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:messages/>
+ <tr:panelFormLayout>
+ <tr:inputText label="Amount">
+ <f:facet name="help">
+ <tr:outputText value="Type 'cat' to see an error in the message box"/>
+ </f:facet>
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:inputText label="Threshold">
+ <f:facet name="help">
+ <tr:outputText value="type='percent' locale='en_US' - This results in fraction
+ displayed as integer value with % symbol"/>
+ </f:facet>
+ <f:convertNumber type="percent" locale="en_US"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:commandButton text="Submit"/>
+ <tr:panelHorizontalLayout>
+ <tr:commandButton text="Add Message" action="#{messagesBean.createGlobalMessage}"
+ immediate="true"/>
+ <tr:commandButton text="Add Multiple Messages"
+ action="#{messagesBean.createMultipleGlobalMessages}" immediate="true"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/messages/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The messages bean is used at the top of an application page to give the user important
+ messaging information. It will automatically show any messages added to the FacesContext.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/outputDocument.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/outputDocument.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/outputDocument.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/outputDocument.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,16 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputDocument value="Text that is <b>bold</b> and <i>italicized</i>">
+ <f:facet name="title">
+ <tr:outputText value="Title"/>
+ </f:facet>
+
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ </tr:outputDocument>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputDocument/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The outputText component supports styled text. The text can optionally be left unescaped,
+ and supports conversion to and from Java objects.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormated.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormated.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormated.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormated.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted value="<b>simple outputFormatted</b>"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInContextBrandingStyle.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted value="<b>simple outputFormatted</b>"
+ styleUsage="inContextBranding"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInstructionStyle.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInstructionStyle.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInstructionStyle.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedInstructionStyle.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted value="<b>simple outputFormatted</b>"
+ styleUsage="instruction"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedPageStampStyle.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedPageStampStyle.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedPageStampStyle.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/outputFormatedPageStampStyle.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputFormatted value="<b>simple outputFormatted</b>"
+ styleUsage="pageStamp"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputFormated/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,17 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The outputFormatted bean accepts a string in its "value" attribute containing
+ a very limited set of HTML markup and outputs formatted results. It is not intended as anything near to a
+ generic HTML output engine, and will never be such a bean. Developers needing full HTML output should use
+ <f:verbatim > or <tr:outputText > with escape="false".
+
+ <br/>
+
+ What this bean does provide is a limited ability to use a single source for translated or
+ user-provided formatted text without further parsing or filtering or dangerous constructs (e.g., Javascript),
+ and with some hope of successful output to non-HTML displays. It also supports more attributes than an
+ unescaped outputText tag - for example, it supports styleClass.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/outputLabel.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/outputLabel.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/outputLabel.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/outputLabel.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout>
+ <tr:outputLabel value="Name:" for="anInput"/>
+ <tr:inputText id="anInput"/>
+ </tr:panelHorizontalLayout>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputLabel/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ Component that displays a label for a form component, including a text label, and an
+ (optional) icon indicating the type of message. Developers should use this if they need more control over layout
+ than the built-in label support for label components allows.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/outputText.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/outputText.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/outputText.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/outputText.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,6 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:outputText value="AFFieldText" styleClass="AFFieldText"/>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/outputText/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,8 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The outputText component supports styled text. The text can optionally be left unescaped,
+ and supports conversion to and from Java objects.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/progressIndicator.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/progressIndicator.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/progressIndicator.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/progressIndicator.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,32 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelFormLayout>
+ <tr:panelList rows="2">
+ <tr:outputFormatted styleUsage="instruction" value="ProgressIndicator component is linked to a poll component."/>
+ <tr:outputFormatted styleUsage="instruction" value="Click the Begin button in order to start the indicator."/>
+ </tr:panelList>
+
+ <tr:spacer height="5px"/>
+ <tr:poll id="pollid" interval="2000"/>
+
+ <tr:panelGroupLayout inlineStyle="float: left;">
+ <tr:progressIndicator id="progressid" action="#{progressIndicatorBean.finishProcess}"
+ value="#{progressIndicatorBean.progressModel}" partialTriggers="pollid">
+ <tr:outputFormatted styleUsage="instruction" value="Task status not known"
+ rendered="#{progressIndicatorBean.progressModel.value == -1 or progressIndicatorBean.progressModel.value == -1}"/>
+ <tr:outputFormatted styleUsage="instruction" value="#{progressIndicatorBean.progressModel.value} of #{progressIndicatorBean.progressModel.maximum} files copied"
+ rendered="#{progressIndicatorBean.progressModel.value > -1 and progressIndicatorBean.progressModel.value > -1 and progressIndicatorBean.finished == false}"/>
+ <tr:outputFormatted styleUsage="instruction" value="Process finished!"
+ rendered="#{progressIndicatorBean.finished}"/>
+ </tr:progressIndicator>
+ </tr:panelGroupLayout>
+
+ <tr:panelHorizontalLayout>
+ <tr:commandButton text="Begin" action="#{progressIndicatorBean.beginProcess}"/>
+ <tr:spacer width="5px"/>
+ <tr:commandButton text="Cancel" action="#{progressIndicatorBean.endProcess}"/>
+ </tr:panelHorizontalLayout>
+ </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/progressIndicator/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,18 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The progress is tracked from the org.apache.myfaces.trinidad.model.BoundedRangeModel
+ attached to this component through its 'value' attribute. The progressIndicator element goes to an indeterminate
+ mode and shows up as a spinner animation if the 'value' or 'maximum' from the BoundedRangeModel is unknown.
+ When these gets known the component switches to a determinate mode and renders a progress bar indicating
+ percentage of task completion. Once the task is complete, ActionEvent is queued and, the page indicated by
+ outcome of 'action' attribute is navigated to.
+
+ <br/>
+
+ <tr:outputText value="The progressIndicator component needs to have a poll component from the page as a partial
+ trigger, in order that it be updated at regular intervals in PPR mode as determined by the pollInterval from the
+ poll component. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/statusIndicator.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/statusIndicator.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/statusIndicator.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/statusIndicator.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,44 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout>
+ <f:facet name="separator">
+ <tr:spacer width="20"/>
+ </f:facet>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputText value="Number of seconds you want the page to load:"/>
+ <tr:spacer height="10"/>
+ <tr:inputText value="#{statusIndicatorBean.loadingSec}" simple="true"/>
+ <tr:spacer height="10"/>
+ <tr:commandButton text="Load" action="#{statusIndicatorBean.doLoad}" partialSubmit="true"/>
+ </tr:panelGroupLayout>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelHorizontalLayout>
+ <tr:panelList>
+ <tr:outputText value="Icon status indicator:"/>
+ </tr:panelList>
+ <tr:spacer width="70" height="30"/>
+ <tr:statusIndicator/>
+ </tr:panelHorizontalLayout>
+
+ <tr:panelHorizontalLayout>
+ <tr:panelList>
+ <tr:outputText value="Specified facet status indicator:"/>
+ </tr:panelList>
+ <tr:spacer width="10"/>
+ <tr:statusIndicator>
+ <f:facet name="busy">
+ <tr:outputText value="Loading, please wait..."/>
+ </f:facet>
+ <f:facet name="ready">
+ <tr:outputText value="Done!"/>
+ </f:facet>
+ </tr:statusIndicator>
+ </tr:panelHorizontalLayout>
+ </tr:panelGroupLayout>
+ </tr:panelHorizontalLayout>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/output/statusIndicator/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The The statusIndicator component shows whether the page is busy processing or is ready.
+ By default, the component shows predefined icons for both readyand busy state. However, if a facet is specified,
+ be it rendered or not, none of the default icon is going to be rendered. That behavior enable an easy emulation
+ of GMail behavior by specifying only a busy facet.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/form.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/form.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/form.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/form.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,14 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:form>
+ <tr:inputText value="#{formBean.text}"/>
+ <tr:spacer height="10px"/>
+ <tr:commandButton text="Command" action="#{formBean.showMessage}"/>
+ </tr:form>
+
+ <tr:spacer height="5px"/>
+ <tr:outputText value="#{formBean.message}"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/form/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,9 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ "The UIXForm component creates an HTML <form> element. Unlike the standard h:form tag,
+ tr:form is not a NamingContainer, and therefore you don't need to use its ID as a prefix in attributes like
+ "partialTriggers" or for Javascript identifiers.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/group.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/group.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/group.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/group.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,15 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelFormLayout labelWidth="33%" fieldWidth="67%">
+ <tr:inputText label="non-group item 1"/>
+ <tr:group>
+ <tr:inputText label="group item 1"/>
+ <tr:inputText label="group item 2" inlineStyle="padding-right: 600px;"/>
+ <tr:inputText label="group item 3"/>
+ </tr:group>
+ <tr:inputText label="non-group item 2"/>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/group/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,13 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The group component is an invisible control that aggregates semantically-related children;
+ the group itself has no associated client representation (visual or API). Some parent components may have
+ special representation for groups like adding separators around the group but this is a special case and is
+ not always rendered this way. In most cases, only the children of the group will be rendered directly to
+ the page. There will be no layout applied to the children so the natural layout behavior of the underlying HTML
+ elements will apply. If you require a more predictable layout, you should use a layout component such as
+ panelGroupLayout.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/page.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/page.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/page.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/page.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:page var="foo" value="#{pageBean.model}" styleClass="page_page">
+
+ <f:facet name="nodeStamp">
+ <tr:navigationPane hint="bar">
+ <!--<tr:commandNavigationItem text="#{foo.label}" action="#{foo.doAction}"/>-->
+ <tr:commandNavigationItem text="Apps" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Support" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="About Us" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Contact" action="#{foo.doAction}"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="appCopyright">
+ <tr:panelGroupLayout>
+ <tr:outputText value="Copyright info"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value=""/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <tr:separator/>
+ <tr:spacer height="5"/>
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.">
+ <f:facet name="title">
+ <tr:outputText value="Apps"/>
+ </f:facet>
+ </tr:outputDocument>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."/>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."/>
+ </tr:page>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageCompact.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageCompact.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageCompact.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageCompact.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:page var="foo" value="#{pageBean.model}" styleClass="page_page" chromeType="compact">
+
+ <f:facet name="nodeStamp">
+ <tr:navigationPane hint="bar">
+ <!--<tr:commandNavigationItem text="#{foo.label}" action="#{foo.doAction}"/>-->
+ <tr:commandNavigationItem text="Apps" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Support" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="About Us" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Contact" action="#{foo.doAction}"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="appCopyright">
+ <tr:panelGroupLayout>
+ <tr:outputText value="Copyright info"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value=""/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <tr:separator/>
+ <tr:spacer height="5"/>
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.">
+ <f:facet name="title">
+ <tr:outputText value="Apps"/>
+ </f:facet>
+ </tr:outputDocument>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."/>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."/>
+ </tr:page>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageExpanded.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageExpanded.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageExpanded.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/pageExpanded.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,45 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:page var="foo" value="#{pageBean.model}" styleClass="page_page" chromeType="expanded">
+
+ <f:facet name="nodeStamp">
+ <tr:navigationPane hint="bar">
+ <!--<tr:commandNavigationItem text="#{foo.label}" action="#{foo.doAction}"/>-->
+ <tr:commandNavigationItem text="Apps" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Support" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="About Us" action="#{foo.doAction}"/>
+ <tr:commandNavigationItem text="Contact" action="#{foo.doAction}"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="appCopyright">
+ <tr:panelGroupLayout>
+ <tr:outputText value="Copyright info"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value=""/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <tr:separator/>
+ <tr:spacer height="5"/>
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.">
+ <f:facet name="title">
+ <tr:outputText value="Apps"/>
+ </f:facet>
+ </tr:outputDocument>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."/>
+ <tr:spacer height="20"/>
+
+ <tr:outputDocument value="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."/>
+ </tr:page>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/page/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The Page component is similar to the PanelPage component, except that instead of having
+ navigation1, navigation2 and navigation3 facets for adding navigation item information, the user binds a model
+ object and a stamp to render these areas. The model object is of type MenuModel. A commandNavigationItem should
+ be used as the stamp and placed in the "nodeStamp" facet.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordion.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordion.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordion.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordion.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,47 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelAccordion>
+ <tr:showDetailItem text="Apache Trinidad Components">
+ <tr:panelFormLayout rows="6" labelWidth="40%" inlineStyle="width: 200px;">
+ <tr:inputText label="Text1"/>
+ <tr:inputText label="Text2"/>
+ <tr:inputText label="Text3"/>
+
+ <f:facet name="footer">
+ <tr:panelButtonBar>
+ <tr:commandButton text="Button 1"/>
+ <tr:commandButton text="Button 2"/>
+ </tr:panelButtonBar>
+ </f:facet>
+ </tr:panelFormLayout>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Architecture" disabled="true">
+ <tr:panelHeader text="Architecture First Child"/>
+ <tr:panelHeader text="Architecture Second Child"/>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Release">
+ <tr:panelList rows="2" inlineStyle="width: 200px;">
+ <tr:goLink text="link 1"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 2"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 3"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 4"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 5"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 6"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 7"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 8"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ </tr:panelList>
+ </tr:showDetailItem>
+ </tr:panelAccordion>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordionDiscloseMany.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordionDiscloseMany.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordionDiscloseMany.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/panel/panelAccordion/panelAccordionDiscloseMany.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,47 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <tr:panelAccordion discloseMany="true">
+ <tr:showDetailItem text="Apache Trinidad Components">
+ <tr:panelFormLayout rows="6" labelWidth="40%" inlineStyle="width: 200px;">
+ <tr:inputText label="Text1"/>
+ <tr:inputText label="Text2"/>
+ <tr:inputText label="Text3"/>
+
+ <f:facet name="footer">
+ <tr:panelButtonBar>
+ <tr:commandButton text="Button 1"/>
+ <tr:commandButton text="Button 2"/>
+ </tr:panelButtonBar>
+ </f:facet>
+ </tr:panelFormLayout>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Architecture" disabled="true">
+ <tr:panelHeader text="Architecture First Child"/>
+ <tr:panelHeader text="Architecture Second Child"/>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Release">
+ <tr:panelList rows="2" inlineStyle="width: 200px;">
+ <tr:goLink text="link 1"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 2"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 3"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 4"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 5"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 6"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 7"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ <tr:goLink text="link 8"
+ destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"/>
+ </tr:panelList>
+ </tr:showDetailItem>
+ </tr:panelAccordion>
+
+</ui:composition>
\ No newline at end of file