struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r876247 - /websites/production/struts/content/development/2.x/docs/
Date Mon, 26 Aug 2013 12:56:01 GMT
Author: lukaszlenart
Date: Mon Aug 26 12:56:00 2013
New Revision: 876247

Log:
Updates draft docs

Removed:
    websites/production/struts/content/development/2.x/docs/ajax-event-system.html
    websites/production/struts/content/development/2.x/docs/apache-struts-pseudo-nightly-builds-on-apache-hudson.html
    websites/production/struts/content/development/2.x/docs/file.html
    websites/production/struts/content/development/2.x/docs/iterator-tag-examples.html
    websites/production/struts/content/development/2.x/docs/logging.html
    websites/production/struts/content/development/2.x/docs/plaintext-result.html
    websites/production/struts/content/development/2.x/docs/related-tools.html
    websites/production/struts/content/development/2.x/docs/validation-interceptor.html
Modified:
    websites/production/struts/content/development/2.x/docs/ajax-and-javascript-recipes.html
    websites/production/struts/content/development/2.x/docs/ajax-validation.html
    websites/production/struts/content/development/2.x/docs/ajax.html
    websites/production/struts/content/development/2.x/docs/building-struts-2-normal-release.html
    websites/production/struts/content/development/2.x/docs/constant-configuration.html
    websites/production/struts/content/development/2.x/docs/localization.html
    websites/production/struts/content/development/2.x/docs/localizing-output.html
    websites/production/struts/content/development/2.x/docs/ognl.html
    websites/production/struts/content/development/2.x/docs/spring-plugin.html
    websites/production/struts/content/development/2.x/docs/struts-2-junit-plugin-tutorial.html
    websites/production/struts/content/development/2.x/docs/struts-2-spring-2-jpa-ajax.html
    websites/production/struts/content/development/2.x/docs/validating-input.html
    websites/production/struts/content/development/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html
    websites/production/struts/content/development/2.x/docs/writing-interceptors.html
    websites/production/struts/content/development/2.x/docs/zero-configuration.html

Modified: websites/production/struts/content/development/2.x/docs/ajax-and-javascript-recipes.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/ajax-and-javascript-recipes.html
(original)
+++ websites/production/struts/content/development/2.x/docs/ajax-and-javascript-recipes.html
Mon Aug 26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJScript.js' type='text/javascript'></script>
     
     <script type="text/javascript">

Modified: websites/production/struts/content/development/2.x/docs/ajax-validation.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/ajax-validation.html (original)
+++ websites/production/struts/content/development/2.x/docs/ajax-validation.html Mon Aug 26
12:56:00 2013
@@ -38,6 +38,8 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushJScript.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/ajax.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/ajax.html (original)
+++ websites/production/struts/content/development/2.x/docs/ajax.html Mon Aug 26 12:56:00
2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;
@@ -206,12 +207,12 @@ public class TextResult extends ActionSu
 
 <h3><a shape="rect" name="AJAX-AjaxTagPlugins"></a>Ajax Tag Plugins </h3>
 
