You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by ma...@apache.org on 2006/08/03 05:49:00 UTC
svn commit: r428248 [10/13] - in
/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp: ./
components/ components/html/ components/regions/ convertValidate/ demos/
demos/changeDemos/ demos/tableDemos/ email/ performance/ surveydemo/
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,161 +14,161 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title=" Trinidad Converters and Validators message customization">
- <tr:form>
- <tr:panelPage>
- <tr:messages/>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Converters and Validators"
- action="convertValidateDemos"
- immediate="true"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelHeader text="Custom messages for conversion and validation failures">
- <tr:panelHeader text="Message customization on input component for 'required' validation"/>
- <tr:panelFormLayout>
- <tr:inputDate id="mdf1"
- value="#{messageCustomization.date1}"
- label="Date of birth" required="true"
- requiredMessageDetail="#{messageCustomization.messages.DOB_REQD_ID}"></tr:inputDate>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on reg exp validator"/>
- <tr:panelFormLayout>
- <tr:inputText value="#{messageCustomization.regExpValue}"
- label="Pin" >
- <f:facet name="help">
- <tr:outputText value="Enter your three digit pin"/>
- </f:facet>
- <tr:validateRegExp pattern="[1-9][0-9][0-9]"
- noMatchMessageDetail="#{messageCustomization.messages.PIN_NO_MATCH_ID}"/>
- </tr:inputText>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on byte length validator"/>
- <tr:panelFormLayout>
- <tr:inputText value="#{messageCustomization.byteLengthValue}"
- label="Name">
- <f:facet name="help">
- <tr:outputText value="Enter your name. It should not exceed 4 characters"/>
- </f:facet>
- <tr:validateByteLength encoding="ISO-8859-1" maximum="4"
- maximumMessageDetail='The "{0}" "{1}" exceeds {2} characters'/>
- </tr:inputText>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on date time range validator"/>
- <tr:panelFormLayout>
- <tr:inputDate id="mdf3"
- value="#{messageCustomization.date1}"
- label="Start date for submission">
- <f:facet name="help">
- <tr:outputText value="min=#{messageCustomization.minDateTip}"/>
- </f:facet>
- <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
- maximumMessageDetail='Date "{1}" in "{0}" is farther than {2}'
- minimumMessageDetail='Date "{1}" in "{0}" is before the accepted date - {2} for receving forms. '
- notInRangeMessageDetail='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}'/>
- </tr:inputDate>
- <tr:inputDate id="mdf4"
- value="#{messageCustomization.date1}"
- label="Last date">
- <f:facet name="help">
- <tr:outputText value="max=#{messageCustomization.maxDateTip}"/>
- </f:facet>
- <tr:validateDateTimeRange maximum="#{date.maxDate}"
- maximumMessageDetail='The date "{1}" in "{0}" which you have chosen, falls after the final acceptable date - {2}.'
- minimumMessageDetail='Date "{1}" in "{0}" is less than the minimum acceptable: {2}.'
- notInRangeMessageDetail='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}.'/>
- </tr:inputDate>
- <tr:inputDate id="mdf5"
- value="#{messageCustomization.date1}"
- label="Submission period">
- <f:facet name="help">
- <tr:outputText value="min=#{messageCustomization.minDateTip} max=#{messageCustomization.maxDateTip}"/>
- </f:facet>
- <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
- maximum="#{messageCustomization.maxDate}"
- notInRangeMessageDetail='Submission date "{1}" in "{0}" is not with in the specified period {2}-{3}.'/>
- </tr:inputDate>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on color converter"/>
- <tr:panelFormLayout>
- <tr:inputColor id="sicConvx" label="Enter or choose color"
- value="#{messageCustomization.color}">
- <f:facet name="help">
- <tr:outputText value="HTML hex color pattern:#RRGGBB"/>
- </f:facet>
- <tr:convertColor patterns="#RRGGBB" transparentAllowed="true"
- convertMessageDetail='The color "{1}" you have chosen in "{0}" is not a valid HTML hex pattern {2}.'/>
- </tr:inputColor>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on date time converter"/>
- <tr:panelFormLayout>
- <tr:inputDate id="mdf6" value="2004/09/06"
- label="Date of birth">
- <f:facet name="help">
- <tr:outputText value="1/20/1972 or 1972/20/2"/>
- </f:facet>
- <!--All custom messages need not be set. It is just enough if we set 'convertDateMessageDetail' -->
- <tr:convertDateTime secondaryPattern="d/M/yyyy"
- pattern="yyyy/M/d"
- convertDateMessageDetail='"{1}" in "{0}" is not a valid date. Example is {2}'
- convertTimeMessageDetail='"{1}" in "{0}", is not valid date. Example is {2}.'
- convertBothMessageDetail='"{1}" in "{0}", is not valid Date and time. The format is {2}.'/>
- </tr:inputDate>
- <tr:inputDate id="mdf7" value="11:36:15 AM"
- label="Time of birth">
- <f:facet name="help">
- <tr:outputText value="11:36:15 AM"/>
- </f:facet>
- <tr:convertDateTime type="time" timeStyle="medium"
- convertTimeMessageDetail='"{1}" in "{0}", is not a valid time. Example: {2}.'/>
- </tr:inputDate>
- <tr:inputDate id="mdf8" value="12/20/2004 8:11 AM"
- label="Date and time of birth">
- <f:facet name="help">
- <tr:outputText value="2/26/2005 8:11 AM"/>
- </f:facet>
- <tr:convertDateTime type="both"
- convertBothMessageDetail='"{1}" in "{0}", is not a valid Date and time. Example: {2}.'/>
- </tr:inputDate>
- </tr:panelFormLayout>
- <tr:panelHeader text="Message customization on number converter"/>
- <tr:panelFormLayout>
- <tr:inputText value="555" label="Your lucky number">
- <f:facet name="help">
- <tr:outputText value="type='number' locale='en_US' Valid input=44444456 Invalid value=555o"/>
- </f:facet>
- <tr:convertNumber type="number" locale="en_US"
- convertCurrencyMessageDetail='"{1}" in "{0}" is not a valid currency value.'
- convertNumberMessageDetail='"{1}" in "{0}" is not valid. Please choose a number.'
- convertPatternMessageDetail='"{1}" in "{0}" does not match the pattern {2}'
- convertPercentMessageDetail='"{1}" in "{0}" is not a valid percentile.'/>
- </tr:inputText>
- <tr:inputText value="5%" label="Machine efficieny"
- readOnly="false">
- <f:facet name="help">
- <tr:outputText value="type='percent' locale='en_US' Valid value=75% Invalid value=75"/>
- </f:facet>
- <tr:convertNumber type="percent" locale="en_US"
- convertPercentMessageDetail='"{1}" in "{0}" is not a valid efficiency value.'/>
- </tr:inputText>
- <tr:inputText value="10.88" label="Pattern based number">
- <f:facet name="help">
- <tr:outputText value="'pattern=##.000' locale='en_US' Invalid value=10e.88"/>
- </f:facet>
- <tr:convertNumber pattern="##.000" locale="en_US"
- convertPatternMessageDetail='"{1}" in "{0}" does not match pattern {2}.'/>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <tr:commandButton text="Submit"/>
- </tr:panelPage>
- </tr:form>
- </tr:document>
- </f:view>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title=" Trinidad Converters and Validators message customization">
+ <tr:form>
+ <tr:panelPage>
+ <tr:messages/>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Converters and Validators"
+ action="convertValidateDemos"
+ immediate="true"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelHeader text="Custom messages for conversion and validation failures">
+ <tr:panelHeader text="Message customization on input component for 'required' validation"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf1"
+ value="#{messageCustomization.date1}"
+ label="Date of birth" required="true"
+ requiredMessageDetail="#{messageCustomization.messages.DOB_REQD_ID}"></tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on reg exp validator"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{messageCustomization.regExpValue}"
+ label="Pin" >
+ <f:facet name="help">
+ <tr:outputText value="Enter your three digit pin"/>
+ </f:facet>
+ <tr:validateRegExp pattern="[1-9][0-9][0-9]"
+ noMatchMessageDetail="#{messageCustomization.messages.PIN_NO_MATCH_ID}"/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on byte length validator"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="#{messageCustomization.byteLengthValue}"
+ label="Name">
+ <f:facet name="help">
+ <tr:outputText value="Enter your name. It should not exceed 4 characters"/>
+ </f:facet>
+ <tr:validateByteLength encoding="ISO-8859-1" maximum="4"
+ maximumMessageDetail='The "{0}" "{1}" exceeds {2} characters'/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on date time range validator"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf3"
+ value="#{messageCustomization.date1}"
+ label="Start date for submission">
+ <f:facet name="help">
+ <tr:outputText value="min=#{messageCustomization.minDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
+ maximumMessageDetail='Date "{1}" in "{0}" is farther than {2}'
+ minimumMessageDetail='Date "{1}" in "{0}" is before the accepted date - {2} for receving forms. '
+ notInRangeMessageDetail='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf4"
+ value="#{messageCustomization.date1}"
+ label="Last date">
+ <f:facet name="help">
+ <tr:outputText value="max=#{messageCustomization.maxDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange maximum="#{date.maxDate}"
+ maximumMessageDetail='The date "{1}" in "{0}" which you have chosen, falls after the final acceptable date - {2}.'
+ minimumMessageDetail='Date "{1}" in "{0}" is less than the minimum acceptable: {2}.'
+ notInRangeMessageDetail='Date "{1}" in "{0}" not within minimum {2} and maximum range {3}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf5"
+ value="#{messageCustomization.date1}"
+ label="Submission period">
+ <f:facet name="help">
+ <tr:outputText value="min=#{messageCustomization.minDateTip} max=#{messageCustomization.maxDateTip}"/>
+ </f:facet>
+ <tr:validateDateTimeRange minimum="#{messageCustomization.minDate}"
+ maximum="#{messageCustomization.maxDate}"
+ notInRangeMessageDetail='Submission date "{1}" in "{0}" is not with in the specified period {2}-{3}.'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on color converter"/>
+ <tr:panelFormLayout>
+ <tr:inputColor id="sicConvx" label="Enter or choose color"
+ value="#{messageCustomization.color}">
+ <f:facet name="help">
+ <tr:outputText value="HTML hex color pattern:#RRGGBB"/>
+ </f:facet>
+ <tr:convertColor patterns="#RRGGBB" transparentAllowed="true"
+ convertMessageDetail='The color "{1}" you have chosen in "{0}" is not a valid HTML hex pattern {2}.'/>
+ </tr:inputColor>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on date time converter"/>
+ <tr:panelFormLayout>
+ <tr:inputDate id="mdf6" value="2004/09/06"
+ label="Date of birth">
+ <f:facet name="help">
+ <tr:outputText value="1/20/1972 or 1972/20/2"/>
+ </f:facet>
+ <!--All custom messages need not be set. It is just enough if we set 'convertDateMessageDetail' -->
+ <tr:convertDateTime secondaryPattern="d/M/yyyy"
+ pattern="yyyy/M/d"
+ convertDateMessageDetail='"{1}" in "{0}" is not a valid date. Example is {2}'
+ convertTimeMessageDetail='"{1}" in "{0}", is not valid date. Example is {2}.'
+ convertBothMessageDetail='"{1}" in "{0}", is not valid Date and time. The format is {2}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf7" value="11:36:15 AM"
+ label="Time of birth">
+ <f:facet name="help">
+ <tr:outputText value="11:36:15 AM"/>
+ </f:facet>
+ <tr:convertDateTime type="time" timeStyle="medium"
+ convertTimeMessageDetail='"{1}" in "{0}", is not a valid time. Example: {2}.'/>
+ </tr:inputDate>
+ <tr:inputDate id="mdf8" value="12/20/2004 8:11 AM"
+ label="Date and time of birth">
+ <f:facet name="help">
+ <tr:outputText value="2/26/2005 8:11 AM"/>
+ </f:facet>
+ <tr:convertDateTime type="both"
+ convertBothMessageDetail='"{1}" in "{0}", is not a valid Date and time. Example: {2}.'/>
+ </tr:inputDate>
+ </tr:panelFormLayout>
+ <tr:panelHeader text="Message customization on number converter"/>
+ <tr:panelFormLayout>
+ <tr:inputText value="555" label="Your lucky number">
+ <f:facet name="help">
+ <tr:outputText value="type='number' locale='en_US' Valid input=44444456 Invalid value=555o"/>
+ </f:facet>
+ <tr:convertNumber type="number" locale="en_US"
+ convertCurrencyMessageDetail='"{1}" in "{0}" is not a valid currency value.'
+ convertNumberMessageDetail='"{1}" in "{0}" is not valid. Please choose a number.'
+ convertPatternMessageDetail='"{1}" in "{0}" does not match the pattern {2}'
+ convertPercentMessageDetail='"{1}" in "{0}" is not a valid percentile.'/>
+ </tr:inputText>
+ <tr:inputText value="5%" label="Machine efficieny"
+ readOnly="false">
+ <f:facet name="help">
+ <tr:outputText value="type='percent' locale='en_US' Valid value=75% Invalid value=75"/>
+ </f:facet>
+ <tr:convertNumber type="percent" locale="en_US"
+ convertPercentMessageDetail='"{1}" in "{0}" is not a valid efficiency value.'/>
+ </tr:inputText>
+ <tr:inputText value="10.88" label="Pattern based number">
+ <f:facet name="help">
+ <tr:outputText value="'pattern=##.000' locale='en_US' Invalid value=10e.88"/>
+ </f:facet>
+ <tr:convertNumber pattern="##.000" locale="en_US"
+ convertPatternMessageDetail='"{1}" in "{0}" does not match pattern {2}.'/>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:commandButton text="Submit"/>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/convertValidateMessageCustomization.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/index.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/index.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/index.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/index.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,30 +14,30 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Converter and Validator Demos">
- <tr:form>
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Feature Demos page"
- immediate="true"
- action="demos"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelHeader text="Converter and Validator Demos">
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink text="client converters and validators" action="clientConvert"/>
- <tr:commandLink text="converters and validators" action="convertValidate"/>
- <tr:commandLink text="message customization on validators and converters" action="messageCustomization"/>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelPage>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Converter and Validator Demos">
+ <tr:form>
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Feature Demos page"
+ immediate="true"
+ action="demos"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelHeader text="Converter and Validator Demos">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink text="client converters and validators" action="clientConvert"/>
+ <tr:commandLink text="converters and validators" action="convertValidate"/>
+ <tr:commandLink text="message customization on validators and converters" action="messageCustomization"/>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/convertValidate/index.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/carDemo.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/carDemo.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/carDemo.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/carDemo.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,67 +14,67 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <trh:html>
- <trh:head title="Car Demo"/>
- <trh:body>
- <tr:form>
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Feature Demos page"
- immediate="true"
- action="demos"/>
- </tr:menuButtons>
- </f:facet>
- <tr:messages/>
- <tr:panelFormLayout>
-
- <tr:selectOneChoice id="makesChoice" label="Makes:"
- autoSubmit="true"
- valueChangeListener="#{carBacking.makeChanged}">
- <f:selectItems value="#{carBacking.makes}"/>
- </tr:selectOneChoice>
-
- <tr:selectOneChoice id="modelsChoice"
- autoSubmit="true"
- valueChangeListener="#{carBacking.modelChanged}"
- partialTriggers="makesChoice" label="Models:">
- <f:selectItems binding="#{carBacking.modelItems}"/>
- </tr:selectOneChoice>
-
- </tr:panelFormLayout>
-
- <!-- Show the price -->
- <tr:panelGroupLayout layout="vertical">
- <tr:outputText value="Price: "/>
- <tr:outputText id="price"
- partialTriggers="modelsChoice makesChoice launchOptions"
- binding="#{carBacking.price}">
- <f:convertNumber type="currency"/>
- </tr:outputText>
- <tr:spacer width="10"/>
- <!-- A link to show the options; it starts out disabled -->
- <tr:commandLink id="launchOptions" disabled="true"
- shortDesc="Click to pick new options"
- partialTriggers="modelsChoice makeChoice"
- returnListener="#{carBacking.returnOptions}"
- binding="#{carBacking.launchOptions}"
- useWindow="true"
- action="dialog:optionsDialog" text="Pick options: "/>
- <tr:outputText id="options"
- binding="#{carBacking.options}"
- partialTriggers="launchOptions modelsChoice makeChoice"/>
- </tr:panelGroupLayout>
-
- </tr:panelPage>
- </tr:form>
- </trh:body>
- </trh:html>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <trh:html>
+ <trh:head title="Car Demo"/>
+ <trh:body>
+ <tr:form>
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Feature Demos page"
+ immediate="true"
+ action="demos"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:messages/>
+ <tr:panelFormLayout>
+
+ <tr:selectOneChoice id="makesChoice" label="Makes:"
+ autoSubmit="true"
+ valueChangeListener="#{carBacking.makeChanged}">
+ <f:selectItems value="#{carBacking.makes}"/>
+ </tr:selectOneChoice>
+
+ <tr:selectOneChoice id="modelsChoice"
+ autoSubmit="true"
+ valueChangeListener="#{carBacking.modelChanged}"
+ partialTriggers="makesChoice" label="Models:">
+ <f:selectItems binding="#{carBacking.modelItems}"/>
+ </tr:selectOneChoice>
+
+ </tr:panelFormLayout>
+
+ <!-- Show the price -->
+ <tr:panelGroupLayout layout="vertical">
+ <tr:outputText value="Price: "/>
+ <tr:outputText id="price"
+ partialTriggers="modelsChoice makesChoice launchOptions"
+ binding="#{carBacking.price}">
+ <f:convertNumber type="currency"/>
+ </tr:outputText>
+ <tr:spacer width="10"/>
+ <!-- A link to show the options; it starts out disabled -->
+ <tr:commandLink id="launchOptions" disabled="true"
+ shortDesc="Click to pick new options"
+ partialTriggers="modelsChoice makeChoice"
+ returnListener="#{carBacking.returnOptions}"
+ binding="#{carBacking.launchOptions}"
+ useWindow="true"
+ action="dialog:optionsDialog" text="Pick options: "/>
+ <tr:outputText id="options"
+ binding="#{carBacking.options}"
+ partialTriggers="launchOptions modelsChoice makeChoice"/>
+ </tr:panelGroupLayout>
+
+ </tr:panelPage>
+ </tr:form>
+ </trh:body>
+ </trh:html>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/carDemo.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveFacetsChange_Explicit.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveFacetsChange_Explicit.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveFacetsChange_Explicit.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveFacetsChange_Explicit.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,102 +14,102 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document
- title="Explicit AddFacetChange/RemoveFacetChange Persistence Feature Demo">
- <tr:form>
-
- <tr:panelPage id="pp1" >
- <f:facet name="navigation1">
- <tr:menuTabs>
- <tr:commandNavigationItem text="tab 1"/>
- <tr:commandNavigationItem text="tab 2" selected="true" />
- <tr:commandNavigationItem text="tab 3"/>
- <tr:commandNavigationItem text="tab 4"/>
- <tr:commandNavigationItem text="tab 5"/>
- <tr:commandNavigationItem text="tab 6" disabled="true" />
- </tr:menuTabs>
- </f:facet>
- <f:facet name="navigation2">
- <tr:menuBar>
- <tr:commandNavigationItem text="item 1" selected="true" />
- <tr:commandNavigationItem text="item 2" disabled="true" />
- <tr:commandNavigationItem text="item 3"/>
- <tr:commandNavigationItem text="item 4"/>
- </tr:menuBar>
- </f:facet>
- <f:facet name="navigation3">
- <tr:menuList>
- <tr:commandNavigationItem text="item 1" selected="true" />
- <tr:commandNavigationItem text="item 2" disabled="true" />
- <tr:commandNavigationItem text="item 3"/>
- <tr:commandNavigationItem text="item 4"/>
- </tr:menuList>
- </f:facet>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem
- text="Return to Change Persistence demo index page"
- immediate="true"
- action="demos.changePersistence"/>
- <tr:commandNavigationItem
- text="help"
- icon="/components/images/globalhelp.gif"/>
- <tr:commandNavigationItem
- text="help more"
- icon="/components/images/globalhelp.gif"/>
- </tr:menuButtons>
- </f:facet>
- <f:facet name="location">
- <tr:breadCrumbs>
- <tr:commandNavigationItem text="item 1"/>
- <tr:commandNavigationItem text="item 2"/>
- <tr:commandNavigationItem text="item 3"/>
- <tr:commandNavigationItem text="item 4"/>
- </tr:breadCrumbs>
- </f:facet>
- <f:facet name="appCopyright">
- <tr:outputText value="copyright facet"/>
- </f:facet>
- <f:facet name="appPrivacy">
- <tr:commandLink text="privacy facet"/>
- </f:facet>
- <f:facet name="appAbout">
- <tr:commandLink text="about facet"/>
- </f:facet>
- <tr:panelHeader
- text="Explicit AddFacetChange/RemoveFacetChange Persistence Feature Demo">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:commandButton
- text="navigation1: Remove facet for menu tabs"
- actionListener="#{change.removeFacets}"/>
- <tr:commandButton
- text="navigation2: Remove facet for menu bar"
- actionListener="#{change.removeFacets}"/>
- <tr:commandButton
- text="navigation3: Remove facet for menu list"
- actionListener="#{change.removeFacets}"/>
- <tr:commandButton
- text="location: Remove facet for menu path"
- actionListener="#{change.removeFacets}"/>
- <tr:commandButton
- text="appCopyright_appPrivacy_appAbout: Remove facets for 'copyright', 'privacy', 'about' information"
- actionListener="#{change.removeFacets}"/>
- <tr:commandButton
- text="Add facet for application branding"
- actionListener="#{change.addFacet}"/>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document
+ title="Explicit AddFacetChange/RemoveFacetChange Persistence Feature Demo">
+ <tr:form>
+
+ <tr:panelPage id="pp1" >
+ <f:facet name="navigation1">
+ <tr:menuTabs>
+ <tr:commandNavigationItem text="tab 1"/>
+ <tr:commandNavigationItem text="tab 2" selected="true" />
+ <tr:commandNavigationItem text="tab 3"/>
+ <tr:commandNavigationItem text="tab 4"/>
+ <tr:commandNavigationItem text="tab 5"/>
+ <tr:commandNavigationItem text="tab 6" disabled="true" />
+ </tr:menuTabs>
+ </f:facet>
+ <f:facet name="navigation2">
+ <tr:menuBar>
+ <tr:commandNavigationItem text="item 1" selected="true" />
+ <tr:commandNavigationItem text="item 2" disabled="true" />
+ <tr:commandNavigationItem text="item 3"/>
+ <tr:commandNavigationItem text="item 4"/>
+ </tr:menuBar>
+ </f:facet>
+ <f:facet name="navigation3">
+ <tr:menuList>
+ <tr:commandNavigationItem text="item 1" selected="true" />
+ <tr:commandNavigationItem text="item 2" disabled="true" />
+ <tr:commandNavigationItem text="item 3"/>
+ <tr:commandNavigationItem text="item 4"/>
+ </tr:menuList>
+ </f:facet>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem
+ text="Return to Change Persistence demo index page"
+ immediate="true"
+ action="demos.changePersistence"/>
+ <tr:commandNavigationItem
+ text="help"
+ icon="/components/images/globalhelp.gif"/>
+ <tr:commandNavigationItem
+ text="help more"
+ icon="/components/images/globalhelp.gif"/>
+ </tr:menuButtons>
+ </f:facet>
+ <f:facet name="location">
+ <tr:breadCrumbs>
+ <tr:commandNavigationItem text="item 1"/>
+ <tr:commandNavigationItem text="item 2"/>
+ <tr:commandNavigationItem text="item 3"/>
+ <tr:commandNavigationItem text="item 4"/>
+ </tr:breadCrumbs>
+ </f:facet>
+ <f:facet name="appCopyright">
+ <tr:outputText value="copyright facet"/>
+ </f:facet>
+ <f:facet name="appPrivacy">
+ <tr:commandLink text="privacy facet"/>
+ </f:facet>
+ <f:facet name="appAbout">
+ <tr:commandLink text="about facet"/>
+ </f:facet>
+ <tr:panelHeader
+ text="Explicit AddFacetChange/RemoveFacetChange Persistence Feature Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:commandButton
+ text="navigation1: Remove facet for menu tabs"
+ actionListener="#{change.removeFacets}"/>
+ <tr:commandButton
+ text="navigation2: Remove facet for menu bar"
+ actionListener="#{change.removeFacets}"/>
+ <tr:commandButton
+ text="navigation3: Remove facet for menu list"
+ actionListener="#{change.removeFacets}"/>
+ <tr:commandButton
+ text="location: Remove facet for menu path"
+ actionListener="#{change.removeFacets}"/>
+ <tr:commandButton
+ text="appCopyright_appPrivacy_appAbout: Remove facets for 'copyright', 'privacy', 'about' information"
+ actionListener="#{change.removeFacets}"/>
+ <tr:commandButton
+ text="Add facet for application branding"
+ actionListener="#{change.addFacet}"/>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveFacetsChange_Explicit.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveReorderChildrenChange_Explicit.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveReorderChildrenChange_Explicit.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveReorderChildrenChange_Explicit.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveReorderChildrenChange_Explicit.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,85 +14,85 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document
- title="Explicit AddChildChange/RemoveChildChange/ReorderChildrenChange
- Persistence Feature Demo">
- <tr:form>
-
- <tr:panelPage >
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem
- text="Return to Change Persistence demo index page"
- immediate="true"
- action="demos.changePersistence"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelHeader text="Explicit AddChildChange/RemoveChildChange/ReorderChildrenChange
- Persistence Feature Demo">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout id="pg1">
- <tr:image
- id="oi1"
- shortDesc="Corporate Brand"
- source="/components/images/corporateBrand.gif"/>
- <tr:panelBox id="pb1" text="PanelBoxText"/>
- <tr:inputText id="it1" label="Label"/>
- <tr:inputColor
- id="sic1"
- chooseId="cc1"
- label="Color:"
- value="#{color.colorValue2}">
- <f:facet name="help">
- <tr:outputText value="Use format (#RRGGBB) or (r,g,b)"/>
- </f:facet>
- </tr:inputColor>
- <tr:chooseColor
- id="cc1"
- colorData="#{requestContext.colorPalette.default49}"/>
- <tr:chooseDate id="cd1"/>
- <tr:inputDate label="Date:" id="sid1" chooseId="cd1"/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout>
- <tr:commandButton
- id="cb1"
- text="Reorder children"
- actionListener="#{change.reorderChildren}"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- id="cb2"
- text="Remove color child components"
- actionListener="#{change.removeChildren}"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- id="cb3"
- text="Remove date child components"
- actionListener="#{change.removeChildren}"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- id="cb4"
- text="Add an object image child"
- actionListener="#{change.appendChild}"/>
- <tr:spacer width="10" rendered="false"/>
- <tr:commandButton
- id="cb5"
- text="Add an object image child to document"
- actionListener="#{change.appendChildToDocument}"
- rendered="false"/>
- </tr:panelGroupLayout>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document
+ title="Explicit AddChildChange/RemoveChildChange/ReorderChildrenChange
+ Persistence Feature Demo">
+ <tr:form>
+
+ <tr:panelPage >
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem
+ text="Return to Change Persistence demo index page"
+ immediate="true"
+ action="demos.changePersistence"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelHeader text="Explicit AddChildChange/RemoveChildChange/ReorderChildrenChange
+ Persistence Feature Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout id="pg1">
+ <tr:image
+ id="oi1"
+ shortDesc="Corporate Brand"
+ source="/components/images/corporateBrand.gif"/>
+ <tr:panelBox id="pb1" text="PanelBoxText"/>
+ <tr:inputText id="it1" label="Label"/>
+ <tr:inputColor
+ id="sic1"
+ chooseId="cc1"
+ label="Color:"
+ value="#{color.colorValue2}">
+ <f:facet name="help">
+ <tr:outputText value="Use format (#RRGGBB) or (r,g,b)"/>
+ </f:facet>
+ </tr:inputColor>
+ <tr:chooseColor
+ id="cc1"
+ colorData="#{requestContext.colorPalette.default49}"/>
+ <tr:chooseDate id="cd1"/>
+ <tr:inputDate label="Date:" id="sid1" chooseId="cd1"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout>
+ <tr:commandButton
+ id="cb1"
+ text="Reorder children"
+ actionListener="#{change.reorderChildren}"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ id="cb2"
+ text="Remove color child components"
+ actionListener="#{change.removeChildren}"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ id="cb3"
+ text="Remove date child components"
+ actionListener="#{change.removeChildren}"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ id="cb4"
+ text="Add an object image child"
+ actionListener="#{change.appendChild}"/>
+ <tr:spacer width="10" rendered="false"/>
+ <tr:commandButton
+ id="cb5"
+ text="Add an object image child to document"
+ actionListener="#{change.appendChildToDocument}"
+ rendered="false"/>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/addRemoveReorderChildrenChange_Explicit.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Explicit.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Explicit.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Explicit.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Explicit.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,78 +14,78 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Explicit AttributeChange Persistence Feature Demo">
- <tr:form>
-
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem
- text="Return to Change Persistence demo index page"
- immediate="true"
- action="demos.changePersistence"/>
- </tr:menuButtons>
- </f:facet>
- <tr:panelHeader text="Explicit AttributeChange Persistence Feature Demo">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:image
- id="oi1"
- source="/adf/images/error.gif"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- text="Change Image"
- actionListener="#{change.modifyObjectImage}"/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="horizontal">
- <tr:panelBox
- id="pb1"
- text="PanelBoxText"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- text="Change panelBox text"
- actionListener="#{change.modifyPanelBox}"/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="horizontal">
- <tr:table
- id="t1"
- summary="Periodic table elements"
- value="#{periodicTable.tableData}"
- var="row"
- rows="10">
- <tr:column id="c1" sortProperty="name">
- <f:facet name="header">
- <tr:outputText value="Name"/>
- </f:facet>
- <tr:outputText value="#{row.name}"/>
- </tr:column>
- </tr:table>
- <tr:spacer width="10"/>
- <tr:commandButton
- text="Toggle sortablity"
- actionListener="#{change.modifyColumn}"/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="horizontal">
- <tr:inputText id="it1" label="Label One"/>
- <tr:spacer width="10"/>
- <tr:commandButton
- text="Change label"
- actionListener="#{change.modifyInputText}"/>
- </tr:panelGroupLayout>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelPage>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Explicit AttributeChange Persistence Feature Demo">
+ <tr:form>
+
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem
+ text="Return to Change Persistence demo index page"
+ immediate="true"
+ action="demos.changePersistence"/>
+ </tr:menuButtons>
+ </f:facet>
+ <tr:panelHeader text="Explicit AttributeChange Persistence Feature Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:image
+ id="oi1"
+ source="/adf/images/error.gif"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ text="Change Image"
+ actionListener="#{change.modifyObjectImage}"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:panelBox
+ id="pb1"
+ text="PanelBoxText"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ text="Change panelBox text"
+ actionListener="#{change.modifyPanelBox}"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:table
+ id="t1"
+ summary="Periodic table elements"
+ value="#{periodicTable.tableData}"
+ var="row"
+ rows="10">
+ <tr:column id="c1" sortProperty="name">
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ </tr:table>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ text="Toggle sortablity"
+ actionListener="#{change.modifyColumn}"/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:inputText id="it1" label="Label One"/>
+ <tr:spacer width="10"/>
+ <tr:commandButton
+ text="Change label"
+ actionListener="#{change.modifyInputText}"/>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Explicit.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Implicit.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Implicit.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Implicit.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Implicit.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,72 +14,72 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Implicit AttributeChange Persistence Feature Demo">
- <tr:form>
-
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem
- text="Return to Change Persistence demo index page"
- immediate="true"
- action="demos.changePersistence"/>
- </tr:menuButtons>
- </f:facet>
-
- <tr:messages/>
- <tr:panelHeader text="Implicit AttributeChange Persistence Feature Demo">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:showDetail
- id="hs1"
- partialTriggers="hs1"
- disclosedText="Click to hide me"
- undisclosedText="Click to disclose me">
- <h:outputText value="This showDetail is now Disclosed"/>
- </tr:showDetail>
- <tr:table
- summary="Periodic table"
- id="ta1"
- binding="#{tableActions.table}"
- rowSelection="multiple"
- value="#{periodicTable.tableData}" var="row" rows="10">
- <f:facet name="footer">
- <tr:commandButton
- text="Report"
- actionListener="#{tableActions.performReport}"/>
- </f:facet>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Name"/>
- </f:facet>
- <tr:outputText value="#{row.name}"/>
- </tr:column>
- <tr:column>
- <f:facet name="header">
- <tr:outputText value="Symbol"/>
- </f:facet>
- <tr:outputText value="#{row.symbol}"/>
- </tr:column>
- </tr:table>
- <tr:tree id="tr1" var="foo" value="#{tree.model}">
- <f:facet name="nodeStamp">
- <tr:inputText simple="true" shortDesc="Example" value="#{foo.text}"/>
- </f:facet>
- </tr:tree>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<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:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Implicit AttributeChange Persistence Feature Demo">
+ <tr:form>
+
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem
+ text="Return to Change Persistence demo index page"
+ immediate="true"
+ action="demos.changePersistence"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <tr:messages/>
+ <tr:panelHeader text="Implicit AttributeChange Persistence Feature Demo">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:showDetail
+ id="hs1"
+ partialTriggers="hs1"
+ disclosedText="Click to hide me"
+ undisclosedText="Click to disclose me">
+ <h:outputText value="This showDetail is now Disclosed"/>
+ </tr:showDetail>
+ <tr:table
+ summary="Periodic table"
+ id="ta1"
+ binding="#{tableActions.table}"
+ rowSelection="multiple"
+ value="#{periodicTable.tableData}" var="row" rows="10">
+ <f:facet name="footer">
+ <tr:commandButton
+ text="Report"
+ actionListener="#{tableActions.performReport}"/>
+ </f:facet>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Name"/>
+ </f:facet>
+ <tr:outputText value="#{row.name}"/>
+ </tr:column>
+ <tr:column>
+ <f:facet name="header">
+ <tr:outputText value="Symbol"/>
+ </f:facet>
+ <tr:outputText value="#{row.symbol}"/>
+ </tr:column>
+ </tr:table>
+ <tr:tree id="tr1" var="foo" value="#{tree.model}">
+ <f:facet name="nodeStamp">
+ <tr:inputText simple="true" shortDesc="Example" value="#{foo.text}"/>
+ </f:facet>
+ </tr:tree>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/attributeChange_Implicit.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,110 +14,110 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Change Persistence Feature Demos">
- <tr:form>
-
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Feature Demos page"
- immediate="true"
- action="demos"/>
- </tr:menuButtons>
- </f:facet>
-
- <tr:panelHeader text="Change Persistence Feature Demos">
- <tr:panelHeader text="Demos and overview">
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink
- text="Attribute Change Demo - Implicit Change registration"
- action="demos.attributeChange_Implicit"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="Certain of the user actions on few Trinidad components,
- alter the attributes implicitly. AttributeChange behind such
- changes are implicitly created and registered, so that the
- UI is restored upon re-visit to the page. In this demo upon
- interaction with the following components, one can see this
- happen:"/>
- <tr:menuList>
- <tr:outputFormatted
- styleUsage="instruction"
- value="showDetail: Disclosure state"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="table: Row range, Row selection"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="tree: The expansion state of the nodes"/>
- </tr:menuList>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink
- text="Attribute Change Demo - Explicit Change registration"
- action="demos.attributeChange_Explicit"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="This demo shows how AttributeChanges can be created
- explicitly and added to ChangeManager, at any
- point in the JSF lifecycle. These will be restored when the
- page is visited again. There are a few components in this
- page, with buttons against them, that when clicked on,
- alters an attribute of the component, thereby reflecting as
- a change in the UI. A managed bean behind the scene, changes
- the attributes, and in addition creates and registers
- AttributeChanges."/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink
- text="Add, Remove or Reorder Children Change Demo -
- Explicit Change registration"
- action="demos.addRemoveReorderChildrenChange_Explicit"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="This demo shows usage of AddChildChange,
- RemoveChildChange and ReorderChildChange. In this demo page,
- there are a few buttons, that when clicked on, gets some
- components removed or added, or the existing order of
- children reversed. A managed bean behind the scene, changes
- the component tree, and in addition creates and registers
- these Changes explicitly. Upon re-visit to the page, one can
- see that these Changes are automatically applied, resulting
- in the component tree being restored to the last known state."/>
- </tr:panelGroupLayout>
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink
- text="Add or Remove Facets Change Demo -
- Explicit Change registration"
- action="demos.addRemoveFacetsChange_Explicit"/>
- <tr:outputFormatted
- styleUsage="instruction"
- value="This demo shows usage of AddFacetChange and
- RemoveFacetChange. This demo page contains a panelPage, with
- a few facets. In the content area are few buttons that when
- clicked, will result in facets being added or removed.
- Correspondingly Changes are created and registered
- explicitly, so that the UI state is restored upon re-visit
- to this page. All this is done by a managed bean behind the
- scene."/>
- </tr:panelGroupLayout>
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Change Persistence Feature Demos">
+ <tr:form>
+
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Feature Demos page"
+ immediate="true"
+ action="demos"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <tr:panelHeader text="Change Persistence Feature Demos">
+ <tr:panelHeader text="Demos and overview">
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink
+ text="Attribute Change Demo - Implicit Change registration"
+ action="demos.attributeChange_Implicit"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="Certain of the user actions on few Trinidad components,
+ alter the attributes implicitly. AttributeChange behind such
+ changes are implicitly created and registered, so that the
+ UI is restored upon re-visit to the page. In this demo upon
+ interaction with the following components, one can see this
+ happen:"/>
+ <tr:menuList>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="showDetail: Disclosure state"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="table: Row range, Row selection"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="tree: The expansion state of the nodes"/>
+ </tr:menuList>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink
+ text="Attribute Change Demo - Explicit Change registration"
+ action="demos.attributeChange_Explicit"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="This demo shows how AttributeChanges can be created
+ explicitly and added to ChangeManager, at any
+ point in the JSF lifecycle. These will be restored when the
+ page is visited again. There are a few components in this
+ page, with buttons against them, that when clicked on,
+ alters an attribute of the component, thereby reflecting as
+ a change in the UI. A managed bean behind the scene, changes
+ the attributes, and in addition creates and registers
+ AttributeChanges."/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink
+ text="Add, Remove or Reorder Children Change Demo -
+ Explicit Change registration"
+ action="demos.addRemoveReorderChildrenChange_Explicit"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="This demo shows usage of AddChildChange,
+ RemoveChildChange and ReorderChildChange. In this demo page,
+ there are a few buttons, that when clicked on, gets some
+ components removed or added, or the existing order of
+ children reversed. A managed bean behind the scene, changes
+ the component tree, and in addition creates and registers
+ these Changes explicitly. Upon re-visit to the page, one can
+ see that these Changes are automatically applied, resulting
+ in the component tree being restored to the last known state."/>
+ </tr:panelGroupLayout>
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink
+ text="Add or Remove Facets Change Demo -
+ Explicit Change registration"
+ action="demos.addRemoveFacetsChange_Explicit"/>
+ <tr:outputFormatted
+ styleUsage="instruction"
+ value="This demo shows usage of AddFacetChange and
+ RemoveFacetChange. This demo page contains a panelPage, with
+ a few facets. In the content area are few buttons that when
+ clicked, will result in facets being added or removed.
+ Correspondingly Changes are created and registered
+ explicitly, so that the UI state is restored upon re-visit
+ to this page. All this is done by a managed bean behind the
+ scene."/>
+ </tr:panelGroupLayout>
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/changeDemos/changePersistence.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,45 +14,45 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Add dialog">
- <tr:form>
- <tr:panelPage>
- <tr:messages/>
- <tr:panelHeader text="Add two numbers">
- <tr:panelFormLayout>
- <tr:inputText label="Number 1:" value="#{chooseInteger.value1}"
- required="true">
- <f:facet name="help">
- <tr:outputText value="Enter an integer."/>
- </f:facet>
- </tr:inputText>
- <tr:inputText label="Number 2:" value="#{chooseInteger.value2}"
- required="true">
- <f:facet name="help">
- <tr:outputText value="Enter an integer."/>
- </f:facet>
- </tr:inputText>
- </tr:panelFormLayout>
- </tr:panelHeader>
- <tr:panelButtonBar>
- <tr:commandButton text="Show Dialog" action="dialog:simpleDialog"
- windowWidth="150" windowHeight="150" immediate="true"
- partialSubmit="true" useWindow="true"
- returnListener="#{chooseInteger.sayHello}"/>
- <tr:commandButton text="Submit">
- <tr:returnActionListener value="#{chooseInteger.value1 + chooseInteger.value2}"/>
- </tr:commandButton>
- <tr:commandButton text="Cancel" immediate="true">
- <tr:returnActionListener/>
- </tr:commandButton>
- </tr:panelButtonBar>
- </tr:panelPage>
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Add dialog">
+ <tr:form>
+ <tr:panelPage>
+ <tr:messages/>
+ <tr:panelHeader text="Add two numbers">
+ <tr:panelFormLayout>
+ <tr:inputText label="Number 1:" value="#{chooseInteger.value1}"
+ required="true">
+ <f:facet name="help">
+ <tr:outputText value="Enter an integer."/>
+ </f:facet>
+ </tr:inputText>
+ <tr:inputText label="Number 2:" value="#{chooseInteger.value2}"
+ required="true">
+ <f:facet name="help">
+ <tr:outputText value="Enter an integer."/>
+ </f:facet>
+ </tr:inputText>
+ </tr:panelFormLayout>
+ </tr:panelHeader>
+ <tr:panelButtonBar>
+ <tr:commandButton text="Show Dialog" action="dialog:simpleDialog"
+ windowWidth="150" windowHeight="150" immediate="true"
+ partialSubmit="true" useWindow="true"
+ returnListener="#{chooseInteger.sayHello}"/>
+ <tr:commandButton text="Submit">
+ <tr:returnActionListener value="#{chooseInteger.value1 + chooseInteger.value2}"/>
+ </tr:commandButton>
+ <tr:commandButton text="Cancel" immediate="true">
+ <tr:returnActionListener/>
+ </tr:commandButton>
+ </tr:panelButtonBar>
+ </tr:panelPage>
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/chooseInteger.jspx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/demos.jspx
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/demos.jspx?rev=428248&r1=428247&r2=428248&view=diff
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/demos.jspx (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/demos.jspx Wed Aug 2 22:48:53 2006
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<!--
Copyright 2006 The Apache Software Foundation.
@@ -14,46 +14,46 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:trh="http://myfaces.apache.org/trinidad/html"
- xmlns:tr="http://myfaces.apache.org/trinidad" >
- <jsp:directive.page contentType="text/html;charset=utf-8"/>
- <f:view>
- <tr:document title="Apache Trinidad Feature Demos">
- <tr:form>
-
- <tr:panelPage>
- <f:facet name="navigationGlobal">
- <tr:menuButtons>
- <tr:commandNavigationItem text="Return to Index"
- immediate="true"
- action="home"/>
- </tr:menuButtons>
- </f:facet>
-
- <tr:panelHeader text="Welcome to the Apache Trinidad Feature Demos">
- <tr:panelHeader text="Basics">
- <tr:panelGroupLayout layout="vertical">
- <tr:commandLink text="Converters and Validators" action="convertValidateDemos" />
- <tr:commandLink text="Partial Page Rendering Demos"
- action="demos.ppr" />
- <tr:commandLink text="Dialog Framework Demo"
- action="demos.dialog" />
- <tr:commandLink text="Progress steps Demo"
- action="demos.progressSteps" />
- <tr:commandLink text="Change Persistence Demos"
- action="demos.changePersistence" />
- <tr:commandLink text="Table Demos" action="demos.tableDemos" />
- <tr:commandLink text="Skin Demo" action="demos.skin" />
-
- </tr:panelGroupLayout>
- </tr:panelHeader>
- </tr:panelHeader>
- </tr:panelPage>
-
- </tr:form>
- </tr:document>
- </f:view>
-</jsp:root>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:trh="http://myfaces.apache.org/trinidad/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad" >
+ <jsp:directive.page contentType="text/html;charset=utf-8"/>
+ <f:view>
+ <tr:document title="Apache Trinidad Feature Demos">
+ <tr:form>
+
+ <tr:panelPage>
+ <f:facet name="navigationGlobal">
+ <tr:menuButtons>
+ <tr:commandNavigationItem text="Return to Index"
+ immediate="true"
+ action="home"/>
+ </tr:menuButtons>
+ </f:facet>
+
+ <tr:panelHeader text="Welcome to the Apache Trinidad Feature Demos">
+ <tr:panelHeader text="Basics">
+ <tr:panelGroupLayout layout="vertical">
+ <tr:commandLink text="Converters and Validators" action="convertValidateDemos" />
+ <tr:commandLink text="Partial Page Rendering Demos"
+ action="demos.ppr" />
+ <tr:commandLink text="Dialog Framework Demo"
+ action="demos.dialog" />
+ <tr:commandLink text="Progress steps Demo"
+ action="demos.progressSteps" />
+ <tr:commandLink text="Change Persistence Demos"
+ action="demos.changePersistence" />
+ <tr:commandLink text="Table Demos" action="demos.tableDemos" />
+ <tr:commandLink text="Skin Demo" action="demos.skin" />
+
+ </tr:panelGroupLayout>
+ </tr:panelHeader>
+ </tr:panelHeader>
+ </tr:panelPage>
+
+ </tr:form>
+ </tr:document>
+ </f:view>
+</jsp:root>
Propchange: incubator/adffaces/trunk/trinidad/trinidad-demo/src/main/webapp/demos/demos.jspx
------------------------------------------------------------------------------
svn:eol-style = native