Author: buildbot
Date: Sat Jul 13 17:20:44 2013
New Revision: 869360

Log:
Production update by buildbot for tapestry

Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/tapestry-for-jsf-users.html

Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/tapestry/content/tapestry-for-jsf-users.html
==============================================================================
--- websites/production/tapestry/content/tapestry-for-jsf-users.html (original)
+++ websites/production/tapestry/content/tapestry-for-jsf-users.html Sat Jul 13 
17:20:44 2013
@@ -34,9 +34,9 @@
 </div>
 
 <div id="top">
-<div id="smallbanner"><div class="searchbox" style="float:right;margin: .3em 
1em .1em 1em">
+<div id="smallbanner"><div class="searchbox" style="float:right;margin: .3em 
1em .1em 1em"><p>
 <span style="color: #999; font-size: 90%">Tapestry docs, issues, wikis &amp; 
blogs:</span>
-<form enctype="application/x-www-form-urlencoded" method="get" 
action="http://tapestry.apache.org/search.html";>
+</p><form enctype="application/x-www-form-urlencoded" method="get" 
action="http://tapestry.apache.org/search.html";>
   <input type="text" name="q">
   <input type="submit" value="Search">
 </form>
@@ -74,19 +74,19 @@ table.ScrollbarTable td.ScrollbarNextIco
         
                                             </td></tr><tr><td colspan="1" 
rowspan="1">
                                  <span class="icon icon-page" 
title="Page">Page:</span>
-                         <a shape="rect" href="principles.html">Principles</a>
+                         <a shape="rect" 
href="tapestry-tutorial.html">Tapestry Tutorial</a>
         
                                             </td></tr><tr><td colspan="1" 
rowspan="1">
                                  <span class="icon icon-page" 
title="Page">Page:</span>
-                         <a shape="rect" 
href="tapestry-tutorial.html">Tapestry Tutorial</a>
+                         <a shape="rect" href="getting-started.html">Getting 
Started</a>
         
                                             </td></tr><tr><td colspan="1" 
rowspan="1">
                                  <span class="icon icon-page" 
title="Page">Page:</span>
-                         <a shape="rect" 
href="tapestry-for-jsf-users.html">Tapestry for JSF Users</a>
+                         <a shape="rect" href="principles.html">Principles</a>
         
                                             </td></tr><tr><td colspan="1" 
rowspan="1">
                                  <span class="icon icon-page" 
title="Page">Page:</span>
-                         <a shape="rect" href="getting-started.html">Getting 
Started</a>
+                         <a shape="rect" 
href="tapestry-for-jsf-users.html">Tapestry for JSF Users</a>
         
                                             </td></tr></table>
 </div>
@@ -95,10 +95,10 @@ table.ScrollbarTable td.ScrollbarNextIco
 
 <p>Because both JSF and Tapestry are component oriented frameworks designed to 
serve mostly the same kinds of problems in similar ways, developers who already 
know JSF will find it very easy to learn Tapestry. In fact, Facelets, the 
default view technology in JSF 2.0, was created specifically to give JSF a 
Tapestry-like templating capability, so Facelets users should feel right at 
home.</p>
 
-<p>JSF is a rich, mature web framework specification, and there are lots of 
smart people who use it productively. This guide isn't intended as a 
pro-versus-con comparison or as advocacy of any kind. Instead, it just attempts 
to make transitions between the two frameworks easier, regardless of the reason 
for doing so.</p>
-
 <p>Since almost all modern JSF applications use Facelets as their view 
technology, we assume the use of Facelets here when discussing JSF features.</p>
 
+<p>JSF is a rich, mature web framework specification, and there are lots of 
smart people who use it productively. This guide isn't intended as a 
pro-versus-con comparison or as advocacy of any kind. Instead, it just attempts 
to make transitions between the two frameworks easier, regardless of the reason 
for doing so.</p>
+
 <h2><a shape="rect" 
name="TapestryforJSFUsers-SidebysideComparison"></a>Side-by-side Comparison</h2>
 
 <p>JSF and Tapestry have a lot of superficial similarities, so the first steps 
in that transition are all about relating similar concepts, terms and 
components in your mind:</p>
@@ -119,23 +119,23 @@ table.ScrollbarTable td.ScrollbarNextIco
 
 <table class="sectionMacro" border="0" cellpadding="5" cellspacing="0" 
