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/29 07:51:08 UTC
svn commit: r523607 [9/14] - in /incubator/adffaces/trunk/trinidad:
trinidad-assembly/ trinidad-assembly/src/ trinidad-assembly/src/main/
trinidad-assembly/src/main/assembly/ trinidad-assembly/src/main/resources/
trinidad-examples/ trinidad-examples/bl...
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="InputNumberSpinbox 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>InputNumberSpinbox</b>"/>
+ <tr:inputNumberSpinbox binding="#{editor.component}" label="Label" value="2000"
+ minimum="1976" maximum="2010" stepSize="1" onclick="alert('hello');"/>
+ <tr:commandButton text="Submit"/>
+
+ <jsp:directive.include file="editor.jspf" />
+ <tr:inputNumberSpinbox label="With ValidateLongRange" value="2000"
+ minimum="1976" maximum="2010" stepSize="1" shortDesc="enter # between 1976 and 2010">
+ <f:validateLongRange minimum="1976" maximum="2010" />
+ </tr:inputNumberSpinbox>
+ <tr:commandButton text="Submit"/>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,57 @@
+<?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="InputText 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>InputText</b>"/>
+ <tr:inputText binding="#{editor.component}" label="Label" value="Some text"/>
+ <tr:commandButton text="Submit"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>InputText Bound To Date</b>"/>
+ <tr:inputText label="Label2" value="#{date.date1}" autoSubmit="true">
+ <f:convertDateTime dateStyle="long"/>
+ </tr:inputText>
+ <tr:outputText styleClass="AFInstructionText"
+ value="The submitted value was: "/>
+ <tr:outputText value="#{date.date1}"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>InputText with help facet</b>"/>
+ <tr:inputText label="Label3" >
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:inputText>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,58 @@
+<?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="Iterator Demo">
+ <tr:form >
+ <tr:messages/>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Iterated Data with VarStatus</b>"/>
+ <tr:iterator var="row" first="3" rows="3" varStatus="stat"
+ binding="#{editor.component}"
+ value="#{periodicTable.tableData}" >
+ <tr:outputText value="#{stat.count}. Index:#{stat.index} of #{stat.model.rowCount}"/>
+ <tr:inputText label="Element Name" value="#{row.name}"/>
+ <tr:inputText label="Atomic Number" value="#{row.number}"/>
+ <tr:inputText label="Symbol" value="#{row.symbol}"/>
+ <tr:inputText label="Group" value="#{row.group}"/>
+ <tr:separator/>
+ </tr:iterator>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Use the editor to change the range:</b>"/>
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,43 @@
+<?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="ObjectLegend 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:legend binding="#{editor.component}" name="required"/>
+
+ <jsp:directive.include file="editor.jspf" />
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Media 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 objectMedia demo </b>"/>
+ <tr:media source="/components/images/seattle.wmv" innerWidth="160"
+ innerHeight="112" autostart="true" controls="all"
+ shortDesc="Visit Seattle" binding="#{editor.component}"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,58 @@
+<?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="Messages Demo">
+ <tr:form defaultCommand="message">
+ <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>Type 'cat' to see an error message</b>"/>
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" binding="#{editor.component}"
+ inlineStyle="background-color:red">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton id="message" text="Submit"/>
+ </tr:panelGroupLayout>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Messages Demo">
+ <tr:form defaultCommand="messages">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Simple messages demo</b>"/>
+
+ <tr:messages binding="#{editor.component}"/>
+
+ <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 id="messages" text="Submit"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root version="1.2"
+ xmlns:jsp="http://java.sun.com/JSP/Page"
+ 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="navigationPane Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:navigationPane hint="buttons">
+ <tr:commandNavigationItem immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:commandNavigationItem immediate="true" text="Page Hierarchy Demo"
+ action="guide.page"/>
+ <tr:commandNavigationItem immediate="true" text="BreadCrumbs Demo"
+ action="guide.breadCrumbs"/>
+ <tr:commandNavigationItem immediate="true" text="CommandNavigationItem Demo"
+ action="guide.commandNavigationItem"/>
+ <tr:commandNavigationItem immediate="true" text="PanelPage Demo"
+ action="guide.panelPage"/>
+ </tr:navigationPane>
+ <tr:outputFormatted styleUsage="instruction" value="<b>A navigationPane</b>"/>
+ <tr:navigationPane id="menuItemContainer" hint="tabs"
+ binding="#{editor.component}" shortDesc="Select Page">
+ <tr:commandNavigationItem text="Page 1" id="item1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Page 2" id="item2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Page 3" id="item3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Page 4" id="item4" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Page 5" id="item5" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ </tr:navigationPane>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted
+ value="<b>navigationPane with 'bar' hint</b>"/>
+ <tr:navigationPane hint="bar" id="barExample">
+ <tr:commandNavigationItem text="Bar Item 1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Bar Item 2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Bar Item 3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide"
+ immediate="true" action="guide"/>
+ </tr:navigationPane>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted
+ value="<b>navigationPane with 'buttons' hint</b>"/>
+ <tr:panelGroupLayout styleClass="RichPanelPage"
+ inlineStyle="position: relative; height: auto;">
+ <tr:panelGroupLayout styleClass="RichPanelPageNavigationGlobal">
+ <tr:navigationPane hint="buttons" id="buttonsExample">
+ <tr:commandNavigationItem text="Button 1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Button 2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Button 3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide"
+ immediate="true" action="guide"/>
+ </tr:navigationPane>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted
+ value="<b>navigationPane with 'choice' hint</b>"/>
+ <tr:navigationPane hint="choice" id="choiceExample">
+ <tr:commandNavigationItem text="Choice 1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Choice 2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Choice 3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide"
+ immediate="true" action="guide"/>
+ </tr:navigationPane>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted
+ value="<b>navigationPane with 'list' hint</b>"/>
+ <tr:navigationPane hint="list" id="listExample">
+ <tr:commandNavigationItem text="List Item 1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="List Item 2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="List Item 3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide"
+ immediate="true" action="guide"/>
+ </tr:navigationPane>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted
+ value="<b>navigationPane with 'tabs' hint</b>"/>
+ <tr:navigationPane hint="tabs" id="tabsExample">
+ <tr:commandNavigationItem text="Tab 1" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Tab 2" partialSubmit="true"
+ selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Tab 3" partialSubmit="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide"
+ immediate="true" action="guide"/>
+ </tr:navigationPane>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="NavigationTree Demo">
+ <tr:form>
+ <tr:messages/>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Basic NavigationTree</b>"/>
+
+ <tr:navigationTree var="node"
+ value="#{navigationTree}" >
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{node.label}"
+ action="#{node.view}"/>
+ </f:facet>
+ </tr:navigationTree>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx Thu Mar 29 00:50:53 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>
+ <tr:document title="OutputDocument 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 outputDocument</b>"/>
+ <tr:outputDocument binding="#{editor.component}" value="Text that is <b>bold</b>
+and <i>italicized</i>">
+ <f:facet name="title"><tr:outputText value="Title"/></f:facet>
+ <f:facet name="separator"><tr:separator/></f:facet>
+ </tr:outputDocument>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,45 @@
+<?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="OutputFormatted 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 outputFormatted</b>"/>
+ <tr:outputFormatted styleUsage="instruction" binding="#{editor.component}" value="Text that is <b>bold</b> and <i>italicized</i>"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx Thu Mar 29 00:50:53 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>
+ <tr:document title="OutputLabel 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>outputLabel</b>"/>
+ <tr:panelGroupLayout>
+ <tr:outputLabel binding="#{editor.component}" accessKey="S" value="Some text" for="inputId"/>
+ <tr:spacer width="5"/>
+ <tr:inputText simple="true" id="inputId"/>
+ </tr:panelGroupLayout>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="OutputText 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>Plain styled text</b>"/>
+ <tr:outputText binding="#{editor.component}" value="Some text"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Text containing characters needing escaping</b>"/>
+ <tr:outputText value="<b>Some text</b>"/>
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>Text containing characters needing escaping; escape set to "false"</b>"/>
+ <tr:outputText value="<b>Some text</b>" escape="false"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/pageContent_include.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/pageContent_include.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/pageContent_include.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/pageContent_include.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <tr:spacer height="5px"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="In both cases most of the content of the page is in a jsp include, so as you navigate around the content of the pages does not change. This is just for demo purposes, in a real application each page would be defined separately but bind to the same model."/>
+ <tr:panelHeader text="Model Attached to Tree Component">
+ <tr:outputFormatted styleUsage="instruction"
+ value="The tree below is bound to the same model as the page."/>
+ <tr:tree var="foo" value="#{menuModel.model}"
+ focusRowKey="#{menuModel.model.focusRowKey}">
+ <f:facet name="nodeStamp">
+ <tr:commandLink text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:tree>
+ </tr:panelHeader>
+ <tr:panelHeader text="Add a New Page">
+ <tr:outputFormatted styleUsage="instruction"
+ value="You can easily add a new page to this demo by following what's in the .jspx files and faces-config.xml. The steps are:"/>
+ <tr:panelList>
+ <tr:outputFormatted styleUsage="instruction"
+ value="stop the servlet engine"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="create a new .jspx page"/>
+ <tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="In faces-config.xml"/>
+ <tr:panelList>
+ <tr:outputFormatted styleUsage="instruction"
+ value="add a navigation case for the new page"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="using the managed bean facility create a node to add to the menuModel"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="either attach the node created above to a parent node or add it as a root node"/>
+ </tr:panelList>
+ </tr:panelGroupLayout>
+ </tr:panelList>
+ </tr:panelHeader>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1d1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1d1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1d1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c1d1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root 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="Page Hierarchy Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}" icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationTree startLevel="3" var="foo"
+ value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationTree>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction"
+ value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction"
+ value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2d1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2d1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2d1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2d1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root 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="Page Hierarchy Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationPane hint="list" level="3" var="foo"
+ value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction"
+ value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction"
+ value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,28 @@
+<?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"/>
+ <jsp:include page="/components/page_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2c2.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root 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="Page Hierarchy Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationPane hint="list" level="3" var="foo"
+ value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction"
+ value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction"
+ value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,109 @@
+<?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="Page Hierarchy Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction"
+ value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction"
+ value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction"
+ value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>