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 [13/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/performance/multipleComponents_styleMap_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.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,209 +14,209 @@
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:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Components using style resource maps">
- <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>Simple messages demo</b>"/>
-
- <tr:messages/>
-
- <tr:inputText label="Label:">
- <f:facet name="help">
- <tr:outputText value="Type 'cat' to see an error in the message box"/>
- </f:facet>
- <f:converter converterId="javax.faces.BigInteger"/>
- </tr:inputText>
-
- <tr:commandButton text="Submit"/>
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>basic panelPage </b>"/>
-
- <tr:panelPage binding="#{editor.component}">
- <f:facet name="navigation1">
- <tr:menuTabs>
- <tr:commandNavigationItem text="tab 1" action="guide.menuTabs"/>
- <tr:commandNavigationItem text="tab 2" action="guide.menuTabs"
- selected="true" />
- <tr:commandNavigationItem text="tab 3" action="guide.menuTabs"/>
- <tr:commandNavigationItem text="tab 4" action="guide.menuTabs"/>
- <tr:commandNavigationItem text="tab 5" action="guide.menuTabs"/>
- <tr:commandNavigationItem text="tab 6" action="guide.menuTabs"
- disabled="true" />
- </tr:menuTabs>
- </f:facet>
- <f:facet name="navigation2">
- <tr:menuBar>
- <tr:commandNavigationItem text="item 1" action="guide.menuBar"
- selected="true" />
- <tr:commandNavigationItem text="item 2" action="guide.menuBar"
- disabled="true" />
- <tr:commandNavigationItem text="item 3" action="guide.menuBar"/>
- <tr:commandNavigationItem text="item 4" action="guide.menuBar"/>
- </tr:menuBar>
- </f:facet>
- <f:facet name="navigation3">
- <tr:menuList>
- <tr:commandNavigationItem text="item 1" action="guide.menuList"
- selected="true" />
- <tr:commandNavigationItem text="item 2" action="guide.menuList"
- disabled="true" />
- <tr:commandNavigationItem text="item 3" action="guide.menuList"/>
- <tr:commandNavigationItem text="item 4" action="guide.menuList"/>
- </tr:menuList>
- </f:facet>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="help"
- icon="/components/images/globalhelp.gif"
- action="guide.menuButtons"/>
- <tr:commandNavigationItem text="help more"
- icon="/components/images/globalhelp.gif"
- action="guide.menuButtons"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="branding">
- <tr:outputFormatted value="Customer <b>InContextBranding Company - Menlo Park</b>"
- styleUsage="inContextBranding"/>
- </f:facet>
- <f:facet name="location">
- <tr:breadCrumbs>
- <tr:commandNavigationItem text="item 1" action="guide.breadCrumbs" />
- <tr:commandNavigationItem text="item 2" action="guide.breadCrumbs" />
- <tr:commandNavigationItem text="item 3" action="guide.breadCrumbs" />
- <tr:commandNavigationItem text="item 4" action="guide.breadCrumbs" />
- </tr:breadCrumbs>
- </f:facet>
- <f:facet name="appCopyright">
- <tr:outputText value="copyright facet"/>
- </f:facet>
- <f:facet name="appPrivacy">
- <tr:commandLink text="privacy facet" action="action.none" />
- </f:facet>
- <f:facet name="appAbout">
- <tr:commandLink text="about facet" action="action.none" />
- </f:facet>
- <tr:panelHeader text="Title">
- <tr:outputText value="Content here" />
- </tr:panelHeader>
- </tr:panelPage>
-
-
- <tr:outputFormatted styleUsage="instruction" value="<b>SelectManyShuttle bound to list</b>"/>
-
- <tr:selectManyShuttle id="shuttle2" valuePassThru="true"
- leadingHeader="Available values:"
- trailingHeader="Selected values:"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.objectList}">
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectManyShuttle>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>SelectOrderShuttle bound to list</b>"/>
-
- <tr:selectOrderShuttle id="shuttle3" valuePassThru="true"
- leadingHeader="Available values:"
- trailingHeader="Selected values:"
- valueChangeListener="#{list.valueChanged}"
- value="#{list.objectList}" leadingDescShown="true"
- >
- <tr:selectItem label="First" value="foo"/>
- <tr:selectItem label="Second" value="bar"/>
- <tr:selectItem label="Third" value="baz"/>
- </tr:selectOrderShuttle>
-
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Editable treeTable with Record Set Navigation</b>"/>
- <tr:treeTable 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}"/>
- </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: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>
-
- <jsp:directive.include file="../components/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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Components using style resource maps">
+ <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>Simple messages demo</b>"/>
+
+ <tr:messages/>
+
+ <tr:inputText label="Label:">
+ <f:facet name="help">
+ <tr:outputText value="Type 'cat' to see an error in the message box"/>
+ </f:facet>
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+
+ <tr:commandButton text="Submit"/>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>basic panelPage </b>"/>
+
+ <tr:panelPage binding="#{editor.component}">
+ <f:facet name="navigation1">
+ <tr:menuTabs>
+ <tr:commandNavigationItem text="tab 1" action="guide.menuTabs"/>
+ <tr:commandNavigationItem text="tab 2" action="guide.menuTabs"
+ selected="true" />
+ <tr:commandNavigationItem text="tab 3" action="guide.menuTabs"/>
+ <tr:commandNavigationItem text="tab 4" action="guide.menuTabs"/>
+ <tr:commandNavigationItem text="tab 5" action="guide.menuTabs"/>
+ <tr:commandNavigationItem text="tab 6" action="guide.menuTabs"
+ disabled="true" />
+ </tr:menuTabs>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:menuBar>
+ <tr:commandNavigationItem text="item 1" action="guide.menuBar"
+ selected="true" />
+ <tr:commandNavigationItem text="item 2" action="guide.menuBar"
+ disabled="true" />
+ <tr:commandNavigationItem text="item 3" action="guide.menuBar"/>
+ <tr:commandNavigationItem text="item 4" action="guide.menuBar"/>
+ </tr:menuBar>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:menuList>
+ <tr:commandNavigationItem text="item 1" action="guide.menuList"
+ selected="true" />
+ <tr:commandNavigationItem text="item 2" action="guide.menuList"
+ disabled="true" />
+ <tr:commandNavigationItem text="item 3" action="guide.menuList"/>
+ <tr:commandNavigationItem text="item 4" action="guide.menuList"/>
+ </tr:menuList>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="help"
+ icon="/components/images/globalhelp.gif"
+ action="guide.menuButtons"/>
+ <tr:commandNavigationItem text="help more"
+ icon="/components/images/globalhelp.gif"
+ action="guide.menuButtons"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted value="Customer <b>InContextBranding Company - Menlo Park</b>"
+ styleUsage="inContextBranding"/>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs>
+ <tr:commandNavigationItem text="item 1" action="guide.breadCrumbs" />
+ <tr:commandNavigationItem text="item 2" action="guide.breadCrumbs" />
+ <tr:commandNavigationItem text="item 3" action="guide.breadCrumbs" />
+ <tr:commandNavigationItem text="item 4" action="guide.breadCrumbs" />
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="copyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:commandLink text="privacy facet" action="action.none" />
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:commandLink text="about facet" action="action.none" />
+ </f:facet>
+ <tr:panelHeader text="Title">
+ <tr:outputText value="Content here" />
+ </tr:panelHeader>
+ </tr:panelPage>
+
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>SelectManyShuttle bound to list</b>"/>
+
+ <tr:selectManyShuttle id="shuttle2" valuePassThru="true"
+ leadingHeader="Available values:"
+ trailingHeader="Selected values:"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.objectList}">
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectManyShuttle>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>SelectOrderShuttle bound to list</b>"/>
+
+ <tr:selectOrderShuttle id="shuttle3" valuePassThru="true"
+ leadingHeader="Available values:"
+ trailingHeader="Selected values:"
+ valueChangeListener="#{list.valueChanged}"
+ value="#{list.objectList}" leadingDescShown="true"
+ >
+ <tr:selectItem label="First" value="foo"/>
+ <tr:selectItem label="Second" value="bar"/>
+ <tr:selectItem label="Third" value="baz"/>
+ </tr:selectOrderShuttle>
+
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Editable treeTable with Record Set Navigation</b>"/>
+ <tr:treeTable 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}"/>
+ </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: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>
+
+ <jsp:directive.include file="../components/editor.jspf" />
+
+ </tr:panelGroupLayout>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_adf.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,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="Table Editable ADF">
- <tr:form >
- <tr:messages/>
- <tr:table value="#{periodicTable.tableData}" var="row" rows="0">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Name"/>
- </f:facet>
- <tr:inputText value="#{row.name}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Symbol"/>
- </f:facet>
- <tr:inputText value="#{row.symbol}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Action Column"/>
- </f:facet>
- <tr:commandButton text="Action" action="#{row.action}"/>
- </tr:column>
- </tr:table>
- </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="Table Editable ADF">
+ <tr:form >
+ <tr:messages/>
+ <tr:table value="#{periodicTable.tableData}" var="row" rows="0">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:inputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Symbol"/>
+ </f:facet>
+ <tr:inputText value="#{row.symbol}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Action Column"/>
+ </f:facet>
+ <tr:commandButton text="Action" action="#{row.action}"/>
+ </tr:column>
+ </tr:table>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_jsf.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,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="Table Editable JSF">
- <h:form >
- <h:messages/>
- <h:dataTable value="#{periodicTable.tableData}" var="row" rows="0">
- <h:column>
- <f:facet name="header">
- <h:outputText value="Name"/>
- </f:facet>
- <h:inputText value="#{row.name}"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Symbol"/>
- </f:facet>
- <h:inputText value="#{row.symbol}"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Action Column"/>
- </f:facet>
- <h:commandButton value="Action" action="#{row.action}"/>
- </h:column>
- </h:dataTable>
- </h: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="Table Editable JSF">
+ <h:form >
+ <h:messages/>
+ <h:dataTable value="#{periodicTable.tableData}" var="row" rows="0">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Name"/>
+ </f:facet>
+ <h:inputText value="#{row.name}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Symbol"/>
+ </f:facet>
+ <h:inputText value="#{row.symbol}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Action Column"/>
+ </f:facet>
+ <h:commandButton value="Action" action="#{row.action}"/>
+ </h:column>
+ </h:dataTable>
+ </h:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.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,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>
- <html>
- <head>
- <title>Table ReadOnly ADF</title>
- <trh:styleSheet/>
- </head>
- <body>
- <tr:form >
- <tr:messages/>
- <tr:table value="#{periodicTable.tableData}" var="row" rows="0">
- <tr:column headerText="Name">
- <tr:outputText value="#{row.name}"/>
- </tr:column>
- <tr:column headerText="Symbol">
- <tr:outputText value="#{row.symbol}"/>
- </tr:column>
- <tr:column headerText="Group">
- <tr:outputText value="#{row.group}"/>
- </tr:column>
- </tr:table>
- </tr:form>
- </body>
- </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>
+ <html>
+ <head>
+ <title>Table ReadOnly ADF</title>
+ <trh:styleSheet/>
+ </head>
+ <body>
+ <tr:form >
+ <tr:messages/>
+ <tr:table value="#{periodicTable.tableData}" var="row" rows="0">
+ <tr:column headerText="Name">
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column headerText="Symbol">
+ <tr:outputText value="#{row.symbol}"/>
+ </tr:column>
+ <tr:column headerText="Group">
+ <tr:outputText value="#{row.group}"/>
+ </tr:column>
+ </tr:table>
+ </tr:form>
+ </body>
+ </html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.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,50 +14,50 @@
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>
- <html>
- <head>
- <title>Table ReadOnly JSF</title>
- <style>
-.TableContent {border-collapse:collapse;border-color:#9fa57d;border-style:solid;border-width:1px}
-.ColumnHeader {border-color:#f7f7e7;font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:bold;text-align:left;background-color:#d2d8b0;color:#336699;vertical-align:bottom; border-style:solid;border-width:0px 0px 0px 1px}
-.ColumnCellText {font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;color:#000000;vertical-align:baseline;background-color:#f7f7e7;border-color:#d2d8b0; border-style:solid;border-width:1px}
- </style>
- </head>
- <body>
- <h:form >
- <h:messages/>
- <h:dataTable styleClass="TableContent"
- headerClass="ColumnHeader"
- columnClasses="ColumnCellText"
- value="#{periodicTable.tableData}" var="row" rows="0">
- <h:column>
- <f:facet name="header">
- <h:outputText value="Name"/>
- </f:facet>
- <h:outputText value="#{row.name}"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Symbol"/>
- </f:facet>
- <h:outputText value="#{row.symbol}"/>
- </h:column>
- <h:column>
- <f:facet name="header">
- <h:outputText value="Group"/>
- </f:facet>
- <h:outputText value="#{row.group}"/>
- </h:column>
- </h:dataTable>
- </h:form>
- </body>
- </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>
+ <html>
+ <head>
+ <title>Table ReadOnly JSF</title>
+ <style>
+.TableContent {border-collapse:collapse;border-color:#9fa57d;border-style:solid;border-width:1px}
+.ColumnHeader {border-color:#f7f7e7;font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:bold;text-align:left;background-color:#d2d8b0;color:#336699;vertical-align:bottom; border-style:solid;border-width:0px 0px 0px 1px}
+.ColumnCellText {font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;color:#000000;vertical-align:baseline;background-color:#f7f7e7;border-color:#d2d8b0; border-style:solid;border-width:1px}
+ </style>
+ </head>
+ <body>
+ <h:form >
+ <h:messages/>
+ <h:dataTable styleClass="TableContent"
+ headerClass="ColumnHeader"
+ columnClasses="ColumnCellText"
+ value="#{periodicTable.tableData}" var="row" rows="0">
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Name"/>
+ </f:facet>
+ <h:outputText value="#{row.name}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Symbol"/>
+ </f:facet>
+ <h:outputText value="#{row.symbol}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Group"/>
+ </f:facet>
+ <h:outputText value="#{row.group}"/>
+ </h:column>
+ </h:dataTable>
+ </h:form>
+ </body>
+ </html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/reorderTest.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/reorderTest.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/reorderTest.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/reorderTest.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,31 +14,31 @@
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:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Reordering Test">
- <tr:form>
- <tr:panelGroupLayout binding="#{reorder.panel}" layout="vertical">
- <tr:outputText value="Item 1"/>
- <tr:outputText value="Item 2"/>
- <tr:outputText value="Item 3"/>
- <f:facet name="separator">
- <tr:outputText value="----------"/>
- </f:facet>
- </tr:panelGroupLayout>
- <f:verbatim><br /></f:verbatim>
- <tr:commandButton text="Add" actionListener="#{reorder.add}"/>
- <tr:commandButton text="Remove last" actionListener="#{reorder.remove}"/>
- <tr:commandButton text="Remove first" actionListener="#{reorder.removeFirst}"/>
- <tr:commandButton text="Remove Last" actionListener="#{reorder.remove}"/>
- <tr:commandButton text="Rotate" actionListener="#{reorder.rotate}"/>
- <tr:commandButton text="Remove Separator" actionListener="#{reorder.removeSeparator}"/>
- <tr:commandButton text="Set Separator" actionListener="#{reorder.setSeparator}"/>
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Reordering Test">
+ <tr:form>
+ <tr:panelGroupLayout binding="#{reorder.panel}" layout="vertical">
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ <tr:outputText value="Item 3"/>
+ <f:facet name="separator">
+ <tr:outputText value="----------"/>
+ </f:facet>
+ </tr:panelGroupLayout>
+ <f:verbatim><br /></f:verbatim>
+ <tr:commandButton text="Add" actionListener="#{reorder.add}"/>
+ <tr:commandButton text="Remove last" actionListener="#{reorder.remove}"/>
+ <tr:commandButton text="Remove first" actionListener="#{reorder.removeFirst}"/>
+ <tr:commandButton text="Remove Last" actionListener="#{reorder.remove}"/>
+ <tr:commandButton text="Rotate" actionListener="#{reorder.rotate}"/>
+ <tr:commandButton text="Remove Separator" actionListener="#{reorder.removeSeparator}"/>
+ <tr:commandButton text="Set Separator" actionListener="#{reorder.setSeparator}"/>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/reorderTest.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyConfirm.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyConfirm.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyConfirm.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyConfirm.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,83 +14,83 @@
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="Survey">
- <tr:form>
-
- <tr:panelPage>
- <tr:panelHeader text="Please review your answers and make any last changes:">
-
- <tr:panelFormLayout>
-<!-- question 1 -->
- <tr:selectOneRadio label="#{survey.q0.prompt}"
- required="true"
- value="#{survey.a0}">
- <tr:selectItem label="#{survey.q0.answerString}" value="0"/>
- <tr:selectItem label="#{survey.q0.answerString}" value="1"/>
- <tr:selectItem label="#{survey.q0.answerString}" value="2"/>
- <tr:selectItem label="#{survey.q0.answerString}" value="3"/>
- </tr:selectOneRadio >
-
-
-<!-- question 2 -->
- <tr:inputText label="#{survey.q1.prompt}"
- required="true"
- value="#{survey.a1}"/>
-
-
-<!-- question 3 -->
- <tr:selectOneRadio label="#{survey.q2.prompt}"
- required="true"
- value="#{survey.a2}">
- <tr:selectItem label="#{survey.q2.answerString}" value="0"/>
- <tr:selectItem label="#{survey.q2.answerString}" value="1"/>
- <tr:selectItem label="#{survey.q2.answerString}" value="2"/>
- <tr:selectItem label="#{survey.q2.answerString}" value="3"/>
- </tr:selectOneRadio >
-
-
-<!-- question 4 -->
- <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
- labelStyle="vertical-align: top;">
- <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a30}" readOnly="false"/>
- <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a31}" readOnly="false"/>
- <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a32}" readOnly="false"/>
- <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a33}" readOnly="false"/>
- </tr:panelLabelAndMessage>
-
-
-<!-- question 5 -->
- <tr:selectOneRadio label="#{survey.q4.prompt}"
- required="true"
- value="#{survey.a4}">
- <tr:selectItem label="#{survey.q4.answerString}" value="0"/>
- <tr:selectItem label="#{survey.q4.answerString}" value="1"/>
- <tr:selectItem label="#{survey.q4.answerString}" value="2"/>
- <tr:selectItem label="#{survey.q4.answerString}" value="3"/>
- </tr:selectOneRadio >
-
- </tr:panelFormLayout>
- </tr:panelHeader>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
-
- <tr:panelButtonBar>
- <tr:commandButton action="#{survey.check}" text="check answers" rendered="true" />
- </tr:panelButtonBar>
- </tr:panelPage>
-
-
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:panelHeader text="Please review your answers and make any last changes:">
+
+ <tr:panelFormLayout>
+<!-- question 1 -->
+ <tr:selectOneRadio label="#{survey.q0.prompt}"
+ required="true"
+ value="#{survey.a0}">
+ <tr:selectItem label="#{survey.q0.answerString}" value="0"/>
+ <tr:selectItem label="#{survey.q0.answerString}" value="1"/>
+ <tr:selectItem label="#{survey.q0.answerString}" value="2"/>
+ <tr:selectItem label="#{survey.q0.answerString}" value="3"/>
+ </tr:selectOneRadio >
+
+
+<!-- question 2 -->
+ <tr:inputText label="#{survey.q1.prompt}"
+ required="true"
+ value="#{survey.a1}"/>
+
+
+<!-- question 3 -->
+ <tr:selectOneRadio label="#{survey.q2.prompt}"
+ required="true"
+ value="#{survey.a2}">
+ <tr:selectItem label="#{survey.q2.answerString}" value="0"/>
+ <tr:selectItem label="#{survey.q2.answerString}" value="1"/>
+ <tr:selectItem label="#{survey.q2.answerString}" value="2"/>
+ <tr:selectItem label="#{survey.q2.answerString}" value="3"/>
+ </tr:selectOneRadio >
+
+
+<!-- question 4 -->
+ <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
+ labelStyle="vertical-align: top;">
+ <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a30}" readOnly="false"/>
+ <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a31}" readOnly="false"/>
+ <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a32}" readOnly="false"/>
+ <tr:selectBooleanCheckbox text="#{survey.q3.answerString}" value="#{survey.a33}" readOnly="false"/>
+ </tr:panelLabelAndMessage>
+
+
+<!-- question 5 -->
+ <tr:selectOneRadio label="#{survey.q4.prompt}"
+ required="true"
+ value="#{survey.a4}">
+ <tr:selectItem label="#{survey.q4.answerString}" value="0"/>
+ <tr:selectItem label="#{survey.q4.answerString}" value="1"/>
+ <tr:selectItem label="#{survey.q4.answerString}" value="2"/>
+ <tr:selectItem label="#{survey.q4.answerString}" value="3"/>
+ </tr:selectOneRadio >
+
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <tr:panelButtonBar>
+ <tr:commandButton action="#{survey.check}" text="check answers" rendered="true" />
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyConfirm.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage1.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage1.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage1.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,55 +14,55 @@
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="Survey Demo">
- <tr:form>
-
- <tr:panelPage>
-
- <tr:panelHeader text="Question 5 of 5">
- <tr:panelFormLayout>
-
- <tr:selectOneRadio label="#{survey.q0.prompt}"
- required="true"
- value="#{survey.a0}" >
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q0.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
- </tr:selectOneRadio >
-
- </tr:panelFormLayout>
- </tr:panelHeader>
-
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="location">
- <tr:train value="#{surveyMenuModel}" var="surveyNode">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{surveyNode.label}"
- action="#{surveyNode.getOutcome}"
- readOnly="true"/>
- </f:facet>
- </tr:train>
- </f:facet>
-
- <tr:singleStepButtonBar selectedStep="1" maxStep="5"
- nextAction="#{survey.next}"/>
- </tr:panelPage>
-
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey Demo">
+ <tr:form>
+
+ <tr:panelPage>
+
+ <tr:panelHeader text="Question 5 of 5">
+ <tr:panelFormLayout>
+
+ <tr:selectOneRadio label="#{survey.q0.prompt}"
+ required="true"
+ value="#{survey.a0}" >
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q0.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+ </tr:selectOneRadio >
+
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="location">
+ <tr:train value="#{surveyMenuModel}" var="surveyNode">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{surveyNode.label}"
+ action="#{surveyNode.getOutcome}"
+ readOnly="true"/>
+ </f:facet>
+ </tr:train>
+ </f:facet>
+
+ <tr:singleStepButtonBar selectedStep="1" maxStep="5"
+ nextAction="#{survey.next}"/>
+ </tr:panelPage>
+
+ </tr:form>
+
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage1.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage2.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage2.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage2.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,47 +14,47 @@
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="Survey Demo">
- <tr:form>
-
- <tr:panelPage>
- <tr:panelHeader text="Question 2 of 5">
- <tr:panelFormLayout>
- <tr:inputText label="#{survey.q1.prompt}"
- required="true"
- value="#{survey.a1}"/>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
-
- <f:facet name="location">
- <tr:train value="#{surveyMenuModel}" var="surveyNode">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{surveyNode.label}"
- action="#{surveyNode.getOutcome}"
- readOnly="true"/>
- </f:facet>
- </tr:train>
- </f:facet>
-
- <tr:singleStepButtonBar selectedStep="2" maxStep="5"
- nextAction="#{survey.next}"
- previousAction="#{survey.back}"/>
- </tr:panelPage>
-
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey Demo">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:panelHeader text="Question 2 of 5">
+ <tr:panelFormLayout>
+ <tr:inputText label="#{survey.q1.prompt}"
+ required="true"
+ value="#{survey.a1}"/>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <f:facet name="location">
+ <tr:train value="#{surveyMenuModel}" var="surveyNode">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{surveyNode.label}"
+ action="#{surveyNode.getOutcome}"
+ readOnly="true"/>
+ </f:facet>
+ </tr:train>
+ </f:facet>
+
+ <tr:singleStepButtonBar selectedStep="2" maxStep="5"
+ nextAction="#{survey.next}"
+ previousAction="#{survey.back}"/>
+ </tr:panelPage>
+
+ </tr:form>
+
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage2.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage3.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage3.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage3.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,54 +14,54 @@
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="Survey Demo">
- <tr:form>
-
- <tr:panelPage>
-
- <tr:panelHeader text="Question 3 of 5">
- <tr:panelFormLayout>
- <tr:selectOneRadio label="#{survey.q2.prompt}"
- required="true"
- value="#{survey.a2}">
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q2.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
- </tr:selectOneRadio >
- </tr:panelFormLayout>
- </tr:panelHeader>
-
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="location">
- <tr:train value="#{surveyMenuModel}" var="surveyNode">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{surveyNode.label}"
- action="#{surveyNode.getOutcome}"
- readOnly="true"/>
- </f:facet>
- </tr:train>
- </f:facet>
- <tr:panelButtonBar>
- <tr:singleStepButtonBar selectedStep="3" maxStep="5"
- nextAction="#{survey.next}" previousAction="#{survey.back}"/>
- </tr:panelButtonBar>
- </tr:panelPage>
-
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey Demo">
+ <tr:form>
+
+ <tr:panelPage>
+
+ <tr:panelHeader text="Question 3 of 5">
+ <tr:panelFormLayout>
+ <tr:selectOneRadio label="#{survey.q2.prompt}"
+ required="true"
+ value="#{survey.a2}">
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q2.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+ </tr:selectOneRadio >
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="location">
+ <tr:train value="#{surveyMenuModel}" var="surveyNode">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{surveyNode.label}"
+ action="#{surveyNode.getOutcome}"
+ readOnly="true"/>
+ </f:facet>
+ </tr:train>
+ </f:facet>
+ <tr:panelButtonBar>
+ <tr:singleStepButtonBar selectedStep="3" maxStep="5"
+ nextAction="#{survey.next}" previousAction="#{survey.back}"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+ </tr:form>
+
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage3.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage4.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage4.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage4.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage4.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,49 +14,49 @@
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="Survey Demo">
- <tr:form>
-
- <tr:panelPage>
-
- <tr:panelHeader text="Question 4 of 5">
- <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
- labelStyle="vertical-align: top;">
- <tr:selectBooleanCheckbox text="#{survey.q3.text1}" value="#{survey.a30}" />
- <tr:selectBooleanCheckbox text="#{survey.q3.text2}" value="#{survey.a31}" />
- <tr:selectBooleanCheckbox text="#{survey.q3.text3}" value="#{survey.a32}" />
- <tr:selectBooleanCheckbox text="#{survey.q3.text4}" value="#{survey.a33}" />
- </tr:panelLabelAndMessage>
- </tr:panelHeader>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="location">
- <tr:train value="#{surveyMenuModel}" var="surveyNode" >
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{surveyNode.label}"
- action="#{surveyNode.getOutcome}"
- readOnly="true"/>
- </f:facet>
- </tr:train>
- </f:facet>
- <tr:panelButtonBar>
- <tr:singleStepButtonBar selectedStep="4" maxStep="5"
- nextAction="#{survey.next}" previousAction="#{survey.back}"/>
- </tr:panelButtonBar>
- </tr:panelPage>
-
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey Demo">
+ <tr:form>
+
+ <tr:panelPage>
+
+ <tr:panelHeader text="Question 4 of 5">
+ <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
+ labelStyle="vertical-align: top;">
+ <tr:selectBooleanCheckbox text="#{survey.q3.text1}" value="#{survey.a30}" />
+ <tr:selectBooleanCheckbox text="#{survey.q3.text2}" value="#{survey.a31}" />
+ <tr:selectBooleanCheckbox text="#{survey.q3.text3}" value="#{survey.a32}" />
+ <tr:selectBooleanCheckbox text="#{survey.q3.text4}" value="#{survey.a33}" />
+ </tr:panelLabelAndMessage>
+ </tr:panelHeader>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="location">
+ <tr:train value="#{surveyMenuModel}" var="surveyNode" >
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{surveyNode.label}"
+ action="#{surveyNode.getOutcome}"
+ readOnly="true"/>
+ </f:facet>
+ </tr:train>
+ </f:facet>
+ <tr:panelButtonBar>
+ <tr:singleStepButtonBar selectedStep="4" maxStep="5"
+ nextAction="#{survey.next}" previousAction="#{survey.back}"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+ </tr:form>
+
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage4.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage5.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage5.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage5.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage5.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,53 +14,53 @@
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="Survey Demo">
- <tr:form>
-
- <tr:panelPage>
- <tr:panelHeader text="Question 5 of 5">
- <tr:panelFormLayout>
- <tr:selectOneRadio label="#{survey.q4.prompt}"
- required="true"
- value="#{survey.a4}">
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q4.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
- </tr:selectOneRadio >
- </tr:panelFormLayout>
- </tr:panelHeader>
-
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="location">
- <tr:train value="#{surveyMenuModel}" var="surveyNode">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{surveyNode.label}"
- action="#{surveyNode.getOutcome}"
- readOnly="true"/>
- </f:facet>
- </tr:train>
- </f:facet>
- <tr:panelButtonBar>
- <tr:singleStepButtonBar selectedStep="5" maxStep="5"
- nextAction="#{survey.next}" previousAction="#{survey.back}"/>
- <tr:commandButton action="#{survey.finish}" text="finish"
- rendered="#{survey.done}"/>
- </tr:panelButtonBar>
- </tr:panelPage>
- </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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey Demo">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:panelHeader text="Question 5 of 5">
+ <tr:panelFormLayout>
+ <tr:selectOneRadio label="#{survey.q4.prompt}"
+ required="true"
+ value="#{survey.a4}">
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q4.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+ </tr:selectOneRadio >
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="location">
+ <tr:train value="#{surveyMenuModel}" var="surveyNode">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{surveyNode.label}"
+ action="#{surveyNode.getOutcome}"
+ readOnly="true"/>
+ </f:facet>
+ </tr:train>
+ </f:facet>
+ <tr:panelButtonBar>
+ <tr:singleStepButtonBar selectedStep="5" maxStep="5"
+ nextAction="#{survey.next}" previousAction="#{survey.back}"/>
+ <tr:commandButton action="#{survey.finish}" text="finish"
+ rendered="#{survey.done}"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyPage5.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyResults.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyResults.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyResults.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyResults.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,106 +14,106 @@
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:survey="http://myfaces.apache.org/trinidad/demo" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Survey">
- <tr:form>
-
- <tr:panelPage>
- <tr:panelHeader text="Please review your responses:">
-
- <tr:panelFormLayout>
-<!-- question 1 -->
- <tr:selectOneRadio label="#{survey.q0.prompt}"
- required="true"
- value="#{survey.a0}">
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q0.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
- <survey:validate_answer questionIndex="0"/>
- </tr:selectOneRadio >
-
-
-<!-- question 2 -->
- <tr:inputText label="#{survey.q1.prompt}"
- required="true"
- value="#{survey.a1}"
- immediate="true">
-
- <survey:validate_answer questionIndex="1"/>
- </tr:inputText>
-
-<!-- question 3 -->
- <tr:selectOneRadio label="#{survey.q2.prompt}"
- required="true"
- value="#{survey.a2}">
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q2.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
-
- <survey:validate_answer questionIndex="2"/>
- </tr:selectOneRadio >
-
-
-<!-- question 4 -->
- <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
- labelStyle="vertical-align: top;">
- <tr:selectBooleanCheckbox text="#{survey.q3.text1}" value="#{survey.a30}" >
- <survey:validate_answer questionIndex="3A"/>
- </tr:selectBooleanCheckbox>
-
- <tr:selectBooleanCheckbox text="#{survey.q3.text2}" value="#{survey.a31}" >
- <survey:validate_answer questionIndex="3B"/>
- </tr:selectBooleanCheckbox>
-
- <tr:selectBooleanCheckbox text="#{survey.q3.text3}" value="#{survey.a32}" >
- <survey:validate_answer questionIndex="3C"/>
- </tr:selectBooleanCheckbox>
-
- <tr:selectBooleanCheckbox text="#{survey.q3.text4}" value="#{survey.a33}" >
- <survey:validate_answer questionIndex="3D"/>
- </tr:selectBooleanCheckbox>
-
- </tr:panelLabelAndMessage>
-
-<!-- question 5 -->
- <tr:selectOneRadio label="#{survey.q4.prompt}"
- required="true"
- value="#{survey.a4}">
- <tr:forEach var="item" varStatus="iter"
- items="#{survey.q4.answerStrings}">
- <!-- The strange EL syntax for "value" forces it to be a string -->
- <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
- </tr:forEach>
-
- <survey:validate_answer questionIndex="4"/>
- </tr:selectOneRadio >
-
- </tr:panelFormLayout>
- </tr:panelHeader>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelButtonBar>
- <tr:commandButton action="#{survey.check}" text="check answers"
- rendered="true"/>
- </tr:panelButtonBar>
- </tr:panelPage>
- <tr:commandButton action="#{survey.start}" text="start over"
- rendered="true"/>
- </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:tr="http://myfaces.apache.org/trinidad"
+ xmlns:survey="http://myfaces.apache.org/trinidad/demo" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Survey">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:panelHeader text="Please review your responses:">
+
+ <tr:panelFormLayout>
+<!-- question 1 -->
+ <tr:selectOneRadio label="#{survey.q0.prompt}"
+ required="true"
+ value="#{survey.a0}">
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q0.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+ <survey:validate_answer questionIndex="0"/>
+ </tr:selectOneRadio >
+
+
+<!-- question 2 -->
+ <tr:inputText label="#{survey.q1.prompt}"
+ required="true"
+ value="#{survey.a1}"
+ immediate="true">
+
+ <survey:validate_answer questionIndex="1"/>
+ </tr:inputText>
+
+<!-- question 3 -->
+ <tr:selectOneRadio label="#{survey.q2.prompt}"
+ required="true"
+ value="#{survey.a2}">
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q2.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+
+ <survey:validate_answer questionIndex="2"/>
+ </tr:selectOneRadio >
+
+
+<!-- question 4 -->
+ <tr:panelLabelAndMessage label="#{survey.q3.prompt}"
+ labelStyle="vertical-align: top;">
+ <tr:selectBooleanCheckbox text="#{survey.q3.text1}" value="#{survey.a30}" >
+ <survey:validate_answer questionIndex="3A"/>
+ </tr:selectBooleanCheckbox>
+
+ <tr:selectBooleanCheckbox text="#{survey.q3.text2}" value="#{survey.a31}" >
+ <survey:validate_answer questionIndex="3B"/>
+ </tr:selectBooleanCheckbox>
+
+ <tr:selectBooleanCheckbox text="#{survey.q3.text3}" value="#{survey.a32}" >
+ <survey:validate_answer questionIndex="3C"/>
+ </tr:selectBooleanCheckbox>
+
+ <tr:selectBooleanCheckbox text="#{survey.q3.text4}" value="#{survey.a33}" >
+ <survey:validate_answer questionIndex="3D"/>
+ </tr:selectBooleanCheckbox>
+
+ </tr:panelLabelAndMessage>
+
+<!-- question 5 -->
+ <tr:selectOneRadio label="#{survey.q4.prompt}"
+ required="true"
+ value="#{survey.a4}">
+ <tr:forEach var="item" varStatus="iter"
+ items="#{survey.q4.answerStrings}">
+ <!-- The strange EL syntax for "value" forces it to be a string -->
+ <tr:selectItem label="#{item}" value="#{''}#{iter.index}"/>
+ </tr:forEach>
+
+ <survey:validate_answer questionIndex="4"/>
+ </tr:selectOneRadio >
+
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelButtonBar>
+ <tr:commandButton action="#{survey.check}" text="check answers"
+ rendered="true"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ <tr:commandButton action="#{survey.start}" text="start over"
+ rendered="true"/>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyResults.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyStart.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyStart.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyStart.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyStart.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>
- <tr:document title="Survey">
- <tr:form>
-
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
-
- <tr:panelHeader text="Welcome to the Survey Demo">
- <tr:outputText value="Test your knowledge of California Driving Laws"
- styleClass="AFInstructionText"/>
-
- <tr:spacer height="20"/>
- <tr:commandButton action="#{survey.start}" text="begin survey"/>
- </tr:panelHeader>
- </tr:panelPage>
-
-
- </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="Survey">
+ <tr:form>
+
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <tr:panelHeader text="Welcome to the Survey Demo">
+ <tr:outputText value="Test your knowledge of California Driving Laws"
+ styleClass="AFInstructionText"/>
+
+ <tr:spacer height="20"/>
+ <tr:commandButton action="#{survey.start}" text="begin survey"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/surveydemo/surveyStart.jspx
------------------------------------------------------------------------------
svn:eol-style = native