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 [9/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/webapp/components/input/inputFile/inputFileDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileDetailed.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:inputFile label="File" required="false" simple="false"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/inputFileSimple.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,7 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:inputFile label="File" required="false" simple="true"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputFile/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The inputFile component is a component that can be used to upload a file. Any Trinidad
+ form that contains this component must have usesUpload set to true. The "value" property of an
+ inputFile component will be set to an instance of the org.apache.myfaces.trinidad.model.UploadedFile class
+ when a file is uploaded (with the appropriate ValueChangeEvent delivered.) Before using this, developers must
+ install the Apache Trinidad filter.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/inputHidden.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/inputHidden.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/inputHidden.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/inputHidden.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:inputHidden value="Input Hiden Value"/>
+ <tr:commandButton text="Submit"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputHidden/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 UIXInputHidden component adds a value that will be submitted with a form, but not
+ displayed to the user. The value can be manipulated with Javascript on the client, and such values will be
+ automatically re-posted into any ValueBinding attached to the "value" property.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValues.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValues.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValues.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValues.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:inputListOfValues label="Select your favorite name:" value=""
+ action="dialog:periodicTable"
+ searchDesc="Pick a name"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDetailed.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:inputListOfValues label="Select your favorite name:" value=""
+ action="dialog:periodicTable"
+ searchDesc="Pick a name"
+ simple="false"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDialog.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDialog.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDialog.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesDialog.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<tr:document xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ title="Choose a number"
+ inlineStyle="margin: 0;">
+
+ <tr:form>
+ <tr:panelPage id="plId">
+ <tr:messages/>
+ <tr:table summary="Table"
+ value="#{inputListOfValuesBean.list}" var="row" rows="4"
+ rowSelection="single"
+ binding="#{inputListOfValuesBean.periodicDialogBean.table}">
+
+ <tr:column align="center">
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+
+ </tr:table>
+ <tr:panelButtonBar>
+ <tr:commandButton text="Cancel" immediate="true"
+ action="#{inputListOfValuesBean.periodicDialogBean.cancel}"/>
+ <tr:commandButton text="Select"
+ action="#{inputListOfValuesBean.periodicDialogBean.select}"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+</tr:document>
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/inputListOfValuesSimple.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:inputListOfValues label="Select your favorite name:" value=""
+ action="dialog:periodicTable"
+ searchDesc="Pick a name"
+ simple="true"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputListOfValues/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ The inputListOfValues is a text field that also supports launching a dialog to assist
+ users in entering a value. The dialog to use is specified via the "action" attribute, which should
+ use the "dialog:*" syntax. The inputListOfValues will automatically be populated using the return
+ value of the dialog; see the document on Processes and Dialogs for more information about writing dialogs.
+ (If the user's device does not support secondary windows, the "dialog" will be shown in the same window.)
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinbox.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinbox.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinbox.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinbox.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:inputNumberSpinbox label="Year:" value="2009" minimum="1900" maximum="2100"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxDetailed.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:inputNumberSpinbox label="Year:" value="2009" minimum="1900" maximum="2100" simple="false"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/inputNumberSpinboxSimple.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:inputNumberSpinbox label="Year:" value="2009" minimum="1900" maximum="2100" simple="true"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputNumberSpinbox/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 inputNumberSpinbox component creates a browser input widget and up/down arrows.
+ It is used to enter numbers and quickly step through the numbers using the up/down arrows. The number needs
+ to be within the minimum and maximum. It also supports displaying a label, text, and messages.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputText.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputText.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputText.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputText.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:panelFormLayout rows="4" labelAlignment="start">
+ <tr:inputText label="Useranme:"/>
+ <tr:inputText label="Password:" required="no" secret="true"/>
+ </tr:panelFormLayout>
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextDetailed.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextDetailed.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextDetailed.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextDetailed.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelFormLayout rows="4" labelAlignment="start">
+ <tr:inputText label="Useranme:" simple="false"/>
+ <tr:inputText label="Password:" required="no" secret="true" simple="false"/>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextSimple.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextSimple.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextSimple.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/inputTextSimple.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelFormLayout rows="4" labelAlignment="start">
+ <tr:inputText label="Useranme:" simple="true"/>
+ <tr:inputText label="Password:" required="no" secret="true" simple="true"/>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/input/inputText/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 inputText component creates a browser input text widget. Depending on the value
+ of "rows", this component either maps to a single-row text field or a multi-row text area.
+ If the input should be hidden from the user while displayed, such as for passwords, the secret property should
+ be set to "true". It also supports displaying a label, text, and messages. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayout.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayout.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayout.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,34 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelBorderLayout>
+ <f:facet name="top">
+ <h:panelGrid width="100%" style="background-color:#EAE7E3; height: 100%; text-align: center;">
+ <tr:outputText value="top"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="left">
+ <h:panelGrid width="100%" style="background-color:#CBC3BE; height: 100%; text-align: center;">
+ <tr:outputText value="left"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="right">
+ <h:panelGrid width="100%" style="background-color:#CBC3BE; height: 100%; text-align: center;">
+ <tr:outputText value="right"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="bottom">
+ <h:panelGrid width="100%" style="background-color:#EAE7E3; height: 100%; text-align: center;">
+ <tr:outputText value="buttom"/>
+ </h:panelGrid>
+ </f:facet>
+
+ <h:panelGrid width="100%" style="height: 100%; text-align: center;">
+ <tr:outputText value="contents"/>
+ </h:panelGrid>
+ </tr:panelBorderLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayoutPositioned.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayoutPositioned.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayoutPositioned.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/panelBorderLayoutPositioned.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,34 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelBorderLayout layout="positioned">
+ <f:facet name="top">
+ <h:panelGrid width="100%" style="background-color:#EAE7E3; height: 100%; text-align: center;">
+ <tr:outputText value="top"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="left">
+ <h:panelGrid width="100%" style="background-color:#CBC3BE; height: 100%; text-align: center;">
+ <tr:outputText value="left"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="right">
+ <h:panelGrid width="100%" style="background-color:#CBC3BE; height: 100%; text-align: center;">
+ <tr:outputText value="right"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="bottom">
+ <h:panelGrid width="100%" style="background-color:#EAE7E3; height: 100%; text-align: center;">
+ <tr:outputText value="buttom"/>
+ </h:panelGrid>
+ </f:facet>
+
+ <h:panelGrid width="100%" style="height: 100%; text-align: center;">
+ <tr:outputText value="contents"/>
+ </h:panelGrid>
+ </tr:panelBorderLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/borderLayout/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 panelBorderLayout component is a layout element which lays
+ out all of its children consecutively in its middle, and supports twelve other facets: top, bottom, left, right,
+ start and end. Clients should use only one of left/right or start/end for each side, in any one container, but if both are used,
+ left/right "wins".
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayout.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayout.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayout.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:panelFormLayout rows="8">
+ <!-- A bunch of form components -->
+ <tr:inputText label="First name" inlineStyle="text-align: left;"/>
+ <tr:inputText label="Seccond name"/>
+ <tr:inputFile label="Your photo"/>
+ <tr:inputDate label="Birth date"/>
+ <tr:inputText label="Birth location"/>
+ <tr:inputColor label="Favorite color" value="#FFFFFF" />
+
+ <f:facet name="footer">
+ <tr:panelButtonBar inlineStyle="margin-left: 101px;">
+ <tr:commandButton text="Proceed"/>
+ <tr:commandButton text="Cancel"/>
+ </tr:panelButtonBar>
+ </f:facet>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelLeft.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelLeft.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelLeft.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelLeft.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:panelFormLayout rows="8" labelAlignment="start">
+ <!-- A bunch of form components -->
+ <tr:inputText label="First name" inlineStyle="text-align: left;"/>
+ <tr:inputText label="Seccond name"/>
+ <tr:inputFile label="Your photo"/>
+ <tr:inputDate label="Birth date"/>
+ <tr:inputText label="Birth location"/>
+ <tr:inputColor label="Favorite color" value="#FFFFFF" />
+
+ <f:facet name="footer">
+ <tr:panelButtonBar inlineStyle="margin-left: 101px;">
+ <tr:commandButton text="Proceed"/>
+ <tr:commandButton text="Cancel"/>
+ </tr:panelButtonBar>
+ </f:facet>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelTop.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelTop.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelTop.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/panelFormLayoutLabelTop.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:panelFormLayout rows="8" labelAlignment="top">
+ <!-- A bunch of form components -->
+ <tr:inputText label="First name" inlineStyle="text-align: left;"/>
+ <tr:inputText label="Seccond name"/>
+ <tr:inputFile label="Your photo"/>
+ <tr:inputDate label="Birth date"/>
+ <tr:inputText label="Birth location"/>
+ <tr:inputColor label="Favorite color" value="#FFFFFF" />
+
+ <f:facet name="footer">
+ <tr:panelButtonBar>
+ <tr:commandButton text="Proceed"/>
+ <tr:commandButton text="Cancel"/>
+ </tr:panelButtonBar>
+ </f:facet>
+ </tr:panelFormLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/formLayout/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,38 @@
+<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 panelFormLayout lays out input form controls, such that their labels and fields line up vertically. It supports multiple columns, and also supports a footer facet.
+
+ <br/>
+
+ Usually, this component will simply contain labelled Apache Trinidad input components in its main content - these are inputText, inputFile, inputColor, inputListOfValues,
+ inputDate, selectBooleanCheckbox, selectBooleanRadio, selectOneChoice, selectOneListbox, selectOneRadio,
+ selectManyCheckbox, and selectManyListbox. These components must have their "simple" attribute set to
+ false, which is the default, and will cause the labels and fields inside the panelFormLayout to be aligned
+ vertically."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="When more complex field contents are needed, use a panelLabelAndMessage around the more
+ complex contents needed; see the example below. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="Other components can be added to panelFormLayout, but they will not line up with labels
+ and fields automatically, and each will appear on its own row. You can use other panel components - like
+ panelHorizontal - to get some level of layout within a row, but to align contents with the other labels and
+ fields, use panelLabelAndMessage or the "footer" facet. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The panelFormLayout is an example of one of the components that has support for grouping
+ its children components. If you place panelFormLayout child items inside of a group, separators will be drawn
+ around the group of form items if adjacent to other form items (separators won't be drawn at the top if the
+ group is the first item in the column or, similarly, at the bottom if the group is the last item in the column).
+ Grouped panelFormLayout items are kept in the same column of the panelFormLayout even when the assigned rows
+ attribute is set to a value smaller than the number of items in the group. The panelFormLayout component also
+ supports the group component in its footer facet so you can place more than one item in the footer. You can even
+ group footer items one additional time to get separators to appear. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayout.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayout.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayout.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelGroupLayout>
+ <f:facet name="separator">
+ <div style="border: 1px solid #CBC3BE; margin-top: 4px; margin-bottom: 4px;"/>
+ </f:facet>
+
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutDynamic.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutDynamic.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutDynamic.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutDynamic.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:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <div style="border: 1px solid #CBC3BE; margin-top: 4px; margin-bottom: 4px;"/>
+ </f:facet>
+
+ <c:forEach items="#{groupLayoutDynamicBean.layoutItems}" var="aLayoutItem">
+ <tr:outputText value="#{aLayoutItem}"/>
+ </c:forEach>
+ </tr:panelGroupLayout>
+
+</ui:composition>
+
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutHorizontal.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutHorizontal.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutHorizontal.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/panelGroupLayoutHorizontal.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelGroupLayout layout="horizontal">
+ <f:facet name="separator">
+ <div style="border: 1px solid #CBC3BE; margin-left: 4px; margin-right: 4px; height: 100%;"/>
+ </f:facet>
+
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelGroupLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/groupLayout/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 panelGroupLayout control is a layout element that arranges its children in one of a few simple patterns.
+ Each pair of adjacent children will be separated by an optional separator child.
+ It can lay out children consecutively (wrapping as needed), or in a single horizontal line, or vertically."/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayout.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayout.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayout.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayout.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout inlineStyle="height:100px;">
+ <f:facet name="separator">
+ <tr:spacer width="20" height="1"/>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutLeft.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutLeft.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutLeft.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutLeft.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout halign="left" inlineStyle="height:100px;">
+ <f:facet name="separator">
+ <tr:spacer width="20" height="5"/>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutMiddle.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutMiddle.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutMiddle.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutMiddle.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout valign="middle" halign="center" inlineStyle="height:100px;">
+ <f:facet name="separator">
+ <tr:spacer width="20" height="5"/>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutRight.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutRight.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutRight.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutRight.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout halign="right" inlineStyle="height:100px;">
+ <f:facet name="separator">
+ <tr:spacer width="20" height="5"/>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutTop.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutTop.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutTop.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/panelHorizontalLayoutTop.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:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:panelHorizontalLayout valign="top" halign="center" inlineStyle="height:100px;">
+ <f:facet name="separator">
+ <tr:spacer width="20" height="5"/>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <tr:outputText value="Item 4"/>
+ <tr:outputText value="Item 5"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/horizontalLayout/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,35 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ Usually, this component will simply contain labelled Apache Trinidad input
+ components in its main content - these are inputText, inputFile, inputColor, inputListOfValues,
+ inputDate, selectBooleanCheckbox, selectBooleanRadio, selectOneChoice, selectOneListbox, selectOneRadio,
+ selectManyCheckbox, and selectManyListbox. These components must have their "simple" attribute set to
+ false, which is the default, and will cause the labels and fields inside the panelFormLayout to be aligned
+ vertically.
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="When more complex field contents are needed, use a panelLabelAndMessage around the more
+ complex contents needed; see the example below. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="Other components can be added to panelFormLayout, but they will not line up with labels
+ and fields automatically, and each will appear on its own row. You can use other panel components - like
+ panelHorizontal - to get some level of layout within a row, but to align contents with the other labels and
+ fields, use panelLabelAndMessage or the "footer" facet. "/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The panelFormLayout is an example of one of the components that has support for grouping
+ its children components. If you place panelFormLayout child items inside of a group, separators will be drawn
+ around the group of form items if adjacent to other form items (separators won't be drawn at the top if the
+ group is the first item in the column or, similarly, at the bottom if the group is the last item in the column).
+ Grouped panelFormLayout items are kept in the same column of the panelFormLayout even when the assigned rows
+ attribute is set to a value smaller than the number of items in the group. The panelFormLayout component also
+ supports the group component in its footer facet so you can place more than one item in the footer. You can even
+ group footer items one additional time to get separators to appear. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/separator.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/separator.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/separator.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/separator.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:outputText value="Above separator"/>
+ <tr:separator/>
+ <tr:outputText value="Below separator"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/separator/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 separator creates a horizontal separator.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/spacer.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/spacer.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/spacer.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/spacer.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:outputText value="Above spacer"/>
+ <tr:spacer height="20px"/>
+ <tr:outputText value="Below spacer"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/layout/spacer/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ pacer occupies a fixed amount of space in a layout, specified by its width and height
+ attributes. If the width is not specified, but height specified, a block level HTML element is rendered,
+ thereby introducing a new line effect. If width is specified, then, irrespective of the specified
+ value of height, it may not get shorter than the applicable line-height, in user agents that strictly support
+ standards mode HTML.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsHorizontal.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsHorizontal.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsHorizontal.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsHorizontal.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:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:breadCrumbs id="breadCrumbExample" orientation="horizontal">
+
+ <tr:commandNavigationItem text="breadCrumbs Demo"
+ action="breadCrumbs"/>
+ <tr:commandNavigationItem text="Apache.org"
+ destination="http://www.apache.org" targetFrame="_new"/>
+ <tr:commandNavigationItem text="Disabled Item" disabled="true"
+ action="breadCrumbs.tree"/>
+ <tr:commandNavigationItem text="NavigationPane Demo"
+ destination="/component-demo/navigationPane-Default"/>
+ <tr:commandNavigationItem text="Current Page"
+ action="breadCrumbs.this"/>
+
+ </tr:breadCrumbs>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsVertical.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsVertical.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsVertical.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/breadCrumbsVertical.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:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:breadCrumbs id="breadCrumbExample" orientation="vertical">
+
+ <tr:commandNavigationItem text="breadCrumbs Demo"
+ action="breadCrumbs"/>
+ <tr:commandNavigationItem text="Apache.org"
+ destination="http://www.apache.org" targetFrame="_new"/>
+ <tr:commandNavigationItem text="Disabled Item" disabled="true"
+ action="breadCrumbs.tree"/>
+ <tr:commandNavigationItem text="NavigationPane Demo"
+ destination="/component-demo/navigationPane-Default"/>
+ <tr:commandNavigationItem text="Current Page"
+ action="breadCrumbs.this"/>
+
+ </tr:breadCrumbs>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/breadCrumbs/summary.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,33 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ A breadCrumbs component is used in hierarchical site layouts to indicate the path back to
+ the root page of the hierarchy with links. A child representing the current page should be the last child. This
+ child may or may not be rendered depending on variables like the device type or look and feel, but it should
+ always be added.
+
+ <br/>
+
+ <tr:outputText value="The links indicating the hierarchy may be added as children or a menu model may be bound
+ to the breadCrumbs component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.MenuModel,
+ the nodes along the focus path will be rendered."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
+ the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
+ contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
+ navigation."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The "orientation" property may be used to specify the orientation of the
+ breadCrumbs. If the orientation is "horizontal", successive links will be put on the same line. If the
+ orientation is "vertical", successive links will be put on a new line, and indented from their parents.
+ In most cases, the orientation should be horizontal. A vertical breadCrumbs should be used only when the text
+ for the links is known to be very long and likely to cause undesirable scrolling. The default value is
+ horizontal. - HORIZONTAL"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/commandNavigationItem.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane>
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/commandNavigationItem/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 commandNavigationItem control creates a navigation item representation of a UIXCommand.
+ The item could be rendered as a link, an option, a button, etc. This component is normally used as a stamp for a
+ component that takes a MenuModel or XMLMenuModel object.
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneBar.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane hint="bar">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneButtons.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneChoice.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane hint="choice">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneList.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane hint="list">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/navigationPaneTabs.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,11 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:navigationPane hint="tabs">
+ <tr:commandNavigationItem text="Welcome"/>
+ <tr:commandNavigationItem text="Hello"/>
+ <tr:commandNavigationItem text="Goodbye"/>
+ </tr:navigationPane>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationPane/summary.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:tr="http://myfaces.apache.org/trinidad">
+
+ The navigationPane component creates a series of navigation items representing one level
+ in a navigation hierarchy. These items may either be added as children or a menu model may be bound to the
+ navigationPane component. If a menu model is bound, of class org.apache.myfaces.trinidad.model.XMLMenuModel or
+ org.apache.myfaces.trinidad.model.MenuModel, a level along the focus path, or the next level down, will be
+ rendered. A node that is on the focus path will be rendered as "selected"
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="The "level" attribute is temporary. It is used to indicate the level along the
+ focusPath to render. It will likely be replaced with an el expression in a future release."/>
+
+ <tr:spacer height="12px"/>
+
+ <tr:outputText value="XMLMenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the xmlMenuModel has no special knowledge of page navigation and places no requirements
+ on the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which
+ should contain a commandNavigationItem component, which allows the default actionListener mechanism to be used
+ for page navigation. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/navigationTree.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:panelHorizontalLayout valign="top">
+ <tr:navigationTree var="node" value="#{navigationTreeBean.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{node.name}" action="#{node.doAction}"/>
+ </f:facet>
+ </tr:navigationTree>
+
+ <tr:spacer width="80"/>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="#{navigationTreeBean.actionString}"
+ inlineStyle="text-align: center;"/>
+ </tr:panelHorizontalLayout>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/navigationTree/summary.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">
+
+ The navigationTree is used to display navigation data that is structured in a hierarchical
+ format. The features of the Tree component include mechanisms for expanding and collapsing portions of the
+ hierarchy. The focus path of the navigationTree is visually indicated and by default the nodes along the focus
+ path are added to the expandedRowKeys pathSet.
+
+ <br/>
+
+ <tr:outputText value="The "nodeStamp" facet of the navigationTree is used to render the data for each
+ node in the tree. The "nodeStamp" is repeatedly rendered (stamped) once per node"/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar.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>Step 1 -- processChoiceBar with navigation</b>"/>
+
+ <tr:spacer height="20px"/>
+
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}" shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar2.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,19 @@
+<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>Step 2 -- processChoiceBar with navigation</b>"/>
+
+ <tr:spacer height="20px"/>
+
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}" shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/processChoiceBar3.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,19 @@
+<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>Step 3 -- processChoiceBar with navigation</b>"/>
+
+ <tr:spacer height="20px"/>
+
+ <tr:processChoiceBar var="foo" value="#{processChoiceBarBean}" shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processChoiceBarBean.immediate}"
+ disabled="#{processChoiceBarBean.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/processChoiceBar/summary.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:tr="http://myfaces.apache.org/trinidad">
+
+ ProcessChoiceBar is a UIXProcess component that renders a previous button, a choice bar, and a next button.
+
+ <br/>
+
+ The processChoiceBar takes a model of type org.apache.myfaces.trinidad.model.MenuModel. The last node along the focusPath and its siblings are rendered.
+
+ <br/>
+
+ MenuModel extends TreeModel, but it also knows how to go from the current viewId to the
+ focus path. Notice that the menuModel has no special knowledge of page navigation and places no requirements on
+ the nodes that go into the tree. The nodes in the tree are stamped out with the 'nodeStamp' facet, which should
+ contain a commandNavigationItem component, which allows the default actionListener mechanism to be used for page
+ navigation.
+
+ <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 rows="4">
+ <tr:outputText value=" - "Plus One" - from the current step the user can navigate to any previous page
+ and th e 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="On browsers that support disabled items in the drop down, the unreachable items will look
+ disabled, otherwise they will not be rendered. "/>
+
+</ui:composition>
\ No newline at end of file
Added: myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml?rev=903822&view=auto
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml (added)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-components-showcase/src/main/webapp/components/navigation/singleStepButtonBar/singleStepButtonBar.xhtml Wed Jan 27 20:37:29 2010
@@ -0,0 +1,10 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+
+ <tr:singleStepButtonBar id="singleStep1" text="Stage"
+ selectedStep="#{singleStepButtonBarBean.currentStep}" maxStep="5"
+ previousAction="#{singleStepButtonBarBean.doBack}"
+ nextAction="#{singleStepButtonBarBean.doNext}"/>
+
+</ui:composition>
\ No newline at end of file