-<ul><li><b>Ajax Parts</b> - The <a shape="rect" class="external-link"
href="http://code.google.com/p/struts2ajaxpartstaglibplugin/" rel="nofollow">AjaxParts
Taglib (APT)</a> is a component of the Java Web Parts (JWP) project (<a shape="rect"
class="external-link" href="http://javawebparts.sourceforge.net" rel="nofollow">http://javawebparts.sourceforge.net</a>)
that allows for 100% declarative (read: no Javascript coding required!) AJAX functionality
within a Java-based webapp.</li><li><b>Dojo</b> - The <a shape="rect"
href="ajax-tags.html" title="Ajax Tags">Ajax Tags Dojo Plugin</a> was represented
as a theme for Struts 2.0. For Struts 2.1, the Dojo tags are bundled as a plugin.</li><li><b>YUI</b>
- The <a shape="rect" class="external-link" href="http://cwiki.apache.org/S2PLUGINS/yui-plugin.html">Yahoo
User Interface (YUI) Plugin</a> has only a few tags are available so far, but the YUI
tags tend to be easier to use than the Dojo versions.</li><li><b>jQuery</b>
- The <a shape="rect"
  class="external-link" href="http://cwiki.apache.org/S2PLUGINS/jquery-plugin-easy-ajax-and-widget-integration.html">jQuery
Plugin</a> provide ajax functionality and UI Widgets an JavaScript Grid based on the
jQuery javascript framework..</li></ul>
+<ul><li><b>Ajax Parts</b> - The <a shape="rect" class="external-link"
href="http://code.google.com/p/struts2ajaxpartstaglibplugin/" rel="nofollow">AjaxParts
Taglib (APT)</a> is a component of the Java Web Parts (JWP) project (<a shape="rect"
class="external-link" href="http://javawebparts.sourceforge.net" rel="nofollow">http://javawebparts.sourceforge.net</a>)
that allows for 100% declarative (read: no Javascript coding required!) AJAX functionality
within a Java-based webapp.</li><li><b>Dojo</b> - The <a shape="rect"
href="ajax-tags.html" title="Ajax Tags">Ajax Tags Dojo Plugin</a> was represented
as a theme for Struts 2.0. For Struts 2.1, the Dojo tags are bundled as a plugin.</li><li><b>YUI</b>
- The <a shape="rect" class="external-link" href="https://code.google.com/p/struts2yuiplugin/"
rel="nofollow">Yahoo User Interface (YUI) Plugin</a> has only a few tags are available
so far, but the YUI tags tend to be easier to use than the Dojo versions.</li><li><b>jQuery</b>
- The <a sha
 pe="rect" class="external-link" href="https://code.google.com/p/struts2-jquery/" rel="nofollow">jQuery
Plugin</a> provide ajax functionality and UI Widgets an JavaScript Grid based on the
jQuery javascript framework..</li></ul>
 
 
 <h3><a shape="rect" name="AJAX-OtherAjaxPlugins"></a>Other Ajax Plugins
</h3>
 
-<ul><li><b>Ajax File Upload</b> - With the <a shape="rect" class="external-link"
href="http://www.davidjc.com/ajaxfileupload/demo!input.action" rel="nofollow">Ajax File
Upload Plugin</a> we can upload a file to the server and asynchronously monitor its
progress.</li><li><b>GWT</b> - The <a shape="rect" class="external-link"
href="http://cwiki.apache.org/S2PLUGINS/2007/01/10/gwt-plugin.html">Google Web Toolkit
Plugin</a> exposes Struts 2 actions to the GWT RPC mechanism.</li><li><b>JSON</b>
- The <a shape="rect" class="external-link" href="http://cwiki.apache.org/S2PLUGINS/json-plugin.html">JSON
Plugin</a> serializes Actions properties into JSON, making it easy to respond to JavaScript
requests.</li></ul>
+<ul><li><b>Ajax File Upload</b> - With the <a shape="rect" class="external-link"
href="http://www.davidjc.com/ajaxfileupload/demo!input.action" rel="nofollow">Ajax File
Upload Plugin</a> we can upload a file to the server and asynchronously monitor its
progress.</li><li><b>GWT</b> - The <a shape="rect" class="external-link"
href="https://code.google.com/p/struts2gwtplugin/" rel="nofollow">Google Web Toolkit Plugin</a>
exposes Struts 2 actions to the GWT RPC mechanism.</li><li><b>JSON</b>
- The <a shape="rect" href="json-plugin.html" title="JSON Plugin">JSON Plugin</a>
serializes Actions properties into JSON, making it easy to respond to JavaScript requests.</li></ul>
 
 
 <p>See the <a shape="rect" class="external-link" href="http://cwiki.apache.org/S2PLUGINS/home.html">Struts
Plugin Repository</a> for a complete list of Struts 2 plugins. </p>

Modified: websites/production/struts/content/development/2.x/docs/building-struts-2-normal-release.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/building-struts-2-normal-release.html
(original)
+++ websites/production/struts/content/development/2.x/docs/building-struts-2-normal-release.html
Mon Aug 26 12:56:00 2013
@@ -138,11 +138,11 @@ under the License. 
         <div class="wiki-content">
             <div id="ConfluenceContent"><h1><a shape="rect" name="BuildingStruts2-Normalrelease-Content"></a>Content</h1>
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1363294584200 {margin-left: 0px;padding: 0px;}
-div.rbtoc1363294584200 ul {list-style: none;margin-left: 0px;}
-div.rbtoc1363294584200 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1375365963244 {margin-left: 0px;padding: 0px;}
+div.rbtoc1375365963244 ul {list-style: none;margin-left: 0px;}
+div.rbtoc1375365963244 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="rbtoc1363294584200">
+/*]]>*/</style><div class="rbtoc1375365963244">
 <ul><li><span class="TOCOutline">1</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-BuildingSteps%28Struts%29">Building
Steps (Struts)</a></li><ul><li><span class="TOCOutline">1.1</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Gettingready">Getting ready</a></li><li><span
class="TOCOutline">1.2</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Obtainafreshcheckout.">Obtain
a fresh checkout.</a></li><li><span class="TOCOutline">1.3</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Changesitetarget">Change site target</a></li><ul><li><span
class="TOCOutline">1.3.1</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Before%3A">Before:</a></li><li><span
class="TOCOutline">1.3.2</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-After%3A">After:</a></li></ul><li><span
class="TOCOutline">1.4</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Updateversionofarchetypes">Update
version of archetypes</a></li><li><span class
 ="TOCOutline">1.5</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Preparerelease">Prepare
release</a></li><li><span class="TOCOutline">1.6</span> <a
shape="rect" href="#BuildingStruts2-Normalrelease-Performtherelease">Perform the release</a></li><li><span
class="TOCOutline">1.7</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Movetheassemblies">Move
the assemblies</a></li><li><span class="TOCOutline">1.8</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Jirastuff">Jira stuff</a></li><li><span
class="TOCOutline">1.9</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Announceavailability">Announce
availability</a></li><li><span class="TOCOutline">1.10</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Voteonit">Vote on it</a></li><li><span
class="TOCOutline">1.11</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Copyfiles">Copy
files</a></li><li><span class="TOCOutline">1.12</span> <a
shape="rect" href="#BuildingStruts2-Norm
 alrelease-Promoterelease">Promote release</a></li><li><span class="TOCOutline">1.13</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Cleanupoldreleases">Clean up old
releases</a></li><li><span class="TOCOutline">1.14</span> <a
shape="rect" href="#BuildingStruts2-Normalrelease-Waitforrsync">Wait for rsync</a></li><li><span
class="TOCOutline">1.15</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-%28Optional%29UpdateSecurityBulletins">(Optional)
- Update Security Bulletins</a></li><li><span class="TOCOutline">1.16</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Updatesite%28Struts2site%29">Update
site (Struts 2 site)</a></li><li><span class="TOCOutline">1.17</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Updatesite%28Strutstoplevelsite%29">Update
site (Struts top level site)</a></li><li><span class="TOCOutline">1.18</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Rollbacksitetarget">Rollback site
target</a></li><li><span class=
 "TOCOutline">1.19</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Redeploythedraftdocs%28Optional%29">Redeploy
the draft docs (Optional)</a></li><li><span class="TOCOutline">1.20</span>
<a shape="rect" href="#BuildingStruts2-Normalrelease-Permissions">Permissions</a></li><li><span
class="TOCOutline">1.21</span> <a shape="rect" href="#BuildingStruts2-Normalrelease-Postannouncements">Post
announcements</a></li></ul></ul></div>
 
 <h2><a shape="rect" name="BuildingStruts2-Normalrelease-BuildingSteps%28Struts%29"></a>Building
Steps (Struts)</h2>
@@ -285,6 +285,9 @@ for f in struts2-assembly-*.pom*
 do
  rm $f
 done
+
+rm *.asc.md5
+rm *.asc.sha1
 ]]></script>
 </div></div>
 <p>After that move the assemblies directory to the builds destination with</p>

