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 [10/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/b...
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b1.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,81 @@
+<?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:page var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}" icon="#{foo.ico}"/>
+ </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>'page'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ <tr:commandButton text="Start Process" action="guide.page_p1"/>
+ </tr:page>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a2b2.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,29 @@
+<?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_a3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a3.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a3.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a3.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_a4.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a4.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a4.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a4.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,102 @@
+<?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="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_include.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_include.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_include.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_include.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,82 @@
+<?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:page var="foo" value="#{menuModel.model}"
+ shortDesc="Select Tab">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </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>'page'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:page>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p1.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p1.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p1.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p1.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_process_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p2.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p2.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p2.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p2.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_process_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p3.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p3.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p3.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p3.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_process_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p4.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p4.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p4.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_p4.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_process_include.jspx"/>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_process_include.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_process_include.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_process_include.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/page_process_include.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,101 @@
+<?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:page var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ <f:facet name="location">
+ <tr:train var="foo" value="#{processPageMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem
+ text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processPageMenuModel.immediate}"
+ disabled="#{processPageMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </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>'page'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ <tr:processChoiceBar var="foo" shortDesc="Select step" value="#{processPageMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}"
+ action="#{foo.getOutcome}"
+ immediate="#{processPageMenuModel.immediate}"
+ disabled="#{processPageMenuModel.readOnly}"/>
+ </f:facet>
+ </tr:processChoiceBar>
+ </tr:page>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBorderLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBorderLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBorderLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBorderLayout.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,102 @@
+<?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="PanelBorder 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 panelBorder</b>"/>
+ <tr:panelBorderLayout binding="#{editor.component}">
+ <f:facet name="top" >
+ <f:verbatim>
+ <table width="100%" >
+ <tr>
+ <td height="30pt" align="center"
+ style="background-color:yellow;" >
+ top
+ </td>
+ </tr>
+ </table>
+ </f:verbatim>
+ </f:facet>
+ <f:facet name="left" >
+ <f:verbatim>
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:pink;" >
+ left
+ </td>
+ </tr>
+ </table>
+ </f:verbatim>
+ </f:facet>
+ <f:facet name="right" >
+ <f:verbatim>
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:pink;" >
+ right
+ </td>
+ </tr>
+ </table>
+ </f:verbatim>
+ </f:facet>
+ <f:facet name="bottom" >
+ <f:verbatim>
+ <table width="100%" >
+ <tr>
+ <td height="30pt" align="center"
+ style="background-color:yellow;" >
+ bottom
+ </td>
+ </tr>
+ </table>
+ </f:verbatim>
+ </f:facet>
+ <f:verbatim>
+ <table width="100%" >
+ <tr>
+ <td height="30pt" align="center" >
+ contents
+ </td>
+ </tr>
+ </table>
+ </f:verbatim>
+ </tr:panelBorderLayout>
+
+ <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/panelBox.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBox.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBox.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelBox.jspx Thu Mar 29 00:50:53 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="PanelBox 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 panelBox</b>"/>
+ <tr:panelBox binding="#{editor.component}" icon="/adf/images/info.gif" text="container header">
+ <tr:panelList>
+ <tr:goLink text="item 1" destination="http://www.apache.org"/>
+ <tr:goLink text="item 2" destination="http://www.apache.org"/>
+ <tr:goLink text="item 3" destination="http://www.apache.org"/>
+ <tr:goLink text="item 4" destination="http://www.apache.org"/>
+ </tr:panelList>
+ </tr:panelBox>
+
+ <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/panelButtonBar.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelButtonBar.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelButtonBar.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelButtonBar.jspx Thu Mar 29 00:50:53 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="PanelButtonBar 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>panelButtonBar demo </b>"/>
+ <tr:panelButtonBar binding="#{editor.component}">
+ <tr:commandButton text="button 1" action="guide.table"/>
+ <tr:commandButton text="button 2" action="guide.tree"/>
+ <tr:singleStepButtonBar selectedStep="4" maxStep="5"
+ previousAction="#{action.app1}"
+ nextAction="#{action.app2}"/>
+ </tr:panelButtonBar>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelChoice.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelChoice.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelChoice.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelChoice.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns: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="panelChoice 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 panelChoice component - takes default selection among showDetailItem children</b>"/>
+
+ <tr:panelChoice binding="#{editor.component}"
+ alignment="center"
+ position="start"
+ id="someId"
+ label="Sales Data"
+ accessKey="S">
+
+ <tr:showDetailItem id="showDetailItem2"
+ text="Monthly Sales Distribution">
+
+ <tr:panelHeader text="Monthly Sales Distribution">
+ <tr:image source="images/monthlySalesDistribution.gif"
+ inlineStyle="height:200px; width:300px;"
+ id="monthlySalesImage"
+ shortDesc="Monthly sales distribution"/>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+
+ <tr:showDetailItem id="showDetailItem3"
+ text="Sales by Geography">
+ <tr:panelHeader text="Sales by Geography">
+ <tr:image source="images/salesByGeography.gif"
+ shortDesc="Sales by Geography"
+ inlineStyle="height:200px; width:300px;"
+ id="salesByGeographyImage"/>
+
+ </tr:panelHeader>
+ </tr:showDetailItem>
+
+ <tr:showDetailItem text="This page data"
+ 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:panelChoice>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A standard panelChoice 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/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelFormLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelFormLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelFormLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelFormLayout.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,114 @@
+<?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"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad"
+ version="1.2">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="PanelFormLayout 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:outputText
+ value="This is a test case for the core panelFormLayout component."/>
+ <tr:panelFormLayout binding="#{editor.component}" rows="5"
+ labelWidth="33%" fieldWidth="67%">
+ <tr:inputText columns="5" label="label 1">
+ <f:facet name="help">
+ <tr:outputText value="Enter an integer."/>
+ </f:facet>
+ </tr:inputText>
+ <tr:group>
+ <tr:inputText columns="5" label="group item 1"/>
+ <tr:inputText columns="5" label="group item 2"/>
+ <tr:inputText columns="5" label="group item 3"/>
+ </tr:group>
+ <tr:inputDate id="df1" label="label 2"/>
+ <tr:panelLabelAndMessage rendered="true" label="label 3">
+ <tr:commandButton text="Submit"/>
+ </tr:panelLabelAndMessage>
+ <tr:selectManyListbox id="rs" label="label 4"
+ shortDesc="Select Option">
+ <tr:selectItem label="option 1"/>
+ <tr:selectItem label="option 2"/>
+ <tr:selectItem label="option 3"/>
+ <tr:selectItem label="option 4"/>
+ </tr:selectManyListbox>
+ <tr:panelLabelAndMessage label="label 5">
+ <f:facet name="help">
+ <tr:outputText value="tip 5"/>
+ </f:facet>
+ <tr:commandButton text="Hello World" partialSubmit="true"/>
+ </tr:panelLabelAndMessage>
+ <tr:inputText rows="2" label="label 6" secret="true"/>
+ <tr:selectBooleanRadio id="rb" group="rbGroup" shortDesc="Label 7"
+ label="label 7"/>
+ <tr:selectBooleanCheckbox shortDesc="label 8" label="label 8"/>
+ <tr:inputText styleClass="AFDataText" label="label 9" value="hi"
+ readOnly="true"/>
+ <tr:inputText styleClass="AFDataText" label="label 10"
+ value="hi again" readOnly="true"/>
+ <tr:panelLabelAndMessage label="label 11">
+ <tr:selectBooleanCheckbox shortDesc="option 1" label="option 1"/>
+ <tr:panelFormLayout>
+ <tr:inputText styleClass="AFDataText" label="sub item 1" value="hello"/>
+ <tr:inputText styleClass="AFDataText" label="sub item 2" value="world"/>
+ <tr:selectOneChoice label="sub item 3">
+ <tr:selectItem label="coffee" value="bean"
+ shortDesc="Coffee from Kona"/>
+ <f:selectItem itemLabel="tea" itemValue="leaf"
+ itemDescription="Tea from China"/>
+ <tr:selectItem label="milk" value="moo" rendered="false"/>
+ <f:selectItems value="#{demoInput.selectItems}"/>
+ </tr:selectOneChoice>
+ </tr:panelFormLayout>
+ <tr:selectBooleanCheckbox shortDesc="option 2" label="option 2"/>
+ <tr:selectBooleanCheckbox shortDesc="option 3" label="option 3"/>
+ </tr:panelLabelAndMessage>
+ <f:facet name="footer">
+ <tr:group>
+ <tr:inputText rows="2" label="footer item 1"/>
+ <tr:group>
+ <tr:inputText columns="5" label="footer group item 1"/>
+ <tr:inputText columns="5" label="footer group item 2"/>
+ <tr:inputText columns="5" label="footer group item 3"/>
+ </tr:group>
+ <tr:panelHorizontalLayout>
+ <f:facet name="separator">
+ <tr:spacer width="10"/>
+ </f:facet>
+ <tr:commandButton text="Page 1" partialSubmit="true"/>
+ <tr:commandButton text="Page 2" partialSubmit="true"/>
+ </tr:panelHorizontalLayout>
+ </tr:group>
+ </f:facet>
+ </tr:panelFormLayout>
+ <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/panelGroupLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx Thu Mar 29 00:50:53 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="PanelGroup 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>panelGroup</b>"/>
+ <tr:panelGroupLayout binding="#{editor.component}" layout="default">
+ <f:facet name="separator">
+ <f:verbatim>
+ <span style="background-color:lightblue;">separator </span>
+ </f:verbatim>
+ </f:facet>
+ <tr:outputText value="One"/>
+ <tr:outputText value="Two"/>
+ <tr:outputText value="Three"/>
+ </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/panelHeader.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.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>
+ <trh:html>
+ <trh:head title="PanelHeader 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>Simple nested panelHeader </b>"/>
+ <tr:panelHeader text="panelHeader 1" binding="#{editor.component}">
+ <tr:panelHeader text="panelHeader 2"/>
+ </tr:panelHeader>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,70 @@
+<?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="PanelHorizontal 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>panelHorizontal</b>"/>
+ <tr:panelHorizontalLayout valign="top" halign="end" binding="#{editor.component}" >
+ <f:facet name="separator">
+ <tr:outputText value="SEPARATOR"/>
+ </f:facet>
+ <tr:panelBox>
+ <tr:panelList >
+ <tr:outputText value="The start hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ <tr:outputText value="hello"/>
+ </tr:panelList>
+ </tr:panelBox>
+ <tr:outputText value="The middle"/>
+ <tr:panelBox>
+ <tr:outputText value="The end goodbye"/>
+ <tr:outputText value="goodbye"/>
+ <tr:outputText value="goodbye"/>
+ </tr:panelBox>
+ </tr:panelHorizontalLayout>
+ <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/panelLabelAndMessage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx Thu Mar 29 00:50:53 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/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx Thu Mar 29 00:50:53 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/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx Thu Mar 29 00:50:53 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/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx Thu Mar 29 00:50:53 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/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPartialRoot.jspx Thu Mar 29 00:50:53 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