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 2007/03/07 14:44:48 UTC
svn commit: r515587 [17/19] - in
/incubator/adffaces/branches/matzew-core-1.0.0-incubation: ./ examples/
examples/trinidad-demo/ examples/trinidad-demo/src/
examples/trinidad-demo/src/conf/ examples/trinidad-demo/src/main/
examples/trinidad-demo/src/ma...
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/preferences.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/preferences.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/preferences.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/preferences.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/replyToMessage.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/showMessage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/showMessage.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/showMessage.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/email/showMessage.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/index.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/index.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/index.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/index.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Apache Trinidad Demo Index">
+ <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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/passwordValidator.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/passwordValidator.js?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/passwordValidator.js (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/passwordValidator.js Wed Mar 7 06:44:35 2007
@@ -0,0 +1,58 @@
+/*
+ * 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.
+ */
+
+function passwordValidate(value)
+{
+ if (!value)
+ return null;
+
+ if (value == '******')
+ return null;
+
+ var hasNumber = false;
+
+ for (var i = 0; i < value.length; i++)
+ {
+ var subValue = value.substring(i, i+1);
+
+ if (!isNaN(parseInt(subValue)))
+ {
+ hasNumber = true;
+ break;
+ }
+ }
+
+ if (hasNumber == false)
+ {
+ var facesMessage = new TrFacesMessage(
+ this._messages[PasswordValidator.NUMBER_SUMMARY],
+ this._messages[PasswordValidator.NUMBER_DETAIL],
+ TrFacesMessage.SEVERITY_ERROR)
+ throw new TrValidatorException(facesMessage);
+ }
+
+ return null;
+}
+
+function PasswordValidator(messages)
+ {this._messages = messages;}
+PasswordValidator.prototype = new TrValidator();
+PasswordValidator.prototype.validate = passwordValidate;
+PasswordValidator.NUMBER_DETAIL = 'ND';
+PasswordValidator.NUMBER_SUMMARY = 'NS';
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/ssnConverter.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/ssnConverter.js?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/ssnConverter.js (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/jsLibs/ssnConverter.js Wed Mar 7 06:44:35 2007
@@ -0,0 +1,71 @@
+/*
+ * 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.
+ */
+
+function ssnGetAsString(value, label)
+{
+ return value.substring(0,3) + '-' + value.substring(3,5) + '-' + value.substring(5);
+}
+
+function ssnGetAsObject(value, label)
+{
+ if (!value)return null;
+ var len=value.length;
+ var messageKey = SSNConverter.NOT;
+ if (len < 9 )
+ messageKey = SSNConverter.SHORT;
+ else if (len > 11)
+ messageKey = SSNConverter.LONG;
+ else if (len == 9)
+ { if (!isNaN(value))
+ return value;
+ }
+ else if (len == 11 && value.charAt(3) == '-' &&
+ value.charAt(6) == '-')
+ {
+ var result = value.substring(0,3) + value.substring(4,6) +
+ value.substring(7);
+ if (!isNaN(result))
+ return result;
+ }
+ if (messageKey!=null && this._messages!=null)
+ {
+ // format the detail error string
+ var detail = this._messages[messageKey];
+ if (detail != null)
+ {
+ detail = TrFastMessageFormatUtils.format(detail, label, value);
+ }
+
+ var facesMessage = new TrFacesMessage(
+ this._messages[SSNConverter.SUMMARY],
+ detail,
+ TrFacesMessage.SEVERITY_ERROR)
+ throw new TrConverterException(facesMessage);
+ }
+ return null;
+}
+function SSNConverter(messages)
+ {this._messages = messages;}
+SSNConverter.prototype = new TrConverter();
+SSNConverter.prototype.getAsString = ssnGetAsString;
+SSNConverter.prototype.getAsObject = ssnGetAsObject;
+SSNConverter.SUMMARY = 'SUM';
+SSNConverter.SHORT = 'S';
+SSNConverter.LONG = 'L';
+SSNConverter.NOT = 'N';
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_adf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/editForm_jsf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/multipleComponents_styleMap_adf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +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="#{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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_adf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,54 @@
+<?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>
+ <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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_editable_jsf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,54 @@
+<?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>
+ <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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_adf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,51 @@
+<?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>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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/performance/table_readOnly_jsf.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,67 @@
+<?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>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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/reorderTest.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/reorderTest.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/reorderTest.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/reorderTest.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,48 @@
+<?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="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>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css Wed Mar 7 06:44:35 2007
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+/***
+ the beach skin is defined in beach.css. If you want to add your own
+ custom style classes, you can add it to beach.css or to your own css
+ file, like what we demo here in CustomStyles.css. (this is for example purposes)
+***/
+
+
+/* I set this on the outputText's styleClass attribute */
+.mainContentText
+{
+ font-family: verdana,arial,helvetica,sans-serif; font-size: small;
+}
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/CustomStyles.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css Wed Mar 7 06:44:35 2007
@@ -0,0 +1,450 @@
+/*
+ * 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.
+ */
+
+/** Change the colors to blue/tan like beach's site **/
+
+/** All these styles/icons/properties are overrides of the simple skin */
+
+/** :alias means that this class or icon is not used directly. It is included
+in other component's style selectors or other component's icons. It is
+meant to be a fast way to change styles. The alternative is to style each
+component. **/
+
+.adfFacesDemoSearchPanelGroup .AFLabelText
+{
+ font-weight:bold;
+ font-size:small;
+ color:#ffffff;
+}
+.AFInstructionText
+{
+ font-family: verdana,arial,helvetica,sans-serif;
+ font-size: small;
+}
+.AFDefaultFontFamily:alias
+{
+ font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
+}
+.AFVeryDarkForeground:alias {color:black;}
+.AFDarkForeground:alias {color:blue;}
+.AFDarkBackground:alias {background-color:blue;}
+/** In the base styles, AFDarkBorder uses the background-color of
+ AFDarkBackground for its border color, so no need to set it directly. */
+
+/* make up a color for hovering over menuTabs and menuBars */
+/* put the extension :alias so it won't get written out to the final css file,
+ cuz I know it won't be used directly. Instead it will be included in
+ other style definions using the -tr-rule-ref property. */
+.MyLinkHoverColor:alias { color: #E08D3C; }
+
+
+.AFLinkForeground:alias {color:#003399}
+
+/** BUTTON STYLES. Notice the right to left icons are specified with the
+:rtl pseudo-class. If :rtl icons are not specified, we default to non-:rtl icons. **/
+
+/** use this to color the button background and text **/
+/* bg-color: bluish; color: deep blue */
+.AFButtonServerText:alias {color:#25009E; background-image:url(/skins/purple/images/menuTabsEnabledEnd.gif);}
+/* antialias the text for our disabled buttons */
+.AFButtonServerTextDisabled:alias {background-color:#F0F0F0; color:Gray;-tr-text-antialias:true}
+
+
+.AFButtonStartIcon:alias {content:url(/skins/beach/images/btnStart.gif); width:7px; height:18px}
+
+.AFButtonStartIcon:alias:rtl {content:url(/skins/beach/images/btnEnd.gif); width:7px; height:18px}
+
+.AFButtonEndIcon:alias {content:url(/skins/beach/images/btnEnd.gif); width:7px; height:18px}
+.AFButtonEndIcon:alias:rtl {content:url(/skins/beach/images/btnStart.gif); width:7px; height:18px}
+
+.AFButtonTopBackgroundIcon:alias {content:url(/skins/beach/images/btnTop-bg.gif); width:1px; height:2px}
+.AFButtonTopBackgroundIcon:alias:rtl {content:url(/skins/beach/images/btnTop-bg.gif); width:1px; height:2px}
+
+.AFButtonBottomBackgroundIcon:alias {content:url(/skins/beach/images/btnBottom-bg.gif); width:1px; height:2px}
+.AFButtonBottomBackgroundIcon:alias:rtl {content:url(/skins/beach/images/btnBottom-bg.gif); width:1px; height:2px}
+
+.AFButtonDisabledStartIcon:alias {content:url(/skins/beach/images/btnDisabledStart.gif); width:7px; height:18px}
+.AFButtonDisabledStartIcon:alias:rtl {content:url(/skins/beach/images/btnDisabledEnd.gif); width:7px; height:18px}
+.AFButtonDisabledEndIcon:alias {content:url(/skins/beach/images/btnDisabledEnd.gif); width:7px; height:18px}
+.AFButtonDisabledEndIcon:alias:rtl {content:url(/skins/beach/images/btnDisabledStart.gif); width:7px; height:18px}
+
+.AFButtonDisabledTopBackgroundIcon:alias {content:url(/skins/beach/images/btnDisabledTop-bg.gif); width:1px; height:2px}
+
+.AFButtonDisabledBottomBackgroundIcon:alias {content:url(/skins/beach/images/btnDisabledBottom-bg.gif); width:1px; height:2px}
+
+
+
+/** panelTabbed **/
+/** ---------- **/
+/** .AFPanelTabbed:alias is included in af|panelTabbed::orientation-top and
+ af|panelTabbed::orientation-bottom which are the styles on the table. **/
+.AFPanelTabbed:alias {
+ background-color:#A4CACA;
+ text-align:center;
+}
+/** make the top tab bar have a solid border underneath **/
+af|panelTabbed::orientation-top
+{
+ border-bottom:3px solid #367FA8;border-top:3px solid #367FA8;
+}
+/** make the bottom tab bar have a solid border on top **/
+af|panelTabbed::orientation-bottom
+{
+ border-bottom:3px solid #367FA8;border-top:3px solid #367FA8;
+}
+
+af|panelTabbed::separator {
+ margin-width:4px;
+ border-top: #ADBCC5; solid 4pt ;
+ border-bottom: #ADBCC5; solid 4pt ;
+ BACKGROUND-COLOR: white;
+ PADDING-LEFT: 1px;}
+
+af|panelTabbed::tab {
+ font-weight:bold;
+ font-family:Tahoma;
+ padding:6px 8px;
+}
+
+af|panelTabbed::tab-selected {
+ font-family:Tahoma;
+ padding:6px 8px;
+ text-decoration: none;
+ background-color:white
+}
+
+af|panelTabbed::tab-link {
+ color:white;
+ text-decoration: none;
+}
+
+af|panelTabbed::tab-link:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+
+/* put some space in the
+first cell */
+af|panelTabbed::cell-start {
+ background-color:transparent;
+ padding-left:10px;
+ width:50%;
+}
+af|panelTabbed::cell-end {
+ width:50%;
+}
+/** put some space between the tabs and the body */
+af|panelTabbed::body
+{
+ padding: 10px;
+}
+
+/** panelPage's footer area **/
+/** ----------------------- **/
+.AFFooterMessageText:alias
+{
+ padding:2px 6px;
+}
+
+/** menuTabs **/
+/** -------- **/
+
+
+.AFTabBarItem:alias
+{
+ line-height:100%;
+ text-align:center;
+}
+
+af|menuTabs::enabled
+{
+ border-style:solid;
+ border-color:#EDEDC5;
+ border-width:3px 2px 0px 2px;
+ padding:9px 9px;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/menuTabsEnabledBackground.gif);
+}
+
+af|menuTabs::selected
+{
+ border-style:solid;
+ border-color:#066867;
+ border-width:3px 4px 0px 4px;
+ padding:9px 12px;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/menuTabsSelectedBackground.gif);
+ background-color: #008080;
+}
+
+
+
+
+
+/* Remove the text decoration from all tabBar links */
+.AFTabBarLink:alias
+{
+ text-decoration:none;
+ text-align:center;
+ FONT-SIZE: 11px;
+ LINE-HEIGHT: 11px;
+ FONT-FAMILY: tahoma,sans-serif;
+ COLOR: black;
+}
+af|menuTabs::selected-link
+{
+ COLOR: black;
+}
+af|menuTabs::enabled-link:hover, af|menuTabs::selected-link:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+
+
+
+/** menuBar **/
+/** ------- **/
+af|menuBar
+{
+
+ -tr-rule-ref:selector(".AFDarkBorder:alias");
+ padding: 6px;
+}
+af|menuBar::enabled-link, af|menuBar::selected-link
+{
+ text-decoration:none;
+ text-align:center;
+ FONT-SIZE: 11px; LINE-HEIGHT: 11px; FONT-FAMILY: tahoma,sans-serif;
+}
+
+af|menuBar::body
+{
+ text-align:center;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/menuBar-bg.gif);
+ background-color:#02B0AE;
+}
+
+af|menuBar::enabled-link:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+af|menuBar::separator
+{
+ padding: 0px 2px 0px 2px;
+ color: black;
+}
+.AFTabBarItem:alias
+{
+ border-style:solid;
+ border-color:blue;
+ border-width: 3px 2px 0px 2px;
+ padding:2px 6px;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/menuBar-bg.gif);
+}
+
+
+/** menuButtons **/
+/** ----------- **/
+.AFMenuButtons:alias
+{
+ padding:0px 2px 2px 4px;
+ text-decoration:none;
+}
+
+af|menuButtons::text:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+af|menuButtons::text-selected:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+af|menuButtons::text-disabled:hover
+{
+ -tr-rule-ref:selector(".MyLinkHoverColor:alias");
+}
+
+
+/** panelBox **/
+/* ------------ */
+/* for panelBox with a header */
+.AFPanelBoxBody:alias
+{
+ background-color: white;
+ border-color: #006699;
+ border-style:solid;
+ border-width:1px;
+ margin:2px;
+
+}
+/* for panelBox without a header and shuttles */
+.AFBoxContentBody:alias
+{
+ background-color: white;
+ border-color: #006699;
+ border-style:solid;
+ border-width:1px;
+ margin:2px;
+ padding:5px;
+}
+
+af|panelBox::header
+{
+ padding: 0px 3px;
+ font-weight: bold;
+ font-family: verdana,arial,helvetica,sans-serif;
+ font-size: 10px;
+ text-transform: uppercase;
+ text-decoration: none;
+ color: #FFFFFF;
+ background-color:#008484;
+
+}
+
+
+/** panelHeader **/
+/** ----------- **/
+af|panelHeader
+{
+ margin-bottom:3px;
+ padding:0px 3px;
+
+}
+.AFHeaderLevelOne
+{
+ font-weight:bold;
+ font-size:large;
+ font-family: verdana,arial,helvetica,sans-serif;
+ color: #266D9A;
+ padding: 10px 2px;
+}
+
+
+/** train **/
+/** ------------ **/
+/** We override the AFTrainStation alias style to add some
+ padding, and also to display the station indicator
+ using a top border **/
+.AFTrainStation:alias
+{
+ border-style:solid;
+ border-width:3px 0px 0px 0px;
+ padding:3pt;
+}
+
+/** selectBooleanCheckbox **/
+/** --------------------- **/
+af|selectBooleanCheckbox::read-only-unchecked-icon
+{
+ content:url(/skins/beach/images/checkrn.gif);
+}
+af|selectBooleanCheckbox::read-only-checked-icon
+{
+ content:url(/skins/beach/images/checkrc.gif);
+}
+
+af|selectBooleanCheckbox::disabled-only-unchecked-icon
+{
+ content:url(/skins/beach/images/checkdn.gif);
+}
+af|selectBooleanCheckbox::disabled-only-checked-icon
+{
+ content:url(/skins/beach/images/checkdc.gif);
+}
+
+/* use special properties to change the ui **/
+/* don't show the last item in breadCrumbs (the default is to show it)*/
+af|breadCrumbs {-tr-show-last-item:false}
+
+/** if, for some reason, you don't want an icon to show up, you
+ can hide it like this (this feature will be more useful when skins can
+ extends other skins besides simple)
+
+af|breadCrumbs::separator-icon {content:inhibit}
+*/
+
+.AFHeaderErrorIcon:alias
+{
+ content:url(/skins/beach/images/errorl.gif); width:18px; height: 18px;
+
+}
+
+af|messages
+{
+ -tr-rule-ref: selector(".AFVeryDarkAccentBorder:alias");
+ border-style:solid;
+ border-width:1px;
+ padding:5px;
+ margin:5px 0px 0px;
+}
+
+af|messages::header
+{
+ -tr-rule-ref: selector(".AFDarkAccentBorder:alias");
+ border-width:0px 0px 1px 0px;
+ border-style:solid;
+ vertical-align:bottom;
+ margin-bottom:3px;
+ padding:0px 3px;
+}
+
+.AFHeaderText:alias
+{
+ -tr-rule-ref: selector(".AFDarkForeground:alias");
+ font-weight:bold;
+ padding: 0px;
+ margin: 0px;
+}
+
+/* custom styles that I made up and set on the styleClass attribute of various
+Trinidad components */
+.adfFacesDemoSearchPanelGroup
+{
+ width:100%;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/searchPanelGroup-bg.gif);
+ padding:6px 6px 6px 26px;
+ background-color: #a4caca;
+}
+
+.welcomePanel
+{
+ padding-left:50px;
+ width:100%;
+ background-color:#EDEDC5;
+ margin-bottom:10px;
+ padding-bottom:5px; padding-top:5px;
+ background-image:url(/adf-faces-demo-context-root/skins/beach/images/menuTabsEnabledBackground.gif);
+
+
+}
+.tabsPanelGroup
+{
+ text-align:right;
+ width:90%;
+}
+.panelBoxHeader
+{
+ font-family: verdana,arial,helvetica,sans-serif;
+ color:brown;
+ font-weight:bold;
+ font-size:small;
+}
+
+af|panelFormLayout::label-cell
+{
+ -tr-rule-ref: selector(".AFStartTextAlign:alias");
+}
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/beach.css
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnBottom-bg.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnBottom-bg.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnBottom-bg.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledBottom-bg.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledBottom-bg.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledBottom-bg.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledEnd.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledEnd.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledEnd.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledStart.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledStart.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledStart.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledTop-bg.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledTop-bg.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnDisabledTop-bg.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnEnd.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnEnd.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnEnd.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnStart.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnStart.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnStart.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnTop-bg.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnTop-bg.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/btnTop-bg.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdc.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdc.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdc.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdn.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdn.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkdn.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkrc.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkrc.gif?view=auto&rev=515587
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/skins/beach/images/checkrc.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream