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 2015/11/27 16:26:33 UTC
svn commit: r1716887 [3/10] - /myfaces/site/publish/tobago/
Modified: myfaces/site/publish/tobago/download.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/download.html?rev=1716887&r1=1716886&r2=1716887&view=diff
==============================================================================
--- myfaces/site/publish/tobago/download.html (original)
+++ myfaces/site/publish/tobago/download.html Fri Nov 27 15:26:32 2015
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 16 Jul 2015
+ Last Published: 27 Nov 2015
</div>
<ul>
<li>
@@ -34,10 +34,8 @@
</li>
</ul>
<div class="clear"></div>
- </div>
- <!-- close top_menu_container -->
- </div>
- <!-- close top_menu -->
+ </div> <!-- close top_menu_container -->
+ </div> <!-- close top_menu -->
<div id="header_bottom">
<div id="logo_banner_container">
<div id="logo">
@@ -55,18 +53,14 @@
</a>
</div>
<div class="clear"></div>
- </div>
- <!-- close logo_banner_container -->
- </div>
- <!-- close header_bottom -->
-</div>
-<!-- close header -->
+ </div> <!-- close logo_banner_container -->
+ </div> <!-- close header_bottom -->
+</div> <!-- close header -->
<div id="main_container">
<div id="left_column">
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Tobago</h5>
-
<div class="content">
<ul class="left_menu">
@@ -86,16 +80,12 @@
<a href="mail-lists.html">Mailing Lists</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -108,6 +98,10 @@
</li>
<li class="none">
+ <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ </li>
+
+ <li class="none">
<a href="new-2.0.html">New in Tobago 2.0</a>
</li>
@@ -116,7 +110,7 @@
</li>
<li class="none">
- <a href="migration-1.5.html">Migration to 1.5</a>
+ <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
</li>
<li class="none">
@@ -124,7 +118,7 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="migration-1.5.html">Migration to 1.5</a>
</li>
<li class="none">
@@ -147,16 +141,12 @@
<a href="release-checklist.html">Release Checklist</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Project Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -170,16 +160,12 @@
<a href="project-reports.html">Project Reports</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Foundation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -203,18 +189,14 @@
<a href="http://www.apache.org/licenses/" class="externalLink">License<span/></a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div id="powered_by">
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img alt="Built by Maven" src="./img/banners/maven-feather.png"></img>
</a>
- </div>
- <!-- close powered_by -->
+ </div> <!-- close powered_by -->
<div class="clear"></div>
</div>
<div id="body_column">
@@ -233,20 +215,106 @@
<!-- limitations under the License. -->
<div class="section">
<h2>Download MyFaces Tobago<a name="Download_MyFaces_Tobago"></a></h2>
-
<p>Use the links below to download a distribution of MyFaces Tobago from one of our mirrors. It is good practice
to verify the integrity of the distribution files.</p>
-
<p>You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24
hours to reach all mirrors.</p>
-
<p>Apache MyFaces Tobago is distributed as a <tt>zip</tt> archive (for Windows) and as a <tt>tar.gz</tt> archive
(for UNIX). The content is the same. Please note that the <tt>tar.gz</tt> archives contain file names longer
than 100 characters and have been created using GNU tar extensions. Thus they must be untarred with a GNU
compatible version of tar.</p></div>
<div class="section">
+ <h2>MyFaces Tobago 3.0.0-alpha-1 Distribution<a name="MyFaces_Tobago_3.0.0-alpha-1_Distribution"></a></h2>
+ <p>Release notes can be found in <a class="externalLink"
+ href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12325880">Jira</a>.
+ </p>
+ <table border="1" class="bodyTable">
+ <tr class="a">
+ <td align="left"></td>
+ <td align="left">Typ</td>
+ <td align="left">Mirrors</td>
+ <td align="left">Checksum</td>
+ <td align="left">Signature</td>
+ </tr>
+ <tr class="b">
+ <td align="left">MyFaces Tobago</td>
+ <td align="left">tar.gz</td>
+ <td align="left"><a class="externalLink"
+ href="http://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.tar.gz">
+ myfaces-tobago-3.0.0-alpha-1-dist.tar.gz</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.sha256">
+ myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.sha256</a> <br/><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.md5">
+ myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.md5</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.asc">
+ myfaces-tobago-3.0.0-alpha-1-dist.tar.gz.asc</a></td>
+ </tr>
+ <tr class="a">
+ <td align="left">MyFaces Tobago</td>
+ <td align="left">zip</td>
+ <td align="left"><a class="externalLink"
+ href="http://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.zip">
+ myfaces-tobago-3.0.0-alpha-1-dist.zip</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.zip.sha256">
+ myfaces-tobago-3.0.0-alpha-1-dist.zip.sha256</a> <br/><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.zip.md5">
+ myfaces-tobago-3.0.0-alpha-1-dist.zip.md5</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-dist.zip.asc">
+ myfaces-tobago-3.0.0-alpha-1-dist.zip.asc</a></td>
+ </tr>
+ <tr class="b">
+ <td align="left">MyFaces Tobago Source</td>
+ <td align="left">zip</td>
+ <td align="left"><a class="externalLink"
+ href="http://www.apache.org/dyn/closer.lua/myfaces/source/myfaces-tobago-3.0.0-alpha-1-source-release.zip">
+ myfaces-tobago-3.0.0-alpha-1-source-release.zip</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/source/myfaces-tobago-3.0.0-alpha-1-source-release.zip.sha256">
+ myfaces-tobago-3.0.0-alpha-1-source-release.zip.sha256</a> <br/><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/source/myfaces-tobago-3.0.0-alpha-1-source-release.zip.md5">
+ myfaces-tobago-3.0.0-alpha-1-source-release.zip.md5</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/source/myfaces-tobago-3.0.0-alpha-1-source-release.zip.asc">
+ myfaces-tobago-3.0.0-alpha-1-source-release.zip.asc</a></td>
+ </tr>
+ <tr class="a">
+ <td align="left">MyFaces Tobago Example</td>
+ <td align="left">tar.gz</td>
+ <td align="left"><a class="externalLink"
+ href="http://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.tar.gz">
+ myfaces-tobago-3.0.0-alpha-1-example.tar.gz</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.tar.gz.sha256">
+ myfaces-tobago-3.0.0-alpha-1-example.tar.gz.sha256</a> <br/><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.tar.gz.md5">
+ myfaces-tobago-3.0.0-alpha-1-example.tar.gz.md5</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.tar.gz.asc">
+ myfaces-tobago-3.0.0-alpha-1-example.tar.gz.asc</a></td>
+ </tr>
+ <tr class="b">
+ <td align="left">MyFaces Tobago Example</td>
+ <td align="left">zip</td>
+ <td align="left"><a class="externalLink"
+ href="http://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.zip">
+ myfaces-tobago-3.0.0-alpha-1-example.zip</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.zip.sha256">
+ myfaces-tobago-3.0.0-alpha-1-example.zip.sha256</a> <br/><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.zip.md5">
+ myfaces-tobago-3.0.0-alpha-1-example.zip.md5</a></td>
+ <td align="left"><a class="externalLink"
+ href="https://www.apache.org/dist/myfaces/binaries/myfaces-tobago-3.0.0-alpha-1-example.zip.asc">
+ myfaces-tobago-3.0.0-alpha-1-example.zip.asc</a></td>
+ </tr>
+ </table>
+ </div>
+ <div class="section">
<h2>MyFaces Tobago 2.0.8 Distribution<a name="MyFaces_Tobago_2.0.8_Distribution"></a></h2>
-
<p>Release notes can be found in <a class="externalLink"
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12329723">Jira</a>.
</p>
@@ -337,7 +405,6 @@
</div>
<div class="section">
<h2>MyFaces Tobago 1.5.13 Distribution<a name="MyFaces_Tobago_1.5.13_Distribution"></a></h2>
-
<p>Release notes can be found in <a class="externalLink"
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12325597">Jira</a>.
</p>
@@ -418,7 +485,6 @@
</div>
<div class="section">
<h2>MyFaces Tobago 1.0.42 Distribution<a name="MyFaces_Tobago_1.0.42_Distribution"></a></h2>
-
<p>Release notes can be found in <a class="externalLink"
href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12326705">Jira</a>.
</p>
@@ -509,13 +575,11 @@
</div>
<div class="section">
<h2>Latest source code from SVN repository<a name="Latest_source_code_from_SVN_repository"></a></h2>
-
<p>If you want to use the latest Apache MyFaces Tobago features, the source code is under version control with
SVN. In the <a href="./getting-started.html"> Getting Started </a> section you will find information how to
use the ASF MyFaces Tobago SVN Repository.</p></div>
<div class="section">
<h2>Nightly builds from SVN repository<a name="Nightly_builds_from_SVN_repository"></a></h2>
-
<p>There are also nightly <a class="externalLink"
href="https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/tobago/tobago-assembly">
dist builds</a> and <a class="externalLink"
@@ -523,17 +587,14 @@
source builds</a> available every 24 hours (11:00 PM EST).</p></div>
<div class="section">
<h2>Archive of old releases<a name="Archive_of_old_releases"></a></h2>
-
<p>Older releases are available in the <a class="externalLink" href="http://archive.apache.org/dist/myfaces/">
archive</a>. Those releases are only provided as historical artifacts. We strongly recommend not to use those
releases, but upgrade to the most recent release.</p></div>
<div class="section">
<h2>Verifying checksums<a name="Verifying_checksums"></a></h2>
-
<p>It is essential that you verify the integrity of the downloaded files using the PGP and MD5 signatures. MD5
verification ensures the file was not corrupted during the download process. PGP verification ensures that the
file came from a certain person.</p>
-
<p>To verify the MD5 signature on the files, you need to use a program called <tt>md5</tt> or <tt>md5sum</tt>,
which is included in many UNIX distributions. It is also available as part of <a class="externalLink"
href="http://www.gnu.org/software/textutils/textutils.html">GNU
@@ -543,31 +604,23 @@
class="externalLink" href="http://www.slavasoft.com/fsum/">here</a>.</p></div>
<div class="section">
<h2>Verifying signatures<a name="Verifying_signatures"></a></h2>
-
<p>PGP verification ensures that the file came from a certain person. We strongly recommend you verify your
downloads with both PGP and MD5.</p>
-
<p>The PGP signatures can be verified using <a class="externalLink" href="http://www.pgpi.org/">PGP</a> or <a
class="externalLink" href="http://www.gnupg.org/">GPG</a>. First download the Apache MyFaces <a
class="externalLink" href="http://www.apache.org/dist/myfaces/KEYS">KEYS</a> as well as the <tt>asc</tt>
signature file for the particular distribution. It is important that you get these files from the ultimate
trusted source - the main ASF distribution site, rather than from a mirror. Then verify the signatures using
...</p>
-
<p><tt> % pgpk -a KEYS % pgpv myfaces-tobago-<version>-dist.tar.gz.asc </tt></p>
-
<p><i>or</i></p>
-
<p><tt> % pgp -ka KEYS % pgp myfaces-tobago-<version>-dist.tar.gz.asc </tt></p>
-
<p><i>or</i></p>
-
<p><tt> % gpg --import KEYS % gpg --verify myfaces-tobago-<version>-dist.tar.gz.asc </tt></p></div>
</div>
</div>
<div class="clear"></div>
-</div>
-<!-- close main container -->
+</div> <!-- close main container -->
<div id="footer">
<div class="copyright">
©
@@ -576,9 +629,7 @@
Version 2.0</a>.<br/>
Apache MyFaces, Apache Tobago, Apache, the Apache feather logo, and the Apache MyFaces project logos are trademarks
of The Apache Software Foundation.
- </div>
- <!-- close copyright -->
-</div>
-<!-- close footer -->
+ </div><!-- close copyright -->
+</div><!-- close footer -->
</body>
</html>
Modified: myfaces/site/publish/tobago/faq.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/faq.html?rev=1716887&r1=1716886&r2=1716887&view=diff
==============================================================================
--- myfaces/site/publish/tobago/faq.html (original)
+++ myfaces/site/publish/tobago/faq.html Fri Nov 27 15:26:32 2015
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 09 Jun 2015
+ Last Published: 27 Nov 2015
</div>
<ul>
<li>
@@ -34,10 +34,8 @@
</li>
</ul>
<div class="clear"></div>
- </div>
- <!-- close top_menu_container -->
- </div>
- <!-- close top_menu -->
+ </div> <!-- close top_menu_container -->
+ </div> <!-- close top_menu -->
<div id="header_bottom">
<div id="logo_banner_container">
<div id="logo">
@@ -55,18 +53,14 @@
</a>
</div>
<div class="clear"></div>
- </div>
- <!-- close logo_banner_container -->
- </div>
- <!-- close header_bottom -->
-</div>
-<!-- close header -->
+ </div> <!-- close logo_banner_container -->
+ </div> <!-- close header_bottom -->
+</div> <!-- close header -->
<div id="main_container">
<div id="left_column">
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Tobago</h5>
-
<div class="content">
<ul class="left_menu">
@@ -86,16 +80,12 @@
<a href="mail-lists.html">Mailing Lists</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -108,6 +98,10 @@
</li>
<li class="none">
+ <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ </li>
+
+ <li class="none">
<a href="new-2.0.html">New in Tobago 2.0</a>
</li>
@@ -116,7 +110,7 @@
</li>
<li class="none">
- <a href="migration-1.5.html">Migration to 1.5</a>
+ <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
</li>
<li class="none">
@@ -124,7 +118,7 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="migration-1.5.html">Migration to 1.5</a>
</li>
<li class="none">
@@ -147,16 +141,12 @@
<a href="release-checklist.html">Release Checklist</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Project Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -170,16 +160,12 @@
<a href="project-reports.html">Project Reports</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Foundation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -203,18 +189,14 @@
<a href="http://www.apache.org/licenses/" class="externalLink">License<span/></a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div id="powered_by">
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img alt="Built by Maven" src="./img/banners/maven-feather.png"></img>
</a>
- </div>
- <!-- close powered_by -->
+ </div> <!-- close powered_by -->
<div class="clear"></div>
</div>
<div id="body_column">
@@ -261,6 +243,7 @@
<li><a href="#max-path">Why my Subversion checkout fails on Windows?</a></li>
<li><a href="#selenium">How can I run the Selenium tests?</a></li>
<li><a href="#liberty">How can I run the Tobago demo with WebSphere Liberty Profile (WLP) from Maven?</a></li>
+ <li><a href="#portlet">How to setup my project to work with Portlets?</a></li>
</ol>
</div>
<dl>
@@ -622,7 +605,6 @@ SUBST X: "C:\Dokumente und Einstell
In the tobago-example-test application, the pages can be checked with selenium since Tobago 1.5.
To run the full test automatically call
</p>
-
<div class="source">
<pre>
mvn -P integration-test</pre>
@@ -633,7 +615,6 @@ mvn -P integration-test</pre>
<p>
If you want to run the tests from your IDE, please start the jetty with
</p>
-
<div class="source">
<pre>
mvn jetty:run</pre>
@@ -707,7 +688,6 @@ java -jar ~/Downloads/wlp-developers-run
After these steps you can start/stop the server and deploy an built artifact.
For these steps, you need to be in the Tobago example demo directory.
</p>
-
<div class="source">
<pre>cd tobago-examples/tobago-example-demo</pre>
</div>
@@ -781,7 +761,6 @@ java -jar ~/Downloads/wlp-developers-run
The server starts very fast and is simple to use (very different from the full WebSphere installation).
The log files you will find here:
</p>
-
<div class="source">
<pre>cd /opt/wlp-developers-8.5.next.beta/wlp/usr/servers/tobago/logs/</pre>
</div>
@@ -819,13 +798,24 @@ java -jar ~/Downloads/wlp-developers-run
<artifactId>liberty-maven-plugin</artifactId></pre>
</div>
+ <p align="right"><a href="#top">[top]</a></p>
+ <hr/>
+ </dd>
+ <dt><a name="portlet">How to setup my project to work with Portlets?</a></dt>
+ <dd>
+
+ <p>
+ There is a basic example for portlets in the Subversion repository in the sub-folder
+ tobago-example/tobago-example-portlet
+ There is no specific configuration to use Tobago in Portlets.
+ </p>
+
<p align="right"><a href="#top">[top]</a></p></dd>
</dl>
</div>
</div>
<div class="clear"></div>
-</div>
-<!-- close main container -->
+</div> <!-- close main container -->
<div id="footer">
<div class="copyright">
©
@@ -834,9 +824,7 @@ java -jar ~/Downloads/wlp-developers-run
Version 2.0</a>.<br/>
Apache MyFaces, Apache Tobago, Apache, the Apache feather logo, and the Apache MyFaces project logos are trademarks
of The Apache Software Foundation.
- </div>
- <!-- close copyright -->
-</div>
-<!-- close footer -->
+ </div><!-- close copyright -->
+</div><!-- close footer -->
</body>
</html>
Modified: myfaces/site/publish/tobago/file-activity.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/file-activity.html?rev=1716887&r1=1716886&r2=1716887&view=diff
==============================================================================
--- myfaces/site/publish/tobago/file-activity.html (original)
+++ myfaces/site/publish/tobago/file-activity.html Fri Nov 27 15:26:32 2015
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 16 Jul 2015
+ Last Published: 27 Nov 2015
</div>
<ul>
<li>
@@ -34,10 +34,8 @@
</li>
</ul>
<div class="clear"></div>
- </div>
- <!-- close top_menu_container -->
- </div>
- <!-- close top_menu -->
+ </div> <!-- close top_menu_container -->
+ </div> <!-- close top_menu -->
<div id="header_bottom">
<div id="logo_banner_container">
<div id="logo">
@@ -55,18 +53,14 @@
</a>
</div>
<div class="clear"></div>
- </div>
- <!-- close logo_banner_container -->
- </div>
- <!-- close header_bottom -->
-</div>
-<!-- close header -->
+ </div> <!-- close logo_banner_container -->
+ </div> <!-- close header_bottom -->
+</div> <!-- close header -->
<div id="main_container">
<div id="left_column">
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Tobago</h5>
-
<div class="content">
<ul class="left_menu">
@@ -86,16 +80,12 @@
<a href="mail-lists.html">Mailing Lists</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -108,6 +98,10 @@
</li>
<li class="none">
+ <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ </li>
+
+ <li class="none">
<a href="new-2.0.html">New in Tobago 2.0</a>
</li>
@@ -116,7 +110,7 @@
</li>
<li class="none">
- <a href="migration-1.5.html">Migration to 1.5</a>
+ <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
</li>
<li class="none">
@@ -124,7 +118,7 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="migration-1.5.html">Migration to 1.5</a>
</li>
<li class="none">
@@ -147,16 +141,12 @@
<a href="release-checklist.html">Release Checklist</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Project Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -228,16 +218,12 @@
</ul>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Foundation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -261,29 +247,23 @@
<a href="http://www.apache.org/licenses/" class="externalLink">License<span/></a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div id="powered_by">
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img alt="Built by Maven" src="./img/banners/maven-feather.png"></img>
</a>
- </div>
- <!-- close powered_by -->
+ </div> <!-- close powered_by -->
<div class="clear"></div>
</div>
<div id="body_column">
<div>
<div class="section">
<h2>File Activity Report<a name="File_Activity_Report"></a></h2>
-
<div class="section">
- <h3>Changes between 2015-06-16 and 2015-07-17<a name="Changes_between_2015-06-16_and_2015-07-17"></a></h3>
-
- <p>Total commits: 5<br/>Total number of files changed: 11</p>
+ <h3>Changes between 2015-10-28 and 2015-11-28<a name="Changes_between_2015-10-28_and_2015-11-28"></a></h3>
+ <p>Total commits: 5<br/>Total number of files changed: 8</p>
<table border="0" class="bodyTable">
<tr class="a">
<th>Filename</th>
@@ -291,66 +271,46 @@
</tr>
<tr class="b">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/release-checklist.apt">/myfaces/tobago/trunk/src/site/apt/<b>release-checklist.apt</b></a>
- </td>
- <td>2</td>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk">/myfaces/tobago/<b>trunk</b></a></td>
+ <td>3</td>
</tr>
<tr class="a">
<td><a class="externalLink" href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/pom.xml">/myfaces/tobago/trunk/<b>pom.xml</b></a>
</td>
- <td>1</td>
+ <td>3</td>
</tr>
<tr class="b">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/UserAgentUnitTest.java">/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/<b>UserAgentUnitTest.java</b></a>
- </td>
- <td>1</td>
- </tr>
- <tr class="a">
- <td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/Parameterized.java">/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/util/<b>Parameterized.java</b></a>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/migration-3.0.apt">/myfaces/tobago/trunk/src/site/apt/<b>migration-3.0.apt</b></a>
</td>
- <td>1</td>
- </tr>
- <tr class="b">
- <td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/AutomaticSeleniumTest.java">/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/<b>AutomaticSeleniumTest.java</b></a>
- </td>
- <td>1</td>
+ <td>2</td>
</tr>
<tr class="a">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/faces-config/faces-config.xml">/myfaces/tobago/trunk/tobago-core/src/main/faces-config/<b>faces-config.xml</b></a>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/new-3.0.apt">/myfaces/tobago/trunk/src/site/apt/<b>new-3.0.apt</b></a>
</td>
- <td>1</td>
+ <td>2</td>
</tr>
<tr class="b">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/resources/META-INF">/myfaces/tobago/trunk/tobago-core/src/main/resources/<b>META-INF</b></a>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/api.apt">/myfaces/tobago/trunk/src/site/apt/<b>api.apt</b></a>
</td>
<td>1</td>
</tr>
<tr class="a">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-fileupload/src/main/resources/META-INF/faces-config.xml">/myfaces/tobago/trunk/tobago-extension/tobago-fileupload/src/main/resources/META-INF/<b>faces-config.xml</b></a>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/download.apt">/myfaces/tobago/trunk/src/site/apt/<b>download.apt</b></a>
</td>
<td>1</td>
</tr>
<tr class="b">
<td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/faces-config/faces-config.xml">/myfaces/tobago/trunk/tobago-extension/tobago-sandbox/src/main/faces-config/<b>faces-config.xml</b></a>
+ href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/index.apt">/myfaces/tobago/trunk/src/site/apt/<b>index.apt</b></a>
</td>
<td>1</td>
</tr>
<tr class="a">
- <td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/resources/META-INF/faces-config.xml">/myfaces/tobago/trunk/tobago-extension/tobago-security/src/main/resources/META-INF/<b>faces-config.xml</b></a>
- </td>
- <td>1</td>
- </tr>
- <tr class="b">
- <td><a class="externalLink"
- href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/compatibility.apt">/myfaces/tobago/trunk/src/site/apt/<b>compatibility.apt</b></a>
+ <td><a class="externalLink" href="http://svn.eu.apache.org/viewvc/myfaces/tobago/trunk/src/site/site.xml">/myfaces/tobago/trunk/src/site/<b>site.xml</b></a>
</td>
<td>1</td>
</tr>
@@ -360,8 +320,7 @@
</div>
</div>
<div class="clear"></div>
-</div>
-<!-- close main container -->
+</div> <!-- close main container -->
<div id="footer">
<div class="copyright">
©
@@ -370,9 +329,7 @@
Version 2.0</a>.<br/>
Apache MyFaces, Apache Tobago, Apache, the Apache feather logo, and the Apache MyFaces project logos are trademarks
of The Apache Software Foundation.
- </div>
- <!-- close copyright -->
-</div>
-<!-- close footer -->
+ </div><!-- close copyright -->
+</div><!-- close footer -->
</body>
</html>
Modified: myfaces/site/publish/tobago/getting-started.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/getting-started.html?rev=1716887&r1=1716886&r2=1716887&view=diff
==============================================================================
--- myfaces/site/publish/tobago/getting-started.html (original)
+++ myfaces/site/publish/tobago/getting-started.html Fri Nov 27 15:26:32 2015
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 09 Jun 2015
+ Last Published: 27 Nov 2015
</div>
<ul>
<li>
@@ -34,10 +34,8 @@
</li>
</ul>
<div class="clear"></div>
- </div>
- <!-- close top_menu_container -->
- </div>
- <!-- close top_menu -->
+ </div> <!-- close top_menu_container -->
+ </div> <!-- close top_menu -->
<div id="header_bottom">
<div id="logo_banner_container">
<div id="logo">
@@ -55,18 +53,14 @@
</a>
</div>
<div class="clear"></div>
- </div>
- <!-- close logo_banner_container -->
- </div>
- <!-- close header_bottom -->
-</div>
-<!-- close header -->
+ </div> <!-- close logo_banner_container -->
+ </div> <!-- close header_bottom -->
+</div> <!-- close header -->
<div id="main_container">
<div id="left_column">
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Tobago</h5>
-
<div class="content">
<ul class="left_menu">
@@ -86,16 +80,12 @@
<a href="mail-lists.html">Mailing Lists</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -108,6 +98,10 @@
</li>
<li class="none">
+ <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ </li>
+
+ <li class="none">
<a href="new-2.0.html">New in Tobago 2.0</a>
</li>
@@ -116,7 +110,7 @@
</li>
<li class="none">
- <a href="migration-1.5.html">Migration to 1.5</a>
+ <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
</li>
<li class="none">
@@ -124,7 +118,7 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="migration-1.5.html">Migration to 1.5</a>
</li>
<li class="none">
@@ -147,16 +141,12 @@
<a href="release-checklist.html">Release Checklist</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Project Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -170,16 +160,12 @@
<a href="project-reports.html">Project Reports</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Foundation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -203,18 +189,14 @@
<a href="http://www.apache.org/licenses/" class="externalLink">License<span/></a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div id="powered_by">
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img alt="Built by Maven" src="./img/banners/maven-feather.png"></img>
</a>
- </div>
- <!-- close powered_by -->
+ </div> <!-- close powered_by -->
<div class="clear"></div>
</div>
<div id="body_column">
@@ -232,34 +214,27 @@
<!-- See the License for the specific language governing permissions and -->
<!-- limitations under the License. --><p>This section describes how to build Tobago and run the example
applications from the sources.</p>
-
<div class="section">
<h2>Checking Out<a name="Checking_Out"></a></h2>
-
<p>Check out the 2.0.x sources by running the following:</p>
-
<div class="source">
<pre> svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/trunk tobago</pre>
</div>
<p>Check out the 3.0.x sources (alpha) by running the following:</p>
-
<div class="source">
<pre> svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/branches/tobago-3.0.x tobago-3.0.x</pre>
</div>
<p>Check out the 1.5.x sources by running the following:</p>
-
<div class="source">
<pre> svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/branches/tobago-1.5.x tobago-1.5.x</pre>
</div>
<p>Check out the 1.0.x sources by running the following:</p>
-
<div class="source">
<pre> svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/branches/tobago-1.0.x tobago-1.0.x</pre>
</div>
</div>
<div class="section">
<h2>Building<a name="Building"></a></h2>
-
<p>You need <a class="externalLink" href="http://maven.apache.org/download.html">Maven 2</a> (at least 2.2.1)
and <a class="externalLink" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java
5</a> to build Tobago 1.0.x.<br/>You need <a class="externalLink"
@@ -267,10 +242,8 @@
least 3.0.4) and <a class="externalLink"
href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java 6 or 7</a>
to build Tobago 1.5.x and Tobago 2.0.x.</p>
-
<p>In the <a class="externalLink" href="http://svn.apache.org/repos/asf/myfaces/tobago/trunk/">main
directory</a> you can use</p>
-
<div class="source">
<pre> mvn install</pre>
</div>
@@ -278,28 +251,22 @@
repository.</p></div>
<div class="section">
<h2>Building All<a name="Building_All"></a></h2>
-
<p>For building all the stuff you can use the profile all-modules</p>
-
<div class="source">
<pre> mvn install -Pall-modules</pre>
</div>
</div>
<div class="section">
<h2>The Demo<a name="The_Demo"></a></h2>
-
<p>You can run the examples inside tobago-example with jetty</p>
-
<div class="source">
<pre> mvn jetty:run</pre>
</div>
<p>or (for the addressbook and the JSP versions of demo and test)</p>
-
<div class="source">
<pre> mvn jetty:run-exploded</pre>
</div>
<p>or</p>
-
<div class="source">
<pre> mvn package</pre>
</div>
@@ -307,10 +274,8 @@
<div class="section">
<h2>Using different JSF implementations (Tobago 1.x)<a
name="Using_different_JSF_implementations_Tobago_1.x"></a></h2>
-
<p>By default the example will be started with MyFaces 1.2. You can run the examples with other version like you
see here:</p>
-
<div class="source">
<pre> mvn jetty:run
mvn jetty:run -Djsf=myfaces-2.0
@@ -324,10 +289,8 @@
<div class="section">
<h2>Using different JSF implementations (Tobago 2.x)<a
name="Using_different_JSF_implementations_Tobago_2.x"></a></h2>
-
<p>By default the example will be started with MyFaces 2.0 You can run the examples with other version like you
see here:</p>
-
<div class="source">
<pre> mvn jetty:run
mvn jetty:run -Djsf=myfaces-2.1
@@ -340,8 +303,7 @@
</div>
</div>
<div class="clear"></div>
-</div>
-<!-- close main container -->
+</div> <!-- close main container -->
<div id="footer">
<div class="copyright">
©
@@ -350,9 +312,7 @@
Version 2.0</a>.<br/>
Apache MyFaces, Apache Tobago, Apache, the Apache feather logo, and the Apache MyFaces project logos are trademarks
of The Apache Software Foundation.
- </div>
- <!-- close copyright -->
-</div>
-<!-- close footer -->
+ </div><!-- close copyright -->
+</div><!-- close footer -->
</body>
</html>
Modified: myfaces/site/publish/tobago/guide.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/guide.html?rev=1716887&r1=1716886&r2=1716887&view=diff
==============================================================================
--- myfaces/site/publish/tobago/guide.html (original)
+++ myfaces/site/publish/tobago/guide.html Fri Nov 27 15:26:32 2015
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 09 Jun 2015
+ Last Published: 27 Nov 2015
</div>
<ul>
<li>
@@ -34,10 +34,8 @@
</li>
</ul>
<div class="clear"></div>
- </div>
- <!-- close top_menu_container -->
- </div>
- <!-- close top_menu -->
+ </div> <!-- close top_menu_container -->
+ </div> <!-- close top_menu -->
<div id="header_bottom">
<div id="logo_banner_container">
<div id="logo">
@@ -55,18 +53,14 @@
</a>
</div>
<div class="clear"></div>
- </div>
- <!-- close logo_banner_container -->
- </div>
- <!-- close header_bottom -->
-</div>
-<!-- close header -->
+ </div> <!-- close logo_banner_container -->
+ </div> <!-- close header_bottom -->
+</div> <!-- close header -->
<div id="main_container">
<div id="left_column">
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Tobago</h5>
-
<div class="content">
<ul class="left_menu">
@@ -86,16 +80,12 @@
<a href="mail-lists.html">Mailing Lists</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -108,6 +98,10 @@
</li>
<li class="none">
+ <a href="new-3.0.html">New in Tobago 3.0 (alpha)</a>
+ </li>
+
+ <li class="none">
<a href="new-2.0.html">New in Tobago 2.0</a>
</li>
@@ -116,7 +110,7 @@
</li>
<li class="none">
- <a href="migration-1.5.html">Migration to 1.5</a>
+ <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
</li>
<li class="none">
@@ -124,7 +118,7 @@
</li>
<li class="none">
- <a href="migration-3.0.html">Migration to 3.0 (alpha)</a>
+ <a href="migration-1.5.html">Migration to 1.5</a>
</li>
<li class="none">
@@ -147,16 +141,12 @@
<a href="release-checklist.html">Release Checklist</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Project Documentation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -170,16 +160,12 @@
<a href="project-reports.html">Project Reports</a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div class="left_menu_top">
<div class="left_menu_bottom">
<h5>Foundation</h5>
-
<div class="content">
<ul class="left_menu">
@@ -203,18 +189,14 @@
<a href="http://www.apache.org/licenses/" class="externalLink">License<span/></a>
</li>
</ul>
- </div>
- <!-- close content -->
- </div>
- <!-- close left_menu_bottom -->
- </div>
- <!-- close left_menu_top -->
+ </div><!-- close content -->
+ </div><!-- close left_menu_bottom -->
+ </div><!-- close left_menu_top -->
<div id="powered_by">
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img alt="Built by Maven" src="./img/banners/maven-feather.png"></img>
</a>
- </div>
- <!-- close powered_by -->
+ </div> <!-- close powered_by -->
<div class="clear"></div>
</div>
<div id="body_column">
@@ -233,7 +215,6 @@
<!-- limitations under the License. -->
<div class="section">
<h2><a name="Guide_to_Tobago">Guide to Tobago</a></h2>
-
<p><i>Preliminary version -- work in progress</i></p>
<hr/>
<p>Tobago is a JavaServer Faces (JSF) framework and component library. It provides a comfortable way to layout
@@ -242,7 +223,6 @@
or JavaScript. Because of strict separation a screen can be displayed with different themes. These themes can
be used to render screens according to different cooperate design without changing the sources of the
screens.</p>
-
<p>This guide assumes basic knowledge about JSF. For more information about JSF see one of the various books
about JSF, the <a class="externalLink" href="http://java.sun.com/javaee/5/docs/tutorial/doc/bnaph.html">Sun
Java 5 Tutorial</a> or the <a class="externalLink"
@@ -250,7 +230,6 @@
Specification.</a></p></div>
<div class="section">
<h2><a name="Content">Content</a></h2>
-
<p> </p>
<ul>
<li><a href="#Guide_to_Tobago">Guide to Tobago</a></li>
@@ -290,24 +269,19 @@
</div>
<div class="section">
<h2><a name="Environment">Environment</a></h2>
-
<div class="section">
<h3><a name="Building_and_Deploying_the_Tobago_Examples">Building and Deploying the Tobago Examples</a></h3>
-
<p>Tobago uses Maven as a build management system. The provided examples are normally build with Maven, but it
would be easy to use an alternative build system. The necessary artifacts can be downloaded <a
href="./download.html">here</a> or from the Maven repository.</p>
-
<p>We will use the address book demo as an example in this guide. Since the address book example is currently
not part of the Tobago distribution, you have to check-out the sources from the Apache Subversion
repository. We will use the latest release tag for this.</p>
-
<div class="source">
<pre>svn co https://svn.apache.org/repos/asf/myfaces/tobago/tags/tobago-1.0.22/example/addressbook/ tobago-addressbook</pre>
</div>
<p>You will need Java 5 and Maven 2.0.9 or later to build the address book example. Use the following command
to compile the sources and deploy the web application on an embedded Jetty server:</p>
-
<div class="source">
<pre>mvn jetty:run-exploded</pre>
</div>
@@ -315,31 +289,24 @@
href="http://localhost:8080/">http://localhost:8080/</a> and you will be
directed to the login dialog of the address book example.<br/> </p><img
src="images/guide-addressbook-login.png" alt="Address Book Login"/>
-
<p>You can click on the guest/guest or admin/admin links or fill in the authentication information yourself
and press the 'Login' button. After displaying a splash screen for a while the application will direct you
to the address list page.<br/> </p><img src="images/guide-addressbook-list.png" alt="Address List"/>
-
<p>A freshly started instance of the address book example will not contain any addresses in the list. But you
can add addresses by pressing the 'New' button in the tool bar. The addresses will be stored in an embedded
Derby database.</p></div>
<div class="section">
<h3><a name="Building_Tobago">Building Tobago</a></h3>
-
<p>To use the latest version of Tobago you can use the snapshot artifacts build by our continuous integration
server Continuum, which are available in the <a class="externalLink"
href="https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/tobago/">Apache
snapshot repository.</a></p>
-
<p>Alternatively, you can build Tobago yourself. You will need Java 5 and Maven 2.0.9 or later.</p>
-
<p>Check-out Tobago from the Apache Subversion repository</p>
-
<div class="source">
<pre>svn co https://svn.apache.org/repos/asf/myfaces/tobago/trunk/ tobago</pre>
</div>
<p>To build the complete project with all sub-modules you have to enter the following command</p>
-
<div class="source">
<pre>mvn install -Pall-modules</pre>
</div>
@@ -347,14 +314,11 @@
href="./getting-started.html">Getting Started.</a></p></div>
<div class="section">
<h3><a name="Building_your_own_Tobago_Application">Building your own Tobago Application</a></h3>
-
<p>The Tobago example distribution contains the tobago-example-blank WAR, which can act as starting point for
your own Tobago application. Since Tobago is based on JSF you need a JSF implementation if the application
server you are targeting doesn't contain one.</p>
-
<p>If you cannot use Java 5 or higher you can use retrotranslated JARs from the Tobago distribution to develop
and run Tobago applications with Java 1.4 (only Tobago 1.0.x).</p>
-
<p>A Tobago application is a web application which is packaged as a WAR. For a JSF application the <tt>FacesServlet</tt>
needs to be configured in the <tt>/WEB-INF/web.xml</tt>. To serve the internal resources of Tobago directly
from the Tobago JARs the Tobago <tt>ResourceServlet</tt> has to configured, too. The configuration of a
@@ -363,18 +327,14 @@
href="#Themes">Themes</a> section for further information.</p></div>
<div class="section">
<h3><a name="A_Minimal_Tobago_Page">A Minimal Tobago Page</a></h3>
-
<p>You can use JSP or Facelets to write Tobago pages. For Facelets support the extension module
tobago-facelets has to be added as a dependency. Because the address book example uses JSP as rendering
technology we will focus on JSP for now.</p>
-
<p>Tobago provides two tag libraries -- the core library and the extension library. The corresponding TLDs
contain documentation for the provided tags which is generated from annotations on the underlying tag
classes. The core tag library contains basic controls and the extension library convenience tags for
pre-assembled tag compositions -- for example a composition of a label and an input control.</p>
-
<p>A minimal Tobago JSP page looks like this:</p>
-
<div class="source">
<pre><%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
@@ -395,16 +355,12 @@
</div>
<div class="section">
<h2><a name="Creating_a_Tobago_page">Creating a Tobago page</a></h2>
-
<p>The address book example needs an address editing page to add new addresses to the address book and to update
existing ones.</p>
-
<p>A simple version of an address editor allows to edit the first and last name of a person and basic address
data like street, house number and city. Such an editor could look like this:<br/> </p><img
src="images/guide-simple-editor.png" alt="Simple Address Editor"/>
-
<p>This page is generated by the following code:</p>
-
<div class="source">
<pre><%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
@@ -439,35 +395,26 @@
</div>
<p>We have a box with the label "Address" containing four rows of input controls for first name, last
name, street, house number, and city.</p>
-
<div class="section">
<h3><a name="Basic_Controls">Basic Controls</a></h3>
-
<p>HTML offers a decent set of basic controls. These controls form the basis of the Tobago controls including
single-line input controls, text areas, check boxes, radio buttons, links, buttons, labels, and others.</p>
-
<p>The Tobago demo contains an overview page for the basic controls.<br/> </p><img
src="images/guide-basic-controls.png" alt="Basic Controls "/>
-
<p>Live demo of the basic controls: <a class="externalLink"
href="http://www.irian.biz/tobago-example-demo/faces/overview/basic.jsp">http://www.irian.biz/tobago-example-demo/faces/overview/basic.jsp</a>
</p>
-
<p>The basic controls page also shows two variants of a normal input control: the date input control and the
time input control.</p></div>
<div class="section">
<h3><a name="Text_Input">Text Input</a></h3>
-
<p>The single-line text input control comes in two flavors: the <tt><tc:in></tt> tag from the core tag
library (<tt>tc</tt> is the preferred prefix for the core tag library) and the <tt><tx:in></tt> from
the extension tag library (<tt>tx</tt>).</p>
-
<p>The extension tag library provides convenient shorthands for boilerplate code. For every input control
there is for example an extended version, which layouts a label next before the input field. The label is
connected with the field. If the label is clicked the related field is focused.</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tx:in value="#{controller.currentAddress.firstName}"
label="#{bundle.editorFirstName}" required="true">
@@ -476,7 +423,6 @@
</div>
<p>The <tt>value</tt> attribute refers the content of the control. If a value binding is used, this content
can be written back into a bean property.</p>
-
<p>The <tt>label</tt> attribute generates the textual description for the control. The theme decides how the
label is actually rendered, for example it assigns a default width. This width can be overwritten with the
<tt>labelWidth</tt> attribute. If you utilize a value binding to a resource bundle declared by a <tt><tc:loadBundle></tt>
@@ -484,29 +430,22 @@
following character into an access key. The theme normally underlines the access key to make this
circumstance visible to the user. The access key can be used to quickly focus the related input control by
pressing <tt>Alt</tt> in combination with the access key.</p>
-
<p>If the control is marked as <tt>required</tt> the respective validation takes place. Additionally, the
theme tries to visualize this fact. Speyside renders a small check mark icon inside the field, which
vanishes if the field contains any data.</p>
-
<p>For more information about the possible attributes of an input tag see the TLD documentation for <a
class="externalLink" href="http://myfaces.apache.org/tobago/tobago-core/tlddoc/tc/in.html"><tt><tc:in></tt></a>
and <a class="externalLink" href="http://myfaces.apache.org/tobago/tobago-core/tlddoc/tx/in.html"><tt><tx:in></tt></a>.
</p></div>
<div class="section">
<h3><a name="Sheet">Sheet</a></h3>
-
<p>The sheet control is used to display tabular data.</p>
-
<p>The address book example uses a sheet to give an overview of all stored addresses.<br/> </p><img
src="images/guide-sheet.png" alt="Sheet"/>
-
<p>Live demo of a sheet: <a class="externalLink"
href="http://www.irian.biz/tobago-example-demo/faces/overview/sheet.jsp">http://www.irian.biz/tobago-example-demo/faces/overview/sheet.jsp</a>
</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:sheet columns="1*;1*;1*" value="#{controller.currentAddressList}"
var="address" state="#{controller.selectedAddresses}"
@@ -534,20 +473,15 @@
</div>
<div class="section">
<h3><a name="Tab_Group">Tab Group</a></h3>
-
<p>The tab group control displays rectangular content in the same area of the screen with the help of tab
panels.</p>
-
<p>In the address book example the tab group is used to structure the input controls for an address into three
groups for general, business, and miscellaneous information.<br/> </p><img
src="images/guide-tab-group.png" alt="Tab Group"/>
-
<p>Live demo of a tab group: <a class="externalLink"
href="http://www.irian.biz/tobago-example-demo/faces/overview/tab.jsp">http://www.irian.biz/tobago-example-demo/faces/overview/tab.jsp</a>
</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:tabGroup switchType="reloadTab" immediate="true">
<tc:tab label="#{bundle.editorTabPersonal}">
@@ -566,17 +500,13 @@
</div>
<div class="section">
<h3><a name="Menu">Menu</a></h3>
-
<p>The menu control can be used to render a menu bar at the top of a screen like it is typically used in
desktop applications. But the location for menus is not limited to this place.<br/> </p><img
src="images/guide-menu.png" alt="Menu"/>
-
<p>Live demo of a menu: <a class="externalLink"
href="http://www.irian.biz/tobago-example-demo/faces/overview/toolbar.jsp">http://www.irian.biz/tobago-example-demo/faces/overview/toolbar.jsp</a>
</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:menuBar>
<tc:menu label="#{bundle.menuFile}">
@@ -603,20 +533,15 @@
</div>
<div class="section">
<h3><a name="Tool_Bar">Tool Bar</a></h3>
-
<p>The tool bar control is used to render a special rectangular area of buttons. There are two versions of
toolbars: a standalone version and version that embeds itself in the border of a box. To embed a tool bar it
has to be attached to a <tt><tc:box></tt> via a toolbar facet.</p>
-
<p>The address book example uses a tool bar below the menu to provide convenient access to the most common
actions from the menu.<br/> </p><img src="images/guide-toolbar.png" alt="Tool Bar"/>
-
<p>Live demo of a tool bar: <a class="externalLink"
href="http://www.irian.biz/tobago-example-demo/faces/overview/toolbar.jsp">http://www.irian.biz/tobago-example-demo/faces/overview/toolbar.jsp</a>
</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:toolBar iconSize="big">
<tc:button label="#{bundle.toolbarAddressList}" action="#{controller.search}" immediate="true"
@@ -635,13 +560,10 @@
</div>
<div class="section">
<h3><a name="Popup">Popup</a></h3>
-
<p>Popups are used to render small modal dialogs inside the current screen. The original screen is disabled
until the popup is released with one of the popup buttons.<br/> </p><img src="images/guide-popup.png"
alt="Tool Bar"/>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:popup id="about" width="300" height="220" left="200" top="200">
<tc:box label="About">
@@ -674,12 +596,9 @@
</div>
<div class="section">
<h3><a name="File_Upload">File Upload</a></h3>
-
<p>The file select control can be used to upload files.<br/> </p><img src="images/guide-upload.png"
alt="File Upload"/>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:file value="#{controller.uploadedFile}" required="true">
<tc:validateFileItem contentType="image/*"/>
@@ -689,21 +608,16 @@
</div>
<div class="section">
<h2><a name="Features_and_Concepts">Features and Concepts</a></h2>
-
<div class="section">
<h3><a name="Layout">Layout</a></h3>
-
<p>Tobago organizes the placement of components with the help of layout managers. The main layout manager is
called grid layout. It divides the available rectangular space into grid cells. The grid is spawned by the
column and row values of the <tt><tc:gridLayout></tt> tag. The syntax of these values is based on the
<a class="externalLink" href="http://www.w3.org/TR/html401/types.html#type-multi-length">multi-length
notation</a> known from HTML.</p>
-
<p>To add a layout manager to a container like box, panel or page you have to add a layout facet (i.e. a facet
with the name 'layout') to the respective container tag.</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:panel>
<f:facet name="layout">
@@ -717,43 +631,33 @@
<p>In this example we place to two input controls with labels into two consecutive rows. Below the two input
fields we add a spacer element. The layout token '<tt>fixed</tt>' advises the layout manager to give the
input control the height, which this kind of control normally possesses in the selected theme.</p>
-
<p>The values of the column and row attributes of the <tt><tc:gridLayout></tt> tag can contain a
semicolon separated list of layout tokens. A layout token can be an exact length in pixels like
<tt>200px</tt>, a percentage length like <tt>25%</tt>, a relative length like <tt>2*</tt>, or a specific
length called <tt>fixed</tt>, which's exact length is determined by the theme and make sure the control is
usable -- a single-line input control for example needs to be so high that characters from the assigned font
can be read inside the control.</p>
-
<p>Relative lengths are determined last by the layout manager. The available remaining space is distributed
among the existing relative lengths. Each length receives space proportional to the integer before the '<tt>*</tt>'.
A single '<tt>*</tt>' is a shorthand for '<tt>1*</tt>'.</p>
-
<p>The layout manager handles the <tt>rendered</tt> attribute of controls, too. If the <tt>rendered</tt>
attribute is dynamically defined by a value binding, the page can contain fewer controls in some cases than
in others. The layout manager can then distribute the newly available space between the remaining relative
and percentage lengths.</p></div>
<div class="section">
<h3><a name="Themes">Themes</a></h3>
-
<p>A theme defines how the structured view is actually rendered. It provides the look & feel of the
controls inside a view. It appoints colors, dimensions, spacing, fonts and other graphical properties.</p>
-
<p>Tobago includes a small collection of themes called after cities on the island Tobago: Scarborough,
Speyside, Charlotteville, and Richmond. Scarborough is a basic theme, which tries to focus on features of
plain HTML, Speyside is the main theme of Tobago, Charlotteville and Richmond are mainly color variations of
Speyside.<br/>  </p><img src="images/guide-theme-scarborough.png" alt="Scarborough"/>
-
<p>Scarborough<br/> </p><img src="images/guide-theme-speyside.png" alt="Speyside"/>
-
<p>Speyside<br/> </p><img src="images/guide-theme-charlotteville.png" alt="Charlotteville"/>
-
<p>Charlotteville<br/> </p><img src="images/guide-theme-richmond.png" alt="Richmond"/>
-
<p>Richmond</p></div>
<div class="section">
<h3><a name="Markup">Markup</a></h3>
-
<p>Since you don't have direct control over design without writing your own theme, Tobago supports the concept
of markup. You can assign certain logical markup values to a control to fine-tune the rendering. A theme
specifies the supported markup for every control. The standard theme already provides some helpful
@@ -779,10 +683,8 @@
<p>Also see the <a class="externalLink"
href="https://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml">standard
<tt>tobago-config.xml</tt></a></p>
-
<p>The markup <tt>strong</tt> is normally emphasized, <tt>deleted</tt> is rendered struck out, and
<tt>number</tt> is right aligned. Multiple markups can be combined as a comma separated list:</p>
-
<div class="source">
<pre>...
<tc:label value="Normal"/>
@@ -800,14 +702,11 @@
</div>
<p>This code fragment is rendered like this:<br/> </p><img src="images/guide-markup.png"
alt="Markup example"/>
-
<p>You can add markup in your own theme or extend the current themes on the fly by adding a <tt><renderers></tt>
section into the <tt>tobago-config.xml.</tt></p>
-
<p>The address book example adds markup values to the <tt><tc:progress></tt> control to be able to
colorize the control depending on the criticallity of the progress value. On the administration page the
progress control is used to visualize the memory consumption of the VM.</p>
-
<div class="source">
<pre><renderers>
<renderer>
@@ -823,13 +722,10 @@
<p>See the <a class="externalLink"
href="https://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-war/src/main/webapp/WEB-INF/tobago-config.xml">address
book <tt>tobago-config.xml</tt></a> for a complete example.</p>
-
<p>The various progress variants look like this:<br/> </p><img src="images/guide-progress.png"
alt="Progress markup"/>
-
<p>Markup attributes are rendered into HTML as extra CSS style classes, which can be used to modify the normal
styling of a control. In the progress example the following CSS is added to the Speyside theme:</p>
-
<div class="source">
<pre>.tobago-progress-value-markup-ok {
background: green;
@@ -846,13 +742,10 @@
<p>See the address book example <a class="externalLink"
href="https://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-example/tobago-example-addressbook-web/src/main/webapp/tobago-resource/html/speyside/standard/style/tobago.css">Speyside
<tt>tobago.css</tt></a>.</p>
-
<p>The <tt>tobago.css</tt> file is collected by the Tobago resource manager and can be used to overwrite and
extend the default <tt>tobago.css</tt> file of the theme.</p>
-
<p>Tobago 1.0.x and Tobago 1.5.x are using the old name <tt>style.css</tt>, since Tobago 2.0.0
<tt>tobago.css</tt> is used, <tt>style.css</tt> will also be included for compatibility (in Tobago 2.x).</p>
-
<p>The <a class="externalLink"
href="https://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-example/tobago-theme-example/">example
theme</a> provides an example for styling sheet cells and contains more complex examples of markup, which
@@ -860,7 +753,6 @@
detection.</p></div>
<div class="section">
<h3><a name="Partial_Rendering">Partial Rendering</a></h3>
-
<p>To avoid the reload of complete screens Tobago provides partial rendering, which advises the client to
update only parts of the screen to optimize the amount of data sent to the client and the time to render
necessary updates. Some controls like the tab control and the sheet directly support partial rendering.
@@ -868,12 +760,9 @@
them exclusively as a group.</p></div>
<div class="section">
<h3><a name="Virtual_Forms">Virtual Forms</a></h3>
-
<p>The page tag establishes an implicit form for all controls on the screen. The form tag allows to divide
these controls into smaller groups to be able to manage validation only for these grouped controls.</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre><tc:form>
<tx:selectOneChoice label="#{bundle.footerLanguage}"
@@ -888,13 +777,10 @@
</div>
<div class="section">
<h3><a name="Security">Security</a></h3>
-
<p>The extension module tobago-security allows to protect method bindings with the help of annotations. The
module provides alternative command components with security handling. The available annotations are <tt>@RolesAllowed</tt>,
<tt>@DenyAll</tt>, and <tt>@PermitAll</tt>.</p>
-
<p>A code fragment from the address book example:</p>
-
<div class="source">
<pre>public class AdminController {
@@ -911,8 +797,7 @@
</div>
</div>
<div class="clear"></div>
-</div>
-<!-- close main container -->
+</div> <!-- close main container -->
<div id="footer">
<div class="copyright">
©
@@ -921,9 +806,7 @@
Version 2.0</a>.<br/>
Apache MyFaces, Apache Tobago, Apache, the Apache feather logo, and the Apache MyFaces project logos are trademarks
of The Apache Software Foundation.
- </div>
- <!-- close copyright -->
-</div>
-<!-- close footer -->
+ </div><!-- close copyright -->
+</div><!-- close footer -->
</body>
</html>