Modified: websites/production/struts/content/development/2.x/docs/constant-configuration.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/constant-configuration.html (original)
+++ websites/production/struts/content/development/2.x/docs/constant-configuration.html Mon
Aug 26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/localization.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/localization.html (original)
+++ websites/production/struts/content/development/2.x/docs/localization.html Mon Aug 26 12:56:00
2013
@@ -175,6 +175,8 @@ not found com/acme/package.properties, i
 ]]></script>
 </div></div>
 
+<div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">The
default implementation of <tt>TextProvider</tt> which is used in <tt>ActionSupport</tt>
perform evaluation of value read from bundle base on the provided key, see <a shape="rect"
href="localizing-output.html" title="Localizing Output">Localizing Output</a> for
an example.</td></tr></table></div>
+
 <h3><a shape="rect" name="Localization-Usingthe%7B%7Btext%7D%7Dtag"></a>Using
the <tt>text</tt> tag</h3>
 
 <p>The <a shape="rect" href="text.html" title="text">text</a> tag retrieves
a message from the default resource bundle.</p>

Modified: websites/production/struts/content/development/2.x/docs/localizing-output.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/localizing-output.html (original)
+++ websites/production/struts/content/development/2.x/docs/localizing-output.html Mon Aug
26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;
@@ -156,7 +157,7 @@ username = User Name
 ]]></script>
 </div></div> 
 