width="100%"><tbody><tr><td colspan="1" rowspan="1" valign="top" 
class="confluenceTd">
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>JSF template 
(helloworld.xhtml)</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;html xmlns=<span class="code-quote">"http://www.w3.org/1999/xhtml";</span>
-        <span class="code-keyword">xmlns:h</span>=<span 
class="code-quote">"http://java.sun.com/jsf/html";</span>&gt;
-  <span class="code-tag">&lt;h:body&gt;</span>
-    <span class="code-tag">&lt;p&gt;</span><span 
class="code-tag">&lt;h:outputText value="#{helloWorldBean.greeting} 
/&gt;</span><span class="code-tag">&lt;/p&gt;</span>
-  <span class="code-tag">&lt;/h:body&gt;</span>
-<span class="code-tag">&lt;/html&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
+&lt;html xmlns="http://www.w3.org/1999/xhtml";
+        xmlns:h="http://java.sun.com/jsf/html"&gt;
+  &lt;h:body&gt;
+    &lt;p&gt;&lt;h:outputText value="#{helloWorldBean.greeting} /&gt;&lt;/p&gt;
+  &lt;/h:body&gt;
+&lt;/html&gt;
+]]></script>
 </div></div></td><td colspan="1" rowspan="1" valign="top" class="confluenceTd">
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Tapestry template 
(HelloWorld.tml)</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;html&gt;</span>
-  <span class="code-tag">&lt;body&gt;</span>
-    <span class="code-tag">&lt;p&gt;</span>${greeting}<span 
class="code-tag">&lt;/p&gt;</span>
-  <span class="code-tag">&lt;/body&gt;</span>
-<span class="code-tag">&lt;/html&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[
+&lt;html&gt;
+  &lt;body&gt;
+    &lt;p&gt;${greeting}&lt;/p&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
+]]></script>
 </div></div></td></tr></tbody></table>
 
 <p>Though these are very similar, notice some differences:</p>
@@ -144,24 +144,24 @@ table.ScrollbarTable td.ScrollbarNextIco
 
 <table class="sectionMacro" border="0" cellpadding="5" cellspacing="0" 
width="100%"><tbody><tr><td colspan="1" rowspan="1" valign="top" 
class="confluenceTd">
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>JSF Backing Bean 
(HelloWorldBean.java)</b></div><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
 @ManagedBean
 @RequestScoped
-<span class="code-keyword">public</span> class HelloWorldBean {
-    <span class="code-keyword">public</span> <span 
class="code-object">String</span> getGreeting() {
-        <span class="code-keyword">return</span> <span 
class="code-quote">"Hello, World!"</span>;
+public class HelloWorldBean {
+    public String getGreeting() {
+        return "Hello, World!";
     }
 }
-</pre>
+]]></script>
 </div></div></td><td colspan="1" rowspan="1" valign="top" class="confluenceTd">
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Tapestry page class 
(HelloWorld.java)</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class HelloWorld {
-    <span class="code-keyword">public</span> <span 
class="code-object">String</span> getGreeting() {
-        <span class="code-keyword">return</span> <span 
class="code-quote">"Hello, World!"</span>;
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
+public class HelloWorld {
+    public String getGreeting() {
+        return "Hello, World!";
     }
 }
-</pre>
+]]></script>
 </div></div></td></tr></tbody></table>
 
 <h2><a shape="rect" 
name="TapestryforJSFUsers-Expressionsintemplates"></a>Expressions in 
templates</h2>
@@ -186,12 +186,12 @@ table.ScrollbarTable td.ScrollbarNextIco
 <p>Tapestry applications can use JSR 303 Bean Validation annotations that JSF 
users should be familiar with:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class Employee {
-    @Validate(<span 
class="code-quote">"required,minlength=2,maxlength=100"</span>)
-    <span class="code-keyword">private</span> <span 
class="code-object">String</span> lastName;
-    @NotNull @Email <span class="code-keyword">private</span> <span 
class="code-object">String</span> email;
-</pre>
+<script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[
+public class Employee {
+    @Validate("required,minlength=2,maxlength=100")
+    private String lastName;
+    @NotNull @Email private String email;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" 
name="TapestryforJSFUsers-PostRedirectGetNavigation"></a>Post-Redirect-Get 
Navigation</h3>
@@ -230,7 +230,7 @@ table.ScrollbarTable td.ScrollbarNextIco
 
 <div class="clearer"></div>
 <div id="footer">
-<div id="footer"><p>Apache Tapestry, Tapestry, Apache, the Apache feather 
logo, and the Apache Tapestry project logo are trademarks of The Apache 
Software Foundation.</p>
+<div id="footer"><p>Apache Tapestry, Tapestry, Apache, the Apache feather 
logo, and the Apache Tapestry project logo are trademarks of The Apache 
Software Foundation.<br clear="none">
 <script type="text/javascript">
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-400821-1']);
@@ -241,7 +241,7 @@ table.ScrollbarTable td.ScrollbarNextIco
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-</script></div>
+</script></p></div>
 </div>
                <div id="comments_thread"></div>
                <script type="text/javascript" 
src="https://comments.apache.org/show_comments.lua?site=tapestry&amp;page=http://tapestry.apache.org/tapestry-for-jsf-users.html";
 async="true">


Reply via email to