You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/06/28 09:19:20 UTC
svn commit: r551482 [14/19] - in
/myfaces/trinidad/branches/matzew121core_release/trinidad-examples: ./
trinidad-demo/ trinidad-demo/src/ trinidad-demo/src/conf/
trinidad-demo/src/main/ trinidad-demo/src/main/java/
trinidad-demo/src/main/java/org/ trin...
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/train8.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/tree.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/components/treeTable_selection.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientConvert.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientConvert.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientConvert.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientConvert.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:trdemo="http://myfaces.apache.org/trinidaddemo">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Client-side Converters and Validators">
+ <tr:form usesUpload="true">
+ <tr:panelPage>
+ <tr:messages/>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Converters and Validators"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:navigationPane>
+ </f:facet>
+ <tr:panelHeader text="Client-side Converters and Validators">
+ <tr:outputText styleClass="AFInstructionText"
+ value="In the following examples, converters and validators run on the client, avoiding a round trip."/>
+ <tr:spacer height="10"/>
+ <tr:panelHeader text="Client Converters"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{clientValidation.integer}"
+ label="integer converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or '11111111111'"/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.longValue}"
+ label="long converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or '11111111111111111111'"/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.short}"
+ label="short converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or '111111'"/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.byte}"
+ label="byte converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or '1111'"/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.float}"
+ label="float converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or 'cat'"/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.double}"
+ label="double converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or 'cat'"/>
+ </f:facet>
+ </tr:inputText>
+ <!--tr:inputText value="#{clientValidation.double2}"
+ label="number converter">
+ <f:facet name="help">
+ <tr:outputText value="must have 2 decimal places, examples of unconvertable values: '1.1' or '1.111'"/>
+ </f:facet>
+ <f:convertNumber maxFractionDigits="2" minFractionDigits="2"/>
+ </tr:inputText-->
+ <tr:inputColor label="color converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: '9/05' or 'cat'"/>
+ </f:facet>
+ </tr:inputColor>
+ <tr:inputDate label="date converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: '#FFFF' or 'cat'"/>
+ </f:facet>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Client Validators"/>
+ <tr:spacer height="10"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{clientValidation.long2}"
+ label="long range validator">
+ <f:facet name="help">
+ <tr:outputText value="examples of values that will fail validation: '4' or '7'"/>
+ </f:facet>
+ <tr:validateLongRange minimum="5" maximum="6"/>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.double3}"
+ label="double range validator">
+ <f:facet name="help">
+ <tr:outputText value="examples of values that will fail validation: '5.1' or '6.8'"/>
+ </f:facet>
+ <tr:validateDoubleRange minimum="5.2" maximum="6.7"/>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.regExpValue}"
+ label="reg exp validator">
+ <f:facet name="help">
+ <tr:outputText value="examples of values that will fail validation: 1','2','4' all values other than '9'"/>
+ </f:facet>
+ <tr:validateRegExp pattern="[9]"/>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.lengthValue}"
+ label="length validator">
+ <f:facet name="help">
+ <tr:outputText value="values longer than 4 will fail, for example: '44444444' or 'Seven'"/>
+ </f:facet>
+ <tr:validateLength maximum="4"/>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.byteLengthValue}"
+ label="byte length validator">
+ <f:facet name="help">
+ <tr:outputText value="values longer than 4 bytes will fail, for example: '44444444' or 'Seven'"/>
+ </f:facet>
+ <tr:validateByteLength encoding="ISO-8859-1" maximum="4"/>
+ </tr:inputText>
+ <tr:inputText value="#{clientValidation.date}"
+ label="date range validator">
+ <f:facet name="help">
+ <tr:outputText value="examples of values that will fail validation: any date which is not in 2007"/>
+ </f:facet>
+ <tr:validateDateTimeRange minimum="2007-01-01"
+ maximum="2007-12-31"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Required"/>
+ <tr:spacer height="10"/>
+ <tr:panelFormLayout>
+ <tr:inputText required="true" label="required field"/>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Example of 3rd party Converter and Validator"/>
+ <tr:spacer height="10"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{clientValidation.ssn}"
+ label="ssn converter">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or 'cat'"/>
+ </f:facet>
+ <trdemo:convertSSN/>
+ </tr:inputText>
+ <tr:inputText required="true" secret="true"
+ label="password validator">
+ <f:facet name="help">
+ <tr:outputText value="examples of unconvertable values: 'a' or 'cat'"/>
+ </f:facet>
+ <trdemo:validatePassword/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:panelButtonBar>
+ <tr:commandButton text="Submit"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientDateRestrictionValidate.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientDateRestrictionValidate.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientDateRestrictionValidate.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/clientDateRestrictionValidate.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ xmlns:trdemo="http://myfaces.apache.org/trinidaddemo">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Client-side Date Restriction Validator">
+ <tr:form usesUpload="true">
+ <tr:panelPage>
+ <tr:messages/>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Converters and Validators"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:navigationPane>
+ </f:facet>
+ <tr:panelHeader text="Client-side Date Restriction Validator">
+ <tr:outputText styleClass="AFInstructionText"
+ value="In the following examples, the date Restriction validator runs on the client, avoiding a round trip."/>
+ <tr:spacer height="10"/>
+ <tr:panelHeader text="Client Validators"/>
+ <tr:spacer height="10"/>
+ <tr:panelFormLayout>
+
+ <tr:inputDate id="month" value="#{dateRestrictionValidator.testInvalidMonth}"
+ label="Select a date!">
+ <f:facet name="help">
+ <tr:outputText value="November/December dates are not allowed here!"/>
+ </f:facet>
+ <tr:convertDateTime pattern="yyyy-MM-dd"/>
+ <tr:validateDateRestriction invalidMonths="Nov Dec" />
+ </tr:inputDate>
+
+ <tr:inputDate id="daysOfWeek" value="#{dateRestrictionValidator.testInvalidDaysOfWeek}"
+ label="Select a date!">
+ <f:facet name="help">
+ <tr:outputText value="Please no Mondays...!"/>
+ </f:facet>
+ <tr:convertDateTime pattern="yyyy-MM-dd"/>
+ <tr:validateDateRestriction invalidDaysOfWeek="Mon"/>
+ </tr:inputDate>
+
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:panelButtonBar>
+ <tr:commandButton text="Submit"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidate.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<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:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Validators and Converters"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:navigationPane>
+ </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"
+ messageDetailNotInRange='Date "{1}" does not fall within {2} : {3}'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx?view=auto&rev=551482
==============================================================================
--- myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx (added)
+++ myfaces/trinidad/branches/matzew121core_release/trinidad-examples/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx Thu Jun 28 00:19:04 2007
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title=" Trinidad Converters and Validators message customization">
+ <tr:form>
+ <tr:panelPage>
+ <tr:messages/>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Converters and Validators"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:navigationPane>
+ </f:facet>
+ <tr:panelHeader text="Custom messages for conversion and validation failures">
+ <tr:panelHeader text="Message customization on input component for 'required' validation"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf1"
+ value="#{messageCustomization.date1}"
+ label="Date of birth" required="true"
+ requiredMessageDetail="#{messageCustomization.messages.DOB_REQD_ID}"></tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on reg exp validator"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{messageCustomization.regExpValue}"
+ label="Pin" >
+ <f:facet name="help">
+ <tr:outputText value="Enter your three digit pin"/>
+ </f:facet>
+ <tr:validateRegExp pattern="[1-9][0-9][0-9]"
+ messageDetailNoMatch="#{messageCustomization.messages.PIN_NO_MATCH_ID}"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on byte length validator"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{messageCustomization.byteLengthValue}"
+ label="Name">
+ <f:facet name="help">
+ <tr:outputText value="Enter your name. It should not exceed 4 characters"/>
+ </f:facet>
+ <tr:validateByteLength encoding="ISO-8859-1" maximum="4"
+ messageDetailMaximum='The "{0}" "{1}" exceeds {2} characters'/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on date time range validator"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf3"
+ value="#{messageCustomization.date1}"
+ label="Start date for submission">
+ <f:facet name="help">
+ <tr:outputText value="min=#{messageCustomization.minDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
+ messageDetailMaximum='Date "{1}" in "{0}" is farther than {2}'
+ messageDetailMinimum='Date "{1}" in "{0}" is before the accepted date - {2} for receving forms. '
+ messageDetailNotInRange='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf4"
+ value="#{messageCustomization.date1}"
+ label="Last date">
+ <f:facet name="help">
+ <tr:outputText value="max=#{messageCustomization.maxDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange maximum="#{date.maxDate}"
+ messageDetailMaximum='The date "{1}" in "{0}" which you have chosen, falls after the final acceptable date - {2}.'
+ messageDetailMinimum='Date "{1}" in "{0}" is less than the minimum acceptable: {2}.'
+ messageDetailNotInRange='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf5"
+ value="#{messageCustomization.date1}"
+ label="Submission period">
+ <f:facet name="help">
+ <tr:outputText value="min=#{messageCustomization.minDateTip} max=#{messageCustomization.maxDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
+ maximum="#{messageCustomization.maxDate}"
+ messageDetailNotInRange='Submission date "{1}" in "{0}" is not with in the specified period {2}-{3}.'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on color converter"/>
+ <tr:panelFormLayout>
+ <tr:inputColor id="sicConvx" label="Enter or choose color"
+ value="#{messageCustomization.color}">
+ <f:facet name="help">
+ <tr:outputText value="HTML hex color pattern:#RRGGBB"/>
+ </f:facet>
+ <tr:convertColor patterns="#RRGGBB" transparentAllowed="true"
+ messageDetailConvert='The color "{1}" you have chosen in "{0}" is not a valid HTML hex pattern {2}.'/>
+ </tr:inputColor>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on date time converter"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf6" value="2004/09/06"
+ label="Date of birth">
+ <f:facet name="help">
+ <tr:outputText value="1/20/1972 or 1972/20/2"/>
+ </f:facet>
+ <!--All custom messages need not be set. It is just enough if we set 'convertDateMessageDetail' -->
+ <tr:convertDateTime secondaryPattern="d/M/yyyy"
+ pattern="yyyy/M/d"
+ messageDetailConvertDate='"{1}" in "{0}" is not a valid date. Example is {2}'
+ messageDetailConvertTime='"{1}" in "{0}", is not valid date. Example is {2}.'
+ messageDetailConvertBoth='"{1}" in "{0}", is not valid Date and time. The format is {2}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf7" value="11:36:15 AM"
+ label="Time of birth">
+ <f:facet name="help">
+ <tr:outputText value="11:36:15 AM"/>
+ </f:facet>
+ <tr:convertDateTime type="time" timeStyle="medium"
+ messageDetailConvertTime='"{1}" in "{0}", is not a valid time. Example: {2}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf8" value="12/20/2004 8:11 AM"
+ label="Date and time of birth">
+ <f:facet name="help">
+ <tr:outputText value="2/26/2005 8:11 AM"/>
+ </f:facet>
+ <tr:convertDateTime type="both"
+ messageDetailConvertBoth='"{1}" in "{0}", is not a valid Date and time. Example: {2}.'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on number converter"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="555" label="Your lucky number">
+ <f:facet name="help">
+ <tr:outputText value="type='number' locale='en_US' Valid input=44444456 Invalid value=555o"/>
+ </f:facet>
+ <tr:convertNumber type="number" locale="en_US"
+ messageDetailConvertCurrency='"{1}" in "{0}" is not a valid currency value.'
+ messageDetailConvertNumber='"{1}" in "{0}" is not valid. Please choose a number.'
+ messageDetailConvertPattern='"{1}" in "{0}" does not match the pattern {2}'
+ messageDetailConvertPercent='"{1}" in "{0}" is not a valid percentile.'/>
+ </tr:inputText>
+ <tr:inputText value="5%" label="Machine efficieny"
+ readOnly="false">
+ <f:facet name="help">
+ <tr:outputText value="type='percent' locale='en_US' Valid value=75% Invalid value=75"/>
+ </f:facet>
+ <tr:convertNumber type="percent" locale="en_US"
+ messageDetailConvertPercent='"{1}" in "{0}" is not a valid efficiency value.'/>
+ </tr:inputText>
+ <tr:inputText value="10.88" label="Pattern based number">
+ <f:facet name="help">
+ <tr:outputText value="'pattern=##.000' locale='en_US' Invalid value=10e.88"/>
+ </f:facet>
+ <tr:convertNumber pattern="##.000" locale="en_US"
+ messageDetailConvertPattern='"{1}" in "{0}" does not match pattern {2}.'/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>