-<p>We also need to make changes to the validator and Logon page. </p>
+<p>We also need to make changes to the validator and Logon page. As you see a value
in resource bundle can also be specified as an expression.</p>
 
 <h2><a shape="rect" name="LocalizingOutput-Logonvalidation.xml"></a>Logon-validation.xml
</h2>
 

Modified: websites/production/struts/content/development/2.x/docs/ognl.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/ognl.html (original)
+++ websites/production/struts/content/development/2.x/docs/ognl.html Mon Aug 26 12:56:00
2013
@@ -135,7 +135,7 @@ under the License. 
 
     <div class="pagecontent">
         <div class="wiki-content">
-            <div id="ConfluenceContent"><p>OGNL is the Object Graph Navigation
Language (see <a shape="rect" class="external-link" href="http://www.opensymphony.com/ognl"
rel="nofollow">http://www.opensymphony.com/ognl</a> for the full documentation of
OGNL). Here, we will cover a few examples of OGNL features that co-exist with the framework.
To review basic concepts, refer to <a shape="rect" href="ognl-basics.html" title="OGNL
Basics">OGNL Basics</a>.</p>
+            <div id="ConfluenceContent"><p>OGNL is the Object Graph Navigation
Language (see <a shape="rect" class="external-link" href="http://commons.apache.org/proper/commons-ognl/">http://commons.apache.org/proper/commons-ognl/</a>
for the full documentation of OGNL). Here, we will cover a few examples of OGNL features that
co-exist with the framework. To review basic concepts, refer to <a shape="rect" href="ognl-basics.html"
title="OGNL Basics">OGNL Basics</a>.</p>
 
 <p>The framework uses a standard naming context to evaluate OGNL expressions. The top
