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 [7/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/showDetailHeader.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailHeader.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailHeader.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailHeader.jspx Thu Feb 21 00:54:37 2008
@@ -19,36 +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: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:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
- <tr:document title="ShowDetailHeader 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:showDetailHeader id="hsh1" text="showDetailHeader"
- binding="#{editor.component}"
- disclosureListener="#{toggle.onDisclosure}"
- partialTriggers="hsh1 hsh2">
- <h:outputText value="You have toggled a total of #{toggle.totalCount} times"/>
- </tr:showDetailHeader>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:showDetailHeader id="hsh2" text="Another showDetailHeader"
- disclosureListener="#{toggle.onDisclosure}"
- partialTriggers="hsh1 hsh2">
- <h:outputText value="You have toggled a total of #{toggle.totalCount} times"/>
- </tr:showDetailHeader>
+ <tr:document title="ShowDetailHeader Component">
+ <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_showDetailHeader.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#showDetailHeader"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>showDetailHeader</b>"/>
+ <tr:showDetailHeader id="hsh1" text="showDetailHeader" binding="#{editor.component}"
+ disclosureListener="#{toggle.onDisclosure}"
+ partialTriggers="hsh1 hsh2">
+ <h:outputText value="You have toggled a total of #{toggle.totalCount} times"/>
+ </tr:showDetailHeader>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:showDetailHeader id="hsh2" text="Another showDetailHeader"
+ disclosureListener="#{toggle.onDisclosure}"
+ partialTriggers="hsh1 hsh2">
+ <h:outputText value="You have toggled a total of #{toggle.totalCount} times"/>
+ </tr:showDetailHeader>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailItem.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailItem.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailItem.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/showDetailItem.jspx Thu Feb 21 00:54:37 2008
@@ -19,125 +19,91 @@
-->
<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="ShowDetailItem 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 showDetailItem children </b>"/>
+ <tr:document title="ShowDetailItem 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_showDetailItem.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>showDetailItem</b>"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="A panelTabbed component with showDetailItem children"/>
+ <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:panelTabbed>
+ <tr:showDetailItem binding="#{editor.component}" text="Tab 1">
+ <tr:panelHeader text="Header 1">
<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:panelFormLayout>
- <tr:panelTabbed>
- <tr:showDetailItem binding="#{editor.component}" 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 - This ShowDetailItem contains a ShowDetail in it">
- <tr:panelGroupLayout>
- <tr:showDetail
- id="hs1"
- partialTriggers="hs1">
- <tr:panelFormLayout>
- <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:inputColor label="Color" />
- </tr:panelFormLayout>
- </tr:showDetail>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:showDetailItem>
- <tr:showDetailItem
- text="Tab 3"
- disclosed="true"
- immediate="false">
- <tr:panelHeader
- text="Header 3 - This showDetailItem has its immediate attribute set to false">
- <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:inputText
- label="This is a required field"
- required="true"/>
- </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:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 2">
+ <tr:panelHeader text="Header 2 - This ShowDetailItem contains a ShowDetail in it">
+ <tr:panelGroupLayout>
+ <tr:showDetail id="hs1" partialTriggers="hs1">
+ <tr:panelFormLayout>
+ <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:inputColor label="Color"/>
+ </tr:panelFormLayout>
+ </tr:showDetail>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:showDetailItem>
+ <tr:showDetailItem text="Tab 3" disclosed="true" immediate="false">
+ <tr:panelHeader text="Header 3 - This showDetailItem has its immediate attribute set to false">
+ <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:inputText label="This is a required field" required="true"/>
+ </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/singleStepButtonBar.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/singleStepButtonBar.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/singleStepButtonBar.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/singleStepButtonBar.jspx Thu Feb 21 00:54:37 2008
@@ -19,31 +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="singleStepButtonBar 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>singleStepButtonBar</b>"/>
- <tr:singleStepButtonBar id="singleStep1" binding="#{editor.component}"
- selectedStep="2" maxStep="5" text="Stage"
- previousAction="#{action.app1}"
- nextAction="#{action.app2}"/>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="singleStepButtonBar 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_singleStepButtonBar.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>singleStepButtonBar</b>"/>
+ <tr:singleStepButtonBar id="singleStep1" binding="#{editor.component}" selectedStep="2"
+ maxStep="5" text="Stage" previousAction="#{action.app1}"
+ nextAction="#{action.app2}"/>
+ <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/spacer.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/spacer.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/spacer.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/spacer.jspx Thu Feb 21 00:54:37 2008
@@ -19,30 +19,35 @@
-->
<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="Spacer 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:panelGroupLayout>
- <tr:outputText value="Hello"/>
- <tr:spacer width="300" height="10"/>
- <tr:outputText value="Over There"/>
- <tr:separator/>
- <tr:spacer height="300" width="10"/>
- <tr:outputText value="Big Gap Above Me"/>
- </tr:panelGroupLayout>
+ <tr:document title="Spacer 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_spacer.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>spacer</b>"/>
+ <tr:panelGroupLayout>
+ <tr:outputText value="Hello"/>
+ <tr:spacer width="300" height="10"/>
+ <tr:outputText value="Over There"/>
+ <tr:separator/>
+ <tr:spacer height="300" width="10" binding="#{editor.component}"/>
+ <tr:outputText value="Big Gap Above Me"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/statusIndicator.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/statusIndicator.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/statusIndicator.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/statusIndicator.jspx Thu Feb 21 00:54:37 2008
@@ -19,42 +19,44 @@
-->
<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: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:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
-<tr:document title="StatusIndicator 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>A basic statusIndicator</b>"/>
- <tr:statusIndicator binding="#{editor.component}"/>
-
- <tr:showDetail>
- <h:outputText value="Content of the showDetail"/>
- </tr:showDetail>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>A second statusIndicator</b>"/>
- <tr:statusIndicator>
- <f:facet name="busy">
- <tr:outputText value="Loading..." />
- </f:facet>
- <f:facet name="ready">
- <tr:outputText value="Done!" />
- </f:facet>
- </tr:statusIndicator>
+ <tr:document title="StatusIndicator Component">
+ <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_statusIndicator.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#statusIndicator"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>statusIndicator</b>"/>
+ <tr:statusIndicator binding="#{editor.component}"/>
+ <tr:showDetail>
+ <h:outputText value="Content of the showDetail"/>
+ </tr:showDetail>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>A second statusIndicator</b>"/>
+ <tr:statusIndicator>
+ <f:facet name="busy">
+ <tr:outputText value="Loading..."/>
+ </f:facet>
+ <f:facet name="ready">
+ <tr:outputText value="Done!"/>
+ </f:facet>
+ </tr:statusIndicator>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/styleSheet.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/styleSheet.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/styleSheet.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/styleSheet.jspx Thu Feb 21 00:54:37 2008
@@ -19,38 +19,32 @@
-->
<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>
- <!-- The trh:head element automatically adds
+ <!-- The trh:head element automatically adds
the style sheet link reference to a generated Trinidad style sheet
<trh:head title="commandButton Demo"/>
-->
<trh:styleSheet rendered="true" binding="#{editor.component}"/>
<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>styleSheet Demo</b>"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="The styleSheet component generates the style sheet link
+ <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>styleSheet</b>"/>
+ <tr:outputFormatted styleUsage="instruction" value="The styleSheet component generates the style sheet link
reference to a generated Trinidad style sheet. This is automatically
included for you if you use the ADF HtmlHead component.
Toggle rendered to see the effect of the styleSheet component.
"/>
- <jsp:directive.include file="editor.jspf" />
- </tr:panelGroupLayout>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
</tr:form>
</trh:body>
</trh:html>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table.jspx Thu Feb 21 00:54:37 2008
@@ -19,82 +19,75 @@
-->
<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="table Demo">
- <tr:form >
- <tr:messages/>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Basic table</b>"/>
- <tr:table allDetailsEnabled="true" var="row"
- binding="#{editor.component}"
- rowBandingInterval="2"
- value="#{periodicTable.tableData}" rows="10"
- summary="Element information">
- <f:facet name="actions">
- <tr:outputText value="(Actions)"/>
- </f:facet>
- <tr:column headerText="Name">
- <tr:outputText value="#{row.name}"/>
- </tr:column>
- <tr:column headerText="Symbol">
- <tr:outputText value="#{row.symbol}"/>
- </tr:column>
- <tr:column headerText="Action Column">
- <tr:commandButton text="Action" action="#{row.action}"/>
- </tr:column>
- <f:facet name="detailStamp" >
- <tr:panelGroupLayout layout="vertical" >
- <tr:outputText value="Element Name: #{row.name}"/>
- <tr:outputText value="Atomic Number: #{row.number}"/>
- <tr:outputText value="Symbol: #{row.symbol}"/>
- <tr:outputText value="Group: #{row.group}"/>
- </tr:panelGroupLayout>
- </f:facet>
- </tr:table>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Editable table</b>"/>
- <tr:table var="row"
- value="#{periodicTable.tableData}" rows="5"
- summary="Element information">
- <tr:column headerText="Name">
- <tr:inputText value="#{row.name}" shortDesc="#{row.name}"/>
- </tr:column>
- <tr:column headerText="Symbol">
- <tr:inputText value="#{row.symbol}" shortDesc="#{row.symbol}"/>
- </tr:column>
- </tr:table>
-
- <tr:commandButton text="Submit"/>
-
-
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Empty table</b>"/>
- <tr:table var="row" emptyText="No Records Found" rows="10"
- summary="Empty Table">
- <tr:column headerText="int">
- <tr:inputText value="#{row.int}" shortDesc="#{row.int}"/>
- </tr:column>
- <tr:column headerText="String">
- <tr:inputText value="#{row.string}" shortDesc="#{row.string}"/>
- </tr:column>
- </tr:table>
-
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:document title="Table Demo">
+ <tr:form>
+ <tr:messages/>
+ <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_table.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#table"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>table</b>"/>
+ <tr:table allDetailsEnabled="true" var="row" binding="#{editor.component}"
+ rowBandingInterval="2" value="#{periodicTable.tableData}" rows="10"
+ summary="Element information">
+ <f:facet name="actions">
+ <tr:outputText value="(Actions)"/>
+ </f:facet>
+ <tr:column headerText="Name">
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column headerText="Symbol">
+ <tr:outputText value="#{row.symbol}"/>
+ </tr:column>
+ <tr:column headerText="Action Column">
+ <tr:commandButton text="Action" action="#{row.action}"/>
+ </tr:column>
+ <f:facet name="detailStamp">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputText value="Element Name: #{row.name}"/>
+ <tr:outputText value="Atomic Number: #{row.number}"/>
+ <tr:outputText value="Symbol: #{row.symbol}"/>
+ <tr:outputText value="Group: #{row.group}"/>
+ </tr:panelGroupLayout>
+ </f:facet>
+ </tr:table>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Editable table</b>"/>
+ <tr:table var="row" value="#{periodicTable.tableData}" rows="5"
+ summary="Element information">
+ <tr:column headerText="Name">
+ <tr:inputText value="#{row.name}" shortDesc="#{row.name}"/>
+ </tr:column>
+ <tr:column headerText="Symbol">
+ <tr:inputText value="#{row.symbol}" shortDesc="#{row.symbol}"/>
+ </tr:column>
+ </tr:table>
+ <tr:commandButton text="Submit"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Empty table</b>"/>
+ <tr:table var="row" emptyText="No Records Found" rows="10" summary="Empty Table">
+ <tr:column headerText="int">
+ <tr:inputText value="#{row.int}" shortDesc="#{row.int}"/>
+ </tr:column>
+ <tr:column headerText="String">
+ <tr:inputText value="#{row.string}" shortDesc="#{row.string}"/>
+ </tr:column>
+ </tr:table>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_dynamic.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_dynamic.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_dynamic.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_dynamic.jspx Thu Feb 21 00:54:37 2008
@@ -19,85 +19,71 @@
-->
<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" >
+ 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="Dynamic Table Demo">
- <tr:form >
- <tr:messages/>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Dynamic table</b>"/>
-
- <f:verbatim>
- <ul>
- <li>
- The table should tolerate RowCounts which are greater than the
- actual RowCount.
- <li>
- The table should try to preserve the page being viewed, when the
- rowCounts change.
- <li>
- In the following example, the table should not render NULL values
- nor throw Exceptions:
- </ul>
- </f:verbatim>
-
- <tr:panelFormLayout>
- <tr:inputText label="RowCount" value="#{dynamicTable.rowCount}"
- accessKey="R">
- <f:facet name="help">
- <tr:outputText value="Minimum -1. Maximum 400"/>
- </f:facet>
- <f:validateLongRange minimum="-1" maximum="400" />
- </tr:inputText>
- <tr:inputText label="RowCount (Actual)"
- accessKey="A"
- value="#{dynamicTable.actualRowCount}">
- <f:facet name="help">
- <tr:outputText value="Minimum 0. Maximum 400"/>
- </f:facet>
- <f:validateLongRange minimum="0" maximum="400"/>
- </tr:inputText>
- <tr:inputText label="Block Size"
- accessKey="B"
- value="#{dynamicTable.blockSize}">
- <f:facet name="help">
- <tr:outputText value="Minimum 0"/>
- </f:facet>
- <f:validateLongRange minimum="0"/>
- </tr:inputText>
- <f:facet name="footer">
- <tr:commandButton textAndAccessKey="&Update"/>
+ <tr:document title="Dynamic Table Demo">
+ <tr:form>
+ <tr:messages/>
+ <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_table.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#table"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Dynamic table</b>"/>
+ <f:verbatim><ul> <li> The table should tolerate RowCounts which are greater
+ than the actual RowCount. <li> The table should try to preserve the page
+ being viewed, when the rowCounts change. <li> In the following example,
+ the table should not render NULL values nor throw Exceptions: </ul></f:verbatim>
+ <tr:panelFormLayout>
+ <tr:inputText label="RowCount" value="#{dynamicTable.rowCount}" accessKey="R">
+ <f:facet name="help">
+ <tr:outputText value="Minimum -1. Maximum 400"/>
</f:facet>
- </tr:panelFormLayout>
-
- <tr:table var="row"
- emptyText="No Data"
- value="#{dynamicTable}"
- rows="#{dynamicTable.blockSize}"
- summary="Dynamic Table">
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Row"/>
- </f:facet>
- <tr:outputText value="#{empty row ? 'NULL - This is bad!' : row}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Number"/>
- </f:facet>
- <tr:outputText value="#{row * 100}"/>
- </tr:column>
- </tr:table>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <f:validateLongRange minimum="-1" maximum="400"/>
+ </tr:inputText>
+ <tr:inputText label="RowCount (Actual)" accessKey="A"
+ value="#{dynamicTable.actualRowCount}">
+ <f:facet name="help">
+ <tr:outputText value="Minimum 0. Maximum 400"/>
+ </f:facet>
+ <f:validateLongRange minimum="0" maximum="400"/>
+ </tr:inputText>
+ <tr:inputText label="Block Size" accessKey="B" value="#{dynamicTable.blockSize}">
+ <f:facet name="help">
+ <tr:outputText value="Minimum 0"/>
+ </f:facet>
+ <f:validateLongRange minimum="0"/>
+ </tr:inputText>
+ <f:facet name="footer">
+ <tr:commandButton textAndAccessKey="&Update"/>
+ </f:facet>
+ </tr:panelFormLayout>
+ <tr:table var="row" emptyText="No Data" value="#{dynamicTable}"
+ rows="#{dynamicTable.blockSize}" summary="Dynamic Table">
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Row"/>
+ </f:facet>
+ <tr:outputText value="#{empty row ? 'NULL - This is bad!' : row}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Number"/>
+ </f:facet>
+ <tr:outputText value="#{row * 100}"/>
+ </tr:column>
+ </tr:table>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_nested.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_nested.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_nested.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_nested.jspx Thu Feb 21 00:54:37 2008
@@ -25,17 +25,24 @@
xmlns:tr="http://myfaces.apache.org/trinidad" >
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
- <tr:document title="table Demo">
+ <tr:document title="Nested Table Demo">
<tr:form >
<tr:messages/>
<tr:panelGroupLayout layout="vertical">
<f:facet name="separator">
<tr:separator />
</f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
+ <tr: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_table.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#table"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>Editable table</b>"/>
+ <tr:outputFormatted styleUsage="instruction" value="<b>Nested table</b>"/>
<tr:table var="row"
value="#{periodicTable.tableData}" rows="10"
summary="Element data">
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_selection.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_selection.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_selection.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/table_selection.jspx Thu Feb 21 00:54:37 2008
@@ -19,38 +19,39 @@
-->
<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: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="tableSelectMany Demo">
+ <tr:document title="Table Selection Demo">
<tr:form>
<tr:panelGroupLayout layout="vertical">
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- </tr:panelGroupLayout>
- <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_table.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#table"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>table selection</b>"/>
<tr:messages/>
- <tr:selectOneChoice value="#{sessionScope.tableSelection}"
- autoSubmit="true"
- id="selType"
- label="Selection Type">
+ <tr:selectOneChoice value="#{sessionScope.tableSelection}" autoSubmit="true" id="selType"
+ label="Selection Type">
<tr:selectItem label="Single" value="#{null}"/>
<tr:selectItem label="Multiple" value="#{true}"/>
</tr:selectOneChoice>
- <tr:table summary="Periodic table"
- binding="#{tableActions.table}"
+ <tr:table summary="Periodic table" binding="#{tableActions.table}"
partialTriggers="selType"
rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}"
value="#{periodicTable.tableData}" var="row" rows="10">
<f:facet name="footer">
- <tr:commandButton text="Report"
- actionListener="#{tableActions.performReport}"/>
+ <tr:commandButton text="Report" actionListener="#{tableActions.performReport}"/>
</f:facet>
<tr:column>
<f:facet name="header">
@@ -68,8 +69,7 @@
<f:facet name="header">
<tr:outputText value="Action Column"/>
</f:facet>
- <tr:commandButton immediate="true" text="Action"
- action="#{row.action}"/>
+ <tr:commandButton immediate="true" text="Action" action="#{row.action}"/>
</tr:column>
</tr:table>
<tr:panelHeader text="Report Items">
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/template.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/template.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,14 +30,19 @@
<tr:form>
<tr:panelGroupLayout layout="vertical">
<f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
+ <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_componentName.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#componentName"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
<tr:outputFormatted styleUsage="instruction" value="<b> </b>"/>
-
- <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/train.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train.jspx Thu Feb 21 00:54:37 2008
@@ -19,37 +19,43 @@
-->
<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="train 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>Link below to process using 'Plus One' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
- <tr:commandLink action="guide.page_p1" text="Plus One Process"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>process using 'Max Visited' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
-
- <tr:train binding="#{editor.component}" var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
- </f:facet>
- </tr:train>
-
- <jsp:directive.include file="editor.jspf" />
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>train</b>"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Link below to process using 'Plus One' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
+ <tr:commandLink action="guide.page_p1" text="Plus One Process"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>process using 'Max Visited' described in the javadoc for org.apache.myfaces.trinidad.ProcessMenuModel</b>"/>
+ <tr:train binding="#{editor.component}" var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ <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/train2.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train2.jspx Thu Feb 21 00:54:37 2008
@@ -19,32 +19,38 @@
-->
<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="train 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>Second Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
- </f:facet>
- </tr:train>
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Second Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train3.jspx Thu Feb 21 00:54:37 2008
@@ -19,32 +19,38 @@
-->
<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="train Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Third Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
</f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Third Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
- </f:facet>
- </tr:train>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4.jspx Thu Feb 21 00:54:37 2008
@@ -19,32 +19,38 @@
-->
<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>
- <trh:head title="train Demo"/>
+ <trh:head title="Train 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>Fourth Step -- train with navigation</b>"/>
+ <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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Fourth Step -- train with navigation</b>"/>
<tr:train var="foo" value="#{processTrainMenuModel}">
<f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
</f:facet>
- </tr:train>
+ </tr:train>
<tr:commandLink action="guide.train4a" text="Go to subprocess"/>
</tr:panelGroupLayout>
</tr:form>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4a.jspx Thu Feb 21 00:54:37 2008
@@ -19,32 +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>
<trh:html>
- <trh:head title="train Demo"/>
+ <trh:head title="Train 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: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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
<tr:outputFormatted styleUsage="instruction" value="<b>SubTrain A</b>"/>
<tr:train var="foo" value="#{processTrainMenuModel}">
<f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
</f:facet>
- </tr:train>
+ </tr:train>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4b.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,18 +32,24 @@
<f:facet name="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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
<tr:outputFormatted styleUsage="instruction" value="<b>SubTrain B</b>"/>
<tr:train var="foo" value="#{processTrainMenuModel}">
<f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
</f:facet>
- </tr:train>
+ </tr:train>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train4c.jspx Thu Feb 21 00:54:37 2008
@@ -19,33 +19,38 @@
-->
<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>
- <trh:head title="train Demo"/>
+ <trh:head title="Train 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: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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
<tr:outputFormatted styleUsage="instruction" value="<b>SubTrain C</b>"/>
<tr:train var="foo" value="#{processTrainMenuModel}">
<f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
</f:facet>
- </tr:train>
- <tr:commandLink action="guide.train4" text="back to main process"/>
+ </tr:train>
+ <tr:commandLink action="guide.train4" text="back to main process"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train5.jspx Thu Feb 21 00:54:37 2008
@@ -19,34 +19,38 @@
-->
<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="train 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>Fifth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
-
- </f:facet>
- </tr:train>
-
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Fifth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train6.jspx Thu Feb 21 00:54:37 2008
@@ -19,33 +19,38 @@
-->
<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="train 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>Sixth Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
- </f:facet>
- </tr:train>
-
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Sixth Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx?rev=629720&r1=629719&r2=629720&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx (original)
+++ myfaces/trinidad/trunk/trinidad-examples/trinidad-demo/src/main/webapp/components/train7.jspx Thu Feb 21 00:54:37 2008
@@ -19,33 +19,38 @@
-->
<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="train 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>Seventh Step -- train with navigation</b>"/>
- <tr:train var="foo" value="#{processTrainMenuModel}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- immediate="#{processTrainMenuModel.immediate}"
- disabled="#{processTrainMenuModel.readOnly}"
- visited="#{processTrainMenuModel.visited}"/>
- </f:facet>
- </tr:train>
-
+ <tr:document title="Train 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_train.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#train"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Seventh Step -- train with navigation</b>"/>
+ <tr:train var="foo" value="#{processTrainMenuModel}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ immediate="#{processTrainMenuModel.immediate}"
+ disabled="#{processTrainMenuModel.readOnly}"
+ visited="#{processTrainMenuModel.visited}"/>
+ </f:facet>
+ </tr:train>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>