myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1830065 [4/5] - in /myfaces/site/publish/tobago: tobago-core/tlddoc/tc/ tobago-core/xref/org/apache/myfaces/tobago/component/ tobago-core/xref/org/apache/myfaces/tobago/internal/component/ tobago-core/xref/org/apache/myfaces/tobago/interna...
Date Wed, 25 Apr 2018 11:48:39 GMT
Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/BoxController.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/BoxController.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/BoxController.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/BoxController.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,69 @@
+<!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>BoxController xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/demo/BoxController.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.example.demo;
+<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> javax.enterprise.context.SessionScoped;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> javax.inject.Named;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> java.io.Serializable;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  @Named
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  @SessionScoped
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/demo/BoxController.html">BoxController</a> <strong class="jxr_keyword">implements</strong> Serializable {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> box1collapsed = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> box2collapsed = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> box3collapsed = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isBox1collapsed() {
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>      <strong class="jxr_keyword">return</strong> box1collapsed;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>    }
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBox1collapsed(<strong class="jxr_keyword">boolean</strong> box1collapsed) {
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong class="jxr_keyword">this</strong>.box1collapsed = box1collapsed;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>    }
+<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">boolean</strong> isBox2collapsed() {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <strong class="jxr_keyword">return</strong> box2collapsed;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>    }
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBox2collapsed(<strong class="jxr_keyword">boolean</strong> box2collapsed) {
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      <strong class="jxr_keyword">this</strong>.box2collapsed = box2collapsed;
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>    }
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>  
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isBox3collapsed() {
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <strong class="jxr_keyword">return</strong> box3collapsed;
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>    }
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>  
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setBox3collapsed(<strong class="jxr_keyword">boolean</strong> box3collapsed) {
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <strong class="jxr_keyword">this</strong>.box3collapsed = box3collapsed;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>    }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LoginController.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LoginController.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LoginController.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/LoginController.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,113 @@
+<!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>LoginController xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/demo/LoginController.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.example.demo;
+<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.slf4j.Logger;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.slf4j.LoggerFactory;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> javax.enterprise.context.RequestScoped;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> javax.faces.context.ExternalContext;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> javax.faces.context.FacesContext;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> javax.inject.Named;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> javax.servlet.ServletException;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> javax.servlet.http.HttpServletRequest;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> javax.servlet.http.HttpServletResponse;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> javax.servlet.http.HttpSession;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  @Named
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  @RequestScoped
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/demo/LoginController.html">LoginController</a> {
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(LoginController.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>    <strong class="jxr_keyword">private</strong> String username;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>    <strong class="jxr_keyword">private</strong> String password;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>    <strong class="jxr_keyword">public</strong> String login() <strong class="jxr_keyword">throws</strong> ServletException, IOException {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">final</strong> FacesContext facesContext = FacesContext.getCurrentInstance();
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      <strong class="jxr_keyword">final</strong> ExternalContext externalContext = facesContext.getExternalContext();
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      <strong class="jxr_keyword">final</strong> HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">final</strong> HttpServletResponse response = (HttpServletResponse) externalContext.getResponse();
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      LOG.info(<span class="jxr_string">"Try to login user: '{}'"</span>, username);
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      request.login(username, password);
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>      LOG.info(<span class="jxr_string">"Successful login user: '{}'"</span>, username);
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>  
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <strong class="jxr_keyword">return</strong> <span class="jxr_string">"/content/30-concept/80-security/20-roles/x-login.xhtml?faces-redirect=true"</span>;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>    }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>  
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>    <strong class="jxr_keyword">public</strong> String logout() <strong class="jxr_keyword">throws</strong> ServletException, IOException {
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      <strong class="jxr_keyword">final</strong> FacesContext facesContext = FacesContext.getCurrentInstance();
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong class="jxr_keyword">final</strong> ExternalContext externalContext = facesContext.getExternalContext();
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>      <strong class="jxr_keyword">final</strong> HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>  
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>      request.logout();
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>  
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      <strong class="jxr_keyword">return</strong> facesContext.getViewRoot().getViewId();
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>    }
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>  
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>    <strong class="jxr_keyword">public</strong> String resetSession() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      LOG.info(<span class="jxr_string">"Resetting the session."</span>);
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong class="jxr_keyword">final</strong> FacesContext facesContext = FacesContext.getCurrentInstance();
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>      <strong class="jxr_keyword">final</strong> HttpSession session = (HttpSession) facesContext.getExternalContext().getSession(false);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>      <strong class="jxr_keyword">if</strong> (session != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>        session.invalidate();
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>      }
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      <strong class="jxr_keyword">final</strong> ExternalContext externalContext = facesContext.getExternalContext();
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>  <em class="jxr_comment">/* XXX reset theme doesn't work</em>
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>  <em class="jxr_comment">    CookieUtils.removeThemeNameCookie(</em>
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>  <em class="jxr_comment">        (HttpServletRequest)externalContext.getRequest(),</em>
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>  <em class="jxr_comment">        (HttpServletResponse) externalContext.getResponse());</em>
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  <em class="jxr_comment">*/</em>
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>      externalContext.redirect(externalContext.getRequestContextPath() + <span class="jxr_string">"/"</span>);
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>      facesContext.responseComplete();
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>      <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>    }
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>  
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>    <strong class="jxr_keyword">public</strong> String getUsername() {
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">return</strong> username;
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>    }
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>  
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUsername(<strong class="jxr_keyword">final</strong> String username) {
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>      <strong class="jxr_keyword">this</strong>.username = username;
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>    }
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>  
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>    <strong class="jxr_keyword">public</strong> String getPassword() {
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>      <strong class="jxr_keyword">return</strong> password;
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>    }
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>  
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setPassword(<strong class="jxr_keyword">final</strong> String password) {
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>      <strong class="jxr_keyword">this</strong>.password = password;
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>    }
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Release.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Release.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Release.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/Release.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,189 @@
+<!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>Release xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/demo/Release.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.example.demo;
+<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> enum <a href="../../../../../../org/apache/myfaces/tobago/example/demo/Release.html">Release</a> {
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>    v1_0_7(<span class="jxr_string">"12310824"</span>),
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>    v1_0_8(<span class="jxr_string">"12310900"</span>),
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>    v1_0_9(<span class="jxr_string">"12312042"</span>),
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>    v1_0_10(<span class="jxr_string">"12312204"</span>),
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>    v1_0_11(<span class="jxr_string">"12312376"</span>),
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>    v1_0_12(<span class="jxr_string">"12312498"</span>),
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>    v1_0_13(<span class="jxr_string">"12312766"</span>),
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>    v1_0_14(<span class="jxr_string">"12312878"</span>),
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>    v1_0_15(<span class="jxr_string">"12312929"</span>),
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>    v1_0_16(<span class="jxr_string">"12312966"</span>),
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>    v1_0_17(<span class="jxr_string">"12313084"</span>),
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>    v1_0_18(<span class="jxr_string">"12313150"</span>),
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>    v1_0_19(<span class="jxr_string">"12313372"</span>),
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>    v1_0_20(<span class="jxr_string">"12313447"</span>),
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>    v1_0_21(<span class="jxr_string">"12313470"</span>),
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>    v1_0_22(<span class="jxr_string">"12314027"</span>),
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>    v1_0_23(<span class="jxr_string">"12314159"</span>),
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>    v1_0_24(<span class="jxr_string">"12314193"</span>),
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>    v1_0_25(<span class="jxr_string">"12314527"</span>),
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>    v1_0_26(<span class="jxr_string">"12314961"</span>),
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>    v1_0_27(<span class="jxr_string">"12315099"</span>),
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>    v1_0_28(<span class="jxr_string">"12315109"</span>),
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>    v1_0_29(<span class="jxr_string">"12315262"</span>),
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>    v1_0_30(<span class="jxr_string">"12315336"</span>),
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>    v1_0_31(<span class="jxr_string">"12315383"</span>),
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>    v1_0_32(<span class="jxr_string">"12315489"</span>),
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>    v1_0_33(<span class="jxr_string">"12315586"</span>),
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>    v1_0_34(<span class="jxr_string">"12316162"</span>),
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>    v1_0_35(<span class="jxr_string">"12316183"</span>),
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>    v1_0_36(<span class="jxr_string">"12316297"</span>),
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>    v1_0_37(<span class="jxr_string">"12316458"</span>),
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>    v1_0_38(<span class="jxr_string">"12317350"</span>),
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>    v1_0_39(<span class="jxr_string">"12319455"</span>),
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>    v1_0_40(<span class="jxr_string">"12319866"</span>),
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>    v1_0_41(<span class="jxr_string">"12324116"</span>),
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>    v1_0_42(<span class="jxr_string">"12326705"</span>),
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>    v1_0_43(<span class="jxr_string">"12333048"</span>, false, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>  
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>    v1_5_0_alpha_2(<span class="jxr_string">"12314340"</span>),
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>    v1_5_0_beta_1(<span class="jxr_string">"12316222"</span>),
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>    v1_5_0_beta_2(<span class="jxr_string">"12317052"</span>),
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>    v1_5_0(<span class="jxr_string">"12312205"</span>),
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>    v1_5_1(<span class="jxr_string">"12319154"</span>),
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>    v1_5_2(<span class="jxr_string">"12319248"</span>),
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>    v1_5_3(<span class="jxr_string">"12319499"</span>),
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>    v1_5_4(<span class="jxr_string">"12319864"</span>),
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>    v1_5_5(<span class="jxr_string">"12319865"</span>),
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>    v1_5_6(<span class="jxr_string">"12321251"</span>),
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>    v1_5_7(<span class="jxr_string">"12321444"</span>),
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>    v1_5_8(<span class="jxr_string">"12322450"</span>),
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>    v1_5_9(<span class="jxr_string">"12323506"</span>),
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>    v1_5_10(<span class="jxr_string">"12324008"</span>),
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>    v1_5_11(<span class="jxr_string">"12324453"</span>),
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>    v1_5_12(<span class="jxr_string">"12325597"</span>),
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>    v1_5_13(<span class="jxr_string">"12325858"</span>),
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>    v1_5_14(<span class="jxr_string">"12326706"</span>, false, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>  
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>    v1_6_0_beta_1(<span class="jxr_string">"12321691"</span>),
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>    v1_6_0_beta_2(<span class="jxr_string">"12321701"</span>),
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>  
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>    v2_0_0_alpha_1(<span class="jxr_string">"12321874"</span>),
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>    v2_0_0_alpha_2(<span class="jxr_string">"12324818"</span>),
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>    v2_0_0_alpha_3(<span class="jxr_string">"12325247"</span>),
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>    v2_0_0_beta_1(<span class="jxr_string">"12325856"</span>),
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>    v2_0_0_beta_2(<span class="jxr_string">"12326662"</span>),
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>    v2_0_0_beta_3(<span class="jxr_string">"12326693"</span>),
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>    v2_0_0_beta_4(<span class="jxr_string">"12326809"</span>),
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>    v2_0_0(<span class="jxr_string">"12321253"</span>),
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>    v2_0_1(<span class="jxr_string">"12327455"</span>),
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>    v2_0_2(<span class="jxr_string">"12327500"</span>),
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>    v2_0_3(<span class="jxr_string">"12328040"</span>),
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>    v2_0_4(<span class="jxr_string">"12328041"</span>),
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>    v2_0_5(<span class="jxr_string">"12329025"</span>),
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>    v2_0_6(<span class="jxr_string">"12329161"</span>),
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>    v2_0_7(<span class="jxr_string">"12329376"</span>),
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>    v2_0_8(<span class="jxr_string">"12329723"</span>),
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>   v2_0_9(<span class="jxr_string">"12332146"</span>),
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>   v2_0_10(<span class="jxr_string">"12334742"</span>),
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>   v2_1_0(<span class="jxr_string">"12338208"</span>),
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>   v2_1_1(<span class="jxr_string">"12341246"</span>, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>   v2_1_2(<span class="jxr_string">"12342740"</span>, false, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L105" href="#L105">105</a> 
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>   v3_0_0_alpha_1(<span class="jxr_string">"12325880"</span>),
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>   v3_0_0_alpha_2(<span class="jxr_string">"12333887"</span>),
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>   v3_0_0_alpha_3(<span class="jxr_string">"12334363"</span>),
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>   v3_0_0_alpha_4(<span class="jxr_string">"12337842"</span>),
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>   v3_0_0_alpha_5(<span class="jxr_string">"12338164"</span>),
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>   v3_0_0_alpha_6(<span class="jxr_string">"12338231"</span>),
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>   v3_0_0_alpha_7(<span class="jxr_string">"12338278"</span>),
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>   v3_0_0_beta_1(<span class="jxr_string">"12333888"</span>),
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>   v3_0_0(<span class="jxr_string">"12325880"</span>),
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>   v3_0_1(<span class="jxr_string">"12338730"</span>),
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>   v3_0_2(<span class="jxr_string">"12339171"</span>),
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>   v3_0_3(<span class="jxr_string">"12339442"</span>),
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>   v3_0_4(<span class="jxr_string">"12340258"</span>),
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>   v3_0_5(<span class="jxr_string">"12340325"</span>),
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>   v3_0_6(<span class="jxr_string">"12341574"</span>, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>   v3_0_7(<span class="jxr_string">"12342388"</span>, false, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> 
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>   v4_0_0(<span class="jxr_string">"12338728"</span>),
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>   v4_1_0(<span class="jxr_string">"12339443"</span>),
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>   v4_2_0(<span class="jxr_string">"12342739"</span>),
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>   v4_2_1(<span class="jxr_string">"12342849"</span>, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>   v4_3_0(<span class="jxr_string">"12342850"</span>, false, <strong class="jxr_keyword">true</strong>),
+<a class="jxr_linenumber" name="L128" href="#L128">128</a> 
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>   v5_0_0(<span class="jxr_string">"12338729"</span>, false, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L130" href="#L130">130</a> 
+<a class="jxr_linenumber" name="L131" href="#L131">131</a>   <strong class="jxr_keyword">private</strong> String jira;
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>   <strong class="jxr_keyword">private</strong> String version;
+<a class="jxr_linenumber" name="L133" href="#L133">133</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> tx;
+<a class="jxr_linenumber" name="L134" href="#L134">134</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> current;
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> unreleased;
+<a class="jxr_linenumber" name="L136" href="#L136">136</a> 
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>   <a href="../../../../../../org/apache/myfaces/tobago/example/demo/Release.html">Release</a>(<strong class="jxr_keyword">final</strong> String jira) {
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>     <strong class="jxr_keyword">this</strong>(jira, false, false);
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>   }
+<a class="jxr_linenumber" name="L140" href="#L140">140</a> 
+<a class="jxr_linenumber" name="L141" href="#L141">141</a>   <a href="../../../../../../org/apache/myfaces/tobago/example/demo/Release.html">Release</a>(<strong class="jxr_keyword">final</strong> String jira, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> current) {
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>     <strong class="jxr_keyword">this</strong>(jira, current, false);
+<a class="jxr_linenumber" name="L143" href="#L143">143</a>   }
+<a class="jxr_linenumber" name="L144" href="#L144">144</a> 
+<a class="jxr_linenumber" name="L145" href="#L145">145</a>   <a href="../../../../../../org/apache/myfaces/tobago/example/demo/Release.html">Release</a>(<strong class="jxr_keyword">final</strong> String jira, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> current, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> unreleased) {
+<a class="jxr_linenumber" name="L146" href="#L146">146</a>     <strong class="jxr_keyword">this</strong>.current = current;
+<a class="jxr_linenumber" name="L147" href="#L147">147</a>     <strong class="jxr_keyword">this</strong>.jira = jira;
+<a class="jxr_linenumber" name="L148" href="#L148">148</a>     <strong class="jxr_keyword">this</strong>.unreleased = unreleased;
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>     version = name()
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>         .substring(1)
+<a class="jxr_linenumber" name="L151" href="#L151">151</a>         .replaceAll(<span class="jxr_string">"_alpha_"</span>, <span class="jxr_string">"-alpha-"</span>)
+<a class="jxr_linenumber" name="L152" href="#L152">152</a>         .replaceAll(<span class="jxr_string">"_beta_"</span>, <span class="jxr_string">"-beta-"</span>)
+<a class="jxr_linenumber" name="L153" href="#L153">153</a>         .replace('_', '.');
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>     tx = version.startsWith(<span class="jxr_string">"1.5"</span>) || version.startsWith(<span class="jxr_string">"1.6"</span>);
+<a class="jxr_linenumber" name="L155" href="#L155">155</a>   }
+<a class="jxr_linenumber" name="L156" href="#L156">156</a> 
+<a class="jxr_linenumber" name="L157" href="#L157">157</a>   <strong class="jxr_keyword">public</strong> String getVersion() {
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>     <strong class="jxr_keyword">return</strong> version;
+<a class="jxr_linenumber" name="L159" href="#L159">159</a>   }
+<a class="jxr_linenumber" name="L160" href="#L160">160</a> 
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isTx() {
+<a class="jxr_linenumber" name="L162" href="#L162">162</a>     <strong class="jxr_keyword">return</strong> tx;
+<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>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isCurrent() {
+<a class="jxr_linenumber" name="L166" href="#L166">166</a>     <strong class="jxr_keyword">return</strong> current;
+<a class="jxr_linenumber" name="L167" href="#L167">167</a>   }
+<a class="jxr_linenumber" name="L168" href="#L168">168</a> 
+<a class="jxr_linenumber" name="L169" href="#L169">169</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isUnreleased() {
+<a class="jxr_linenumber" name="L170" href="#L170">170</a>     <strong class="jxr_keyword">return</strong> unreleased;
+<a class="jxr_linenumber" name="L171" href="#L171">171</a>   }
+<a class="jxr_linenumber" name="L172" href="#L172">172</a> 
+<a class="jxr_linenumber" name="L173" href="#L173">173</a>   <strong class="jxr_keyword">public</strong> String getJira() {
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>     <strong class="jxr_keyword">return</strong> jira;
+<a class="jxr_linenumber" name="L175" href="#L175">175</a>   }
+<a class="jxr_linenumber" name="L176" href="#L176">176</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,77 @@
+<!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>SuggestQuotMarkController xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../apidocs/org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.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.example.demo;
+<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.commons.lang3.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.enterprise.context.SessionScoped;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> javax.inject.Named;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> java.io.Serializable;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">import</strong> java.util.stream.Collectors;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  @SessionScoped
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  @Named
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html">SuggestQuotMarkController</a> <strong class="jxr_keyword">implements</strong> Serializable {
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = LoggerFactory.getLogger(SuggestController.<strong class="jxr_keyword">class</strong>);
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>    <strong class="jxr_keyword">private</strong> List&lt;String&gt; suggestions = <strong class="jxr_keyword">new</strong> ArrayList&lt;&gt;(8);
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>    <strong class="jxr_keyword">private</strong> String query;
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../../org/apache/myfaces/tobago/example/demo/SuggestQuotMarkController.html">SuggestQuotMarkController</a>() {
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      suggestions.add(<span class="jxr_string">"Mercury"</span>);
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      suggestions.add(<span class="jxr_string">"Venus"</span>);
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      suggestions.add(<span class="jxr_string">"Earth"</span>);
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      suggestions.add(<span class="jxr_string">"Mars"</span>);
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      suggestions.add(<span class="jxr_string">"Jupiter"</span>);
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      suggestions.add(<span class="jxr_string">"Saturn"</span>);
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      suggestions.add(<span class="jxr_string">"Uranus"</span>);
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      suggestions.add(<span class="jxr_string">"Quotation\&quot;Mark"</span>);
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>    }
+<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> String getQuery() {
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>      <strong class="jxr_keyword">return</strong> query;
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>    }
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setQuery(<strong class="jxr_keyword">final</strong> String query) {
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <strong class="jxr_keyword">this</strong>.query = query;
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>    }
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>  
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>    <strong class="jxr_keyword">public</strong> List&lt;String&gt; getSuggestions() {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>      <strong class="jxr_keyword">final</strong> String substring = query != <strong class="jxr_keyword">null</strong> ? query : <span class="jxr_string">""</span>;
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>      LOG.info(<span class="jxr_string">"Creating items for substring: '"</span> + substring + <span class="jxr_string">"'"</span>);
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>      <strong class="jxr_keyword">return</strong> suggestions.stream().filter(s -&gt; StringUtils.containsIgnoreCase(s, substring)).collect(Collectors.toList());
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>    }
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIBadge.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIBadge.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIBadge.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUIBadge.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,41 @@
+<!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>AbstractUIBadge 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/AbstractUIBadge.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">import</strong> org.apache.myfaces.tobago.component.Visual;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> javax.faces.component.UIOutput;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  
+<a class="jxr_linenumber" name="L26" href="#L26">26</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/AbstractUIBadge.html">AbstractUIBadge</a> <strong class="jxr_keyword">extends</strong> UIOutput <strong class="jxr_keyword">implements</strong> <a href="../../../../../../org/apache/myfaces/tobago/component/Visual.html">Visual</a> {
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectReference.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectReference.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectReference.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/component/AbstractUISelectReference.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,40 @@
+<!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>AbstractUISelectReference 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/AbstractUISelectReference.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">import</strong> javax.faces.component.UIOutput;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</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/AbstractUISelectReference.html">AbstractUISelectReference</a> <strong class="jxr_keyword">extends</strong> UIOutput {
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> String getFor();
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> String getRenderRange();
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,44 @@
+<!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>BadgeInsideButtonsRenderer xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../apidocs/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.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.renderkit.renderer;
+<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.renderkit.css.BootstrapClass;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.css.CssItem;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeInsideButtonsRenderer.html">BadgeInsideButtonsRenderer</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../../org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html">BadgeRenderer</a> {
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>    @Override
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>    <strong class="jxr_keyword">protected</strong> <a href="../../../../../../../org/apache/myfaces/tobago/renderkit/css/CssItem.html">CssItem</a> getAdditionalCssItem() {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>      <strong class="jxr_keyword">return</strong> BootstrapClass.BTN;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>    }
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html?rev=1830065&view=auto
==============================================================================
--- myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html (added)
+++ myfaces/site/publish/tobago/xref/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html Wed Apr 25 11:48:38 2018
@@ -0,0 +1,107 @@
+<!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>BadgeRenderer xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../../../apidocs/org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.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.renderkit.renderer;
+<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.context.Markup;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.internal.component.AbstractUIBadge;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.internal.util.RenderUtils;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.RendererBase;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.css.BootstrapClass;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.css.CssItem;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.css.TobagoClass;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.renderkit.html.HtmlElements;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.myfaces.tobago.webapp.TobagoResponseWriter;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> javax.faces.component.UIComponent;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> javax.faces.context.FacesContext;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/myfaces/tobago/internal/renderkit/renderer/BadgeRenderer.html">BadgeRenderer</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../../org/apache/myfaces/tobago/renderkit/RendererBase.html">RendererBase</a> {
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>    @Override
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> encodeBegin(<strong class="jxr_keyword">final</strong> FacesContext facesContext, <strong class="jxr_keyword">final</strong> UIComponent component) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../../../org/apache/myfaces/tobago/webapp/TobagoResponseWriter.html">TobagoResponseWriter</a> writer = getResponseWriter(facesContext);
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../../../org/apache/myfaces/tobago/internal/component/AbstractUIBadge.html">AbstractUIBadge</a> badge = (AbstractUIBadge) component;
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../../../org/apache/myfaces/tobago/context/Markup.html">Markup</a> markup = badge.getMarkup() != <strong class="jxr_keyword">null</strong> ? badge.getMarkup() : Markup.NULL;
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong class="jxr_keyword">final</strong> String value = RenderUtils.currentValue(badge);
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      writer.startElement(HtmlElements.SPAN);
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      writer.writeIdAttribute(badge.getClientId(facesContext));
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      writer.writeClassAttribute(
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>          TobagoClass.BADGE,
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          TobagoClass.BADGE.createMarkup(markup),
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          BootstrapClass.BADGE,
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          getBadgeColor(markup),
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          markup.contains(Markup.PILL) ? BootstrapClass.BADGE_PILL : <strong class="jxr_keyword">null</strong>,
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          getAdditionalCssItem(),
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          badge.getCustomClass());
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <strong class="jxr_keyword">if</strong> (value != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>        writer.writeText(value);
+<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>  
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>    @Override
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> encodeEnd(FacesContext facesContext, UIComponent component) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../../../org/apache/myfaces/tobago/webapp/TobagoResponseWriter.html">TobagoResponseWriter</a> writer = getResponseWriter(facesContext);
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      writer.endElement(HtmlElements.SPAN);
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>    }
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>  
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>    <strong class="jxr_keyword">protected</strong> <a href="../../../../../../../org/apache/myfaces/tobago/renderkit/css/CssItem.html">CssItem</a> getAdditionalCssItem() {
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>    }
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>  
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../../../../org/apache/myfaces/tobago/renderkit/css/BootstrapClass.html">BootstrapClass</a> getBadgeColor(<strong class="jxr_keyword">final</strong> <a href="../../../../../../../org/apache/myfaces/tobago/context/Markup.html">Markup</a> markup) {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>      <strong class="jxr_keyword">if</strong> (markup.contains(Markup.NONE)) {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>        <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.PRIMARY)) {
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_PRIMARY;
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.SECONDARY)) {
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_SECONDARY;
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.SUCCESS)) {
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_SUCCESS;
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.DANGER)) {
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_DANGER;
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.WARNING)) {
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_WARNING;
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.INFO)) {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_INFO;
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.LIGHT)) {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_LIGHT;
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>      } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (markup.contains(Markup.DARK)) {
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_DARK;
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>      } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>        <strong class="jxr_keyword">return</strong> BootstrapClass.BADGE_SECONDARY;
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>      }
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>    }
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2002&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>



Mime
View raw message