level object dealing with OGNL is a Map (usually referred as a context map or context). OGNL
has a notion of there being a root (or default) object within the context. In expression,
the properties of the root object can be referenced without any special "marker" notion. References
to other objects are marked with a pound sign (<tt>#</tt>).</p>
 

Modified: websites/production/struts/content/development/2.x/docs/spring-plugin.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/spring-plugin.html (original)
+++ websites/production/struts/content/development/2.x/docs/spring-plugin.html Mon Aug 26
12:56:00 2013
@@ -177,7 +177,7 @@ under the License. 
 <p>The <tt>autowire</tt> property can be set to several options. </p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> name </th><td colspan="1" rowspan="1" class="confluenceTd">
Auto-wire by matching the name of the bean in Spring with the name of the property in your
action. <b>This is the default</b> </td></tr><tr><th colspan="1"
rowspan="1" class="confluenceTh"> type </th><td colspan="1" rowspan="1" class="confluenceTd">
Auto-wire by looking for a bean registered with Spring of the same type as the property in
your action. This requires you to have only one bean of this type registered with Spring </td></tr><tr><th
colspan="1" rowspan="1" class="confluenceTh"> auto </th><td colspan="1" rowspan="1"
class="confluenceTd"> Spring will attempt to auto-detect the best method for auto-wiring
your action </td></tr><tr><th colspan="1" rowspan="1" class="confluenceTh">
constructor </th><td colspan="1" rowspan="1" class="confluenceTd"> Spring will
auto-wire the parameters of the bean's constructor </td></tr></tbody>
 </table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> name </th><td colspan="1" rowspan="1" class="confluenceTd">
Auto-wire by matching the name of the bean in Spring with the name of the property in your
action. <b>This is the default</b> </td></tr><tr><th colspan="1"
rowspan="1" class="confluenceTh"> type </th><td colspan="1" rowspan="1" class="confluenceTd">
Auto-wire by looking for a bean registered with Spring of the same type as the property in
your action. This requires you to have only one bean of this type registered with Spring </td></tr><tr><th
colspan="1" rowspan="1" class="confluenceTh"> auto </th><td colspan="1" rowspan="1"
class="confluenceTd"> Spring will attempt to auto-detect the best method for auto-wiring
your action </td></tr><tr><th colspan="1" rowspan="1" class="confluenceTh">
constructor </th><td colspan="1" rowspan="1" class="confluenceTd"> Spring will
auto-wire the parameters of the bean's constructor </td></tr><tr><th

 colspan="1" rowspan="1" class="confluenceTh"> no </th><td colspan="1" rowspan="1"
class="confluenceTd"> Turn off externally defined autowiring. Annotation-driven injection
and injection based on Springs *Aware-interfaces still applies </td></tr></tbody></table>
 </div>
 
 

Modified: websites/production/struts/content/development/2.x/docs/struts-2-junit-plugin-tutorial.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/struts-2-junit-plugin-tutorial.html
(original)
+++ websites/production/struts/content/development/2.x/docs/struts-2-junit-plugin-tutorial.html
Mon Aug 26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/struts-2-spring-2-jpa-ajax.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/struts-2-spring-2-jpa-ajax.html
(original)
+++ websites/production/struts/content/development/2.x/docs/struts-2-spring-2-jpa-ajax.html
Mon Aug 26 12:56:00 2013
@@ -38,6 +38,8 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushSql.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;
@@ -141,11 +143,11 @@ under the License. 
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Following
this tutorial verbatim will require use of a Struts 2 deployment greater than 2.0.3</td></tr></table></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1309183391311 {margin-left: 0px;padding: 0px;}
-div.rbtoc1309183391311 ul {list-style: none;margin-left: 0px;}
-div.rbtoc1309183391311 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1377520855918 {margin-left: 0px;padding: 0px;}
+div.rbtoc1377520855918 ul {list-style: none;margin-left: 0px;}
+div.rbtoc1377520855918 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="rbtoc1309183391311">
+/*]]>*/</style><div class="rbtoc1377520855918">
 <ul><li><a shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Prerequisites">Prerequisites</a></li><ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Tomcat">Tomcat</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-MySql">MySql</a></li></ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Getthecode">Get the code</a></li><ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Showmethecode">Show me the code</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Themavenway">The maven way</a></li></ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Doingityourself">Doing it yourself</a></li><ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-CreateEclipseproject">Create Eclipse
project</a></li><li><a shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Dependencies">Dependencies</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Domain">Domain</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJ
 PA%2BAJAX-Personservice.">Person service.</a></li><li><a shape="rect"
href="#Struts2%2BSpring2%2BJPA%2BAJAX-JPAconfiguration">JPA configuration</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Spring">Spring</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Struts">Struts</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Thepages">The pages</a></li><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-Validation">Validation</a></li></ul><li><a
shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-UsingToplinkEssentialsinsteadofHibernate">Using
Toplink Essentials instead of Hibernate</a></li><li><a shape="rect" href="#Struts2%2BSpring2%2BJPA%2BAJAX-References">References</a></li></ul></div>
 
 <h1><a shape="rect" name="Struts2%2BSpring2%2BJPA%2BAJAX-Prerequisites"></a>Prerequisites</h1>
@@ -708,9 +710,9 @@ The div "persons" will load its content 
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;!DOCTYPE validators PUBLIC
-"-//OpenSymphony Group//XWork Validator 1.0//EN"
-"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"&gt;
+&lt;!DOCTYPE validators PUBLIC 
+    "-//Apache Struts//XWork Validator 1.0.2//EN"
+    "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"&gt;
 &lt;validators&gt;
     &lt;field name="person.firstName"&gt;
         &lt;field-validator type="requiredstring"&gt;

Modified: websites/production/struts/content/development/2.x/docs/validating-input.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/validating-input.html (original)
+++ websites/production/struts/content/development/2.x/docs/validating-input.html Mon Aug
26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html
(original)
+++ websites/production/struts/content/development/2.x/docs/why-do-the-form-tags-put-table-tags-around-controls.html
Mon Aug 26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/writing-interceptors.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/writing-interceptors.html (original)
+++ websites/production/struts/content/development/2.x/docs/writing-interceptors.html Mon
Aug 26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/zero-configuration.html
==============================================================================
--- websites/production/struts/content/development/2.x/docs/zero-configuration.html (original)
+++ websites/production/struts/content/development/2.x/docs/zero-configuration.html Mon Aug
26 12:56:00 2013
@@ -38,6 +38,7 @@ under the License. 
     <link href='http://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet'
type='text/css' />
     <script src='http://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
             <script src='http://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
+            <script src='http://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
     
     <script type="text/javascript">
         SyntaxHighlighter.defaults['toolbar'] = false;



Mime
View raw message