You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by ma...@apache.org on 2006/08/03 05:49:00 UTC
svn commit: r428248 [9/13] - in
/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp: ./
components/ components/html/ components/regions/ convertValidate/ demos/
demos/changeDemos/ demos/tableDemos/ email/ performance/ surveydemo/
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/template.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/template.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/template.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/template.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,30 +14,30 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
-
- <jsp:directive.include file="editor.jspf" />
-
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/template.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,37 +14,37 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Link below to process using 'Plus One' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
- <tr:commandLink action="guide.page_p1" text="Plus One Process"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>process using 'Max Visited' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
-
- <tr:train binding="#{editor.component}" var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
-
- <jsp:directive.include file="editor.jspf" />
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Link below to process using 'Plus One' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
+ <tr:commandLink action="guide.page_p1" text="Plus One Process"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>process using 'Max Visited' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
+
+ <tr:train binding="#{editor.component}" var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train2.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train2.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train2.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,32 +14,32 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Second Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Second Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train2.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train3.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train3.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train3.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,32 +14,32 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Third Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Third Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train3.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,36 +14,36 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="train Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Fourth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- <tr:commandLink action="guide.train4a" text="Go to subprocess"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="train Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Fourth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ <tr:commandLink action="guide.train4a" text="Go to subprocess"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4a.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4a.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4a.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4a.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,35 +14,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="train Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain A</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="train Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain A</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4a.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4b.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4b.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4b.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4b.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,35 +14,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="train Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain B</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="train Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain B</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4b.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4c.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4c.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4c.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4c.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,36 +14,36 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="train Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain C</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- <tr:commandLink action="guide.train4" text="back to main process"/>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="train Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SubTrain C</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ <tr:commandLink action="guide.train4" text="back to main process"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train4c.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train5.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train5.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train5.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train5.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,34 +14,34 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Fifth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
-
- </f:facet>
- </tr:train>
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Fifth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train5.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train6.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train6.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train6.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train6.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,33 +14,33 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Sixth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Sixth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train6.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train7.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train7.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train7.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train7.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,33 +14,33 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Seventh Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="train Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Seventh Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train7.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train8.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train8.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train8.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train8.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,35 +14,35 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="train Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Eighth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- readOnly="#{processTrainMenuModel.readOnly}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="train Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Eighth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ readOnly="#{processTrainMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/train8.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/tree.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/tree.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/tree.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/tree.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,45 +14,45 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Tree Demo">
- <tr:form>
- <tr:messages/>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Basic Tree</b>"/>
-<!--
- <tr:tree value="#{tree.model}" binding="#{editor.component}" />
-
- <jsp:directive.include file="editor.jspf" />
--->
- <tr:outputFormatted styleUsage="instruction" value="<b>Tree with TreeModel</b>"/>
- <tr:tree binding="#{editor.component}"
- var="foo" value="#{tree.model}">
- <f:facet name="nodeStamp">
- <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
- </f:facet>
- </tr:tree>
-
- <jsp:directive.include file="editor.jspf" />
- <tr:outputFormatted styleUsage="instruction" value="<b>Tree with CollectionModel</b>"/>
- <tr:tree var="foo" value="#{periodicTable.tableData}">
- <f:facet name="nodeStamp">
- <tr:commandLink text="#{foo.name}" action="#{foo.action}"/>
- </f:facet>
- </tr:tree>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Tree Demo">
+ <tr:form>
+ <tr:messages/>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Basic Tree</b>"/>
+<!--
+ <tr:tree value="#{tree.model}" binding="#{editor.component}" />
+
+ <jsp:directive.include file="editor.jspf" />
+-->
+ <tr:outputFormatted styleUsage="instruction" value="<b>Tree with TreeModel</b>"/>
+ <tr:tree binding="#{editor.component}"
+ var="foo" value="#{tree.model}">
+ <f:facet name="nodeStamp">
+ <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
+ </f:facet>
+ </tr:tree>
+
+ <jsp:directive.include file="editor.jspf" />
+ <tr:outputFormatted styleUsage="instruction" value="<b>Tree with CollectionModel</b>"/>
+ <tr:tree var="foo" value="#{periodicTable.tableData}">
+ <f:facet name="nodeStamp">
+ <tr:commandLink text="#{foo.name}" action="#{foo.action}"/>
+ </f:facet>
+ </tr:tree>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/tree.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,158 +14,158 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="TreeTable Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
-
- <!--
- <tr:treeTable var="foo" value="#{tree.model}" binding="#{editor.component}">
- <f:facet name="nodeStamp">
- <tr:outputText value="#{foo.text}"/>
- </f:facet>
- </tr:treeTable>
-
-
- <jsp:directive.include file="editor.jspf" />
--->
-
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Editable treeTable with Record Set Navigation</b>"/>
- <tr:treeTable binding="#{editor.component}" var="foo" value="#{tree.model}" rendered="true"
- rowsByDepth="3" summary="Demo of treeTable"
- >
- <f:facet name="nodeStamp">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Text"/>
- </f:facet>
- <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
- </tr:column>
- </f:facet>
- <f:facet name="pathStamp">
- <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
- </f:facet>
-
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Foo Column"/>
- </f:facet>
- <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
- </tr:column>
-
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Bar Column"/>
- </f:facet>
- <h:outputText value="#{foo.text} Bar"/>
- </tr:column>
- </tr:treeTable>
-
- <jsp:directive.include file="editor.jspf" />
- <tr:outputFormatted styleUsage="instruction" value="<b>No Focus Column</b>"/>
- <tr:treeTable var="foo" value="#{tree.model}" rendered="true"
- summary="Second treeTable" >
- <f:facet name="nodeStamp">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Text"/>
- </f:facet>
- <tr:outputText value="#{foo.text}"/>
- </tr:column>
- </f:facet>
-
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Text"/>
- </f:facet>
- <tr:outputText value="#{foo.text}"/>
- </tr:column>
-
- </tr:treeTable>
-
- <tr:commandButton text="Submit"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Giant treeTable</b>"/>
- <tr:treeTable var="foo" value="#{largeTree.model}"
- summary="Giant treeTable"
- rendered='true'>
- <f:facet name="nodeStamp">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Label"/>
- </f:facet>
- <tr:outputFormatted value="<b>#{foo.label}</b>"/>
- </tr:column>
- </f:facet>
- <f:facet name="pathStamp">
- <tr:outputFormatted value="<b>#{foo.label}</b>"/>
- </f:facet>
-
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Parent"/>
- </f:facet>
- <tr:outputText value="#{foo.parentLabel}"/>
- </tr:column>
-
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Index"/>
- </f:facet>
- <h:outputText value="#{foo.index}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Depth"/>
- </f:facet>
- <h:outputText value="#{foo.depth}"/>
- </tr:column>
- </tr:treeTable>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Empty treeTable</b>"/>
- <tr:treeTable var="foo" rendered="true"
- summary="Empty treeTable"
- emptyText="no records found"
- >
- <f:facet name="nodeStamp">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Text"/>
- </f:facet>
- <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
- </tr:column>
- </f:facet>
-
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Foo Column"/>
- </f:facet>
- <tr:outputText value="foo #{foo.text}"/>
- </tr:column>
-
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Bar Column"/>
- </f:facet>
- <h:outputText value="#{foo.text} Bar"/>
- </tr:column>
- </tr:treeTable>
- </tr:panelGroupLayout>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="TreeTable Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+
+ <!--
+ <tr:treeTable var="foo" value="#{tree.model}" binding="#{editor.component}">
+ <f:facet name="nodeStamp">
+ <tr:outputText value="#{foo.text}"/>
+ </f:facet>
+ </tr:treeTable>
+
+
+ <jsp:directive.include file="editor.jspf" />
+-->
+
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Editable treeTable with Record Set Navigation</b>"/>
+ <tr:treeTable binding="#{editor.component}" var="foo" value="#{tree.model}" rendered="true"
+ rowsByDepth="3" summary="Demo of treeTable"
+ >
+ <f:facet name="nodeStamp">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Text"/>
+ </f:facet>
+ <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
+ </tr:column>
+ </f:facet>
+ <f:facet name="pathStamp">
+ <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
+ </f:facet>
+
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Foo Column"/>
+ </f:facet>
+ <tr:inputText value="#{foo.text}" shortDesc="Enter text"/>
+ </tr:column>
+
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Bar Column"/>
+ </f:facet>
+ <h:outputText value="#{foo.text} Bar"/>
+ </tr:column>
+ </tr:treeTable>
+
+ <jsp:directive.include file="editor.jspf" />
+ <tr:outputFormatted styleUsage="instruction" value="<b>No Focus Column</b>"/>
+ <tr:treeTable var="foo" value="#{tree.model}" rendered="true"
+ summary="Second treeTable" >
+ <f:facet name="nodeStamp">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Text"/>
+ </f:facet>
+ <tr:outputText value="#{foo.text}"/>
+ </tr:column>
+ </f:facet>
+
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Text"/>
+ </f:facet>
+ <tr:outputText value="#{foo.text}"/>
+ </tr:column>
+
+ </tr:treeTable>
+
+ <tr:commandButton text="Submit"/>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Giant treeTable</b>"/>
+ <tr:treeTable var="foo" value="#{largeTree.model}"
+ summary="Giant treeTable"
+ rendered='true'>
+ <f:facet name="nodeStamp">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Label"/>
+ </f:facet>
+ <tr:outputFormatted value="<b>#{foo.label}</b>"/>
+ </tr:column>
+ </f:facet>
+ <f:facet name="pathStamp">
+ <tr:outputFormatted value="<b>#{foo.label}</b>"/>
+ </f:facet>
+
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Parent"/>
+ </f:facet>
+ <tr:outputText value="#{foo.parentLabel}"/>
+ </tr:column>
+
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Index"/>
+ </f:facet>
+ <h:outputText value="#{foo.index}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Depth"/>
+ </f:facet>
+ <h:outputText value="#{foo.depth}"/>
+ </tr:column>
+ </tr:treeTable>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Empty treeTable</b>"/>
+ <tr:treeTable var="foo" rendered="true"
+ summary="Empty treeTable"
+ emptyText="no records found"
+ >
+ <f:facet name="nodeStamp">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Text"/>
+ </f:facet>
+ <tr:outputFormatted value="<b>text:#{foo.text}</b>"/>
+ </tr:column>
+ </f:facet>
+
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Foo Column"/>
+ </f:facet>
+ <tr:outputText value="foo #{foo.text}"/>
+ </tr:column>
+
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Bar Column"/>
+ </f:facet>
+ <h:outputText value="#{foo.text} Bar"/>
+ </tr:column>
+ </tr:treeTable>
+ </tr:panelGroupLayout>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,107 +14,107 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="tableSelectMany Demo"/>
- <trh:body>
- <tr:form >
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- </tr:panelGroupLayout>
- <tr:panelPage>
- <tr:messages/>
- <tr:selectOneChoice value="#{sessionScope.tableSelection}"
- autoSubmit="true"
- id="selType"
- label="Selection Type">
- <tr:selectItem label="Single" value="#{null}"/>
- <tr:selectItem label="Multiple" value="#{true}"/>
- </tr:selectOneChoice>
- <tr:treeTable var="foo" value="#{largeTree.model}"
- binding="#{tableActions.table}"
- summary="Demo of TreeTable selection"
- partialTriggers="selType"
- rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}">
- <f:facet name="footer">
- <tr:commandButton text="Report"
- actionListener="#{tableActions.performReport}"/>
- </f:facet>
- <f:facet name="nodeStamp">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Label"/>
- </f:facet>
- <tr:outputFormatted value="<b>#{foo.label}</b>"/>
- </tr:column>
- </f:facet>
- <f:facet name="pathStamp">
- <tr:outputFormatted value="<b>#{foo.label}</b>"/>
- </f:facet>
-
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Parent"/>
- </f:facet>
- <tr:outputText value="#{foo.parentLabel}"/>
- </tr:column>
-
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Index"/>
- </f:facet>
- <h:outputText value="#{foo.index}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Depth"/>
- </f:facet>
- <h:outputText value="#{foo.depth}"/>
- </tr:column>
- </tr:treeTable>
-
- <tr:panelHeader text="Report Items">
- <tr:table var="foo" value="#{tableActions.reportItems}"
- emptyText="Report is Empty"
- summary="Report">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Label"/>
- </f:facet>
- <tr:outputText value="#{foo.label}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Parent"/>
- </f:facet>
- <tr:outputText value="#{foo.parentLabel}"/>
- </tr:column>
-
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Index"/>
- </f:facet>
- <h:outputText value="#{foo.index}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <h:outputText value="Depth"/>
- </f:facet>
- <h:outputText value="#{foo.depth}"/>
- </tr:column>
- </tr:table>
- </tr:panelHeader>
-
- </tr:panelPage>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="tableSelectMany Demo"/>
+ <trh:body>
+ <tr:form >
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ </tr:panelGroupLayout>
+ <tr:panelPage>
+ <tr:messages/>
+ <tr:selectOneChoice value="#{sessionScope.tableSelection}"
+ autoSubmit="true"
+ id="selType"
+ label="Selection Type">
+ <tr:selectItem label="Single" value="#{null}"/>
+ <tr:selectItem label="Multiple" value="#{true}"/>
+ </tr:selectOneChoice>
+ <tr:treeTable var="foo" value="#{largeTree.model}"
+ binding="#{tableActions.table}"
+ summary="Demo of TreeTable selection"
+ partialTriggers="selType"
+ rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}">
+ <f:facet name="footer">
+ <tr:commandButton text="Report"
+ actionListener="#{tableActions.performReport}"/>
+ </f:facet>
+ <f:facet name="nodeStamp">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Label"/>
+ </f:facet>
+ <tr:outputFormatted value="<b>#{foo.label}</b>"/>
+ </tr:column>
+ </f:facet>
+ <f:facet name="pathStamp">
+ <tr:outputFormatted value="<b>#{foo.label}</b>"/>
+ </f:facet>
+
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Parent"/>
+ </f:facet>
+ <tr:outputText value="#{foo.parentLabel}"/>
+ </tr:column>
+
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Index"/>
+ </f:facet>
+ <h:outputText value="#{foo.index}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Depth"/>
+ </f:facet>
+ <h:outputText value="#{foo.depth}"/>
+ </tr:column>
+ </tr:treeTable>
+
+ <tr:panelHeader text="Report Items">
+ <tr:table var="foo" value="#{tableActions.reportItems}"
+ emptyText="Report is Empty"
+ summary="Report">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Label"/>
+ </f:facet>
+ <tr:outputText value="#{foo.label}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Parent"/>
+ </f:facet>
+ <tr:outputText value="#{foo.parentLabel}"/>
+ </tr:column>
+
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Index"/>
+ </f:facet>
+ <h:outputText value="#{foo.index}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <h:outputText value="Depth"/>
+ </f:facet>
+ <h:outputText value="#{foo.depth}"/>
+ </tr:column>
+ </tr:table>
+ </tr:panelHeader>
+
+ </tr:panelPage>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,101 +14,101 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root version="1.2" xmlns:tr="http://myfaces.apache.org/trinidad"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:jsp="http://java.sun.com/JSP/Page">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title=" Trinidad Converters and Validators">
- <tr:form>
- <tr:panelPage>
- <tr:messages/>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Validators and Converters"
- action="convertValidateDemos"
- immediate="true"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelHeader text="Converters and Validators">
- <tr:panelHeader text="Server Side Number Converter"/>
- <tr:panelFormLayout>
- <tr:inputText value="99.99" label="number converter1">
- <f:facet name="help">
- <tr:outputText value="type='number' integerOnly='true' - This will result in fraction part to be omitted"/>
- </f:facet>
- <f:convertNumber type="number" integerOnly="true"/>
- </tr:inputText>
- <tr:inputText value="#{converterValidator.currencyValue}"
- label="number converter2" readOnly="true">
- <f:facet name="help">
- <tr:outputText value="type='currency' locale='en_US' currencyCode='EUR' - This results in EUR prefix before value"/>
- </f:facet>
- <f:convertNumber type="currency" locale="en_US"
- currencyCode="EUR"/>
- </tr:inputText>
- <tr:inputText value="#{converterValidator.percentValue}"
- label="number converter3">
- <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:inputText value="#{converterValidator.groupValue}"
- label="number converter4">
- <f:facet name="help">
- <tr:outputText value="type='number' locale='en_US'"/>
- </f:facet>
- <f:convertNumber type="number" locale="en_US"/>
- </tr:inputText>
- <tr:inputText value="#{converterValidator.currencyValue}"
- label="number converter5" readOnly="true">
- <f:facet name="help">
- <tr:outputText value="type='currency' locale='en_US' currencySymbol='#' - This results in # as prefix for value"/>
- </f:facet>
- <f:convertNumber type="currency" locale="en_US"
- currencySymbol="#"/>
- </tr:inputText>
- </tr:panelFormLayout>
- <tr:panelHeader text="Validators"/>
- <tr:panelFormLayout>
- <tr:inputText value="9999" label="reg exp validator">
- <f:facet name="help">
- <tr:outputText value="pattern='[9]*'"/>
- </f:facet>
- <tr:validateRegExp pattern="[9]*"/>
- </tr:inputText>
- <tr:inputText value="Four" label="byte length validator">
- <f:facet name="help">
- <tr:outputText value="maximum='4' encoding='ISO-8859-1'"/>
- </f:facet>
- <tr:validateByteLength encoding="ISO-8859-1" maximum="4"/>
- </tr:inputText>
- <tr:inputText value="424" label="multiple validators">
- <f:facet name="help">
- <tr:outputText value="Attached reg exp and long range validator. Allow three digit value with middle number being '2' and value not exceeding 920"/>
- </f:facet>
- <tr:validateRegExp pattern="[1-9][2][0-9]"/>
- <f:validateLongRange maximum="920"/>
- </tr:inputText>
- </tr:panelFormLayout>
- <tr:panelHeader text="Date time range validator with ISO date format support"/>
- <tr:panelFormLayout>
- <tr:inputDate id="mdf3" value="2004-11-25"
- label="Submission period">
- <f:facet name="help">
- <tr:outputText value="min=2004-11-16 max=2004-12-16"/>
- </f:facet>
- <tr:convertDateTime pattern="yyyy-MM-dd"/>
- <tr:validateDateTimeRange minimum="2004-11-16"
- maximum="2004-12-16"
- notInRangeMessageDetail='Date "{0}" does not fall within {1} : {2}'/>
- </tr:inputDate>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <tr:commandButton text="Submit"/>
- </tr:panelPage>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root version="1.2" xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:jsp="http://java.sun.com/JSP/Page">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title=" Trinidad Converters and Validators">
+ <tr:form>
+ <tr:panelPage>
+ <tr:messages/>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Validators and Converters"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelHeader text="Converters and Validators">
+ <tr:panelHeader text="Server Side Number Converter"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="99.99" label="number converter1">
+ <f:facet name="help">
+ <tr:outputText value="type='number' integerOnly='true' - This will result in fraction part to be omitted"/>
+ </f:facet>
+ <f:convertNumber type="number" integerOnly="true"/>
+ </tr:inputText>
+ <tr:inputText value="#{converterValidator.currencyValue}"
+ label="number converter2" readOnly="true">
+ <f:facet name="help">
+ <tr:outputText value="type='currency' locale='en_US' currencyCode='EUR' - This results in EUR prefix before value"/>
+ </f:facet>
+ <f:convertNumber type="currency" locale="en_US"
+ currencyCode="EUR"/>
+ </tr:inputText>
+ <tr:inputText value="#{converterValidator.percentValue}"
+ label="number converter3">
+ <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:inputText value="#{converterValidator.groupValue}"
+ label="number converter4">
+ <f:facet name="help">
+ <tr:outputText value="type='number' locale='en_US'"/>
+ </f:facet>
+ <f:convertNumber type="number" locale="en_US"/>
+ </tr:inputText>
+ <tr:inputText value="#{converterValidator.currencyValue}"
+ label="number converter5" readOnly="true">
+ <f:facet name="help">
+ <tr:outputText value="type='currency' locale='en_US' currencySymbol='#' - This results in # as prefix for value"/>
+ </f:facet>
+ <f:convertNumber type="currency" locale="en_US"
+ currencySymbol="#"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Validators"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="9999" label="reg exp validator">
+ <f:facet name="help">
+ <tr:outputText value="pattern='[9]*'"/>
+ </f:facet>
+ <tr:validateRegExp pattern="[9]*"/>
+ </tr:inputText>
+ <tr:inputText value="Four" label="byte length validator">
+ <f:facet name="help">
+ <tr:outputText value="maximum='4' encoding='ISO-8859-1'"/>
+ </f:facet>
+ <tr:validateByteLength encoding="ISO-8859-1" maximum="4"/>
+ </tr:inputText>
+ <tr:inputText value="424" label="multiple validators">
+ <f:facet name="help">
+ <tr:outputText value="Attached reg exp and long range validator. Allow three digit value with middle number being '2' and value not exceeding 920"/>
+ </f:facet>
+ <tr:validateRegExp pattern="[1-9][2][0-9]"/>
+ <f:validateLongRange maximum="920"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Date time range validator with ISO date format support"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf3" value="2004-11-25"
+ label="Submission period">
+ <f:facet name="help">
+ <tr:outputText value="min=2004-11-16 max=2004-12-16"/>
+ </f:facet>
+ <tr:convertDateTime pattern="yyyy-MM-dd"/>
+ <tr:validateDateTimeRange minimum="2004-11-16"
+ maximum="2004-12-16"
+ notInRangeMessageDetail='Date "{0}" does not fall within {1} : {2}'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx
------------------------------------------------------------------------------
svn:eol-style = native