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 10:07:48 UTC
svn commit: r629724 [3/8] - in
/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components:
./ html/
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputFile.jspx Thu Feb 21 01:07:34 2008
@@ -19,25 +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="InputFile Demo">
- <tr:form usesUpload="true">
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>InputFile</b>"/>
+ <tr:document title="InputFile Demo">
+ <tr:form usesUpload="true">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
<tr:separator/>
- <tr:inputFile binding="#{editor.component}" label="Label" valueChangeListener="#{ui.fileUploaded}" />
- <tr:commandButton text="Submit"/>
- <tr:separator/>
- <jsp:directive.include file="editor.jspf" />
+ </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_inputFile.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputFile</b>"/>
+ <tr:inputFile binding="#{editor.component}" label="Label"
+ valueChangeListener="#{ui.fileUploaded}"/>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
</tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputHidden.jspx Thu Feb 21 01:07:34 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,15 +30,18 @@
<tr:form>
<tr:panelGroupLayout layout="vertical">
<f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>InputHidden</b>"/>
+ <tr: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_inputHidden.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputHidden</b>"/>
<tr:inputHidden binding="#{editor.component}" value="Some text"/>
<tr:commandButton text="Submit"/>
-
- <jsp:directive.include file="editor.jspf" />
+ <jsp:directive.include file="editor.jspf"/>
</tr:panelGroupLayout>
</tr:form>
</trh:body>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputListOfValues.jspx Thu Feb 21 01:07:34 2008
@@ -19,49 +19,47 @@
-->
<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="InputListOfValues Demo">
- <tr:form>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:separator/>
- <tr:panelPage>
- <tr:messages/>
- <tr:panelHeader text="InputListOfValues Demo">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>A basic inputListOfValues</b>"/>
- <tr:inputListOfValues label="Atomic element:" value="(Empty)"
- binding="#{editor.component}"
- searchDesc="Pick an element"
+ <tr:form>
+ <tr:panelPage>
+ <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_inputListOfValues.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#inputListOfValues"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputListOfValues</b>"/>
+ <tr:inputListOfValues label="Atomic element:" value="(Empty)"
+ binding="#{editor.component}" searchDesc="Pick an element"
columns="10" action="dialog:periodicTable"/>
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>inputListOfValues inside a table </b>"/>
-
- <tr:table value="#{table}" var="row" width="40%">
- <tr:column>
- <tr:outputText value="#{row.int}"/>
- </tr:column>
- <tr:column width="100%" noWrap="true">
- <tr:inputListOfValues value="(Empty)" columns="10"
- searchDesc="Pick an element"
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>inputListOfValues inside a table </b>"/>
+ <tr:table value="#{table}" var="row" width="40%">
+ <tr:column>
+ <tr:outputText value="#{row.int}"/>
+ </tr:column>
+ <tr:column width="100%" noWrap="true">
+ <tr:inputListOfValues value="(Empty)" columns="10" searchDesc="Pick an element"
shortDesc="Enter element name or pick a element"
action="dialog:periodicTable"/>
- </tr:column>
- </tr:table>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- <tr:commandButton text="Submit"/>
- </tr:panelPage>
- </tr:form>
+ </tr:column>
+ </tr:table>
+ </tr:panelGroupLayout>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
</tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputNumberSpinbox.jspx Thu Feb 21 01:07:34 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: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="InputNumberSpinbox Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>InputNumberSpinbox</b>"/>
- <tr:inputNumberSpinbox binding="#{editor.component}" label="Label" value="2000"
- minimum="1976" maximum="2010" stepSize="1" onclick="alert('hello');"/>
- <tr:commandButton text="Submit"/>
-
- <jsp:directive.include file="editor.jspf" />
- <tr:inputNumberSpinbox label="With ValidateLongRange" value="2000"
- minimum="1976" maximum="2010" stepSize="1" shortDesc="enter # between 1976 and 2010">
- <f:validateLongRange minimum="1976" maximum="2010" />
+ <tr:document title="InputNumberSpinbox 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_inputNumberSpinbox.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#inputNumberSpinbox"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputNumberSpinbox</b>"/>
+ <tr:inputNumberSpinbox binding="#{editor.component}" label="Label" value="2000"
+ minimum="1976" maximum="2010" stepSize="1"
+ onclick="alert('hello');"/>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:inputNumberSpinbox label="With ValidateLongRange" value="2000" minimum="1976"
+ maximum="2010" stepSize="1"
+ shortDesc="enter # between 1976 and 2010">
+ <f:validateLongRange minimum="1976" maximum="2010"/>
</tr:inputNumberSpinbox>
<tr:commandButton text="Submit"/>
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/inputText.jspx Thu Feb 21 01:07:34 2008
@@ -19,39 +19,44 @@
-->
<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="InputText Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>InputText</b>"/>
- <tr:inputText binding="#{editor.component}" label="Label" value="Some text"/>
- <tr:commandButton text="Submit"/>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction" value="<b>InputText Bound To Date</b>"/>
- <tr:inputText label="Label2" value="#{date.date1}" autoSubmit="true">
- <f:convertDateTime dateStyle="long"/>
- </tr:inputText>
- <tr:outputText styleClass="AFInstructionText"
- value="The submitted value was: "/>
- <tr:outputText value="#{date.date1}"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>InputText with help facet</b>"/>
- <tr:inputText label="Label3" >
- <f:facet name="help">
- <tr:outputText value="Help facet text"/>
- </f:facet>
- </tr:inputText>
+ <tr:document title="InputText 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_inputText.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#inputText"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputText</b>"/>
+ <tr:inputText binding="#{editor.component}" label="Label" value="Some text"/>
+ <tr:commandButton text="Submit"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText Bound To Date</b>"/>
+ <tr:inputText label="Label2" value="#{date.date1}" autoSubmit="true">
+ <f:convertDateTime dateStyle="long"/>
+ </tr:inputText>
+ <tr:outputText styleClass="AFInstructionText" value="The submitted value was: "/>
+ <tr:outputText value="#{date.date1}"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText with help facet</b>"/>
+ <tr:inputText label="Label3">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:inputText>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/iterator.jspx Thu Feb 21 01:07:34 2008
@@ -19,40 +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="Iterator Demo">
- <tr:form >
- <tr:messages/>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Iterated Data with VarStatus</b>"/>
- <tr:iterator var="row" first="3" rows="3" varStatus="stat"
- binding="#{editor.component}"
- value="#{periodicTable.tableData}" >
- <tr:outputText value="#{stat.count}. Index:#{stat.index} of #{stat.model.rowCount}"/>
- <tr:inputText label="Element Name" value="#{row.name}"/>
- <tr:inputText label="Atomic Number" value="#{row.number}"/>
- <tr:inputText label="Symbol" value="#{row.symbol}"/>
- <tr:inputText label="Group" value="#{row.group}"/>
- <tr:separator/>
- </tr:iterator>
-
- <tr:outputFormatted styleUsage="instruction"
- value="<b>Use the editor to change the range:</b>"/>
- <jsp:directive.include file="editor.jspf" />
-
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:document title="Iterator 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_iterator.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>iterator with VarStatus</b>"/>
+ <tr:iterator var="row" first="3" rows="3" varStatus="stat" binding="#{editor.component}"
+ value="#{periodicTable.tableData}">
+ <tr:outputText value="#{stat.count}. Index:#{stat.index} of #{stat.model.rowCount}"/>
+ <tr:inputText label="Element Name" value="#{row.name}"/>
+ <tr:inputText label="Atomic Number" value="#{row.number}"/>
+ <tr:inputText label="Symbol" value="#{row.symbol}"/>
+ <tr:inputText label="Group" value="#{row.group}"/>
+ <tr:separator/>
+ </tr:iterator>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Use the editor to change the range:</b>"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/legend.jspx Thu Feb 21 01:07:34 2008
@@ -19,25 +19,28 @@
-->
<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="ObjectLegend Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:legend binding="#{editor.component}" name="required"/>
-
- <jsp:directive.include file="editor.jspf" />
+ <tr:document title="ObjectLegend 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_legend.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>legend</b>"/>
+ <tr:legend binding="#{editor.component}" name="required"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/media.jspx Thu Feb 21 01:07:34 2008
@@ -19,29 +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="Media Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Simple objectMedia demo </b>"/>
- <tr:media source="/components/images/seattle.wmv" innerWidth="160"
- innerHeight="112" autostart="true" controls="all"
- shortDesc="Visit Seattle" binding="#{editor.component}"/>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="Media 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_media.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>media </b>"/>
+ <tr:media source="/components/images/seattle.wmv" innerWidth="160" innerHeight="112"
+ autostart="true" controls="all" shortDesc="Visit Seattle"
+ binding="#{editor.component}"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/message.jspx Thu Feb 21 01:07:34 2008
@@ -19,40 +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="Messages Demo">
- <tr:form defaultCommand="message">
+ <tr:document title="Message Demo">
+ <tr:form defaultCommand="message">
+ <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_message.html"
+ text="Tag Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>message</b>"/>
+ <tr:outputText value="Type 'cat' to see an error message"/>
<tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Type 'cat' to see an error message</b>"/>
-
- <tr:panelGroupLayout layout="vertical">
- <tr:outputLabel for="foo" value="Label"/>
- <tr:message for="foo" binding="#{editor.component}"
- inlineStyle="background-color:red">
- <f:facet name="help">
- <tr:outputText value="Help facet text"/>
- </f:facet>
- </tr:message>
- <tr:inputText id="foo" simple="true" label="BigInteger field">
- <f:converter converterId="javax.faces.BigInteger"/>
- </tr:inputText>
- <tr:commandButton id="message" text="Submit"/>
- </tr:panelGroupLayout>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:outputLabel for="foo" value="Label"/>
+ <tr:message for="foo" binding="#{editor.component}" inlineStyle="background-color:red">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:message>
+ <tr:inputText id="foo" simple="true" label="BigInteger field">
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:commandButton id="message" text="Submit"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/messages.jspx Thu Feb 21 01:07:34 2008
@@ -19,55 +19,52 @@
-->
<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="Messages Demo">
- <tr:form defaultCommand="messages">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Simple messages demo</b>"/>
-
- <tr:messages binding="#{editor.component}"/>
-
- <tr:panelFormLayout>
- <tr:inputText label="Amount">
- <f:facet name="help">
- <tr:outputText value="Type 'cat' to see an error in the message box"/>
- </f:facet>
- <f:converter converterId="javax.faces.BigInteger"/>
- </tr:inputText>
-
- <tr:inputText label="Threshold">
- <f:facet name="help">
- <tr:outputText value="type='percent' locale='en_US' - This results in fraction displayed as integer value with % symbol"/>
- </f:facet>
- <f:convertNumber type="percent" locale="en_US"/>
- </tr:inputText>
-
- </tr:panelFormLayout>
-
- <tr:commandButton id="messages" text="Submit"/>
-
- <tr:panelHorizontalLayout>
-
- <tr:commandButton text="Add Message" action="#{messages.createGlobalMessage}" immediate="true" ></tr:commandButton>
-
- <tr:commandButton text="Add Multiple Messages" action="#{messages.createMultipleGlobalMessages}" immediate="true" ></tr:commandButton>
-
- </tr:panelHorizontalLayout>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="Messages Demo">
+ <tr:form defaultCommand="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_messages.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#messages"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>messages</b>"/>
+ <tr:messages binding="#{editor.component}"/>
+ <tr:panelFormLayout>
+ <tr:inputText label="Amount">
+ <f:facet name="help">
+ <tr:outputText value="Type 'cat' to see an error in the message box"/>
+ </f:facet>
+ <f:converter converterId="javax.faces.BigInteger"/>
+ </tr:inputText>
+ <tr:inputText label="Threshold">
+ <f:facet name="help">
+ <tr:outputText value="type='percent' locale='en_US' - This results in fraction displayed as integer value with % symbol"/>
+ </f:facet>
+ <f:convertNumber type="percent" locale="en_US"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:commandButton id="messages" text="Submit"/>
+ <tr:panelHorizontalLayout>
+ <tr:commandButton text="Add Message" action="#{messages.createGlobalMessage}"
+ immediate="true"></tr:commandButton>
+ <tr:commandButton text="Add Multiple Messages"
+ action="#{messages.createMultipleGlobalMessages}" immediate="true"></tr:commandButton>
+ </tr:panelHorizontalLayout>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationPane.jspx Thu Feb 21 01:07:34 2008
@@ -18,10 +18,8 @@
under the License.
-->
-<jsp:root version="1.2"
- xmlns:jsp="http://java.sun.com/JSP/Page"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad">
+<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<f:view>
<tr:document title="navigationPane Demo">
@@ -31,126 +29,112 @@
<tr:separator/>
</f:facet>
<tr:navigationPane hint="buttons">
- <tr:commandNavigationItem immediate="true" text="Component Guide"
- action="guide"/>
+ <tr:commandNavigationItem immediate="true" text="Component Guide" action="guide"/>
<tr:commandNavigationItem immediate="true" text="Page Hierarchy Demo"
- action="guide.page"/>
+ action="guide.page"/>
<tr:commandNavigationItem immediate="true" text="BreadCrumbs Demo"
- action="guide.breadCrumbs"/>
+ action="guide.breadCrumbs"/>
<tr:commandNavigationItem immediate="true" text="CommandNavigationItem Demo"
- action="guide.commandNavigationItem"/>
+ action="guide.commandNavigationItem"/>
<tr:commandNavigationItem immediate="true" text="PanelPage Demo"
- action="guide.panelPage"/>
+ action="guide.panelPage"/>
</tr:navigationPane>
- <tr:outputFormatted styleUsage="instruction" value="<b>A navigationPane</b>"/>
- <tr:navigationPane id="menuItemContainer" hint="tabs"
- binding="#{editor.component}" shortDesc="Select Page">
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_navigationPane.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#navigationPane"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>navigationPane</b>"/>
+ <tr:navigationPane id="menuItemContainer" hint="tabs" binding="#{editor.component}"
+ shortDesc="Select Page">
<tr:commandNavigationItem text="Page 1" id="item1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Page 2" id="item2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Page 2" id="item2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Page 3" id="item3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Page 4" id="item4" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Page 5" id="item5" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
</tr:navigationPane>
<jsp:directive.include file="editor.jspf"/>
<tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted
- value="<b>navigationPane with 'bar' hint</b>"/>
+ <tr:outputFormatted value="<b>navigationPane with 'bar' hint</b>"/>
<tr:navigationPane hint="bar" id="barExample">
<tr:commandNavigationItem text="Bar Item 1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Bar Item 2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Bar Item 2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Bar Item 3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
- disabled="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Component Guide"
- immediate="true" action="guide"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true" disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide" immediate="true" action="guide"/>
</tr:navigationPane>
</tr:panelGroupLayout>
<tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted
- value="<b>navigationPane with 'buttons' hint</b>"/>
+ <tr:outputFormatted value="<b>navigationPane with 'buttons' hint</b>"/>
<tr:panelGroupLayout styleClass="RichPanelPage"
- inlineStyle="position: relative; height: auto;">
+ inlineStyle="position: relative; height: auto;">
<tr:panelGroupLayout styleClass="RichPanelPageNavigationGlobal">
<tr:navigationPane hint="buttons" id="buttonsExample">
<tr:commandNavigationItem text="Button 1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Button 2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Button 2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Button 3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
- disabled="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Component Guide"
- immediate="true" action="guide"/>
+ disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide" immediate="true" action="guide"/>
</tr:navigationPane>
</tr:panelGroupLayout>
</tr:panelGroupLayout>
</tr:panelGroupLayout>
<tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted
- value="<b>navigationPane with 'choice' hint</b>"/>
+ <tr:outputFormatted value="<b>navigationPane with 'choice' hint</b>"/>
<tr:navigationPane hint="choice" id="choiceExample">
<tr:commandNavigationItem text="Choice 1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Choice 2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Choice 2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Choice 3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
- disabled="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Component Guide"
- immediate="true" action="guide"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true" disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide" immediate="true" action="guide"/>
</tr:navigationPane>
</tr:panelGroupLayout>
<tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted
- value="<b>navigationPane with 'list' hint</b>"/>
+ <tr:outputFormatted value="<b>navigationPane with 'list' hint</b>"/>
<tr:navigationPane hint="list" id="listExample">
<tr:commandNavigationItem text="List Item 1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="List Item 2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="List Item 2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="List Item 3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
- disabled="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Component Guide"
- immediate="true" action="guide"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true" disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide" immediate="true" action="guide"/>
</tr:navigationPane>
</tr:panelGroupLayout>
<tr:panelGroupLayout layout="vertical">
- <tr:outputFormatted
- value="<b>navigationPane with 'tabs' hint</b>"/>
+ <tr:outputFormatted value="<b>navigationPane with 'tabs' hint</b>"/>
<tr:navigationPane hint="tabs" id="tabsExample">
<tr:commandNavigationItem text="Tab 1" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Tab 2" partialSubmit="true"
- selected="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Tab 2" partialSubmit="true" selected="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
<tr:commandNavigationItem text="Tab 3" partialSubmit="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Disabled Item" partialSubmit="true"
- disabled="true"
- actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
- <tr:commandNavigationItem text="Component Guide"
- immediate="true" action="guide"/>
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Disabled Item" partialSubmit="true" disabled="true"
+ actionListener="#{demoCommandNavigationItem.navigationItemAction}"/>
+ <tr:commandNavigationItem text="Component Guide" immediate="true" action="guide"/>
</tr:navigationPane>
</tr:panelGroupLayout>
</tr:panelGroupLayout>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/navigationTree.jspx Thu Feb 21 01:07:34 2008
@@ -19,32 +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="NavigationTree Demo">
- <tr:form>
- <tr:messages/>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Basic NavigationTree</b>"/>
-
- <tr:navigationTree var="node"
- value="#{navigationTree}" >
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{node.label}"
- action="#{node.view}"/>
- </f:facet>
- </tr:navigationTree>
+ <tr:document title="NavigationTree 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_navigationTree.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#navigationTree"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>navigationTree</b>"/>
+ <tr:navigationTree var="node" value="#{navigationTree}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{node.label}" action="#{node.view}"/>
+ </f:facet>
+ </tr:navigationTree>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputDocument.jspx Thu Feb 21 01:07:34 2008
@@ -19,31 +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: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="OutputDocument Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>simple outputDocument</b>"/>
- <tr:outputDocument binding="#{editor.component}" value="Text that is <b>bold</b>
-and <i>italicized</i>">
- <f:facet name="title"><tr:outputText value="Title"/></f:facet>
- <f:facet name="separator"><tr:separator/></f:facet>
- </tr:outputDocument>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="OutputDocument 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_outputDocument.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#outputDocument"
+ text="Skinning Key Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>outputDocument</b>"/>
+ <tr:outputDocument binding="#{editor.component}" value="Text that is <b>bold</b>
+ and <i>italicized</i>">
+ <f:facet name="title">
+ <tr:outputText value="Title"/>
+ </f:facet>
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ </tr:outputDocument>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputFormatted.jspx Thu Feb 21 01:07:34 2008
@@ -19,27 +19,29 @@
-->
<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="OutputFormatted Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>simple outputFormatted</b>"/>
- <tr:outputFormatted styleUsage="instruction" binding="#{editor.component}" value="Text that is <b>bold</b> and <i>italicized</i>"/>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="OutputFormatted 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_outputFormatted.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>outputFormatted</b>"/>
+ <tr:outputFormatted styleUsage="instruction" binding="#{editor.component}"
+ value="Text that is <b>bold</b> and <i>italicized</i>"/>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputLabel.jspx Thu Feb 21 01:07:34 2008
@@ -19,31 +19,33 @@
-->
<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="OutputLabel Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>outputLabel</b>"/>
- <tr:panelGroupLayout>
- <tr:outputLabel binding="#{editor.component}" accessKey="S" value="Some text" for="inputId"/>
- <tr:spacer width="5"/>
- <tr:inputText simple="true" id="inputId"/>
- </tr:panelGroupLayout>
-
- <jsp:directive.include file="editor.jspf" />
-
+ <tr:document title="OutputLabel 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_outputLabel.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>outputLabel</b>"/>
+ <tr:panelGroupLayout>
+ <tr:outputLabel binding="#{editor.component}" accessKey="S" value="Some text"
+ for="inputId"/>
+ <tr:spacer width="5"/>
+ <tr:inputText simple="true" id="inputId"/>
+ </tr:panelGroupLayout>
+ <jsp:directive.include file="editor.jspf"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/outputText.jspx Thu Feb 21 01:07:34 2008
@@ -19,32 +19,34 @@
-->
<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="OutputText Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator />
- </f:facet>
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:outputFormatted styleUsage="instruction" value="<b>Plain styled text</b>"/>
- <tr:outputText binding="#{editor.component}" value="Some text"/>
-
- <jsp:directive.include file="editor.jspf" />
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Text containing characters needing escaping</b>"/>
- <tr:outputText value="<b>Some text</b>"/>
-
- <tr:outputFormatted styleUsage="instruction" value="<b>Text containing characters needing escaping; escape set to "false"</b>"/>
- <tr:outputText value="<b>Some text</b>" escape="false"/>
+ <tr:document title="OutputText 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_outputText.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+ <tr:outputFormatted styleUsage="instruction" value="<b>outputText</b>"/>
+ <tr:outputText binding="#{editor.component}" value="Some text"/>
+ <jsp:directive.include file="editor.jspf"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>Text containing characters needing escaping</b>"/>
+ <tr:outputText value="<b>Some text</b>"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value='<b>Text containing characters needing escaping; escape set to "false"</b>'/>
+ <tr:outputText value="<b>Some text</b>" escape="false"/>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b1c2.jspx Thu Feb 21 01:07:34 2008
@@ -19,100 +19,92 @@
-->
<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="Page Hierarchy Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:separator/>
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}" icon="#{foo.ico}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation1">
- <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem
- text="#{foo.label}" action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation2">
- <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem
- text="#{foo.label}" action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation3">
- <tr:navigationTree startLevel="3" var="foo"
- value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem
- text="#{foo.label}" action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationTree>
- </f:facet>
- <f:facet name="location">
- <tr:breadCrumbs var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem
- text="#{foo.label}" action="#{foo.getOutcome}"
- icon="#{foo.ico}"/>
- </f:facet>
- </tr:breadCrumbs>
- </f:facet>
- <f:facet name="appAbout">
- <tr:outputText value="appAbout facet"/>
- </f:facet>
- <f:facet name="appCopyright">
- <tr:outputText value="appCopyright facet"/>
- </f:facet>
- <f:facet name="appPrivacy">
- <tr:outputText value="appPrivacy facet"/>
- </f:facet>
- <f:facet name="branding">
- <tr:outputFormatted styleUsage="instruction"
- value="branding facet"/>
- </f:facet>
- <f:facet name="infoFootnote">
- <tr:outputFormatted styleUsage="instruction"
- value="infoFootnote facet"/>
- </f:facet>
- <f:facet name="infoReturn">
- <tr:outputFormatted styleUsage="instruction"
- value="infoReturn facet"/>
- </f:facet>
- <f:facet name="infoStatus">
- <tr:outputFormatted styleUsage="instruction"
- value="infoStatus facet"/>
- </f:facet>
- <f:facet name="infoUser">
- <tr:outputFormatted styleUsage="instruction"
- value="infoUser facet"/>
- </f:facet>
- <f:facet name="search">
- <tr:outputFormatted styleUsage="instruction"
- value="search facet"/>
- </f:facet>
- <tr:panelHeader text="Title attribute">
- <tr:outputFormatted styleUsage="instruction"
- value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
- <jsp:include page="/components/pageContent_include.jspx"/>
- </tr:panelHeader>
- </tr:panelPage>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <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:panelGroupLayout>
- </tr:form>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationTree startLevel="3" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationTree>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction" value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction" value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction" value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction" value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction" value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction" value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
</tr:document>
</f:view>
</jsp:root>
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx?rev=629724&r1=629723&r2=629724&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-examples/trinidad-demo/src/main/webapp/components/page_a1b2.jspx Thu Feb 21 01:07:34 2008
@@ -19,100 +19,91 @@
-->
<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="Page Hierarchy Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink immediate="true" text="Component Guide"
- action="guide"/>
- <tr:separator/>
- <tr:panelPage>
- <f:facet name="navigation1">
- <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation2">
- <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigation3">
- <tr:navigationPane hint="list" level="3" var="foo"
- value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="navigationGlobal">
- <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"
- icon="#{foo.ico}"/>
- </f:facet>
- </tr:navigationPane>
- </f:facet>
- <f:facet name="location">
- <tr:breadCrumbs var="foo" value="#{menuModel.model}">
- <f:facet name="nodeStamp">
- <tr:commandNavigationItem text="#{foo.label}"
- action="#{foo.getOutcome}"/>
- </f:facet>
- </tr:breadCrumbs>
- </f:facet>
- <f:facet name="appAbout">
- <tr:outputText value="appAbout facet"/>
- </f:facet>
- <f:facet name="appCopyright">
- <tr:outputText value="appCopyright facet"/>
- </f:facet>
- <f:facet name="appPrivacy">
- <tr:outputText value="appPrivacy facet"/>
- </f:facet>
- <f:facet name="branding">
- <tr:outputFormatted styleUsage="instruction"
- value="branding facet"/>
- </f:facet>
- <f:facet name="infoFootnote">
- <tr:outputFormatted styleUsage="instruction"
- value="infoFootnote facet"/>
- </f:facet>
- <f:facet name="infoReturn">
- <tr:outputFormatted styleUsage="instruction"
- value="infoReturn facet"/>
- </f:facet>
- <f:facet name="infoStatus">
- <tr:outputFormatted styleUsage="instruction"
- value="infoStatus facet"/>
- </f:facet>
- <f:facet name="infoUser">
- <tr:outputFormatted styleUsage="instruction"
- value="infoUser facet"/>
- </f:facet>
- <f:facet name="search">
- <tr:outputFormatted styleUsage="instruction"
- value="search facet"/>
- </f:facet>
- <tr:panelHeader text="Title attribute">
- <tr:outputFormatted styleUsage="instruction"
- value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
- <jsp:include page="/components/pageContent_include.jspx"/>
- </tr:panelHeader>
- </tr:panelPage>
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <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_page.html"
+ text="Tag Documentation"/>
</tr:panelGroupLayout>
- </tr:form>
+ <tr:separator/>
+ <tr:panelPage>
+ <f:facet name="navigation1">
+ <tr:navigationPane hint="tabs" level="1" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:navigationPane hint="bar" level="2" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:navigationPane hint="list" level="3" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:navigationPane hint="buttons" var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"
+ icon="#{foo.ico}"/>
+ </f:facet>
+ </tr:navigationPane>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs var="foo" value="#{menuModel.model}">
+ <f:facet name="nodeStamp">
+ <tr:commandNavigationItem text="#{foo.label}" action="#{foo.getOutcome}"/>
+ </f:facet>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:outputText value="appAbout facet"/>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="appCopyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:outputText value="appPrivacy facet"/>
+ </f:facet>
+ <f:facet name="branding">
+ <tr:outputFormatted styleUsage="instruction" value="branding facet"/>
+ </f:facet>
+ <f:facet name="infoFootnote">
+ <tr:outputFormatted styleUsage="instruction" value="infoFootnote facet"/>
+ </f:facet>
+ <f:facet name="infoReturn">
+ <tr:outputFormatted styleUsage="instruction" value="infoReturn facet"/>
+ </f:facet>
+ <f:facet name="infoStatus">
+ <tr:outputFormatted styleUsage="instruction" value="infoStatus facet"/>
+ </f:facet>
+ <f:facet name="infoUser">
+ <tr:outputFormatted styleUsage="instruction" value="infoUser facet"/>
+ </f:facet>
+ <f:facet name="search">
+ <tr:outputFormatted styleUsage="instruction" value="search facet"/>
+ </f:facet>
+ <tr:panelHeader text="Title attribute">
+ <tr:outputFormatted styleUsage="instruction"
+ value="This group of demo pages uses one of 2 components to lay out the page, 'page' or 'panelPage'. This particular page uses the <b>'panelPage'</b> component."/>
+ <jsp:include page="/components/pageContent_include.jspx"/>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:panelGroupLayout>
+ </tr:form>
</tr:document>
</f:view>
</jsp:root>