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 [8/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/componentRef.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/componentRef.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/componentRef.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/componentRef.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>
+ <trh:html>
+ <trh:head title="Region Tag 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:outputText value="This demo uses three regions:"/>
+
+ <tr:componentRef id="reg1" componentType="org.apache.myfaces.trinidaddemo.region.stock"
+ value="Watch this stock">
+ <f:attribute name="symbol" value="XYZ"/>
+ <f:attribute name="company" value="XYZ Incorp"/>
+ <f:attribute name="amount" value="13.66"/>
+ <f:facet name="action">
+ <tr:commandButton text="Buy" disabled="true"/>
+ </f:facet>
+ </tr:componentRef>
+
+ <tr:componentRef id="reg2" componentType="org.apache.myfaces.trinidaddemo.region.stock">
+ <f:attribute name="symbol" value="PQR"/>
+ <f:attribute name="company" value="PQR Corp"/>
+ <f:attribute name="description" value="Power and Utilities"/>
+ <f:attribute name="amount" value="26.32"/>
+ <f:facet name="action">
+ <tr:commandButton text="Short" disabled="true"/>
+ </f:facet>
+ </tr:componentRef>
+
+ <tr:componentRef id="reg3" componentType="org.apache.myfaces.trinidaddemo.region.stock">
+ <f:attribute name="symbol" value="DFLT"/>
+ </tr:componentRef>
+
+ </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/editor.jspf
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/editor.jspf?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/editor.jspf (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/editor.jspf Thu Mar 29 00:50:53 2007
@@ -0,0 +1,52 @@
+ <tr:table var="row" rows="100" value="#{editor.attributes}"
+ summary="Attributes">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Value"/>
+ </f:facet>
+ <tr:inputText immediate="true"
+ readOnly="#{row.name == 'value' ||
+ row.name == 'var' ||
+ row.name == 'currencyKey' ||
+ row.name == 'currencyString' ||
+ row.name == 'rowKey' ||
+ row.name == 'id' ||
+ row.name == 'rendererType' ||
+ row.name == 'submittedValue'}"
+ rendered="#{row.type == 'string'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'"/>
+ <tr:inputText immediate="true"
+ readOnly="#{row.name == 'rowIndex'}"
+ rendered="#{row.type == 'integer'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'">
+ <f:converter converterId="javax.faces.Integer"/>
+ </tr:inputText>
+ <tr:inputText immediate="true"
+ rendered="#{row.type == 'date'}"
+ value="#{row.value}"
+ shortDesc="Type to change '#{row.name}'">
+ <f:facet name="help">
+ <tr:outputText value="Sample format: 2004-07-15"/>
+ </f:facet>
+ <f:convertDateTime pattern="yyyy-MM-dd"/>
+ </tr:inputText>
+ <tr:selectBooleanCheckbox rendered="#{row.type == 'boolean'}"
+ readOnly="#{row.name == 'localValueSet' ||
+ row.name == 'valid' ||
+ row.name == 'transient'}"
+ immediate="true" value="#{row.value}"
+ shortDesc="Click to change '#{row.name}'"/>
+ </tr:column>
+ <f:facet name="footer">
+ <tr:commandButton text="Update"
+ action="#{editor.update}"/>
+ </f:facet>
+ </tr:table>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/form.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/form.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/form.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/form.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,63 @@
+<?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="Form Demo"/>
+ <trh:body>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Multiple form test </b>"/>
+ <tr:form defaultCommand="first" binding="#{editor.component}">
+
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="This is the first form; submit it and changes in the second form will be lost."/>
+ <tr:inputText label="First form, First Field:" shortDesc="Field 1"/>
+ <tr:inputText label="First form, Second Field:" shortDesc="Field 2"/>
+ <tr:commandButton id="first" text="First"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ <tr:form>
+ <jsp:directive.include file="editor.jspf" />
+ </tr:form>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This is the second form; submit it and changes in the first form will be lost."/>
+ <tr:inputText label="Second form"/>
+ <tr:commandButton text="Second"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:panelGroupLayout>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goButton.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goButton.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goButton.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goButton.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="GoButton Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
+
+ <tr:goButton binding="#{editor.component}" text="Press me"
+ destination="http://www.apache.org"/>
+
+ <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/goLink.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goLink.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goLink.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/goLink.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,44 @@
+<?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="GoLink 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:goLink binding="#{editor.component}" text="Link Here"
+ destination="http://www.apache.org"/>
+
+ <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/group.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/group.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/group.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/group.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,59 @@
+<?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="Group 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="The group component is an invisible control that aggregates semantically-related children; the group itself has no associated client representation (visual or API).
+Some parent components may have special representation for groups like adding separators around the group but this is a special case and is not always rendered this way.
+In most cases, only the children of the group will be rendered directly to the page.
+There will be no layout applied to the children so the natural layout behavior of the underlying HTML elements will apply.
+If you require a more predictable layout, you should use a layout component such as panelGroupLayout."/>
+ <tr:outputText
+ value="The following demo shows a vertical panelGroupLayout with a separator facet containing a
+group that has two images directly inside of it."/>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:group binding="#{editor.component}">
+ <tr:image shortDesc="File" source="/components/images/file.gif"/>
+ <tr:image shortDesc="Check" source="/components/images/processCheck.gif"/>
+ </tr:group>
+ </f:facet>
+ <tr:outputText value="Item 1"/>
+ <tr:outputText value="Item 2"/>
+ </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/html/body.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/body.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/body.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/body.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>
+ <trh:html>
+ <trh:head title="Body Demo"/>
+ <trh:body onload="alert('body loading')" binding="#{editor.component}">
+ <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>You should see a javascript alert when the body demo is loaded</b>"/>
+
+ <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/html/cellFormat.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/cellFormat.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/cellFormat.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/cellFormat.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,65 @@
+<?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="CellFormat 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>Using cellFormat in tableLayout</b>"/>
+ <trh:tableLayout borderWidth="1" width="50%" >
+ <trh:rowLayout>
+ <trh:cellFormat binding="#{editor.component}"
+ rowSpan="2" halign="center" >
+ <h:outputText value="One"/>
+ </trh:cellFormat>
+ <trh:cellFormat halign="center" >
+ <h:outputText value="Two"/>
+ </trh:cellFormat>
+ <trh:cellFormat halign="center" >
+ <h:outputText value="Three"/>
+ </trh:cellFormat>
+ </trh:rowLayout>
+ <trh:rowLayout>
+ <trh:cellFormat halign="center" >
+ <h:outputText value="Four"/>
+ </trh:cellFormat>
+ <trh:cellFormat halign="center" columnSpan="2" >
+ <h:outputText value="Five"/>
+ </trh:cellFormat>
+ </trh:rowLayout>
+ </trh:tableLayout>
+ <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/html/frameBorderLayout.bottom.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.bottom.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.bottom.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.bottom.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="30pt" align="center"
+ style="background-color:yellow;" >
+ bottom
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.center.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.center.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.center.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.center.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,41 @@
+<?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="FrameBorderLayout Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator />
+ </f:facet>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A frameBorderLayout</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/html/frameBorderLayout.innerLeft.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerLeft.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerLeft.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerLeft.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:lightblue;" >
+ innerLeft
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerRight.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerRight.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerRight.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.innerRight.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:lightblue;" >
+ innerRight
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,72 @@
+<?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="FrameBorderLayout Demo"/>
+ <trh:frameBorderLayout shortDesc="Frame border layout demo">
+ <f:facet name="alternateContent">
+ <tr:outputText value="Your browser does not support frames. Frames support is required for this demo page"/>
+ </f:facet>
+ <f:facet name="top" >
+ <trh:frame width="100%" height="30pt" scrolling="yes"
+ shortDesc="Top frame"
+ source="frameBorderLayout.top.jspx" />
+ </f:facet>
+ <f:facet name="left" >
+ <trh:frame width="10%" scrolling="auto"
+ shortDesc="Left frame"
+ source="frameBorderLayout.left.jspx" />
+ </f:facet>
+ <f:facet name="innerLeft" >
+ <trh:frame width="10%" scrolling="auto"
+ shortDesc="Inner left frame"
+ source="frameBorderLayout.innerLeft.jspx" />
+ </f:facet>
+ <f:facet name="innerRight" >
+ <trh:frame width="10%" scrolling="auto"
+ shortDesc="Inner right frame"
+ source="frameBorderLayout.innerRight.jspx" />
+ </f:facet>
+ <f:facet name="right" >
+ <trh:frame width="10%" height="100%" scrolling="auto"
+ shortDesc="Right frame"
+ source="frameBorderLayout.right.jspx" />
+ </f:facet>
+ <f:facet name="bottom" >
+ <trh:frame width="100%" height="30pt" scrolling="yes"
+ shortDesc="Bottom frame"
+ source="frameBorderLayout.bottom.jspx" />
+ </f:facet>
+ <f:facet name="center" >
+ <trh:frame scrolling="auto"
+ shortDesc="Center frame"
+ source="frameBorderLayout.center.jspx" />
+ </f:facet>
+ </trh:frameBorderLayout>
+ </trh:html>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.left.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.left.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.left.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.left.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:pink;" >
+ left
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.right.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.right.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.right.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.right.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="100pt" align="center"
+ style="background-color:pink;" >
+ right
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.top.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.top.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.top.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/frameBorderLayout.top.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,39 @@
+<?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="FrameBorderLayout Demo">
+ <table width="100%" >
+ <tr>
+ <td height="30pt" align="center"
+ style="background-color:yellow;" >
+ top
+ </td>
+ </tr>
+ </table>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/html.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/html.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/html.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/html.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,44 @@
+<?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="HTML 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:outputText value="The title is set in the head component of this document component" />
+ </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/html/rowLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/rowLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/rowLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/rowLayout.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="RowLayout 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 rowLayout</b>"/>
+ <trh:rowLayout binding="#{editor.component}" width="100%" >
+ <f:verbatim>
+ <span>One</span>
+ <span>Two</span>
+ <span>Three</span>
+ </f:verbatim>
+ </trh:rowLayout>
+
+ <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/html/tableLayout.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/tableLayout.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/tableLayout.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/html/tableLayout.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,59 @@
+<?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="TableLayout 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 tableLayout</b>"/>
+ <trh:tableLayout width="100%" binding="#{editor.component}" >
+ <trh:rowLayout>
+ <f:verbatim>
+ <span>One</span>
+ <span>Two</span>
+ <span>Three</span>
+ </f:verbatim>
+ </trh:rowLayout>
+ <trh:rowLayout>
+ <f:verbatim>
+ <span>Four</span>
+ <span>Five</span>
+ <span>Six</span>
+ </f:verbatim>
+ </trh:rowLayout>
+ </trh:tableLayout>
+
+ <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/icon.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/icon.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/icon.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/icon.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="Icon 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:icon 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/image.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/image.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/image.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/image.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>
+ <tr:document title="Image 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>objectImage with context-relative URL</b>"/>
+ <tr:commandLink immediate="true" action="guide">
+ <tr:image binding="#{editor.component}" source="/adf/images/error.gif" shortDesc="error"/>
+ </tr:commandLink>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction" value="<b>objectImage with server-relative URL</b>"/>
+ <tr:goLink destination="http://www.apache.org">
+ <!-- Use long EL chain to avoid hardcoding the context path; of course, once you're doing this, you might as well just use the context-relative URL form above, but this does test out the feature... -->
+ <tr:image source="/#{facesContext.externalContext.request.contextPath}/adf/images/error.gif" shortDesc="error"/>
+ </tr:goLink>
+ <tr:outputFormatted styleUsage="instruction" value="<b>objectImage with absolute URL</b>"/>
+ <tr:image source="http://homepage.mac.com/awiner/.Pictures/WindyHill/PaleSwallowtail.jpg" shortDesc="Pale Swallow Tail"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/cobrand.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/cobrand.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/cobrand.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/corporateBrand.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/corporateBrand.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/corporateBrand.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/file.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/file.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/file.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/globalhelp.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/globalhelp.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/globalhelp.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/largeAd.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/largeAd.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/largeAd.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/logout.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/logout.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/logout.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/mediumAd.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/mediumAd.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/mediumAd.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/monthlySalesDistribution.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/monthlySalesDistribution.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/monthlySalesDistribution.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/new.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/new.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/new.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/processCheck.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/processCheck.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/processCheck.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/salesByGeography.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/salesByGeography.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/salesByGeography.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/seattle.wmv
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/seattle.wmv?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/seattle.wmv
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/shopcart.gif
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/shopcart.gif?view=auto&rev=523607
==============================================================================
Binary file - no diff available.
Propchange: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/images/shopcart.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputColor.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputColor.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputColor.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputColor.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,60 @@
+<?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="InputColor 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:commandButton text="Submit"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>A inputColor using inline chooseColor - Update its properties from the table below</b>"/>
+ <tr:inputColor id="sic1" chooseId="cp1"
+ binding="#{editor.component}"
+ label="Enter or select color from palette below"
+ value="#{color.colorValue2}">
+ <f:facet name="help">
+ <tr:outputText value="Use format (#RRGGBB) or (r,g,b)"/>
+ </f:facet>
+ </tr:inputColor>
+ <tr:chooseColor id="cp1"
+ colorData="#{requestContext.colorPalette.default49}"/>
+ <jsp:directive.include file="editor.jspf" />
+ <tr:outputFormatted styleUsage="instruction" value="<b>A inputColor</b>"/>
+ <tr:inputColor id="sic3"
+ label="Enter or select color" value="#{color.colorValue3}" >
+ <f:facet name="help">
+ <tr:outputText value="Use format (#RRGGBB) or (r,g,b)"/>
+ </f:facet>
+ </tr:inputColor>
+
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputDate.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputDate.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputDate.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputDate.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,79 @@
+<?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="InputDate Demo">
+ <tr:form>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <tr:messages/>
+ <tr:panelHeader text="InputDate Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A basic inputDate, no converter </b>"/>
+ <tr:inputDate binding="#{editor.component}" id="mdf1" value="#{date.date1}"
+ label="no converter"/>
+
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A inputDate with a converter attached that has dateStyle set to 'long' </b>"/>
+ <tr:inputDate id="mdf2" value="#{date.date2}"
+ label="has converter">
+ <f:convertDateTime dateStyle="long"/>
+ </tr:inputDate>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A inputDate with a validator that sets a maximum date</b>"/>
+ <tr:inputDate id="mdf3" value="#{date.date3}"
+ label="max validator">
+ <tr:validateDateTimeRange maximum="#{date.maxDate}"/>
+ </tr:inputDate>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A inputDate with a validator that sets a minimum date</b>"/>
+ <tr:inputDate id="mdf4" value="#{date.date4}"
+ label="min validator" >
+ <tr:validateDateTimeRange minimum="#{date.minDate}"/>
+ </tr:inputDate>
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A inputDate with a converter attached
+ that has pattern as 'yyyy/M/d' and secondary pattern as 'd/M/yyyy' </b>"/>
+ <tr:inputDate id="mdf5" value="2004/09/06"
+ label="attached converter">
+ <tr:convertDateTime secondaryPattern="d/M/yyyy" pattern="yyyy/M/d" />
+ </tr:inputDate>
+
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.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="InputFile Demo">
+ <tr:form usesUpload="true">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>InputFile</b>"/>
+ <tr:separator/>
+ <tr:inputFile binding="#{editor.component}" label="Label" valueChangeListener="#{ui.fileUploaded}" />
+ <tr:commandButton text="Submit"/>
+ <tr:separator/>
+ <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/inputHidden.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns: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="InputHidden 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>InputHidden</b>"/>
+ <tr:inputHidden binding="#{editor.component}" value="Some text"/>
+ <tr:commandButton text="Submit"/>
+
+ <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/inputListOfValues.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,67 @@
+<?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="InputListOfValues Demo">
+ <tr:form>
+ <tr:commandLink immediate="true" text="Component Guide"
+ action="guide"/>
+ <tr:separator/>
+ <tr:panelPage>
+ <tr:messages/>
+ <tr:panelHeader text="InputListOfValues Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A basic inputListOfValues</b>"/>
+ <tr:inputListOfValues label="Atomic element:" value="(Empty)"
+ binding="#{editor.component}"
+ searchDesc="Pick an element"
+ columns="10" action="dialog:periodicTable"/>
+ <jsp:directive.include file="editor.jspf" />
+
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>inputListOfValues inside a table </b>"/>
+
+ <tr:table value="#{table}" var="row" width="40%">
+ <tr:column>
+ <tr:outputText value="#{row.int}"/>
+ </tr:column>
+ <tr:column width="100%" noWrap="true">
+ <tr:inputListOfValues value="(Empty)" columns="10"
+ searchDesc="Pick an element"
+ shortDesc="Enter element name or pick a element"
+ action="dialog:periodicTable"/>
+ </tr:column>
+ </tr:table>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Added: incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues_dialog.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues_dialog.jspx?view=auto&rev=523607
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues_dialog.jspx (added)
+++ incubator/adffaces/trunk/trinidad/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues_dialog.jspx Thu Mar 29 00:50:53 2007
@@ -0,0 +1,57 @@
+<?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:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Choose an atomic element">
+ <tr:form >
+ <tr:panelPage id="plId">
+ <tr:messages/>
+ <tr:table summary="Periodic Table"
+ value="#{periodicTable.tableData}" var="row" rows="10"
+ rowSelection="single"
+ binding="#{periodicDialog.table}">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Symbol"/>
+ </f:facet>
+ <tr:outputText value="#{row.symbol}"/>
+ </tr:column>
+ </tr:table>
+ <tr:panelButtonBar>
+ <tr:commandButton text="Cancel" immediate="true"
+ action="#{periodicDialog.cancel}"/>
+ <tr:commandButton text="Select"
+ action="#{periodicDialog.select}"/>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>