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 [12/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/components/panelLabelAndMessage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="PanelLabelAndMessage Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>PanelLabelAndMessage</b>"/>
+ <tr:panelLabelAndMessage for="foo" label="Label"
+ labelStyle="vertical-align: top;" binding="#{editor.component}">
+ <f:facet name="end">
+ <tr:outputText value="End facet text"/>
+ </f:facet>
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ <tr:inputText simple="true" id="foo"/>
+ </tr:panelLabelAndMessage>
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelList.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelList.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelList.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelList.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="PanelList Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>A basic bulleted List </b>"/>
+ <tr:panelList binding="#{editor.component}">
+ <tr:commandLink text="item 1" action="action.nothing" />
+ <tr:commandLink text="item 2" action="action.nothing" />
+ <tr:commandLink text="item 3" action="action.nothing" />
+ <tr:commandLink text="item 4" action="action.nothing" />
+ </tr:panelList>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>A bulleted List where rows is 2</b>"/>
+ <tr:panelList rows="2">
+ <tr:commandLink text="item 1" action="action.nothing" />
+ <tr:commandLink text="item 2" action="action.nothing" />
+ <tr:commandLink text="item 3" action="action.nothing" />
+ <tr:commandLink text="item 4" action="action.nothing" />
+ </tr:panelList>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>A bulleted List where rows is 2 and maxColumns is 1</b>"/>
+ <tr:panelList rows="2" maxColumns="1">
+ <tr:commandLink text="item 1" action="action.nothing" />
+ <tr:commandLink text="item 2" action="action.nothing" />
+ <tr:commandLink text="item 3" action="action.nothing" />
+ <tr:commandLink text="item 4" action="action.nothing" />
+ </tr:panelList>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Nested bulleted List</b>" />
+ <tr:panelList rows="1" maxColumns="1">
+ <tr:panelGroupLayout>
+ <tr:commandLink text="item 1" action="action.nothing" />
+ <tr:panelList rows="2" maxColumns="2">
+ <tr:commandLink text="item 1.1" action="action.nothing" />
+ <tr:commandLink text="item 1.2" action="action.nothing" />
+ </tr:panelList>
+ </tr:panelGroupLayout>
+ </tr:panelList>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Another nested bulleted List</b>" />
+ <tr:panelList rows="1" maxColumns="1">
+ <tr:panelGroupLayout>
+ <tr:commandLink text="item 1" action="action.nothing" />
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout>
+ <tr:commandLink text="item 2" action="action.nothing" />
+ <tr:panelList rows="2" maxColumns="2">
+ <tr:commandLink text="item 2.1" action="action.nothing" />
+ <tr:commandLink text="item 2.2" action="action.nothing" />
+ </tr:panelList>
+ </tr:panelGroupLayout>
+ </tr:panelList>
+
+ </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/components/panelPage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPage.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPage.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPage.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="PanelPage Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>basic panelPage </b>"/>
+ <tr:panelPage binding="#{editor.component}">
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" shortDesc="Select tab">
+ <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:commandNavigationItem text="Disabled"
+ icon="/components/images/globalhelp.gif"
+ action="guide.navigationPane" disabled="true"/>
+ <tr:commandNavigationItem text="Disabled"
+ icon="/components/images/globalhelp.gif"
+ action="guide.navigationPane" disabled="true"/>
+ </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>
+
+ <jsp:directive.include file="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/components/panelPageHeader.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="PanelPageHeader Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelPageHeader demo </b>"/>
+ <tr:panelPageHeader binding="#{editor.component}">
+ <f:facet name="branding">
+ <tr:panelGroupLayout>
+ <tr:image source="/components/images/corporateBrand.gif"
+ shortDesc="corporate"/>
+ <tr:outputFormatted value="Customer <b>InContextBranding Company - Menlo Park</b>"
+ styleUsage="inContextBranding"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem text="Help"
+ icon="/components/images/globalhelp.gif"
+ action="guide.commandGloablButton"/>
+ <tr:commandNavigationItem text="Help 2"
+ icon="/components/images/globalhelp.gif"
+ action="guide.commandGloablButton"/>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" >
+ <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
+ selected="true" />
+ </tr:navigationPane>
+ </f:facet>
+ </tr:panelPageHeader>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="panelPartialRoot Demo"/>
+ <tr:panelPartialRoot>
+ <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="The panelPartialRoot component simply sets the page up for partial page rendering without an &lt;trh:body&gt; or &lt;tr:document&gt;"/>
+ <trh:tableLayout width="80%">
+ <trh:rowLayout>
+ <tr:inputText autoSubmit="true"
+ id="input1"
+ value="#{sessionScope['pprTest']}"
+ label="Enter text here and tab out: "
+ valueChangeListener="#{partialDemoUtil.valueChanged}"/>
+ <tr:panelLabelAndMessage label="You entered: ">
+ <tr:outputFormatted id="itTarget"
+ styleUsage="instruction"
+ partialTriggers="input1"
+ value="#{sessionScope['pprTest']}" />
+ </tr:panelLabelAndMessage>
+ </trh:rowLayout>
+ </trh:tableLayout>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:panelPartialRoot>
+ </trh:html>
+ </f:view>
+</jsp:root>
\ No newline at end of file
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="panelRadio Demo">
+ <tr:form>
+
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true"
+ text="Component Guide"
+ action="guide"/>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b> A panelRadio component - takes default selection among showDetailItem children</b>"/>
+
+ <tr:panelRadio binding="#{editor.component}"
+ alignment="center"
+ position="start"
+ id="someId"
+ label="Sales Data">
+
+ <tr:showDetailItem id="showDetailItem2"
+ text="Monthly Sales Distribution"
+ accessKey="M">
+ <tr:panelHeader text="Monthly Sales Distribution">
+ <tr:image source="images/monthlySalesDistribution.gif"
+ shortDesc="Koenigsegg CCR"
+ inlineStyle="height:200px; width:300px;"
+ id="monthlySalesImage"/>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+
+ <tr:showDetailItem id="showDetailItem3"
+ text="Sales by Geography"
+ accessKey="S">
+ <tr:panelHeader text="Sales by Geography">
+ <tr:image source="images/salesByGeography.gif"
+ inlineStyle="height:200px; width:300px;"
+ id="salesByGeographyImage"
+ shortDesc="Sales information"/>
+
+ </tr:panelHeader>
+ </tr:showDetailItem>
+
+ <tr:showDetailItem text="This page data"
+ accessKey="T"
+ disclosureListener="#{toggle.onDisclosure}">
+ <tr:panelHeader text="Page refresh status">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true"
+ label="Label 1-1"
+ value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+
+ <tr:inputText readOnly="true"
+ styleClass="AFDataText"
+ value="You have shown/ hidden this page data option a total of #{toggle.totalCount} times"/>
+
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+
+ </tr:panelRadio>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A standard panelRadio component - Update its properties from the table below </b>"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last full page refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+
+ </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/components/panelSideBar.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="PanelSideBar Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
+ <tr:panelSideBar binding="#{editor.component}">
+ <tr:panelList>
+ <tr:commandLink text="item 1" action="guide.commandLink" />
+ <tr:commandLink text="item 2" action="guide.commandLink" />
+ <tr:commandLink text="item 3" action="guide.commandLink" />
+ </tr:panelList>
+ </tr:panelSideBar>
+
+ <jsp:directive.include file="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/components/panelTabbed.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="panelTabbed Demo">
+ <tr:form>
+
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b> A panelTabbed component with position set to 'above' and takes default selection among showDetailItem children</b>"/>
+ <tr:panelTabbed position="above">
+ <tr:showDetailItem text="Tab 1" disabled="true"/>
+ <tr:showDetailItem text="Tab 2">
+ <tr:panelHeader text="Header 2">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 3">
+ <tr:panelHeader text="Header 3">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 4">
+ <tr:panelHeader text="Header 4">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 4-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 5">
+ <tr:panelHeader text="Header 5">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ </tr:panelTabbed>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>A standard panelTabbed component - Update its properties from the table below </b>"/>
+ <tr:panelTabbed binding="#{editor.component}">
+ <tr:showDetailItem text="Tab 1">
+ <tr:panelHeader text="Header 1">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 1-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 2">
+ <tr:panelHeader text="Header 2">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 3" disclosed="true">
+ <tr:panelHeader text="Header 3">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 4" disabled="true"/>
+ <tr:showDetailItem text="Tab 5">
+ <tr:panelHeader text="Header 5">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+ styleClass="AFDataText"/>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last partial refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ </tr:panelTabbed>
+
+ <jsp:directive.include file="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/components/panelTip.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTip.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTip.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/panelTip.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="PanelTip Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:panelTip binding="#{editor.component}">
+ <tr:goLink text="link inside panelTip"
+ destination="http://www.apache.org"/>
+ </tr:panelTip>
+
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Poll Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide" actionListener="#{poll.resetPoll}"/>
+
+ <tr:commandButton text="Submit"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:poll binding="#{editor.component}" interval="2000"
+ pollListener="#{poll.onPoll}" id="pollid"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Poll component with a poll listener that updates the poll count</b>"/>
+ </tr:panelGroupLayout>
+ <tr:inputText readOnly="true"
+ label="Date/Time from last full page refresh"
+ value="#{date.currentDate}"
+ styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText linked to Poll component being updated in partial page mode</b>"/>
+ <tr:inputText readOnly="true" label="Poll Count: "
+ value="#{poll.pollCount}"
+ styleClass="AFDataText" partialTriggers="pollid"/>
+ </tr:panelGroupLayout>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelHeader text="When modal dialogs are launched from the
+ following components, poll pauses until the dialog is dismissed"/>
+ <f:facet name="separator">
+ <tr:spacer height="5"/>
+ </f:facet>
+ <tr:inputColor id="sic3" label="The color picker dialog"
+ value="#{color.colorValue3}" compact="true"/>
+ <tr:inputDate id="sid1" value="#{date.date1}"
+ label="The date picker dialog"/>
+ <tr:commandButton text="Using dialog framework"
+ action="dialog:simpleDialog" useWindow="true"
+ windowWidth="150" windowHeight="150"
+ immediate="true" partialSubmit="true"/>
+ <tr:goButton
+ text="Using openWindow() API in Trinidad Javascript library"
+ onclick="openWindow(window,'poll_window_page.jspx','',{width:200, height:100},true,'dialog','');"/>
+ </tr:panelGroupLayout>
+
+ <jsp:directive.include file="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/components/poll_window_page.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll_window_page.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll_window_page.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/poll_window_page.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Apache Logo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:image
+ source="http://www.apache.org/images/asf_logo_wide.gif"
+ shortDesc="Apache Logo"/>
+ </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/components/processChoiceBar.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="processChoiceBar Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Step 1 -- processChoiceBar with navigation</b>"/>
+
+ <tr:processChoiceBar binding="#{editor.component}"
+ var="foo" value="#{processMenuModel}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processMenuModel.immediate}"
+ disabled="#{processMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar2.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="processChoiceBar Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Step 2 -- processChoiceBar with navigation</b>"/>
+
+ <tr:processChoiceBar var="foo"
+ value="#{processMenuModel}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processMenuModel.immediate}"
+ disabled="#{processMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+ </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/components/processChoiceBar3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/processChoiceBar3.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="processChoiceBar Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Step 3 -- processChoiceBar with navigation</b>"/>
+
+ <tr:processChoiceBar var="foo" value="#{processMenuModel}"
+ shortDesc="Select step">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processMenuModel.immediate}"
+ disabled="#{processMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressEnd.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Task Ended">
+ <tr:form>
+ <tr:panelPage>
+ <tr:panelHeader text="Background Task #{param.taskStatus}">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:commandLink immediate="true" text="Feature Demos"
+ action="demos"/>
+ </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/components/progressIndicator.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/progressIndicator.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="ProgressIndicator Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide" actionListener="#{progress.cancelProcess}"/>
+
+ <tr:commandButton text="Submit"/>
+
+ <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+ value="#{date.currentDate}" styleClass="AFDataText">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>ProgressIndicator component linked to a Poll
+ component - Navigates to a different page once the background
+ task is complete</b>"/>
+ <tr:poll interval="2000" id="pollid"/>
+ <tr:progressIndicator binding="#{editor.component}" id="progressid"
+ action="progressEnd" value="#{progress.progressModel}"
+ partialTriggers="pollid">
+ <tr:outputFormatted styleUsage="instruction"
+ value="Task status not known"
+ rendered="#{progress.progressModel.value == -1 or progress.progressModel.value == -1}"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="#{progress.progressModel.value} of #{progress.progressModel.maximum} files copied"
+ rendered="#{progress.progressModel.value > -1 and progress.progressModel.value > -1}"/>
+ </tr:progressIndicator>
+ </tr:panelGroupLayout>
+
+ <tr:commandButton text="Cancel" action="progressCancel"
+ actionListener="#{progress.cancelProcess}"/>
+
+ <jsp:directive.include file="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/components/regions/stock.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/regions/stock.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <tr:componentDef var="stuff">
+ <tr:panelBox text="Symbol:#{stuff.symbol} Company:#{stuff.company}">
+ <tr:outputText value="#{stuff.description}"/>
+ <tr:outputFormatted
+ value="<br>Current Value:<b>$#{stuff.amount}</b>"/>
+ <tr:outputFormatted rendered="#{not empty bindings}"
+ value="<br>Value attribute is:#{bindings}"/>
+ <tr:facetRef facetName="action"/>
+ </tr:panelBox>
+ </tr:componentDef>
+</jsp:root>
Added: incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/resetButton.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/resetButton.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/resetButton.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/resetButton.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="ResetButton Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Simple ResetButton </b>"/>
+ <tr:inputText value="some text" shortDesc="Enter text"/>
+ <tr:resetButton binding="#{editor.component}" text="Reset"/>
+
+ <jsp:directive.include file="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/components/selectBooleanCheckbox.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanCheckbox.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectBooleanCheckbox Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SelectBooleanCheckbox</b>"/>
+ <tr:selectBooleanCheckbox binding="#{editor.component}"
+ label="Label" text="item" value="#{data.boolean}"/>
+ <tr:commandButton text="Submit" />
+
+ <jsp:directive.include file="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/components/selectBooleanRadio.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectBooleanRadio.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="SelectBooleanRadio Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SelectBooleanRadio</b>"/>
+ <tr:panelFormLayout>
+ <tr:selectBooleanRadio group="theGroup" selected="true" binding="#{editor.component}" label="Label" text="item"
+ autoSubmit="true"
+ onclick="alert('hi'); return true;"/>
+ <tr:selectBooleanRadio group="theGroup" text="item 2" />
+ <tr:selectBooleanRadio group="theGroup" text="item 3" />
+ </tr:panelFormLayout>
+ <tr:commandButton text="Submit"/>
+
+ <jsp:directive.include file="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/components/selectItem.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectItem.jspx?view=auto&rev=515587
==============================================================================
--- incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectItem.jspx (added)
+++ incubator/adffaces/branches/matzew-core-1.0.0-incubation/examples/trinidad-demo/src/main/webapp/components/selectItem.jspx Wed Mar 7 06:44:35 2007
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="SelectItem Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>SelectOneChoice</b>"/>
+
+ <tr:selectOneChoice label="Label" >
+ <tr:selectItem binding="#{editor.component}" label="First" value="1"/>
+ <tr:selectItem label="Second" value="2"/>
+ <tr:selectItem label="Third" value="3"/>
+ </tr:selectOneChoice>
+ <tr:commandButton text="Submit"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>