You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/10/24 11:53:47 UTC
svn commit: r1844757 [1/14] - in /myfaces/site/publish/tobago:
tobago-core/tlddoc/tc/ tobago-core/xref/org/apache/myfaces/tobago/convert/
tobago-core/xref/org/apache/myfaces/tobago/facelets/
tobago-core/xref/org/apache/myfaces/tobago/internal/component...
Author: lofwyr
Date: Wed Oct 24 11:53:46 2018
New Revision: 1844757
URL: http://svn.apache.org/viewvc?rev=1844757&view=rev
Log:
update site after release
Added:
myfaces/site/publish/tobago/tobago-core/tlddoc/tc/convertDateTime.html
myfaces/site/publish/tobago/tobago-core/tlddoc/tc/selectBooleanToggle.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectBoolean.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectBooleanToggle.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanToggleRenderer.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/taglib/component/SelectBooleanToggleTagDeclaration.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.html
myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/layout/VerticalAlign.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/AccessAllPagesTest.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/SeleniumBase.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/StandardTest.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/package-frame.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref-test/org/apache/myfaces/tobago/example/demo/qunit/package-summary.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/AttributeController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/CantorInterval.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/CategoryTree.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/CommandNode.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/CommandNodeFactory.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/ConvertDateTimeController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/Element.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/KillSession.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/LocaleEntry.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/LocaleList.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/MixedCommandTree.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/NamedNode.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/Salutation.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/SelectBooleanToggleController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/SmallTree.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/demo/SolarObject.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/AbstractDynamicPanel.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/BootstrapController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/DynamicController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/DynamicPanel1Controller.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/DynamicPanel2Controller.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/DynamicPanel3Controller.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/ErrorController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/HiddenController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/MessagesTestController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/PopupDataController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/ResourceBeanController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/ScriptEventController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/SheetTestController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/TreeTestController.html
myfaces/site/publish/tobago/tobago-example/tobago-example-demo/xref/org/apache/myfaces/tobago/example/test/TrueAndFalseListController.html
myfaces/site/publish/tobago/tobago-theme/jdepend-report.html
myfaces/site/publish/tobago/tobago-tool/tobago-tool-annotation/xref/org/apache/myfaces/tobago/apt/annotation/ConverterTag.html
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/AccessAllPagesTest.html
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/SeleniumBase.html
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/StandardTest.html
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/package-frame.html
myfaces/site/publish/tobago/xref-test/org/apache/myfaces/tobago/example/demo/qunit/package-summary.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/apt/annotation/ConverterTag.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/component/UISelectBooleanToggle.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/AttributeController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/CantorInterval.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/CategoryTree.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/CommandNode.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/CommandNodeFactory.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/ConvertDateTimeController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Element.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/KillSession.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LocaleEntry.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LocaleList.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/MixedCommandTree.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/NamedNode.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Node.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Salutation.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SelectBooleanToggleController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SmallTree.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SolarObject.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/AbstractDynamicPanel.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/BootstrapController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/DynamicController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/DynamicPanel1Controller.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/DynamicPanel2Controller.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/DynamicPanel3Controller.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/ErrorController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/HiddenController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/MessagesTestController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/PopupDataController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/ResourceBeanController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/ScriptEventController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/SheetTestController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/TreeTestController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/test/TrueAndFalseListController.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectBoolean.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectBooleanToggle.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectBooleanToggleRenderer.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/taglib/component/SelectBooleanToggleTagDeclaration.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/taglib/declaration/IsPlain.html
myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/layout/VerticalAlign.html
Added: myfaces/site/publish/tobago/tobago-core/tlddoc/tc/convertDateTime.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/tlddoc/tc/convertDateTime.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/tlddoc/tc/convertDateTime.html (added)
+++ myfaces/site/publish/tobago/tobago-core/tlddoc/tc/convertDateTime.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,190 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en" xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee" xmlns:vdldoc="http://vdldoc.omnifaces.org" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>convertDateTime (Tobago Core VDL Documentation)
+ </title>
+<meta name="keywords" content="$title">
+<link rel="stylesheet" type="text/css" title="Style" href="../stylesheet.css">
+</head>
+<body>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<div class="topNav">
+<a name="navbar_top"></a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"></a>
+<ul class="navList" title="Navigation">
+<li>
+<a href="../overview-summary.html">Overview</a>
+</li>
+<li>
+<a href="tld-summary.html">Library</a>
+</li>
+<li class="navBarCell1Rev">Tag</li>
+<li>
+<a href="../help-doc.html">Help</a>
+</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>
+<a target="_top" href="../index.html?tc/convertDateTime.html">
+ Frames
+ </a>
+</li>
+<li>
+<a target="_top" href="convertDateTime.html">
+ No Frames
+ </a>
+</li>
+</ul>
+<ul class="navList" id="alltags_navbar_top">
+<li>
+<a href="../alltags-noframe.html">All Tags</a>
+</li>
+</ul>
+<div>
+<script type="text/javascript">
+ document.getElementById("alltags_navbar_top").style.display = (window == top) ? "block" : "none";
+ </script>
+</div>
+<a name="skip-navbar_top"></a>
+</div>
+<div class="header">
+<h1 title="Library" class="title">tc</h1>
+<h2 class="title">
+ Tag
+ convertDateTime</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Description:</dt>
+<dd>
+<div class="block">Register a DateTimeConverter instance on the UIComponent associated with the closest parent UIComponent custom
+ action.</div>
+</dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Converter summary table, listing converter information">
+<caption>
+<span>Converter Information</span><span class="tabEnd"> </span>
+</caption>
+<thead>
+<tr>
+<th class="colFirst" scope="col">Info</th><th class="colLast" scope="col">Value</th>
+</tr>
+</thead>
+<tbody>
+<tr class="rowColor">
+<td class="colFirst">Converter ID</td><td class="colLast"><code>org.apache.myfaces.tobago.DateTime</code></td>
+</tr>
+<tr class="altColor">
+<td class="colFirst">Handler Class</td><td class="colLast"><code>org.apache.myfaces.tobago.facelets.ConvertDateTimeHandler</code></td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst">Description</td><td class="colLast"><i>None</i></td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="summary">
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Attribute summary table, listing attribute information">
+<caption>
+<span>Attributes</span><span class="tabEnd"> </span>
+</caption>
+<thead>
+<tr>
+<th class="colFirst">Name</th><th class="colOne">Required</th><th class="colOne">Type</th><th class="colLast">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr id="binding" class="rowColor">
+<td class="colFirst"><a href="#binding"><code>binding</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>org.apache.myfaces.tobago.convert.DateTimeConverter</code>)
+ </td><td class="colLast">A ValueExpression that evaluates to an instance of
+ {@link org.apache.myfaces.tobago.facelets.ConvertDateTimeHandler}.</td>
+</tr>
+<tr id="for" class="altColor">
+<td class="colFirst"><a href="#for"><code>for</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>java.lang.String</code></td><td class="colLast">Id of the component, this is related to.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="locale" class="rowColor">
+<td class="colFirst"><a href="#locale"><code>locale</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </td><td class="colLast">Locale whose predefined styles for dates and times are used during formatting or parsing. If not specified, the
+ Locale returned by FacesContext.getViewRoot().getLocale() will be used. Value must be either a VB expression that
+ evaluates to a java.util.Locale instance, or a String that is valid to pass as the first argument to the
+ constructor java.util.Locale(String language, String country). The empty string is passed as the second argument.</td>
+</tr>
+<tr id="pattern" class="altColor">
+<td class="colFirst"><a href="#pattern"><code>pattern</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">Custom formatting pattern which determines how the date/time string should be formatted and parsed.
+ Pattern chars 'G', 'W', 'F', 'K', 'z' and 'X' are not supported.</td>
+</tr>
+<tr id="timeZone" class="rowColor">
+<td class="colFirst"><a href="#timeZone"><code>timeZone</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </td><td class="colLast">Time zone in which to interpret any time information in the date String. Value must be either a VB expression that
+ evaluates to a java.util.TimeZone instance, or a String that is a timezone ID as described in the javadocs for
+ java.util.TimeZone.getTimeZone().</td>
+</tr>
+<tr id="type" class="altColor">
+<td class="colFirst"><a href="#type"><code>type</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">Specifies what contents the string value will be formatted to include, or parsed expecting. Valid values are
+ "date", "time", "both", "calendar", "localDate", "localDateTime", "localTime", "offsetTime", "offsetDateTime", and
+ "zonedDateTime". The values starting with "local", "offset" and "zoned" correspond to Java SE 8 Date Time API
+ classes in package java.time with the name derived by upper casing the first letter. For example,
+ java.time.LocalDate for the value "localDate". Default value is "date".</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+<div class="bottomNav">
+<a name="navbar_bottom"></a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"></a>
+<ul class="navList" title="Navigation">
+<li>
+<a href="../overview-summary.html">Overview</a>
+</li>
+<li>
+<a href="tld-summary.html">Library</a>
+</li>
+<li class="navBarCell1Rev">Tag</li>
+<li>
+<a href="../help-doc.html">Help</a>
+</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>
+<a target="_bottom" href="../index.html?tc/convertDateTime.html">
+ Frames
+ </a>
+</li>
+<li>
+<a target="_bottom" href="convertDateTime.html">
+ No Frames
+ </a>
+</li>
+</ul>
+<ul class="navList" id="alltags_navbar_bottom">
+<li>
+<a href="../alltags-noframe.html">All Tags</a>
+</li>
+</ul>
+<script type="text/javascript">
+ document.getElementById("alltags_navbar_bottom").style.display = (window == top) ? "block" : "none";
+ </script><a name="skip-navbar_bottom"></a>
+</div>
+<p class="about">Output generated by <a href="http://vdldoc.omnifaces.org" target="_blank">Vdldoc</a> View Declaration Language Documentation Generator.</p>
+</body>
+</html>
Added: myfaces/site/publish/tobago/tobago-core/tlddoc/tc/selectBooleanToggle.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/tlddoc/tc/selectBooleanToggle.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/tlddoc/tc/selectBooleanToggle.html (added)
+++ myfaces/site/publish/tobago/tobago-core/tlddoc/tc/selectBooleanToggle.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,283 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en" xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee" xmlns:vdldoc="http://vdldoc.omnifaces.org" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>selectBooleanToggle (Tobago Core VDL Documentation)
+ </title>
+<meta name="keywords" content="$title">
+<link rel="stylesheet" type="text/css" title="Style" href="../stylesheet.css">
+</head>
+<body>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<div class="topNav">
+<a name="navbar_top"></a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"></a>
+<ul class="navList" title="Navigation">
+<li>
+<a href="../overview-summary.html">Overview</a>
+</li>
+<li>
+<a href="tld-summary.html">Library</a>
+</li>
+<li class="navBarCell1Rev">Tag</li>
+<li>
+<a href="../help-doc.html">Help</a>
+</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>
+<a target="_top" href="../index.html?tc/selectBooleanToggle.html">
+ Frames
+ </a>
+</li>
+<li>
+<a target="_top" href="selectBooleanToggle.html">
+ No Frames
+ </a>
+</li>
+</ul>
+<ul class="navList" id="alltags_navbar_top">
+<li>
+<a href="../alltags-noframe.html">All Tags</a>
+</li>
+</ul>
+<div>
+<script type="text/javascript">
+ document.getElementById("alltags_navbar_top").style.display = (window == top) ? "block" : "none";
+ </script>
+</div>
+<a name="skip-navbar_top"></a>
+</div>
+<div class="header">
+<h1 title="Library" class="title">tc</h1>
+<h2 class="title">
+ Tag
+ selectBooleanToggle</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>Description:</dt>
+<dd>
+<div class="block">Renders a checkbox as toggle.<p><b>UIComponentClass: </b>org.apache.myfaces.tobago.component.UISelectBooleanToggle</p><p><b>RendererType: </b><ul><li>SelectBooleanToggle (default)</li></ul></p></div>
+</dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Component summary table, listing component information">
+<caption>
+<span>Component Information</span><span class="tabEnd"> </span>
+</caption>
+<thead>
+<tr>
+<th class="colFirst" scope="col">Info</th><th class="colLast" scope="col">Value</th>
+</tr>
+</thead>
+<tbody>
+<tr class="rowColor">
+<td class="colFirst">Component Type</td><td class="colLast"><code>org.apache.myfaces.tobago.SelectBooleanToggle</code></td>
+</tr>
+<tr class="altColor">
+<td class="colFirst">Handler Class</td><td class="colLast"><code>org.apache.myfaces.tobago.facelets.TobagoComponentHandler</code></td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst">Renderer Type</td><td class="colLast"><code>SelectBooleanToggle</code></td>
+</tr>
+<tr class="altColor">
+<td class="colFirst">Description</td><td class="colLast"><i>None</i></td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="summary">
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Attribute summary table, listing attribute information">
+<caption>
+<span>Attributes</span><span class="tabEnd"> </span>
+</caption>
+<thead>
+<tr>
+<th class="colFirst">Name</th><th class="colOne">Required</th><th class="colOne">Type</th><th class="colLast">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr id="accessKey" class="rowColor">
+<td class="colFirst"><a href="#accessKey"><code>accessKey</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Character</code>)
+ </td><td class="colLast">The access key of this control.<br />Type: <code>java.lang.Character</code></td>
+</tr>
+<tr id="binding" class="altColor">
+<td class="colFirst"><a href="#binding"><code>binding</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>javax.faces.component.UIComponent</code>)
+ </td><td class="colLast">The value binding expression linking this component to a property in a backing bean.
+ For Facelets, the component is the outer UIPanel, not the input control.<br />Type: <code>javax.faces.component.UIComponent</code></td>
+</tr>
+<tr id="converter" class="rowColor">
+<td class="colFirst"><a href="#converter"><code>converter</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>javax.faces.convert.Converter</code>)
+ </td><td class="colLast">An expression that specifies the Converter for this component.
+ If the value binding expression is a String,
+ the String is used as an ID to look up a Converter.
+ If the value binding expression is a Converter,
+ uses that instance as the converter.
+ The value can either be a static value (ID case only)
+ or an EL expression.<br />Type: <code>javax.faces.convert.Converter</code></td>
+</tr>
+<tr id="converterMessage" class="altColor">
+<td class="colFirst"><a href="#converterMessage"><code>converterMessage</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">An expression that specifies the converter message.
+ If present, will be used as the text of the converter message, replacing any message that comes from the converter.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="disabled" class="rowColor">
+<td class="colFirst"><a href="#disabled"><code>disabled</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Boolean</code>)
+ </td><td class="colLast">Flag indicating that this element is disabled.<br />Type: <code>boolean</code><br />Default: <code>false</code></td>
+</tr>
+<tr id="focus" class="altColor">
+<td class="colFirst"><a href="#focus"><code>focus</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Boolean</code>)
+ </td><td class="colLast">Flag indicating this component should receive the focus.<br />Type: <code>boolean</code><br />Default: <code>false</code></td>
+</tr>
+<tr id="id" class="rowColor">
+<td class="colFirst"><a href="#id"><code>id</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>java.lang.String</code></td><td class="colLast">The component identifier for this component.
+ This value must be unique within the closest parent component that is a naming container.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="itemLabel" class="altColor">
+<td class="colFirst"><a href="#itemLabel"><code>itemLabel</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">Label to be displayed to the user for this option.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="label" class="rowColor">
+<td class="colFirst"><a href="#label"><code>label</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">A localized user presentable label for this component.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="labelLayout" class="altColor">
+<td class="colFirst"><a href="#labelLayout"><code>labelLayout</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>org.apache.myfaces.tobago.component.LabelLayout</code>)
+ </td><td class="colLast">Defines the position of the label relative to the field.
+ The default is flexLeft, if the label is set, or none, if the label isn't set.
+ Set to 'skip' to avoid surrounding label container.
+ Hint for tc:out: set also compact=true to render only text (without html tags).<br />Type: <code>org.apache.myfaces.tobago.component.LabelLayout</code></td>
+</tr>
+<tr id="markup" class="rowColor">
+<td class="colFirst"><a href="#markup"><code>markup</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>org.apache.myfaces.tobago.context.Markup</code>)
+ </td><td class="colLast">Indicate markup of this component.
+ The allowed markups can be defined or overridden in the theme.
+ The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer.<br />Type: <code>org.apache.myfaces.tobago.context.Markup</code></td>
+</tr>
+<tr id="readonly" class="altColor">
+<td class="colFirst"><a href="#readonly"><code>readonly</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Boolean</code>)
+ </td><td class="colLast">Flag indicating that this component will prohibit changes by the user.<br />Type: <code>boolean</code><br />Default: <code>false</code></td>
+</tr>
+<tr id="rendered" class="rowColor">
+<td class="colFirst"><a href="#rendered"><code>rendered</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Boolean</code>)
+ </td><td class="colLast">Flag indicating whether or not this component should be rendered
+ (during Render Response Phase), or processed on any subsequent form submit.<br />Type: <code>boolean</code><br />Default: <code>true</code></td>
+</tr>
+<tr id="required" class="altColor">
+<td class="colFirst"><a href="#required"><code>required</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Boolean</code>)
+ </td><td class="colLast">Flag indicating that a value is required.
+ If the value is an empty string a
+ ValidationError occurs and a Error Message is rendered.<br />Type: <code>boolean</code><br />Default: <code>false</code></td>
+</tr>
+<tr id="requiredMessage" class="rowColor">
+<td class="colFirst"><a href="#requiredMessage"><code>requiredMessage</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">An expression that specifies the required message<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="tabIndex" class="altColor">
+<td class="colFirst"><a href="#tabIndex"><code>tabIndex</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Integer</code>)
+ </td><td class="colLast">Controls the navigation of the focus through the
+ input controls on a page with the Tab-Key.
+ The navigation starts from the element with
+ the lowest tabIndex value to the element with the highest value.
+ Elements that have identical tabIndex values should be navigated
+ in the order they appear in the character stream
+ Elements that are disabled or with a negative tabIndex
+ do not participate in the tabbing order.<br />Type: <code>java.lang.Integer</code></td>
+</tr>
+<tr id="tip" class="rowColor">
+<td class="colFirst"><a href="#tip"><code>tip</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">Text value to display as tooltip.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="validator" class="altColor">
+<td class="colFirst"><a href="#validator"><code>validator</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>java.lang.String</code></td><td class="colLast">A method binding EL expression,
+ accepting FacesContext, UIComponent,
+ and Object parameters, and returning void, that validates
+ the component's local value.</td>
+</tr>
+<tr id="validatorMessage" class="rowColor">
+<td class="colFirst"><a href="#validatorMessage"><code>validatorMessage</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.String</code>)
+ </td><td class="colLast">An expression that specifies the validator message.
+ If present, will be used as the text of the validator message, replacing any message that comes from the validator.<br />Type: <code>java.lang.String</code></td>
+</tr>
+<tr id="value" class="altColor">
+<td class="colFirst"><a href="#value"><code>value</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>javax.el.ValueExpression</code>
+<br>(<i>must evaluate to </i><code>java.lang.Object</code>)
+ </td><td class="colLast">The current value of this component.<br />Type: <code>java.lang.Object</code></td>
+</tr>
+<tr id="valueChangeListener" class="rowColor">
+<td class="colFirst"><a href="#valueChangeListener"><code>valueChangeListener</code></a></td><td class="colOne"><code>false</code></td><td class="colOne"><code>java.lang.String</code></td><td class="colLast">MethodExpression representing a value change listener method
+ that will be notified when a new value has been set for this input component.
+ The expression must evaluate to a public method that takes a ValueChangeEvent
+ parameter, with a return type of void.</td>
+</tr>
+</tbody>
+</table>
+</div>
+</div>
+<div class="bottomNav">
+<a name="navbar_bottom"></a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"></a>
+<ul class="navList" title="Navigation">
+<li>
+<a href="../overview-summary.html">Overview</a>
+</li>
+<li>
+<a href="tld-summary.html">Library</a>
+</li>
+<li class="navBarCell1Rev">Tag</li>
+<li>
+<a href="../help-doc.html">Help</a>
+</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>
+<a target="_bottom" href="../index.html?tc/selectBooleanToggle.html">
+ Frames
+ </a>
+</li>
+<li>
+<a target="_bottom" href="selectBooleanToggle.html">
+ No Frames
+ </a>
+</li>
+</ul>
+<ul class="navList" id="alltags_navbar_bottom">
+<li>
+<a href="../alltags-noframe.html">All Tags</a>
+</li>
+</ul>
+<script type="text/javascript">
+ document.getElementById("alltags_navbar_bottom").style.display = (window == top) ? "block" : "none";
+ </script><a name="skip-navbar_bottom"></a>
+</div>
+<p class="about">Output generated by <a href="http://vdldoc.omnifaces.org" target="_blank">Vdldoc</a> View Declaration Language Documentation Generator.</p>
+</body>
+</html>
Added: myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html (added)
+++ myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/convert/DateTimeConverter.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,188 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>DateTimeConverter xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/myfaces/tobago/convert/DateTimeConverter.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.convert;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>
+<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.internal.util.StringUtils;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.slf4j.Logger;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.slf4j.LoggerFactory;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>
+<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> javax.faces.component.UIComponent;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> javax.faces.component.UIInput;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> javax.faces.context.FacesContext;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> javax.faces.convert.ConverterException;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> java.text.ParseException;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> java.text.SimpleDateFormat;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> java.time.LocalDate;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">import</strong> java.time.LocalDateTime;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">import</strong> java.time.LocalTime;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> java.time.OffsetDateTime;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> java.time.OffsetTime;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">import</strong> java.time.ZonedDateTime;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">import</strong> java.time.format.DateTimeFormatter;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">import</strong> java.time.temporal.TemporalAccessor;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">import</strong> java.util.Calendar;
+<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">import</strong> java.util.Locale;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a> <strong class="jxr_keyword">import</strong> java.util.TimeZone;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.myfaces.tobago.convert.DateTimeConverter.CONVERTER_ID;
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a> @org.apache.myfaces.tobago.apt.annotation.Converter(id = CONVERTER_ID)
+<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/myfaces/tobago/convert/DateTimeConverter.html">DateTimeConverter</a> <strong class="jxr_keyword">extends</strong> javax.faces.convert.DateTimeConverter {
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>
+<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(DateTimeConverter.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CONVERTER_ID = <span class="jxr_string">"org.apache.myfaces.tobago.DateTime"</span>;
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_DATE = <span class="jxr_string">"date"</span>;
+<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_TIME = <span class="jxr_string">"time"</span>;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_BOTH = <span class="jxr_string">"both"</span>;
+<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_CALENDAR = <span class="jxr_string">"calendar"</span>;
+<a class="jxr_linenumber" name="L57" href="#L57">57</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_LOCAL_DATE = <span class="jxr_string">"localDate"</span>;
+<a class="jxr_linenumber" name="L58" href="#L58">58</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_LOCAL_TIME = <span class="jxr_string">"localTime"</span>;
+<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_LOCAL_DATE_TIME = <span class="jxr_string">"localDateTime"</span>;
+<a class="jxr_linenumber" name="L60" href="#L60">60</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_OFFSET_TIME = <span class="jxr_string">"offsetTime"</span>;
+<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_OFFSET_DATE_TIME = <span class="jxr_string">"offsetDateTime"</span>;
+<a class="jxr_linenumber" name="L62" href="#L62">62</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_ZONED_DATE_TIME = <span class="jxr_string">"zonedDateTime"</span>;
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>
+<a class="jxr_linenumber" name="L64" href="#L64">64</a> @Override
+<a class="jxr_linenumber" name="L65" href="#L65">65</a> <strong class="jxr_keyword">public</strong> Object getAsObject(FacesContext facesContext, UIComponent component, String string) <strong class="jxr_keyword">throws</strong> ConverterException {
+<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">if</strong> (StringUtils.isBlank(string)) {
+<a class="jxr_linenumber" name="L67" href="#L67">67</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L68" href="#L68">68</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L69" href="#L69">69</a> <strong class="jxr_keyword">final</strong> String type = getType();
+<a class="jxr_linenumber" name="L70" href="#L70">70</a> <strong class="jxr_keyword">if</strong> (TYPE_DATE.equals(type) || TYPE_TIME.equals(type) || TYPE_BOTH.equals(type)) {
+<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">super</strong>.getAsObject(facesContext, component, string);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_CALENDAR.equals(type)) {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a> <strong class="jxr_keyword">final</strong> Locale locale = getLocale();
+<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">final</strong> String pattern = getPattern();
+<a class="jxr_linenumber" name="L75" href="#L75">75</a> <strong class="jxr_keyword">final</strong> TimeZone timeZone = getTimeZone();
+<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">final</strong> Calendar calendar;
+<a class="jxr_linenumber" name="L77" href="#L77">77</a> <strong class="jxr_keyword">if</strong> (component instanceof UIInput && ((UIInput) component).getValue() != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L78" href="#L78">78</a> calendar = (Calendar) ((UIInput) component).getValue();
+<a class="jxr_linenumber" name="L79" href="#L79">79</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L80" href="#L80">80</a> <strong class="jxr_keyword">if</strong> (timeZone != <strong class="jxr_keyword">null</strong> && locale != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L81" href="#L81">81</a> calendar = Calendar.getInstance(timeZone, locale);
+<a class="jxr_linenumber" name="L82" href="#L82">82</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (locale != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L83" href="#L83">83</a> calendar = Calendar.getInstance(locale);
+<a class="jxr_linenumber" name="L84" href="#L84">84</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (timeZone != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a> calendar = Calendar.getInstance(timeZone);
+<a class="jxr_linenumber" name="L86" href="#L86">86</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a> calendar = Calendar.getInstance();
+<a class="jxr_linenumber" name="L88" href="#L88">88</a> }
+<a class="jxr_linenumber" name="L89" href="#L89">89</a> }
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>
+<a class="jxr_linenumber" name="L91" href="#L91">91</a> SimpleDateFormat sdf = locale != <strong class="jxr_keyword">null</strong> ? <strong class="jxr_keyword">new</strong> SimpleDateFormat(pattern, locale) : <strong class="jxr_keyword">new</strong> SimpleDateFormat(pattern);
+<a class="jxr_linenumber" name="L92" href="#L92">92</a> <strong class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L93" href="#L93">93</a> calendar.setTime(sdf.parse(string));
+<a class="jxr_linenumber" name="L94" href="#L94">94</a> } <strong class="jxr_keyword">catch</strong> (ParseException e) {
+<a class="jxr_linenumber" name="L95" href="#L95">95</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ConverterException(<span class="jxr_string">"string='"</span> + string + <span class="jxr_string">"'"</span>, e);
+<a class="jxr_linenumber" name="L96" href="#L96">96</a> }
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>
+<a class="jxr_linenumber" name="L98" href="#L98">98</a> <strong class="jxr_keyword">return</strong> calendar;
+<a class="jxr_linenumber" name="L99" href="#L99">99</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_LOCAL_DATE.equals(type)) {
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> logMandatoryPatterns(<span class="jxr_string">"yMd"</span>);
+<a class="jxr_linenumber" name="L101" href="#L101">101</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, LocalDate::from);
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_LOCAL_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L103" href="#L103">103</a> logMandatoryPatterns(<span class="jxr_string">"H"</span>);
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, LocalTime::from);
+<a class="jxr_linenumber" name="L105" href="#L105">105</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_LOCAL_DATE_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L106" href="#L106">106</a> logMandatoryPatterns(<span class="jxr_string">"yMdH"</span>);
+<a class="jxr_linenumber" name="L107" href="#L107">107</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, LocalDateTime::from);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_OFFSET_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> logMandatoryPatterns(<span class="jxr_string">"HZ"</span>);
+<a class="jxr_linenumber" name="L110" href="#L110">110</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, OffsetTime::from);
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_OFFSET_DATE_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> logMandatoryPatterns(<span class="jxr_string">"yMdHZ"</span>);
+<a class="jxr_linenumber" name="L113" href="#L113">113</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, OffsetDateTime::from);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_ZONED_DATE_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L115" href="#L115">115</a> logMandatoryPatterns(<span class="jxr_string">"yMdHZ"</span>);
+<a class="jxr_linenumber" name="L116" href="#L116">116</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().parse(string, ZonedDateTime::from);
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L118" href="#L118">118</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ConverterException(<span class="jxr_string">"invalid type '"</span> + type + <span class="jxr_string">"'"</span>);
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> }
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> }
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> }
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>
+<a class="jxr_linenumber" name="L123" href="#L123">123</a> @Override
+<a class="jxr_linenumber" name="L124" href="#L124">124</a> <strong class="jxr_keyword">public</strong> String getAsString(FacesContext facesContext, UIComponent component, Object object) <strong class="jxr_keyword">throws</strong> ConverterException {
+<a class="jxr_linenumber" name="L125" href="#L125">125</a> <strong class="jxr_keyword">if</strong> (object == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L126" href="#L126">126</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L127" href="#L127">127</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L128" href="#L128">128</a> <strong class="jxr_keyword">final</strong> String type = getType();
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> <strong class="jxr_keyword">if</strong> (TYPE_DATE.equals(type) || TYPE_TIME.equals(type) || TYPE_BOTH.equals(type)) {
+<a class="jxr_linenumber" name="L130" href="#L130">130</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">super</strong>.getAsString(facesContext, component, object);
+<a class="jxr_linenumber" name="L131" href="#L131">131</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_CALENDAR.equals(type)) {
+<a class="jxr_linenumber" name="L132" href="#L132">132</a> Calendar calendar = (Calendar) object;
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> <strong class="jxr_keyword">final</strong> Locale locale = getLocale();
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> <strong class="jxr_keyword">final</strong> String pattern = getPattern();
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>
+<a class="jxr_linenumber" name="L136" href="#L136">136</a> SimpleDateFormat sdf = <strong class="jxr_keyword">new</strong> SimpleDateFormat(pattern, locale);
+<a class="jxr_linenumber" name="L137" href="#L137">137</a> <strong class="jxr_keyword">return</strong> sdf.format(calendar.getTime());
+<a class="jxr_linenumber" name="L138" href="#L138">138</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (TYPE_LOCAL_DATE.equals(type)
+<a class="jxr_linenumber" name="L139" href="#L139">139</a> || TYPE_LOCAL_TIME.equals(type)
+<a class="jxr_linenumber" name="L140" href="#L140">140</a> || TYPE_LOCAL_DATE_TIME.equals(type)
+<a class="jxr_linenumber" name="L141" href="#L141">141</a> || TYPE_OFFSET_TIME.equals(type)
+<a class="jxr_linenumber" name="L142" href="#L142">142</a> || TYPE_OFFSET_DATE_TIME.equals(type)
+<a class="jxr_linenumber" name="L143" href="#L143">143</a> || TYPE_ZONED_DATE_TIME.equals(type)) {
+<a class="jxr_linenumber" name="L144" href="#L144">144</a> <strong class="jxr_keyword">return</strong> getDateTimeFormatter().format((TemporalAccessor) object);
+<a class="jxr_linenumber" name="L145" href="#L145">145</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L146" href="#L146">146</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ConverterException(<span class="jxr_string">"invalid type '"</span> + type + <span class="jxr_string">"'"</span>);
+<a class="jxr_linenumber" name="L147" href="#L147">147</a> }
+<a class="jxr_linenumber" name="L148" href="#L148">148</a> }
+<a class="jxr_linenumber" name="L149" href="#L149">149</a> }
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>
+<a class="jxr_linenumber" name="L151" href="#L151">151</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> logMandatoryPatterns(String mandatoryChars) {
+<a class="jxr_linenumber" name="L152" href="#L152">152</a> logMandatoryPattern(mandatoryChars, <span class="jxr_string">"y"</span>, <span class="jxr_string">"year"</span>);
+<a class="jxr_linenumber" name="L153" href="#L153">153</a> logMandatoryPattern(mandatoryChars, <span class="jxr_string">"M"</span>, <span class="jxr_string">"month"</span>);
+<a class="jxr_linenumber" name="L154" href="#L154">154</a> logMandatoryPattern(mandatoryChars, <span class="jxr_string">"d"</span>, <span class="jxr_string">"day"</span>);
+<a class="jxr_linenumber" name="L155" href="#L155">155</a> logMandatoryPattern(mandatoryChars, <span class="jxr_string">"H"</span>, <span class="jxr_string">"hour"</span>);
+<a class="jxr_linenumber" name="L156" href="#L156">156</a> logMandatoryPattern(mandatoryChars, <span class="jxr_string">"Z"</span>, <span class="jxr_string">"offset"</span>);
+<a class="jxr_linenumber" name="L157" href="#L157">157</a> }
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>
+<a class="jxr_linenumber" name="L159" href="#L159">159</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> logMandatoryPattern(String mandatoryChars, String c, String name) {
+<a class="jxr_linenumber" name="L160" href="#L160">160</a> <strong class="jxr_keyword">final</strong> String pattern = getPattern();
+<a class="jxr_linenumber" name="L161" href="#L161">161</a> <strong class="jxr_keyword">if</strong> (pattern != <strong class="jxr_keyword">null</strong> && mandatoryChars.contains(c) && !pattern.contains(c)) {
+<a class="jxr_linenumber" name="L162" href="#L162">162</a> LOG.error(<span class="jxr_string">"No char for "</span> + name + <span class="jxr_string">" ('"</span> + c + <span class="jxr_string">"') in pattern: "</span> + pattern);
+<a class="jxr_linenumber" name="L163" href="#L163">163</a> }
+<a class="jxr_linenumber" name="L164" href="#L164">164</a> }
+<a class="jxr_linenumber" name="L165" href="#L165">165</a>
+<a class="jxr_linenumber" name="L166" href="#L166">166</a> <strong class="jxr_keyword">private</strong> DateTimeFormatter getDateTimeFormatter() {
+<a class="jxr_linenumber" name="L167" href="#L167">167</a> <strong class="jxr_keyword">final</strong> String pattern = getPattern();
+<a class="jxr_linenumber" name="L168" href="#L168">168</a> <strong class="jxr_keyword">if</strong> (!StringUtils.isBlank(pattern)) {
+<a class="jxr_linenumber" name="L169" href="#L169">169</a> <strong class="jxr_keyword">final</strong> Locale locale = getLocale();
+<a class="jxr_linenumber" name="L170" href="#L170">170</a> <strong class="jxr_keyword">return</strong> locale != <strong class="jxr_keyword">null</strong> ? DateTimeFormatter.ofPattern(pattern, locale) : DateTimeFormatter.ofPattern(pattern);
+<a class="jxr_linenumber" name="L171" href="#L171">171</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L172" href="#L172">172</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> ConverterException(<span class="jxr_string">"no pattern set"</span>);
+<a class="jxr_linenumber" name="L173" href="#L173">173</a> }
+<a class="jxr_linenumber" name="L174" href="#L174">174</a> }
+<a class="jxr_linenumber" name="L175" href="#L175">175</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright © 2002–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
Added: myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html (added)
+++ myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,135 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>ConvertDateTimeHandler xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.facelets;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>
+<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.convert.DateTimeConverter;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.slf4j.Logger;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.slf4j.LoggerFactory;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>
+<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> javax.el.ELException;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> javax.el.ValueExpression;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> javax.faces.component.UIComponent;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> javax.faces.component.ValueHolder;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> javax.faces.context.FacesContext;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> javax.faces.convert.Converter;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.ComponentHandler;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.ConverterConfig;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.ConverterHandler;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.FaceletContext;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.TagAttribute;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">import</strong> javax.faces.view.facelets.TagException;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">import</strong> java.util.Locale;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">import</strong> java.util.TimeZone;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html">ConvertDateTimeHandler</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/myfaces/tobago/facelets/ConverterHandler.html">ConverterHandler</a> {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(ConvertDateTimeHandler.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> TagAttribute binding;
+<a class="jxr_linenumber" name="L46" href="#L46">46</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> TagAttribute locale;
+<a class="jxr_linenumber" name="L47" href="#L47">47</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> TagAttribute pattern;
+<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> TagAttribute timeZone;
+<a class="jxr_linenumber" name="L49" href="#L49">49</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> TagAttribute type;
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.html">ConvertDateTimeHandler</a>(<strong class="jxr_keyword">final</strong> ConverterConfig config) {
+<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">super</strong>(config);
+<a class="jxr_linenumber" name="L53" href="#L53">53</a> binding = getAttribute(<span class="jxr_string">"binding"</span>);
+<a class="jxr_linenumber" name="L54" href="#L54">54</a> locale = getAttribute(<span class="jxr_string">"locale"</span>);
+<a class="jxr_linenumber" name="L55" href="#L55">55</a> pattern = getAttribute(<span class="jxr_string">"pattern"</span>);
+<a class="jxr_linenumber" name="L56" href="#L56">56</a> timeZone = getAttribute(<span class="jxr_string">"timeZone"</span>);
+<a class="jxr_linenumber" name="L57" href="#L57">57</a> type = getAttribute(<span class="jxr_string">"type"</span>);
+<a class="jxr_linenumber" name="L58" href="#L58">58</a> }
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a> @Override
+<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> apply(<strong class="jxr_keyword">final</strong> FaceletContext faceletContext, <strong class="jxr_keyword">final</strong> UIComponent parent) <strong class="jxr_keyword">throws</strong> ELException {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a> <strong class="jxr_keyword">if</strong> (parent instanceof ValueHolder) {
+<a class="jxr_linenumber" name="L63" href="#L63">63</a> <strong class="jxr_keyword">if</strong> (ComponentHandler.isNew(parent)) {
+<a class="jxr_linenumber" name="L64" href="#L64">64</a> <strong class="jxr_keyword">final</strong> ValueHolder valueHolder = (ValueHolder) parent;
+<a class="jxr_linenumber" name="L65" href="#L65">65</a> Converter converter = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L66" href="#L66">66</a> ValueExpression valueExpression = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L67" href="#L67">67</a> <strong class="jxr_keyword">if</strong> (binding != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a> valueExpression = binding.getValueExpression(faceletContext, Converter.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a> converter = (Converter) valueExpression.getValue(faceletContext);
+<a class="jxr_linenumber" name="L70" href="#L70">70</a> }
+<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">if</strong> (converter == <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a> converter = FacesContext.getCurrentInstance().getApplication()
+<a class="jxr_linenumber" name="L73" href="#L73">73</a> .createConverter(DateTimeConverter.CONVERTER_ID);
+<a class="jxr_linenumber" name="L74" href="#L74">74</a> <a href="../../../../../org/apache/myfaces/tobago/convert/DateTimeConverter.html">DateTimeConverter</a> dtConverter = (DateTimeConverter) converter;
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>
+<a class="jxr_linenumber" name="L76" href="#L76">76</a> <strong class="jxr_keyword">if</strong> (locale != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L77" href="#L77">77</a> <strong class="jxr_keyword">final</strong> Object localeObject = locale.getObject(faceletContext);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a> <strong class="jxr_keyword">if</strong> (localeObject instanceof Locale) {
+<a class="jxr_linenumber" name="L79" href="#L79">79</a> dtConverter.setLocale((Locale) localeObject);
+<a class="jxr_linenumber" name="L80" href="#L80">80</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L81" href="#L81">81</a> LOG.warn(<span class="jxr_string">"Could not set local."</span>);
+<a class="jxr_linenumber" name="L82" href="#L82">82</a> }
+<a class="jxr_linenumber" name="L83" href="#L83">83</a> }
+<a class="jxr_linenumber" name="L84" href="#L84">84</a> <strong class="jxr_keyword">if</strong> (pattern != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a> <strong class="jxr_keyword">final</strong> Object patternObject = pattern.getObject(faceletContext);
+<a class="jxr_linenumber" name="L86" href="#L86">86</a> <strong class="jxr_keyword">if</strong> (patternObject instanceof String) {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a> dtConverter.setPattern((String) patternObject);
+<a class="jxr_linenumber" name="L88" href="#L88">88</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L89" href="#L89">89</a> LOG.warn(<span class="jxr_string">"Could not set pattern."</span>);
+<a class="jxr_linenumber" name="L90" href="#L90">90</a> }
+<a class="jxr_linenumber" name="L91" href="#L91">91</a> }
+<a class="jxr_linenumber" name="L92" href="#L92">92</a> <strong class="jxr_keyword">if</strong> (timeZone != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L93" href="#L93">93</a> <strong class="jxr_keyword">final</strong> Object timeZoneObject = timeZone.getObject(faceletContext);
+<a class="jxr_linenumber" name="L94" href="#L94">94</a> <strong class="jxr_keyword">if</strong> (timeZoneObject instanceof TimeZone) {
+<a class="jxr_linenumber" name="L95" href="#L95">95</a> dtConverter.setTimeZone((TimeZone) timeZoneObject);
+<a class="jxr_linenumber" name="L96" href="#L96">96</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L97" href="#L97">97</a> LOG.warn(<span class="jxr_string">"Could not set time zone."</span>);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a> }
+<a class="jxr_linenumber" name="L99" href="#L99">99</a> }
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> <strong class="jxr_keyword">if</strong> (type != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L101" href="#L101">101</a> <strong class="jxr_keyword">final</strong> Object typeObject = type.getObject(faceletContext);
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> <strong class="jxr_keyword">if</strong> (typeObject instanceof String) {
+<a class="jxr_linenumber" name="L103" href="#L103">103</a> dtConverter.setType((String) typeObject);
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L105" href="#L105">105</a> LOG.warn(<span class="jxr_string">"Could not set type."</span>);
+<a class="jxr_linenumber" name="L106" href="#L106">106</a> }
+<a class="jxr_linenumber" name="L107" href="#L107">107</a> }
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> <strong class="jxr_keyword">if</strong> (valueExpression != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L110" href="#L110">110</a> valueExpression.setValue(faceletContext, converter);
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> }
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> }
+<a class="jxr_linenumber" name="L113" href="#L113">113</a> <strong class="jxr_keyword">if</strong> (converter != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L114" href="#L114">114</a> valueHolder.setConverter(converter);
+<a class="jxr_linenumber" name="L115" href="#L115">115</a> }
+<a class="jxr_linenumber" name="L116" href="#L116">116</a> <em class="jxr_comment">// TODO else LOG.warn?</em>
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> }
+<a class="jxr_linenumber" name="L118" href="#L118">118</a> } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> TagException(tag, <span class="jxr_string">"Parent is not of type ValueHolder, type is: "</span> + parent);
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> }
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> }
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright © 2002–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
Added: myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html (added)
+++ myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>AbstractUIFooter xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.internal.component;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>
+<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/internal/component/AbstractUIFooter.html">AbstractUIFooter</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../org/apache/myfaces/tobago/internal/component/AbstractUIPanelBase.html">AbstractUIPanelBase</a> {
+<a class="jxr_linenumber" name="L23" href="#L23">23</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright © 2002–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>
Added: myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html?rev=1844757&view=auto
==============================================================================
--- myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html (added)
+++ myfaces/site/publish/tobago/tobago-core/xref/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html Wed Oct 24 11:53:46 2018
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>AbstractUIHeader xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html">View Javadoc</a></div><pre>
+<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * or more contributor license agreements. See the NOTICE file</em>
+<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * regarding copyright ownership. The ASF licenses this file</em>
+<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> * with the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
+<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * KIND, either express or implied. See the License for the</em>
+<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a class="jxr_linenumber" name="L17" href="#L17">17</a> <em class="jxr_comment"> * under the License.</em>
+<a class="jxr_linenumber" name="L18" href="#L18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>
+<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">package</strong> org.apache.myfaces.tobago.internal.component;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>
+<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/internal/component/AbstractUIHeader.html">AbstractUIHeader</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../org/apache/myfaces/tobago/internal/component/AbstractUIPanelBase.html">AbstractUIPanelBase</a> {
+<a class="jxr_linenumber" name="L23" href="#L23">23</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright © 2002–2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>