You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2008/02/21 09:54:54 UTC
svn commit: r629720 [5/8] - in
/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components:
./ html/
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelGroupLayout.jspx Thu Feb 21 00:54:37 2008
@@ -19,34 +19,40 @@
-->
<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" >
+ 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">
+ <tr:document title="PanelGroupLayout Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelGroupLayout.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelGroupLayout"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelGroupLayout</b>"/>
+ <tr:panelGroupLayout binding="#{editor.component}" layout="default">
<f:facet name="separator">
- <tr:separator/>
+ <f:verbatim>
+ <span style="background-color:lightblue;">separator</span>
+ </f:verbatim>
</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:outputText value="One"/>
+ <tr:outputText value="Two"/>
+ <tr:outputText value="Three"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHeader.jspx Thu Feb 21 00:54:37 2008
@@ -19,10 +19,9 @@
-->
<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" >
+ 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>
@@ -31,17 +30,23 @@
<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:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelHeader.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelHeader"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <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" />
-
+ <jsp:directive.include file="editor.jspf"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelHorizontalLayout.jspx Thu Feb 21 00:54:37 2008
@@ -19,27 +19,30 @@
-->
<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" >
+ 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}" >
+ <tr:document title="PanelHorizontalLayout Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelHorizontalLayout.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelHorizontalLayout</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:panelList>
<tr:outputText value="The start hello"/>
<tr:outputText value="hello"/>
<tr:outputText value="hello"/>
@@ -56,15 +59,14 @@
</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: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>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelLabelAndMessage.jspx Thu Feb 21 00:54:37 2008
@@ -19,9 +19,8 @@
-->
<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" >
+ 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>
@@ -32,11 +31,18 @@
<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}">
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelLabelAndMessage.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelLabelAndMessage"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <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>
@@ -45,7 +51,7 @@
</f:facet>
<tr:inputText simple="true" id="foo"/>
</tr:panelLabelAndMessage>
- <jsp:directive.include file="editor.jspf" />
+ <jsp:directive.include file="editor.jspf"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelList.jspx Thu Feb 21 00:54:37 2008
@@ -18,75 +18,77 @@
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" >
+ 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>
+ <tr:document title="PanelList Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelList.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelList"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelList</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>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPage.jspx Thu Feb 21 00:54:37 2008
@@ -19,101 +19,100 @@
-->
<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" >
+ 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:document title="PanelPage Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelPage.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelPage"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>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>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPageHeader.jspx Thu Feb 21 00:54:37 2008
@@ -19,10 +19,9 @@
-->
<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" >
+ 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>
@@ -33,38 +32,37 @@
<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}">
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelPageHeader.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelPageHeader</b>"/>
+ <tr:panelPageHeader binding="#{editor.component}">
<f:facet name="branding">
<tr:panelGroupLayout layout="horizontal">
- <tr:image source="/components/images/corporateBrand.gif"
- shortDesc="corporate"/>
- <tr:outputFormatted value="Customer <b>InContextBranding Company - Menlo Park</b>"
- styleUsage="inContextBranding"/>
+ <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: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 hint="bar">
+ <tr:commandNavigationItem text="item 1" action="guide.navigationPane"
+ selected="true"/>
</tr:navigationPane>
</f:facet>
</tr:panelPageHeader>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <jsp:directive.include file="editor.jspf"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPopup.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPopup.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPopup.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelPopup.jspx Thu Feb 21 00:54:37 2008
@@ -19,77 +19,76 @@
-->
<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" >
+ 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="PanelPopup 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 panelPopup</b>"/>
-
- <tr:panelPopup binding="#{editor.component}" text="Click Here">
- <tr:panelGroupLayout layout="vertical">
- <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:panelGroupLayout>
- </tr:panelPopup>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Simple PopupPanel</b>"/>
-
- <tr:panelPopup text="Hover Popup" triggerType="hover">
- <tr:panelGroupLayout layout="vertical">
- <tr:outputText value="Line 1" />
- <tr:outputText value="Line 2" />
- <tr:outputText value="Line 3" />
- <tr:outputText value="Line 4" />
- </tr:panelGroupLayout>
- </tr:panelPopup>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>PopupPanel as modal dialog</b>"/>
-
- <tr:panelPopup text="Modal Centered Test" title="Centered Panel" position="centered" modal="true">
- <tr:panelBox>
- <tr:outputText value="This popup should be centered on screen and modal" />
- </tr:panelBox>
- </tr:panelPopup>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>PopupPanel of a fixed size with scrolling</b>"/>
-
- <tr:panelPopup text="Fixed Size Popup Test" title="Fixed Size Panel" height="100" width="120">
- <tr:panelBox>
- <tr:outputText value="This popup is a fixed size. The content of this popup should be scrollable." />
- </tr:panelBox>
- </tr:panelPopup>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>PopupPanel using facet to define launch area</b>"/>
-
- <tr:panelPopup>
- <f:facet name="trigger">
- <tr:panelGroupLayout>
- <tr:icon name="info"/>
- <tr:outputText value="Link Text"/>
- </tr:panelGroupLayout>
- </f:facet>
- <tr:panelBox>
- <tr:outputText value="Some Content" />
- </tr:panelBox>
- </tr:panelPopup>
-
+ <tr:document title="PanelPopup Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelPopup.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelPopup"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelPopup</b>"/>
+ <tr:panelPopup binding="#{editor.component}" text="Click Here">
+ <tr:panelGroupLayout layout="vertical">
+ <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:panelGroupLayout>
+ </tr:panelPopup>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Simple panelPopup</b>"/>
+ <tr:panelPopup text="Hover Popup" triggerType="hover">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputText value="Line 1"/>
+ <tr:outputText value="Line 2"/>
+ <tr:outputText value="Line 3"/>
+ <tr:outputText value="Line 4"/>
+ </tr:panelGroupLayout>
+ </tr:panelPopup>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>panelPopup as modal dialog</b>"/>
+ <tr:panelPopup text="Modal Centered Test" title="Centered Panel" position="centered"
+ modal="true">
+ <tr:panelBox>
+ <tr:outputText value="This popup should be centered on screen and modal"/>
+ </tr:panelBox>
+ </tr:panelPopup>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>panelPopup of a fixed size with scrolling</b>"/>
+ <tr:panelPopup text="Fixed Size Popup Test" title="Fixed Size Panel" height="100"
+ width="120">
+ <tr:panelBox>
+ <tr:outputText value="This popup is a fixed size. The content of this popup should be scrollable."/>
+ </tr:panelBox>
+ </tr:panelPopup>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>panelPopup using facet to define launch area</b>"/>
+ <tr:panelPopup>
+ <f:facet name="trigger">
+ <tr:panelGroupLayout>
+ <tr:icon name="info"/>
+ <tr:outputText value="Link Text"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+ <tr:panelBox>
+ <tr:outputText value="Some Content"/>
+ </tr:panelBox>
+ </tr:panelPopup>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelRadio.jspx Thu Feb 21 00:54:37 2008
@@ -19,99 +19,69 @@
-->
<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" >
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
- <tr:document title="panelRadio Demo">
- <tr:form>
-
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true"
- text="Component Guide"
- action="guide"/>
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b> A panelRadio component - takes default selection among showDetailItem children</b>"/>
-
- <tr:panelRadio binding="#{editor.component}"
- alignment="center"
- position="start"
- id="someId"
- label="Sales Data">
-
- <tr:showDetailItem id="showDetailItem2"
- text="Monthly Sales Distribution"
- accessKey="M">
- <tr:panelHeader text="Monthly Sales Distribution">
- <tr:image source="images/monthlySalesDistribution.gif"
- shortDesc="Koenigsegg CCR"
- inlineStyle="height:200px; width:300px;"
- id="monthlySalesImage"/>
- </tr:panelHeader>
- </tr:showDetailItem>
-
- <tr:showDetailItem id="showDetailItem3"
- text="Sales by Geography"
- accessKey="S">
- <tr:panelHeader text="Sales by Geography">
- <tr:image source="images/salesByGeography.gif"
- inlineStyle="height:200px; width:300px;"
- id="salesByGeographyImage"
- shortDesc="Sales information"/>
-
- </tr:panelHeader>
- </tr:showDetailItem>
-
- <tr:showDetailItem text="This page data"
- accessKey="T"
- disclosureListener="#{toggle.onDisclosure}">
- <tr:panelHeader text="Page refresh status">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true"
- label="Label 1-1"
- value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
-
- <tr:inputText readOnly="true"
- styleClass="AFFieldTextMarker"
- value="You have shown/ hidden this page data option a total of #{toggle.totalCount} times"/>
-
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
-
- </tr:panelRadio>
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>A standard panelRadio component - Update its properties from the table below </b>"/>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
+ <tr:document title="panelRadio Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelRadio.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b> panelRadio - takes default selection among showDetailItem children</b>"/>
+ <tr:panelRadio binding="#{editor.component}" alignment="center" position="start"
+ id="someId" label="Sales Data">
+ <tr:showDetailItem id="showDetailItem2" text="Monthly Sales Distribution" accessKey="M">
+ <tr:panelHeader text="Monthly Sales Distribution">
+ <tr:image source="images/monthlySalesDistribution.gif" shortDesc="Koenigsegg CCR"
+ inlineStyle="height:200px; width:300px;" id="monthlySalesImage"/>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem id="showDetailItem3" text="Sales by Geography" accessKey="S">
+ <tr:panelHeader text="Sales by Geography">
+ <tr:image source="images/salesByGeography.gif"
+ inlineStyle="height:200px; width:300px;" id="salesByGeographyImage"
+ shortDesc="Sales information"/>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="This page data" accessKey="T"
+ disclosureListener="#{toggle.onDisclosure}">
+ <tr:panelHeader text="Page refresh status">
<tr:panelFormLayout>
- <tr:inputText readOnly="true"
- label="Date/Time from last full page refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
+ <tr:inputText readOnly="true" label="Label 1-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
<tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
</tr:inputText>
+ <tr:inputText readOnly="true" styleClass="AFFieldTextMarker"
+ value="You have shown/ hidden this page data option a total of #{toggle.totalCount} times"/>
</tr:panelFormLayout>
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ </tr:panelRadio>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A standard panelRadio component - Update its properties from the table below </b>"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelSideBar.jspx Thu Feb 21 00:54:37 2008
@@ -19,33 +19,37 @@
-->
<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" >
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
- <tr:document title="PanelSideBar Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
- <tr:panelSideBar binding="#{editor.component}">
- <tr:panelList>
- <tr:commandLink text="item 1" action="guide.commandLink" />
- <tr:commandLink text="item 2" action="guide.commandLink" />
- <tr:commandLink text="item 3" action="guide.commandLink" />
- </tr:panelList>
- </tr:panelSideBar>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="PanelSideBar Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelSideBar.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelSideBar"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelSideBar</b>"/>
+ <tr:panelSideBar binding="#{editor.component}">
+ <tr:panelList>
+ <tr:commandLink text="item 1" action="guide.commandLink"/>
+ <tr:commandLink text="item 2" action="guide.commandLink"/>
+ <tr:commandLink text="item 3" action="guide.commandLink"/>
+ </tr:panelList>
+ </tr:panelSideBar>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTabbed.jspx Thu Feb 21 00:54:37 2008
@@ -19,157 +19,143 @@
-->
<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" >
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
- <tr:document title="panelTabbed Demo">
- <tr:form>
-
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b> A panelTabbed component with position set to 'above' and takes default selection among showDetailItem children</b>"/>
- <tr:panelTabbed position="above">
- <tr:showDetailItem text="Tab 1" disabled="true"/>
- <tr:showDetailItem text="Tab 2">
- <tr:panelHeader text="Header 2">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 2-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 3">
- <tr:panelHeader text="Header 3">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 3-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 4">
- <tr:panelHeader text="Header 4">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 4-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 5">
- <tr:panelHeader text="Header 5">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 5-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- </tr:panelTabbed>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>A standard panelTabbed component - Update its properties from the table below </b>"/>
- <tr:panelTabbed binding="#{editor.component}">
- <tr:showDetailItem text="Tab 1">
- <tr:panelHeader text="Header 1">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 1-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 2">
- <tr:panelHeader text="Header 2">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 2-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 3" disclosed="true">
- <tr:panelHeader text="Header 3">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 3-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem text="Tab 4" disabled="true"/>
- <tr:showDetailItem text="Tab 5">
- <tr:panelHeader text="Header 5">
- <tr:panelFormLayout>
- <tr:inputText readOnly="true" label="Label 5-1" value="Value"
- styleClass="AFFieldTextMarker"/>
- <tr:inputText readOnly="true"
- label="Date/Time from last partial refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- </tr:panelTabbed>
-
- <jsp:directive.include file="editor.jspf" />
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:document title="panelTabbed Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelTabbed.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelTabbed"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>panelTabbed component with position set to 'above' and takes default selection among showDetailItem children</b>"/>
+ <tr:panelTabbed position="above">
+ <tr:showDetailItem text="Tab 1" disabled="true"/>
+ <tr:showDetailItem text="Tab 2">
+ <tr:panelHeader text="Header 2">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 3">
+ <tr:panelHeader text="Header 3">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 4">
+ <tr:panelHeader text="Header 4">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 4-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 5">
+ <tr:panelHeader text="Header 5">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ </tr:panelTabbed>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>This block is to show the current date for reference - Note that this does not change until there is a full page refresh </b>"/>
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A standard panelTabbed component - Update its properties from the table below </b>"/>
+ <tr:panelTabbed binding="#{editor.component}">
+ <tr:showDetailItem text="Tab 1">
+ <tr:panelHeader text="Header 1">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 1-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 2">
+ <tr:panelHeader text="Header 2">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 2-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 3" disclosed="true">
+ <tr:panelHeader text="Header 3">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 3-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 4" disabled="true"/>
+ <tr:showDetailItem text="Tab 5">
+ <tr:panelHeader text="Header 5">
+ <tr:panelFormLayout>
+ <tr:inputText readOnly="true" label="Label 5-1" value="Value"
+ styleClass="AFFieldTextMarker"/>
+ <tr:inputText readOnly="true" label="Date/Time from last partial refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ </tr:panelTabbed>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/panelTip.jspx Thu Feb 21 00:54:37 2008
@@ -19,10 +19,9 @@
-->
<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" >
+ 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>
@@ -31,16 +30,22 @@
<tr:form>
<tr:panelGroupLayout layout="vertical">
<f:facet name="separator">
- <tr:separator />
+ <tr:separator/>
</f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelTip.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#panelTip"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>panelTip</b>"/>
<tr:panelTip binding="#{editor.component}">
- <tr:goLink text="link inside panelTip"
- destination="http://www.apache.org"/>
+ <tr:goLink text="link inside panelTip" destination="http://www.apache.org"/>
</tr:panelTip>
-
- <jsp:directive.include file="editor.jspf" />
+ <jsp:directive.include file="editor.jspf"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/poll.jspx Thu Feb 21 00:54:37 2008
@@ -19,66 +19,59 @@
-->
<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" >
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
<tr:document title="Poll Demo">
- <tr:form>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"
+ actionListener="#{poll.resetPoll}"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_poll.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:commandButton text="Submit"/>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:poll binding="#{editor.component}" interval="2000" pollListener="#{poll.onPoll}"
+ id="pollid"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>poll component with a poll listener that updates the poll count</b>"/>
+ </tr:panelGroupLayout>
+ <tr:inputText readOnly="true" label="Date/Time from last full page refresh"
+ value="#{date.currentDate}" styleClass="AFFieldTextMarker">
+ <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
+ </tr:inputText>
<tr:panelGroupLayout layout="vertical">
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText linked to Poll component being updated in partial page mode</b>"/>
+ <tr:inputText readOnly="true" label="Poll Count: " value="#{poll.pollCount}"
+ styleClass="AFFieldTextMarker" partialTriggers="pollid"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:panelHeader text="When modal dialogs are launched from the
+ following components, poll pauses until the dialog is dismissed"/>
<f:facet name="separator">
- <tr:separator/>
+ <tr:spacer height="5"/>
</f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide" actionListener="#{poll.resetPoll}"/>
-
- <tr:commandButton text="Submit"/>
-
- <tr:panelGroupLayout layout="vertical">
- <tr:poll binding="#{editor.component}" interval="2000"
- pollListener="#{poll.onPoll}" id="pollid"/>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Poll component with a poll listener that updates the poll count</b>"/>
- </tr:panelGroupLayout>
- <tr:inputText readOnly="true"
- label="Date/Time from last full page refresh"
- value="#{date.currentDate}"
- styleClass="AFFieldTextMarker">
- <tr:convertDateTime pattern="EEEEEEEEE, ddMMMyyyy, HH:mm:ss z"/>
- </tr:inputText>
- <tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted styleUsage="instruction"
- value="<b>InputText linked to Poll component being updated in partial page mode</b>"/>
- <tr:inputText readOnly="true" label="Poll Count: "
- value="#{poll.pollCount}"
- styleClass="AFFieldTextMarker" partialTriggers="pollid"/>
- </tr:panelGroupLayout>
-
- <tr:panelGroupLayout layout="vertical">
- <tr:panelHeader text="When modal dialogs are launched from the
- following components, poll pauses until the dialog is dismissed"/>
- <f:facet name="separator">
- <tr:spacer height="5"/>
- </f:facet>
- <tr:inputColor id="sic3" label="The color picker dialog"
- value="#{color.colorValue3}" compact="true"/>
- <tr:inputDate id="sid1" value="#{date.date1}"
- label="The date picker dialog"/>
- <tr:commandButton text="Using dialog framework"
- action="dialog:simpleDialog" useWindow="true"
- windowWidth="150" windowHeight="150"
- immediate="true" partialSubmit="true"/>
- <tr:goButton
- text="Using openWindow() API in Trinidad Javascript library"
- onclick="openWindow(window,'poll_window_page.jspx','',{width:200, height:100},true,'dialog','');"/>
- </tr:panelGroupLayout>
-
- <jsp:directive.include file="editor.jspf"/>
-
+ <tr:inputColor id="sic3" label="The color picker dialog" value="#{color.colorValue3}"
+ compact="true"/>
+ <tr:inputDate id="sid1" value="#{date.date1}" label="The date picker dialog"/>
+ <tr:commandButton text="Using dialog framework" action="dialog:simpleDialog"
+ useWindow="true" windowWidth="150" windowHeight="150" immediate="true"
+ partialSubmit="true"/>
+ <tr:goButton text="Using openWindow() API in Trinidad Javascript library"
+ onclick="openWindow(window,'poll_window_page.jspx','',{width:200, height:100},true,'dialog','');"/>
</tr:panelGroupLayout>
- </tr:form>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
</tr:document>
</f:view>
</jsp:root>