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 2010/11/10 09:14:02 UTC
svn commit: r1033391 [32/35] - in /myfaces/trinidad/trunk: scripts/
trinidad-examples/trinidad-blank/src/main/webapp/
trinidad-examples/trinidad-components-showcase/src/main/webapp/components/buttonsAndLinks/commandButton/
trinidad-examples/trinidad-co...
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/preferences.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/preferences.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/preferences.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/preferences.jspx Wed Nov 10 08:13:47 2010
@@ -1,112 +1,112 @@
-<?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"/>
- <!--
- Load a resource bundle localized for the Locale of the current view,
- and expose it (as a Map) in the request attributes of the current request.
- Please note that we are not localizing every string in this demo. We want
- to show you an example of how to do this, but also make the demo an
- example that is easy to follow.
- -->
- <f:loadBundle var="nls"
- basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
-
- <f:view>
- <tr:document title="Preferences">
- <tr:form>
-
- <tr:panelPage>
- <tr:messages/>
-
- <f:facet name="branding">
- <tr:panelGroupLayout layout="vertical">
- <tr:panelGroupLayout>
- <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
- <tr:image source="/email/images/pbs.gif"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
- styleUsage="inContextBranding"/>
- </tr:panelGroupLayout>
- </f:facet>
-
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons">
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- <tr:commandNavigationItem text="Logout"
- action="#{email.logout}"/>
- <tr:commandNavigationItem text="Preferences"
- action="preferences" selected="true"/>
- <tr:commandNavigationItem text="Help"
- action="action.none"/>
- </tr:navigationPane>
- </f:facet>
-
- <f:facet name="infoUser">
- <tr:outputFormatted value="Logged in as #{email.username}"
- styleUsage="pageStamp"/>
- </f:facet>
-
- <tr:panelHeader text="Update Preferences">
- <tr:panelFormLayout>
- <tr:selectOneChoice label="Skin-family:"
- value="#{email.preferences.skinFamily}">
- <f:selectItems value="#{email.preferences.skinFamilyItems}"/>
- </tr:selectOneChoice>
- <tr:selectOneChoice label="Accessibility features:"
- value="#{email.preferences.accessibilityMode}">
- <f:selectItems value="#{email.preferences.accessibilityModeItems}"/>
- </tr:selectOneChoice>
- <tr:inputText label="Messages per screen:"
- value="#{email.preferences.rowsShown}">
- <f:facet name="help">
- <tr:outputText value="Enter a value between 5 and 100."/>
- </f:facet>
- <f:validateLongRange minimum="5" maximum="100"/>
- </tr:inputText>
- <tr:panelLabelAndMessage label="Columns:">
- <tr:panelGroupLayout layout="vertical">
- <tr:selectBooleanCheckbox text="Sender"
- value="#{email.preferences.displaySenderColumn}"/>
- <tr:selectBooleanCheckbox text="Date"
- value="#{email.preferences.displayDateColumn}"/>
- <tr:selectBooleanCheckbox text="Size"
- value="#{email.preferences.displaySizeColumn}"/>
- </tr:panelGroupLayout>
- </tr:panelLabelAndMessage>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <tr:panelButtonBar>
- <tr:commandButton textAndAccessKey="&Save"
- action="success"/>
- <tr:commandButton textAndAccessKey="Cance&l"
- action="success" immediate="true"/>
- </tr:panelButtonBar>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?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"/>
+ <!--
+ Load a resource bundle localized for the Locale of the current view,
+ and expose it (as a Map) in the request attributes of the current request.
+ Please note that we are not localizing every string in this demo. We want
+ to show you an example of how to do this, but also make the demo an
+ example that is easy to follow.
+ -->
+ <f:loadBundle var="nls"
+ basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
+
+ <f:view>
+ <tr:document title="Preferences">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:messages/>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
+ <tr:image source="/email/images/pbs.gif"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
+ styleUsage="inContextBranding"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ <tr:commandNavigationItem text="Logout"
+ action="#{email.logout}"/>
+ <tr:commandNavigationItem text="Preferences"
+ action="preferences" selected="true"/>
+ <tr:commandNavigationItem text="Help"
+ action="action.none"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="infoUser">
+ <tr:outputFormatted value="Logged in as #{email.username}"
+ styleUsage="pageStamp"/>
+ </f:facet>
+
+ <tr:panelHeader text="Update Preferences">
+ <tr:panelFormLayout>
+ <tr:selectOneChoice label="Skin-family:"
+ value="#{email.preferences.skinFamily}">
+ <f:selectItems value="#{email.preferences.skinFamilyItems}"/>
+ </tr:selectOneChoice>
+ <tr:selectOneChoice label="Accessibility features:"
+ value="#{email.preferences.accessibilityMode}">
+ <f:selectItems value="#{email.preferences.accessibilityModeItems}"/>
+ </tr:selectOneChoice>
+ <tr:inputText label="Messages per screen:"
+ value="#{email.preferences.rowsShown}">
+ <f:facet name="help">
+ <tr:outputText value="Enter a value between 5 and 100."/>
+ </f:facet>
+ <f:validateLongRange minimum="5" maximum="100"/>
+ </tr:inputText>
+ <tr:panelLabelAndMessage label="Columns:">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:selectBooleanCheckbox text="Sender"
+ value="#{email.preferences.displaySenderColumn}"/>
+ <tr:selectBooleanCheckbox text="Date"
+ value="#{email.preferences.displayDateColumn}"/>
+ <tr:selectBooleanCheckbox text="Size"
+ value="#{email.preferences.displaySizeColumn}"/>
+ </tr:panelGroupLayout>
+ </tr:panelLabelAndMessage>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:panelButtonBar>
+ <tr:commandButton textAndAccessKey="&Save"
+ action="success"/>
+ <tr:commandButton textAndAccessKey="Cance&l"
+ action="success" immediate="true"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/preferences.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx Wed Nov 10 08:13:47 2010
@@ -1,116 +1,116 @@
-<?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"/>
- <!--
- Load a resource bundle localized for the Locale of the current view,
- and expose it (as a Map) in the request attributes of the current request.
- Please note that we are not localizing every string in this demo. We want
- to show you an example of how to do this, but also make the demo an
- example that is easy to follow.
- -->
- <f:loadBundle var="nls"
- basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
-
- <f:view>
- <tr:document title="New Message">
- <tr:form usesUpload="true">
- <tr:panelPage>
- <tr:messages/>
-
- <f:facet name="infoStatus">
- <tr:legend name="required" />
- </f:facet>
-
- <f:facet name="branding">
- <tr:panelGroupLayout layout="vertical">
- <tr:panelGroupLayout>
- <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
- <tr:image source="/email/images/pbs.gif"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
- styleUsage="inContextBranding"/>
- </tr:panelGroupLayout>
- </f:facet>
-
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons">
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- <tr:commandNavigationItem text="Logout"
- action="#{email.logout}"/>
- <tr:commandNavigationItem text="Preferences"
- action="preferences"/>
- <tr:commandNavigationItem text="Help"
- action="action.none"/>
- </tr:navigationPane>
- </f:facet>
-
- <f:facet name="infoUser">
- <tr:outputFormatted value="Logged in as #{email.username}"
- styleUsage="pageStamp"/>
- </f:facet>
-
- <tr:panelHeader text="New Message">
- <tr:panelFormLayout inlineStyle="width: 100%" labelWidth="15%" fieldWidth="85%">
- <tr:inputText label="Subject:"
- required="true"
- value="#{replyToMessageBacking.subject}"/>
- <tr:inputText label="To:"
- required="true"
- value="#{replyToMessageBacking.to}"
- validator="#{replyToMessageBacking.validateEmailList}"/>
- <tr:inputText label="Cc:"
- value="#{replyToMessageBacking.cc}"
- validator="#{replyToMessageBacking.validateEmailList}"/>
- <tr:inputFile label="Attachment:"
- value="#{replyToMessageBacking.attachment1}"/>
- <tr:inputFile label="Attachment:"
- value="#{replyToMessageBacking.attachment2}"/>
- <tr:inputFile label="Attachment:"
- value="#{replyToMessageBacking.attachment3}"/>
- <tr:inputText label="Content:" columns="80" rows="20" wrap="soft"
- value="#{replyToMessageBacking.content}"/>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <!--
- <f:facet name="infoReturn">
- <tr:commandLink text="Return to #{email.currentFolder.name}"
- action="messages" immediate="true"/>
- </f:facet>
- -->
- <tr:panelButtonBar>
- <tr:commandButton textAndAccessKey="&Send Message"
- action="#{replyToMessageBacking.send}"/>
- <tr:commandButton textAndAccessKey="Save as &Draft"
- action="#{replyToMessageBacking.saveAsDraft}"/>
- <tr:commandButton textAndAccessKey="Cance&l" immediate="true"
- action="cancel"/>
- </tr:panelButtonBar>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?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"/>
+ <!--
+ Load a resource bundle localized for the Locale of the current view,
+ and expose it (as a Map) in the request attributes of the current request.
+ Please note that we are not localizing every string in this demo. We want
+ to show you an example of how to do this, but also make the demo an
+ example that is easy to follow.
+ -->
+ <f:loadBundle var="nls"
+ basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
+
+ <f:view>
+ <tr:document title="New Message">
+ <tr:form usesUpload="true">
+ <tr:panelPage>
+ <tr:messages/>
+
+ <f:facet name="infoStatus">
+ <tr:legend name="required" />
+ </f:facet>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
+ <tr:image source="/email/images/pbs.gif"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
+ styleUsage="inContextBranding"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ <tr:commandNavigationItem text="Logout"
+ action="#{email.logout}"/>
+ <tr:commandNavigationItem text="Preferences"
+ action="preferences"/>
+ <tr:commandNavigationItem text="Help"
+ action="action.none"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="infoUser">
+ <tr:outputFormatted value="Logged in as #{email.username}"
+ styleUsage="pageStamp"/>
+ </f:facet>
+
+ <tr:panelHeader text="New Message">
+ <tr:panelFormLayout inlineStyle="width: 100%" labelWidth="15%" fieldWidth="85%">
+ <tr:inputText label="Subject:"
+ required="true"
+ value="#{replyToMessageBacking.subject}"/>
+ <tr:inputText label="To:"
+ required="true"
+ value="#{replyToMessageBacking.to}"
+ validator="#{replyToMessageBacking.validateEmailList}"/>
+ <tr:inputText label="Cc:"
+ value="#{replyToMessageBacking.cc}"
+ validator="#{replyToMessageBacking.validateEmailList}"/>
+ <tr:inputFile label="Attachment:"
+ value="#{replyToMessageBacking.attachment1}"/>
+ <tr:inputFile label="Attachment:"
+ value="#{replyToMessageBacking.attachment2}"/>
+ <tr:inputFile label="Attachment:"
+ value="#{replyToMessageBacking.attachment3}"/>
+ <tr:inputText label="Content:" columns="80" rows="20" wrap="soft"
+ value="#{replyToMessageBacking.content}"/>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <!--
+ <f:facet name="infoReturn">
+ <tr:commandLink text="Return to #{email.currentFolder.name}"
+ action="messages" immediate="true"/>
+ </f:facet>
+ -->
+ <tr:panelButtonBar>
+ <tr:commandButton textAndAccessKey="&Send Message"
+ action="#{replyToMessageBacking.send}"/>
+ <tr:commandButton textAndAccessKey="Save as &Draft"
+ action="#{replyToMessageBacking.saveAsDraft}"/>
+ <tr:commandButton textAndAccessKey="Cance&l" immediate="true"
+ action="cancel"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/showMessage.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/showMessage.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/showMessage.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/showMessage.jspx Wed Nov 10 08:13:47 2010
@@ -1,167 +1,167 @@
-<?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:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <!--
- Load a resource bundle localized for the Locale of the current view,
- and expose it (as a Map) in the request attributes of the current request.
- Please note that we are not localizing every string in this demo. We want
- to show you an example of how to do this, but also make the demo an
- example that is easy to follow.
- -->
- <f:loadBundle var="nls"
- basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
- <f:view>
- <tr:document title="Message">
- <tr:form>
- <tr:panelPage>
- <tr:messages/>
-
- <f:facet name="branding">
- <tr:panelGroupLayout layout="vertical">
- <tr:panelGroupLayout>
- <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
- <tr:image source="/email/images/pbs.gif"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
- styleUsage="inContextBranding"/>
- </tr:panelGroupLayout>
- </f:facet>
-
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons">
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- <tr:commandNavigationItem text="Logout"
- action="#{email.logout}"/>
- <tr:commandNavigationItem text="Preferences"
- action="preferences"/>
- <tr:commandNavigationItem text="Help"
- action="action.none"/>
- </tr:navigationPane>
- </f:facet>
-
- <f:facet name="infoUser">
- <tr:outputFormatted value="Logged in as #{email.username}"
- styleUsage="pageStamp"/>
- </f:facet>
-
- <tr:panelHeader text="Message">
- <tr:panelBorderLayout>
- <!-- Top section: include the headers -->
- <f:facet name="innerTop">
- <tr:panelFormLayout inlineStyle="width: 100%" labelWidth="15%" fieldWidth="85%">
- <tr:panelLabelAndMessage label="From:">
- <tr:outputText value="#{showMessageBacking.message.sender}"/>
- </tr:panelLabelAndMessage>
- <tr:panelLabelAndMessage label="To:">
- <tr:panelGroupLayout layout="vertical">
- <tr:forEach items="#{showMessageBacking.message.tos}"
- var="address">
- <tr:outputText value="#{address}"/>
- </tr:forEach>
- </tr:panelGroupLayout>
- </tr:panelLabelAndMessage>
- <tr:panelLabelAndMessage label="Cc:"
- labelStyle="vertical-align: top;">
- <tr:panelGroupLayout layout="vertical">
- <tr:forEach items="#{showMessageBacking.message.ccs}"
- var="address">
- <tr:outputText value="#{address}"/>
- </tr:forEach>
- </tr:panelGroupLayout>
- </tr:panelLabelAndMessage>
- <tr:inputText label="Subject:" readOnly="true"
- value="#{showMessageBacking.message.subject}"/>
- <tr:inputText label="Sent:" readOnly="true"
- value="#{showMessageBacking.message.sentDate}"/>
- <!-- Commented out: content type
- <tr:inputText label="Content type:" readOnly="true"
- value="#{showMessageBacking.message.contentType}"/>
- -->
- </tr:panelFormLayout>
-
- </f:facet>
-
- <!-- Main content -->
- <tr:panelHeader text="Content:">
- <!-- For plain text, show in a readOnly inputText -->
- <tr:inputText rendered="#{showMessageBacking.message.contentType == 'TEXT/PLAIN'}"
- readOnly="true" columns="80"
- rows="#{showMessageBacking.message.lineCount > 30
- ? 30 : showMessageBacking.message.lineCount}"
- value="#{showMessageBacking.message.content}"/>
- <!-- HTML content: run through our "outputFormatted" filter -->
- <trh:rowLayout rendered="#{showMessageBacking.message.contentType != 'TEXT/PLAIN'}"
- width="75%">
- <tr:outputFormatted
- value="#{showMessageBacking.message.content}"/>
- </trh:rowLayout>
- </tr:panelHeader>
-
- <!-- Side content for the secondary layer: show attachments -->
- <f:facet name="auxiliary2">
- <tr:panelBox text="Attachments"
- rendered="#{showMessageBacking.message.attachmentPresent}">
- <tr:panelGroupLayout layout="vertical">
- <tr:forEach items="#{showMessageBacking.message.attachments}"
- var="attachment">
- <tr:commandLink text="#{attachment.fileName}"
- action="#{showMessageBacking.downloadAttachment}">
- <tr:setActionListener from="#{attachment}"
- to="#{showMessageBacking.attachmentToDownload}"/>
- </tr:commandLink>
- </tr:forEach>
- </tr:panelGroupLayout>
- </tr:panelBox>
- </f:facet>
- </tr:panelBorderLayout>
- </tr:panelHeader>
- <!--
- <f:facet name="infoReturn">
- <tr:commandLink text="Return to #{email.currentFolder.name}"
- action="messages"/>
- </f:facet>
- -->
- <tr:panelButtonBar>
- <tr:commandButton textAndAccessKey="&Reply"
- action="reply">
- <tr:setActionListener from="#{'false'}"
- to="#{pageFlowScope.replyToAll}"/>
- </tr:commandButton>
- <tr:commandButton textAndAccessKey="&Reply to &All"
- action="reply">
- <tr:setActionListener from="#{'true'}"
- to="#{pageFlowScope.replyToAll}"/>
- </tr:commandButton>
- <tr:commandButton textAndAccessKey="Cance&l" immediate="true"
- action="messages"/>
- </tr:panelButtonBar>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?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:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <!--
+ Load a resource bundle localized for the Locale of the current view,
+ and expose it (as a Map) in the request attributes of the current request.
+ Please note that we are not localizing every string in this demo. We want
+ to show you an example of how to do this, but also make the demo an
+ example that is easy to follow.
+ -->
+ <f:loadBundle var="nls"
+ basename="org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle"/>
+ <f:view>
+ <tr:document title="Message">
+ <tr:form>
+ <tr:panelPage>
+ <tr:messages/>
+
+ <f:facet name="branding">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelGroupLayout>
+ <tr:outputFormatted value="#{nls.EMAIL_DEMO_TITLE}" styleClass="AFHeaderLevelOne"/>
+ <tr:image source="/email/images/pbs.gif"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted value="Customer <b>Foo - Anywhere, U.S.A. </b>"
+ styleUsage="inContextBranding"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ <tr:commandNavigationItem text="Logout"
+ action="#{email.logout}"/>
+ <tr:commandNavigationItem text="Preferences"
+ action="preferences"/>
+ <tr:commandNavigationItem text="Help"
+ action="action.none"/>
+ </tr:navigationPane>
+ </f:facet>
+
+ <f:facet name="infoUser">
+ <tr:outputFormatted value="Logged in as #{email.username}"
+ styleUsage="pageStamp"/>
+ </f:facet>
+
+ <tr:panelHeader text="Message">
+ <tr:panelBorderLayout>
+ <!-- Top section: include the headers -->
+ <f:facet name="innerTop">
+ <tr:panelFormLayout inlineStyle="width: 100%" labelWidth="15%" fieldWidth="85%">
+ <tr:panelLabelAndMessage label="From:">
+ <tr:outputText value="#{showMessageBacking.message.sender}"/>
+ </tr:panelLabelAndMessage>
+ <tr:panelLabelAndMessage label="To:">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:forEach items="#{showMessageBacking.message.tos}"
+ var="address">
+ <tr:outputText value="#{address}"/>
+ </tr:forEach>
+ </tr:panelGroupLayout>
+ </tr:panelLabelAndMessage>
+ <tr:panelLabelAndMessage label="Cc:"
+ labelStyle="vertical-align: top;">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:forEach items="#{showMessageBacking.message.ccs}"
+ var="address">
+ <tr:outputText value="#{address}"/>
+ </tr:forEach>
+ </tr:panelGroupLayout>
+ </tr:panelLabelAndMessage>
+ <tr:inputText label="Subject:" readOnly="true"
+ value="#{showMessageBacking.message.subject}"/>
+ <tr:inputText label="Sent:" readOnly="true"
+ value="#{showMessageBacking.message.sentDate}"/>
+ <!-- Commented out: content type
+ <tr:inputText label="Content type:" readOnly="true"
+ value="#{showMessageBacking.message.contentType}"/>
+ -->
+ </tr:panelFormLayout>
+
+ </f:facet>
+
+ <!-- Main content -->
+ <tr:panelHeader text="Content:">
+ <!-- For plain text, show in a readOnly inputText -->
+ <tr:inputText rendered="#{showMessageBacking.message.contentType == 'TEXT/PLAIN'}"
+ readOnly="true" columns="80"
+ rows="#{showMessageBacking.message.lineCount > 30
+ ? 30 : showMessageBacking.message.lineCount}"
+ value="#{showMessageBacking.message.content}"/>
+ <!-- HTML content: run through our "outputFormatted" filter -->
+ <trh:rowLayout rendered="#{showMessageBacking.message.contentType != 'TEXT/PLAIN'}"
+ width="75%">
+ <tr:outputFormatted
+ value="#{showMessageBacking.message.content}"/>
+ </trh:rowLayout>
+ </tr:panelHeader>
+
+ <!-- Side content for the secondary layer: show attachments -->
+ <f:facet name="auxiliary2">
+ <tr:panelBox text="Attachments"
+ rendered="#{showMessageBacking.message.attachmentPresent}">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:forEach items="#{showMessageBacking.message.attachments}"
+ var="attachment">
+ <tr:commandLink text="#{attachment.fileName}"
+ action="#{showMessageBacking.downloadAttachment}">
+ <tr:setActionListener from="#{attachment}"
+ to="#{showMessageBacking.attachmentToDownload}"/>
+ </tr:commandLink>
+ </tr:forEach>
+ </tr:panelGroupLayout>
+ </tr:panelBox>
+ </f:facet>
+ </tr:panelBorderLayout>
+ </tr:panelHeader>
+ <!--
+ <f:facet name="infoReturn">
+ <tr:commandLink text="Return to #{email.currentFolder.name}"
+ action="messages"/>
+ </f:facet>
+ -->
+ <tr:panelButtonBar>
+ <tr:commandButton textAndAccessKey="&Reply"
+ action="reply">
+ <tr:setActionListener from="#{'false'}"
+ to="#{pageFlowScope.replyToAll}"/>
+ </tr:commandButton>
+ <tr:commandButton textAndAccessKey="&Reply to &All"
+ action="reply">
+ <tr:setActionListener from="#{'true'}"
+ to="#{pageFlowScope.replyToAll}"/>
+ </tr:commandButton>
+ <tr:commandButton textAndAccessKey="Cance&l" immediate="true"
+ action="messages"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/email/showMessage.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx Wed Nov 10 08:13:47 2010
@@ -1,64 +1,64 @@
-<?xml version="1.0" encoding="utf-8" 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="Apache Trinidad Demo Index" stateSaving="client">
- <tr:form>
-
- <tr:panelPage>
- <tr:messages/>
- <tr:panelHeader text="Welcome to the Apache Trinidad Demos">
- <tr:panelHeader text="Basics">
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink text="Component Guide" action="guide" />
- </tr:panelGroupLayout>
- </tr:panelHeader>
-
- <tr:panelHeader text="Simple Demos">
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink text="Feature Demos"
- action="demos" />
- </tr:panelGroupLayout>
- </tr:panelHeader>
-
- <tr:panelHeader text="Sample Applications">
- <tr:panelGroupLayout layout="vertical">
- <tr:panelGroupLayout>
- <tr:commandLink text="Email" action="emaildemo" />
- <tr:outputText styleClass="AFInstructionText" value=" - Trinidad Email Demo"/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout>
- <tr:commandLink text="Survey" action="survey" />
- <tr:outputText styleClass="AFInstructionText" value=" - simple application"/>
- </tr:panelGroupLayout>
-
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<?xml version="1.0" encoding="utf-8" 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="Apache Trinidad Demo Index" stateSaving="client">
+ <tr:form>
+
+ <tr:panelPage>
+ <tr:messages/>
+ <tr:panelHeader text="Welcome to the Apache Trinidad Demos">
+ <tr:panelHeader text="Basics">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink text="Component Guide" action="guide" />
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+
+ <tr:panelHeader text="Simple Demos">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink text="Feature Demos"
+ action="demos" />
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+
+ <tr:panelHeader text="Sample Applications">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelGroupLayout>
+ <tr:commandLink text="Email" action="emaildemo" />
+ <tr:outputText styleClass="AFInstructionText" value=" - Trinidad Email Demo"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout>
+ <tr:commandLink text="Survey" action="survey" />
+ <tr:outputText styleClass="AFInstructionText" value=" - simple application"/>
+ </tr:panelGroupLayout>
+
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/index.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx Wed Nov 10 08:13:47 2010
@@ -1,61 +1,61 @@
-<?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>
- <html>
- <head>
- <title>Editable form ADF</title>
- <trh:styleSheet/>
- </head>
- <body>
- <tr:form >
- <tr:messages/>
- <tr:panelFormLayout>
- <tr:inputText label="First:" value="1"/>
- <tr:inputText label="Second:" value="2"/>
- <tr:inputText label="Third:" value="3"/>
- <tr:inputText label="Fourth:" value="4"/>
- <tr:inputText label="Fifth:" value="5"/>
- <tr:selectOneRadio label="Radio:" value="3">
- <f:selectItem itemValue="1" itemLabel="1"/>
- <f:selectItem itemValue="2" itemLabel="2"/>
- <f:selectItem itemValue="3" itemLabel="3"/>
- </tr:selectOneRadio>
- <tr:selectOneListbox label="List:" value="2">
- <f:selectItem itemValue="1" itemLabel="1"/>
- <f:selectItem itemValue="2" itemLabel="2"/>
- <f:selectItem itemValue="3" itemLabel="3"/>
- </tr:selectOneListbox>
- <tr:inputText label="Textarea:" value="Long text" rows="5" />
- <tr:selectBooleanCheckbox label="Checked:" selected="true"
- text="True or false"/>
- </tr:panelFormLayout>
- <tr:commandButton text="Submit"/>
- </tr:form>
- </body>
- </html>
- </f:view>
-</jsp:root>
+<?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>
+ <html>
+ <head>
+ <title>Editable form ADF</title>
+ <trh:styleSheet/>
+ </head>
+ <body>
+ <tr:form >
+ <tr:messages/>
+ <tr:panelFormLayout>
+ <tr:inputText label="First:" value="1"/>
+ <tr:inputText label="Second:" value="2"/>
+ <tr:inputText label="Third:" value="3"/>
+ <tr:inputText label="Fourth:" value="4"/>
+ <tr:inputText label="Fifth:" value="5"/>
+ <tr:selectOneRadio label="Radio:" value="3">
+ <f:selectItem itemValue="1" itemLabel="1"/>
+ <f:selectItem itemValue="2" itemLabel="2"/>
+ <f:selectItem itemValue="3" itemLabel="3"/>
+ </tr:selectOneRadio>
+ <tr:selectOneListbox label="List:" value="2">
+ <f:selectItem itemValue="1" itemLabel="1"/>
+ <f:selectItem itemValue="2" itemLabel="2"/>
+ <f:selectItem itemValue="3" itemLabel="3"/>
+ </tr:selectOneListbox>
+ <tr:inputText label="Textarea:" value="Long text" rows="5" />
+ <tr:selectBooleanCheckbox label="Checked:" selected="true"
+ text="True or false"/>
+ </tr:panelFormLayout>
+ <tr:commandButton text="Submit"/>
+ </tr:form>
+ </body>
+ </html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx Wed Nov 10 08:13:47 2010
@@ -1,118 +1,118 @@
-<?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>
- <html>
- <head>
- <title>Editable form JSF</title>
- <style>
-.PlainText { font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;color:#000000}
-.LabelClass {width:37%; text-align:right; padding-right: 6px}
-.FieldClass {width:63%; text-align:left; padding-left: 6px}
-.Prompt { font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;text-align:right;color:#000000}
- </style>
- </head>
- <body>
- <h:form >
- <h:messages/>
- <h:panelGrid width="100%" columns="2"
- border="0" cellpadding="0" cellspacing="0"
- summary=""
- columnClasses="LabelClass,FieldClass">
-
- <h:outputLabel styleClass="Prompt" value="First:" for="inputField"/>
- <h:panelGroup>
- <h:inputText id="inputField" value="1"/>
- <h:message for="inputField"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="Second:" for="inputField2"/>
- <h:panelGroup>
- <h:inputText id="inputField2" value="2"/>
- <h:message for="inputField2"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="Third:" for="inputField3"/>
- <h:panelGroup>
- <h:inputText id="inputField3" value="3"/>
- <h:message for="inputField3"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="Fourth:" for="inputField4"/>
- <h:panelGroup>
- <h:inputText id="inputField4" value="4"/>
- <h:message for="inputField4"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="Fifth:" for="inputField5"/>
- <h:panelGroup>
- <h:inputText id="inputField5" value="5"/>
- <h:message for="inputField5"/>
- </h:panelGroup>
-
- <!-- Use outputText, not label: radios have an implicit label -->
- <h:outputText styleClass="Prompt" value="Radio:"/>
- <h:panelGroup>
- <h:selectOneRadio id="radioButtons" styleClass="PlainText" value="3" layout="pageDirection">
- <f:selectItem itemValue="1" itemLabel="1"/>
- <f:selectItem itemValue="2" itemLabel="2"/>
- <f:selectItem itemValue="3" itemLabel="3"/>
- </h:selectOneRadio>
- <h:message for="radioButtons"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="List:" for="listbox"/>
- <h:panelGroup>
- <h:selectOneListbox value="2" id="listbox">
- <f:selectItem itemValue="1" itemLabel="1"/>
- <f:selectItem itemValue="2" itemLabel="2"/>
- <f:selectItem itemValue="3" itemLabel="3"/>
- </h:selectOneListbox>
- <h:message for="listbox"/>
- </h:panelGroup>
-
- <h:outputLabel styleClass="Prompt" value="Textarea:" for="textarea"/>
- <h:panelGroup>
- <h:inputTextarea id="textarea" value="Long text" rows="5"/>
- <h:message for="textarea"/>
- </h:panelGroup>
-
- <!-- Use outputText, not label: the text after the check is -->
- <!-- the label -->
- <h:outputText styleClass="Prompt" value="Checked:"/>
- <h:panelGroup>
- <h:selectBooleanCheckbox value="true" id="checkbox"/>
- <h:outputLabel styleClass="PlainText"
- for="checkbox" value="True or false"/>
- <h:message for="checkbox"/>
- </h:panelGroup>
- </h:panelGrid>
- <h:commandButton value="Submit"/>
- </h:form>
- </body>
- </html>
- </f:view>
-</jsp:root>
+<?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>
+ <html>
+ <head>
+ <title>Editable form JSF</title>
+ <style>
+.PlainText { font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;color:#000000}
+.LabelClass {width:37%; text-align:right; padding-right: 6px}
+.FieldClass {width:63%; text-align:left; padding-left: 6px}
+.Prompt { font-family:Arial,Helvetica,Geneva,sans-serif;font-size:10pt;font-weight:normal;text-align:right;color:#000000}
+ </style>
+ </head>
+ <body>
+ <h:form >
+ <h:messages/>
+ <h:panelGrid width="100%" columns="2"
+ border="0" cellpadding="0" cellspacing="0"
+ summary=""
+ columnClasses="LabelClass,FieldClass">
+
+ <h:outputLabel styleClass="Prompt" value="First:" for="inputField"/>
+ <h:panelGroup>
+ <h:inputText id="inputField" value="1"/>
+ <h:message for="inputField"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="Second:" for="inputField2"/>
+ <h:panelGroup>
+ <h:inputText id="inputField2" value="2"/>
+ <h:message for="inputField2"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="Third:" for="inputField3"/>
+ <h:panelGroup>
+ <h:inputText id="inputField3" value="3"/>
+ <h:message for="inputField3"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="Fourth:" for="inputField4"/>
+ <h:panelGroup>
+ <h:inputText id="inputField4" value="4"/>
+ <h:message for="inputField4"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="Fifth:" for="inputField5"/>
+ <h:panelGroup>
+ <h:inputText id="inputField5" value="5"/>
+ <h:message for="inputField5"/>
+ </h:panelGroup>
+
+ <!-- Use outputText, not label: radios have an implicit label -->
+ <h:outputText styleClass="Prompt" value="Radio:"/>
+ <h:panelGroup>
+ <h:selectOneRadio id="radioButtons" styleClass="PlainText" value="3" layout="pageDirection">
+ <f:selectItem itemValue="1" itemLabel="1"/>
+ <f:selectItem itemValue="2" itemLabel="2"/>
+ <f:selectItem itemValue="3" itemLabel="3"/>
+ </h:selectOneRadio>
+ <h:message for="radioButtons"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="List:" for="listbox"/>
+ <h:panelGroup>
+ <h:selectOneListbox value="2" id="listbox">
+ <f:selectItem itemValue="1" itemLabel="1"/>
+ <f:selectItem itemValue="2" itemLabel="2"/>
+ <f:selectItem itemValue="3" itemLabel="3"/>
+ </h:selectOneListbox>
+ <h:message for="listbox"/>
+ </h:panelGroup>
+
+ <h:outputLabel styleClass="Prompt" value="Textarea:" for="textarea"/>
+ <h:panelGroup>
+ <h:inputTextarea id="textarea" value="Long text" rows="5"/>
+ <h:message for="textarea"/>
+ </h:panelGroup>
+
+ <!-- Use outputText, not label: the text after the check is -->
+ <!-- the label -->
+ <h:outputText styleClass="Prompt" value="Checked:"/>
+ <h:panelGroup>
+ <h:selectBooleanCheckbox value="true" id="checkbox"/>
+ <h:outputLabel styleClass="PlainText"
+ for="checkbox" value="True or false"/>
+ <h:message for="checkbox"/>
+ </h:panelGroup>
+ </h:panelGrid>
+ <h:commandButton value="Submit"/>
+ </h:form>
+ </body>
+ </html>
+ </f:view>
+</jsp:root>
Propchange: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx?rev=1033391&r1=1033390&r2=1033391&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx Wed Nov 10 08:13:47 2010
@@ -1,226 +1,226 @@
-<?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: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:navigationPane hint="tabs">
- <tr:commandNavigationItem text="tab 1" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="tab 2" action="guide.navigationPane"
- selected="true" />
- <tr:commandNavigationItem text="tab 3" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="tab 4" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="tab 5" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="tab 6" action="guide.navigationPane"
- disabled="true" />
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation2">
- <tr:navigationPane hint="bar">
- <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
- selected="true" />
- <tr:commandNavigationItem text="item 2" action="guide.navigationPane"
- disabled="true" />
- <tr:commandNavigationItem text="item 3" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="item 4" action="guide.navigationPane"/>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation3">
- <tr:navigationPane hint="list">
- <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
- selected="true" />
- <tr:commandNavigationItem text="item 2" action="guide.navigationPane"
- disabled="true" />
- <tr:commandNavigationItem text="item 3" action="guide.navigationPane"/>
- <tr:commandNavigationItem text="item 4" action="guide.navigationPane"/>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons">
- <tr:commandNavigationItem text="help"
- icon="/components/images/globalhelp.gif"
- action="guide.navigationPane"/>
- <tr:commandNavigationItem text="help more"
- icon="/components/images/globalhelp.gif"
- action="guide.navigationPane"/>
- </tr:navigationPane>
- </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="#{demoTree.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>
+<?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: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:navigationPane hint="tabs">
+ <tr:commandNavigationItem text="tab 1" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="tab 2" action="guide.navigationPane"
+ selected="true" />
+ <tr:commandNavigationItem text="tab 3" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="tab 4" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="tab 5" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="tab 6" action="guide.navigationPane"
+ disabled="true" />
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar">
+ <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
+ selected="true" />
+ <tr:commandNavigationItem text="item 2" action="guide.navigationPane"
+ disabled="true" />
+ <tr:commandNavigationItem text="item 3" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="item 4" action="guide.navigationPane"/>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationPane hint="list">
+ <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
+ selected="true" />
+ <tr:commandNavigationItem text="item 2" action="guide.navigationPane"
+ disabled="true" />
+ <tr:commandNavigationItem text="item 3" action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="item 4" action="guide.navigationPane"/>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="help"
+ icon="/components/images/globalhelp.gif"
+ action="guide.navigationPane"/>
+ <tr:commandNavigationItem text="help more"
+ icon="/components/images/globalhelp.gif"
+ action="guide.navigationPane"/>
+ </tr:navigationPane>
+ </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="#{demoTree.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: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx
------------------------------------------------------------------------------
svn:eol-style = native