faces.trinidad.trinidad-api.2.2.1.source-code.trinidad-config.xsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trinidad-api Show documentation
Show all versions of trinidad-api Show documentation
Public API for the Apache MyFaces Trinidad project
The newest version!
The trinidad-config element is the root element of all
trinidad-config.xml files.
The <page-flow-scope-lifetime> element
controls the maximum number of pageFlowScope instances that will
be kept active at any one time. The default is 15. Unlike other
<trinidad-config> elements, <page-flow-scope-lifetime>
does not support EL expressions - it must be configured statically.
The <debug-output> element controls whether output is enhanced for debugging.
The <client-validation> element controls how client side validation functions - ALERT (the default) to show Javascript alerts, INLINE (using DHTML to insert messages), or DISABLED (disabling client-side validation). The requested value may be ignored if not supported on the current platform or renderkit.
The <client-validation-disabled> element controls whether client side converters and validators are run. (Deprecated: use client-validation).
The <output-mode> element controls the
output mode used by Apache MyFaces Trinidad.
The <rounding-mode> element controls the
default rounding mode for number converters.
The <skin-family> element is used to pick a skin during render.
The skin picking logic looks at the skin-family and finds a skin that matches that
skin-family. This element is required to get a skin that isn't the simple skin.
You can optionally add the skin-version to pick a particular version of a skin
with the same skin-family.
The <skin-version> element is used to pick a skin during render.
A skin is picked by matching the skin-family (required), and if specified here, the
skin-version. If you want the skin that is marked default, you set the skin-version to
"default". If you want a skin with a specific version, then you set the version here.
If you don't care about the version, or if your skin does not have a version, you leave
this blank.
The <accessibility-mode> element controls the
accessibility mode used by Apache MyFaces Trinidad.
The <accessibility-profile> element controls
accessibility profile preferences used by Apache MyFaces Trinidad.
The <oracle-help-servlet-url> element points
to an installation of Oracle Help for the Web (OHW).
The <time-zone> element configures
the time zone used for date processing and output.
The <two-digit-year-start> element sets the 100-year period used by the
DateTimeConverter when parsing a string with 2-digit years. The parsed date will be placed in the
range startDate to startDate + 100 years.
For example, when the string is "1/1/11" and the two-digit-year-start is set to 1900, the
DateTimeConverter will parse it into the Date equivalent to 1st January 1911.
The default value for two-digit-year-start is 1950.
The <right-to-left> element can
be used to configure how reading direction is determined.
The <number-grouping-separator> element defines the separator used for groups of numbers.
The <decimal-separator> element defines the decimal separator.
The <currency-code> element defines the
ISO 4217 currency code used by default for formatting
currency fields when those fields do not specify an explicit
currency field via their converter.
The <uploaded-file-processor> element
should be the name of a class that implements the UploadedFileProcessor
API. The class must have a no-arg constructor.
The <uploaded-file-max-memory> element
should be a string expression for the maximum amount, in bytes, of the incoming
file that will be stored in memory. Once these limits have been exceeded, disk
space will be used.
The <uploaded-file-max-disk-space> element
should be a string expression for the maximum amount of disk space, in bytes,
allowed for a single file. If this is exceeded, an EOFException will be thrown.
The <uploaded-file-temp-dir> element
should be a string expression for the path to the temporary directory
to use. If not specified, files will be stored in the temporary
directory used by java.io.File.createTempFile()
The <formatting-locale> element can be used to
override the locale that converters use for date time, number and currency.
The <animation-enabled> is a system wide setting to turn animation on or off.