Author: lukaszlenart Date: Wed Jul 24 07:00:26 2013 New Revision: 870943 Log: Updates draft docs
Added: websites/production/struts/content/development/2.x/docs/version-notes-23120.html Modified: websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html websites/production/struts/content/development/2.x/docs/guides.html websites/production/struts/content/development/2.x/docs/migration-guide.html websites/production/struts/content/development/2.x/docs/struts-2-themes.html websites/production/struts/content/development/2.x/docs/tiles-plugin.html websites/production/struts/content/development/2.x/docs/version-notes-2312.html websites/production/struts/content/development/2.x/docs/version-notes-2314.html Modified: websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html (original) +++ websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html Wed Jul 24 07:00:26 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/guides.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/guides.html (original) +++ websites/production/struts/content/development/2.x/docs/guides.html Wed Jul 24 07:00:26 2013 @@ -215,7 +215,7 @@ under the License. <h3><a shape="rect" name="Guides-VersionNotes2.3.x"></a>Version Notes 2.3.x</h3> -<ul><li><a shape="rect" href="version-notes-23151.html" title="Version Notes 2.3.15.1">Version Notes 2.3.15.1</a></li><li><a shape="rect" href="version-notes-2315.html" title="Version Notes 2.3.15">Version Notes 2.3.15</a></li><li><a shape="rect" href="version-notes-23143.html" title="Version Notes 2.3.14.3">Version Notes 2.3.14.3</a></li><li><a shape="rect" href="version-notes-23142.html" title="Version Notes 2.3.14.2">Version Notes 2.3.14.2</a></li><li><a shape="rect" href="version-notes-23141.html" title="Version Notes 2.3.14.1">Version Notes 2.3.14.1</a></li><li><a shape="rect" href="version-notes-2314.html" title="Version Notes 2.3.14">Version Notes 2.3.14</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.12">Version Notes 2.3.12</a></li><li><a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></li><li><a shape="rect" href="version-notes-237.html" title="Version Notes 2.3.7">Version Notes 2.3.7</a></l i><li><a shape="rect" href="version-notes-2341.html" title="Version Notes 2.3.4.1">Version Notes 2.3.4.1</a></li><li><a shape="rect" href="version-notes-234.html" title="Version Notes 2.3.4">Version Notes 2.3.4</a></li><li><a shape="rect" href="version-notes-233.html" title="Version Notes 2.3.3">Version Notes 2.3.3</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.1.2">Version Notes 2.3.1.2</a></li><li><a shape="rect" href="version-notes-2311.html" title="Version Notes 2.3.1.1">Version Notes 2.3.1.1</a></li><li><a shape="rect" href="version-notes-231.html" title="Version Notes 2.3.1">Version Notes 2.3.1</a></li></ul> +<ul><li><a shape="rect" href="version-notes-23151.html" title="Version Notes 2.3.15.1">Version Notes 2.3.15.1</a></li><li><a shape="rect" href="version-notes-2315.html" title="Version Notes 2.3.15">Version Notes 2.3.15</a></li><li><a shape="rect" href="version-notes-23143.html" title="Version Notes 2.3.14.3">Version Notes 2.3.14.3</a></li><li><a shape="rect" href="version-notes-23142.html" title="Version Notes 2.3.14.2">Version Notes 2.3.14.2</a></li><li><a shape="rect" href="version-notes-23141.html" title="Version Notes 2.3.14.1">Version Notes 2.3.14.1</a></li><li><a shape="rect" href="version-notes-2314.html" title="Version Notes 2.3.14">Version Notes 2.3.14</a></li><li><a shape="rect" href="version-notes-23120.html" title="Version Notes 2.3.12.0">Version Notes 2.3.12.0</a></li><li><a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></li><li><a shape="rect" href="version-notes-237.html" title="Version Notes 2.3.7">Version Notes 2.3.7</ a></li><li><a shape="rect" href="version-notes-2341.html" title="Version Notes 2.3.4.1">Version Notes 2.3.4.1</a></li><li><a shape="rect" href="version-notes-234.html" title="Version Notes 2.3.4">Version Notes 2.3.4</a></li><li><a shape="rect" href="version-notes-233.html" title="Version Notes 2.3.3">Version Notes 2.3.3</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.1.2">Version Notes 2.3.1.2</a></li><li><a shape="rect" href="version-notes-2311.html" title="Version Notes 2.3.1.1">Version Notes 2.3.1.1</a></li><li><a shape="rect" href="version-notes-231.html" title="Version Notes 2.3.1">Version Notes 2.3.1</a></li></ul> <h3><a shape="rect" name="Guides-VersionNotes2.2.x"></a>Version Notes 2.2.x</h3> Modified: websites/production/struts/content/development/2.x/docs/migration-guide.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/migration-guide.html (original) +++ websites/production/struts/content/development/2.x/docs/migration-guide.html Wed Jul 24 07:00:26 2013 @@ -130,7 +130,7 @@ under the License. <h3><a shape="rect" name="MigrationGuide-VersionNotes2.3.x"></a>Version Notes 2.3.x</h3> -<ul><li><a shape="rect" href="version-notes-23151.html" title="Version Notes 2.3.15.1">Version Notes 2.3.15.1</a></li><li><a shape="rect" href="version-notes-2315.html" title="Version Notes 2.3.15">Version Notes 2.3.15</a></li><li><a shape="rect" href="version-notes-23143.html" title="Version Notes 2.3.14.3">Version Notes 2.3.14.3</a></li><li><a shape="rect" href="version-notes-23142.html" title="Version Notes 2.3.14.2">Version Notes 2.3.14.2</a></li><li><a shape="rect" href="version-notes-23141.html" title="Version Notes 2.3.14.1">Version Notes 2.3.14.1</a></li><li><a shape="rect" href="version-notes-2314.html" title="Version Notes 2.3.14">Version Notes 2.3.14</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.12">Version Notes 2.3.12</a></li><li><a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></li><li><a shape="rect" href="version-notes-237.html" title="Version Notes 2.3.7">Version Notes 2.3.7</a></l i><li><a shape="rect" href="version-notes-2341.html" title="Version Notes 2.3.4.1">Version Notes 2.3.4.1</a></li><li><a shape="rect" href="version-notes-234.html" title="Version Notes 2.3.4">Version Notes 2.3.4</a></li><li><a shape="rect" href="version-notes-233.html" title="Version Notes 2.3.3">Version Notes 2.3.3</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.1.2">Version Notes 2.3.1.2</a></li><li><a shape="rect" href="version-notes-2311.html" title="Version Notes 2.3.1.1">Version Notes 2.3.1.1</a></li><li><a shape="rect" href="version-notes-231.html" title="Version Notes 2.3.1">Version Notes 2.3.1</a></li></ul> +<ul><li><a shape="rect" href="version-notes-23151.html" title="Version Notes 2.3.15.1">Version Notes 2.3.15.1</a></li><li><a shape="rect" href="version-notes-2315.html" title="Version Notes 2.3.15">Version Notes 2.3.15</a></li><li><a shape="rect" href="version-notes-23143.html" title="Version Notes 2.3.14.3">Version Notes 2.3.14.3</a></li><li><a shape="rect" href="version-notes-23142.html" title="Version Notes 2.3.14.2">Version Notes 2.3.14.2</a></li><li><a shape="rect" href="version-notes-23141.html" title="Version Notes 2.3.14.1">Version Notes 2.3.14.1</a></li><li><a shape="rect" href="version-notes-2314.html" title="Version Notes 2.3.14">Version Notes 2.3.14</a></li><li><a shape="rect" href="version-notes-23120.html" title="Version Notes 2.3.12.0">Version Notes 2.3.12.0</a></li><li><a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></li><li><a shape="rect" href="version-notes-237.html" title="Version Notes 2.3.7">Version Notes 2.3.7</ a></li><li><a shape="rect" href="version-notes-2341.html" title="Version Notes 2.3.4.1">Version Notes 2.3.4.1</a></li><li><a shape="rect" href="version-notes-234.html" title="Version Notes 2.3.4">Version Notes 2.3.4</a></li><li><a shape="rect" href="version-notes-233.html" title="Version Notes 2.3.3">Version Notes 2.3.3</a></li><li><a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.1.2">Version Notes 2.3.1.2</a></li><li><a shape="rect" href="version-notes-2311.html" title="Version Notes 2.3.1.1">Version Notes 2.3.1.1</a></li><li><a shape="rect" href="version-notes-231.html" title="Version Notes 2.3.1">Version Notes 2.3.1</a></li></ul> <h3><a shape="rect" name="MigrationGuide-VersionNotes2.2.x"></a>Version Notes 2.2.x</h3> Modified: websites/production/struts/content/development/2.x/docs/struts-2-themes.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/struts-2-themes.html (original) +++ websites/production/struts/content/development/2.x/docs/struts-2-themes.html Wed Jul 24 07:00:26 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/tiles-plugin.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/tiles-plugin.html (original) +++ websites/production/struts/content/development/2.x/docs/tiles-plugin.html Wed Jul 24 07:00:26 2013 @@ -148,7 +148,7 @@ under the License. <p>The following steps must be taken in order to enable tiles support within your Struts2 application:</p> <ol><li>Include the struts-tiles-plugin as a dependency in your web application. If you are using maven2, the dependency configuration will be similar to: <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-tiles-plugin</artifactId> @@ -158,21 +158,21 @@ under the License. ]]></script> </div></div></li><li>Register the tiles listener. This listener will typically either be the standard tiles listener (org.apache.tiles.listener.TilesListener) or the Struts2 replacement (org.apache.struts2.tiles.TilesListener). The latter provides tighter integration with Struts features such as freemarker integration. <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <listener> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> </listener> ]]></script> </div></div></li><li>All package definitions which require tiles support must either extend the tiles-default package or must register the <a shape="rect" class="createlink" href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&title=Tiles+Result&linkCreation=true&fromPageId=27401">Tiles Result</a> type definition. <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult"/> </result-types> ]]></script> </div></div></li><li>Configure your actions to utilize a tiles definition: <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> -<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ <action name="sample" class="org.apache.struts2.tiles.example.SampleAction" > <result name="success" type="tiles">tilesWorks</result> </action> Modified: websites/production/struts/content/development/2.x/docs/version-notes-2312.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/version-notes-2312.html (original) +++ websites/production/struts/content/development/2.x/docs/version-notes-2312.html Wed Jul 24 07:00:26 2013 @@ -83,13 +83,13 @@ under the License. hide.style.display = 'none'; } </script> - <title>Version Notes 2.3.12</title> + <title>Version Notes 2.3.1.2</title> </head> <body onload="init()"> <table border="0" cellpadding="2" cellspacing="0" width="100%"> <tr class="topBar"> <td align="left" valign="middle" class="topBarDiv" align="left" nowrap> - <a href="home.html">Home</a> > <a href="guides.html">Guides</a> > <a href="migration-guide.html">Migration Guide</a> > <a href="version-notes-2312.html">Version Notes 2.3.12</a> + <a href="home.html">Home</a> > <a href="guides.html">Guides</a> > <a href="migration-guide.html">Migration Guide</a> > <a href="version-notes-2312.html">Version Notes 2.3.1.2</a> </td> <td align="right" valign="middle" nowrap> <form name="search" action="http://www.google.com/search" method="get"> @@ -109,36 +109,36 @@ under the License. <!-- We'll enable this once we figure out how to access (and save) the logo resource --> <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"--> <div style="margin: 0px 10px 0px 10px" class="smalltext">Apache Struts 2 Documentation</div> - <div style="margin: 0px 10px 8px 10px" class="pagetitle">Version Notes 2.3.12</div> + <div style="margin: 0px 10px 8px 10px" class="pagetitle">Version Notes 2.3.1.2</div> <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;"> - <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30746909"> + <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=27836158"> <img src="https://cwiki.apache.org/confluence/images/icons/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a> - <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30746909">Edit Page</a> + <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=27836158">Edit Page</a> <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW"> <img src="https://cwiki.apache.org/confluence/images/icons/browse_space.gif" height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a> <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW">Browse Space</a> - <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=30746909"> + <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=27836158"> <img src="https://cwiki.apache.org/confluence/images/icons/add_page_16.gif" height="16" width="16" border="0" align="absmiddle" title="Add Page"></a> - <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=30746909">Add Page</a> + <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=27836158">Add Page</a> - <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=30746909"> + <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=27836158"> <img src="https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif" height="16" width="16" border="0" align="absmiddle" title="Add News"></a> - <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=30746909">Add News</a> + <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=27836158">Add News</a> </div> </div> <div class="pagecontent"> <div class="wiki-content"> - <div id="ConfluenceContent"><p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> These are the notes for the Struts 2.3.12 distribution.</p> + <div id="ConfluenceContent"><p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> These are the notes for the Struts 2.3.1.2 distribution.</p> -<p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> For prior notes in this release series, see <a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></p> +<p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> For prior notes in this release series, see <a shape="rect" href="version-notes-2311.html" title="Version Notes 2.3.1.1">Version Notes 2.3.1.1</a></p> <ul><li>If you are a Maven user, you might want to get started using the <a shape="rect" href="struts-2-maven-archetypes.html" title="Struts 2 Maven Archetypes">Maven Archetype</a>.</li><li>Another quick-start entry point is the <b>blank</b> application. Rename and deploy the WAR as a starting point for your own development.</li></ul> @@ -147,7 +147,7 @@ under the License. <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> - <version>2.3.12</version> + <version>2.3.1.2</version> </dependency>]]></script> </div></div> @@ -155,7 +155,7 @@ under the License. <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Struts Archetype Catalog</b></div><div class="codeContent panelContent"> <script class="theme: Default; brush: plain; gutter: false" type="syntaxhighlighter"><![CDATA[ -mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.12/ +mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.1.2/ ]]></script> </div></div> @@ -169,22 +169,23 @@ mvn archetype:generate -DarchetypeCatalo </repositories>]]></script> </div></div> -<h2><a shape="rect" name="VersionNotes2.3.12-InternalChanges"></a>Internal Changes</h2> +<h2><a shape="rect" name="VersionNotes2.3.1.2-InternalChanges"></a>Internal Changes</h2> -<ul><li>All validators were refactored and right now parameters can be set via OGNL also parameter <em>parse</em> was removed - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-2923">WW-2923</a> - please be aware that param names changed a bit, review documentation <a shape="rect" href="validation.html#Validation-BundledValidators">Validation</a></li><li><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" height="16" width="16" alt="" border="0"> tag's <em>required</em> attribute was renamed to <em>requiredLabel</em> to allow support of Html5 required attribute in the tags - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3908">WW-3908</a></li><li>new <a shape="rect" class="external-link" href="https://cwiki.apache.org/confluence/display/WW/Tiles+3+Plugin">Tiles 3 plugin</a> added to support Tiles 3 result type - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3931">WW-3931</a></li><li>as mentioned in <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3973">WW-3973</a> with previous release behaviour of <a shape="rect" href="parameters-interceptor.html" title="Parameters Interceptor">Parameters Interceptor</a> changed a bit - please read careful over the linked page</li><li>migrated site to the Apache CMS and SvnPubSub</li><li>support for JBoss 5 to work with the <a shape="rect" href="convention-plugin.html" title="Convention Plugin">Convention Plugin</a> was improved, check <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3984">WW-3984</a> for more details</li></ul> +<ul><li>Default acceptedParamNames were further updated to more restrictive values to solve security vulnerabilities in ParameterInterceptor.<br clear="none"> +Also a new method was added to ValueStack called setParameter to prevent remote code execution through the evaluation of parameter names. </li></ul> -<h3><a shape="rect" name="VersionNotes2.3.12-IssueDetail"></a>Issue Detail</h3> +<h3><a shape="rect" name="VersionNotes2.3.1.2-IssueDetail"></a>Issue Detail</h3> -<ul><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311041&version=12324067">JIRA Release Notes 2.3.12</a></li></ul> +<ul><li><a shape="rect" href="s2-009.html" title="S2-009">S2-009</a></li></ul> -<h3><a shape="rect" name="VersionNotes2.3.12-IssueList"></a>Issue List</h3> +<h3><a shape="rect" name="VersionNotes2.3.1.2-IssueList"></a>Issue List</h3> -<ul><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12323498">Struts 2.3.12 DONE</a></li><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12323499">Struts 2.3.13 TODO</a></li><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12318399">Struts 2.3.x TODO</a></li></ul> +<ul><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12318399">Struts 2.3.x TODO </a></li></ul> -<h3><a shape="rect" name="VersionNotes2.3.12-Otherresources"></a>Other resources</h3> +<h3><a shape="rect" name="VersionNotes2.3.1.2-Otherresources"></a>Other resources</h3> <ul><li><a shape="rect" class="external-link" href="http://www.mail-archive.com/commits%40struts.apache.org/" rel="nofollow">Commit Logs (Struts 1 and Struts 2)</a></li><li><a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/struts/struts2/trunk/">Source Code Repository (includes change browsing)</a></li></ul> </div> Added: websites/production/struts/content/development/2.x/docs/version-notes-23120.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/version-notes-23120.html (added) +++ websites/production/struts/content/development/2.x/docs/version-notes-23120.html Wed Jul 24 07:00:26 2013 @@ -0,0 +1,200 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> +<html> +<head> + <LINK type="text/css" rel="stylesheet" href="https://struts.apache.org/css/default.css"> + <style type="text/css"> + .dp-highlighter { + width:95% !important; + } + </style> + <style type="text/css"> + .footer { + background-image: url('https://cwiki.apache.org/confluence/images/border/border_bottom.gif'); + background-repeat: repeat-x; + background-position: left top; + padding-top: 4px; + color: #666; + } + </style> + <link href='http://struts.apache.org/highlighter/style/shCoreStruts.css' rel='stylesheet' type='text/css' /> + <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/shBrushPlain.js' type='text/javascript'></script> + + <script type="text/javascript"> + SyntaxHighlighter.defaults['toolbar'] = false; + SyntaxHighlighter.all(); + </script> + <script type="text/javascript" language="javascript"> + var hide = null; + var show = null; + var children = null; + + function init() { + /* Search form initialization */ + var form = document.forms['search']; + if (form != null) { + form.elements['domains'].value = location.hostname; + form.elements['sitesearch'].value = location.hostname; + } + + /* Children initialization */ + hide = document.getElementById('hide'); + show = document.getElementById('show'); + children = document.all != null ? + document.all['children'] : + document.getElementById('children'); + if (children != null) { + children.style.display = 'none'; + show.style.display = 'inline'; + hide.style.display = 'none'; + } + } + + function showChildren() { + children.style.display = 'block'; + show.style.display = 'none'; + hide.style.display = 'inline'; + } + + function hideChildren() { + children.style.display = 'none'; + show.style.display = 'inline'; + hide.style.display = 'none'; + } + </script> + <title>Version Notes 2.3.12.0</title> +</head> +<body onload="init()"> +<table border="0" cellpadding="2" cellspacing="0" width="100%"> + <tr class="topBar"> + <td align="left" valign="middle" class="topBarDiv" align="left" nowrap> + <a href="home.html">Home</a> > <a href="guides.html">Guides</a> > <a href="migration-guide.html">Migration Guide</a> > <a href="version-notes-23120.html">Version Notes 2.3.12.0</a> + </td> + <td align="right" valign="middle" nowrap> + <form name="search" action="http://www.google.com/search" method="get"> + <input type="hidden" name="ie" value="UTF-8" /> + <input type="hidden" name="oe" value="UTF-8" /> + <input type="hidden" name="domains" value="" /> + <input type="hidden" name="sitesearch" value="" /> + <input type="text" name="q" maxlength="255" value="" /> + <input type="submit" name="btnG" value="Google Search" /> + </form> + </td> + </tr> +</table> + +<div id="PageContent"> + <div class="pageheader" style="padding: 6px 0px 0px 0px;"> + <!-- We'll enable this once we figure out how to access (and save) the logo resource --> + <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"--> + <div style="margin: 0px 10px 0px 10px" class="smalltext">Apache Struts 2 Documentation</div> + <div style="margin: 0px 10px 8px 10px" class="pagetitle">Version Notes 2.3.12.0</div> + + <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;"> + <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30746909"> + <img src="https://cwiki.apache.org/confluence/images/icons/notep_16.gif" + height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a> + <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30746909">Edit Page</a> + + <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW"> + <img src="https://cwiki.apache.org/confluence/images/icons/browse_space.gif" + height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a> + <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW">Browse Space</a> + + <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=30746909"> + <img src="https://cwiki.apache.org/confluence/images/icons/add_page_16.gif" + height="16" width="16" border="0" align="absmiddle" title="Add Page"></a> + <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=30746909">Add Page</a> + + <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=30746909"> + <img src="https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif" + height="16" width="16" border="0" align="absmiddle" title="Add News"></a> + <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=30746909">Add News</a> + </div> + </div> + + <div class="pagecontent"> + <div class="wiki-content"> + <div id="ConfluenceContent"><p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> These are the notes for the Struts 2.3.12 distribution.</p> + +<p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> For prior notes in this release series, see <a shape="rect" href="version-notes-238.html" title="Version Notes 2.3.8">Version Notes 2.3.8</a></p> + +<ul><li>If you are a Maven user, you might want to get started using the <a shape="rect" href="struts-2-maven-archetypes.html" title="Struts 2 Maven Archetypes">Maven Archetype</a>.</li><li>Another quick-start entry point is the <b>blank</b> application. Rename and deploy the WAR as a starting point for your own development.</li></ul> + + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Maven Dependency</b></div><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<dependency> + <groupId>org.apache.struts</groupId> + <artifactId>struts2-core</artifactId> + <version>2.3.12</version> +</dependency>]]></script> +</div></div> + +<p>You can also use Struts Archetype Catalog like below</p> + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Struts Archetype Catalog</b></div><div class="codeContent panelContent"> +<script class="theme: Default; brush: plain; gutter: false" type="syntaxhighlighter"><![CDATA[ +mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.12/ +]]></script> +</div></div> + +<div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Staging Repository</b></div><div class="codeContent panelContent"> +<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<repositories> + <repository> + <id>apache.nexus</id> + <name>ASF Nexus Staging</name> + <url>https://repository.apache.org/content/groups/staging/</url> + </repository> +</repositories>]]></script> +</div></div> + +<h2><a shape="rect" name="VersionNotes2.3.12.0-InternalChanges"></a>Internal Changes</h2> + +<ul><li>All validators were refactored and right now parameters can be set via OGNL also parameter <em>parse</em> was removed - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-2923">WW-2923</a> - please be aware that param names changed a bit, review documentation <a shape="rect" href="validation.html#Validation-BundledValidators">Validation</a></li><li><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" height="16" width="16" alt="" border="0"> tag's <em>required</em> attribute was renamed to <em>requiredLabel</em> to allow support of Html5 required attribute in the tags - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3908">WW-3908</a></li><li>new <a shape="rect" class="external-link" href="https://cwiki.apache.org/confluence/display/WW/Tiles+3+Plugin">Tiles 3 plugin</a> added to support Tiles 3 result type - <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3931">WW-3931</a></li><li>as mentioned in <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3973">WW-3973</a> with previous release behaviour of <a shape="rect" href="parameters-interceptor.html" title="Parameters Interceptor">Parameters Interceptor</a> changed a bit - please read careful over the linked page</li><li>migrated site to the Apache CMS and SvnPubSub</li><li>support for JBoss 5 to work with the <a shape="rect" href="convention-plugin.html" title="Convention Plugin">Convention Plugin</a> was improved, check <a shape="rect" class="external-link" href="https://issues.apache.org/jira/browse/WW-3984">WW-3984</a> for more details</li></ul> + + +<h3><a shape="rect" name="VersionNotes2.3.12.0-IssueDetail"></a>Issue Detail</h3> + +<ul><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311041&version=12324067">JIRA Release Notes 2.3.12</a></li></ul> + + +<h3><a shape="rect" name="VersionNotes2.3.12.0-IssueList"></a>Issue List</h3> + +<ul><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12323498">Struts 2.3.12 DONE</a></li><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12323499">Struts 2.3.13 TODO</a></li><li><a shape="rect" class="external-link" href="https://issues.apache.org/jira/issues/?filter=12318399">Struts 2.3.x TODO</a></li></ul> + + +<h3><a shape="rect" name="VersionNotes2.3.12.0-Otherresources"></a>Other resources</h3> + +<ul><li><a shape="rect" class="external-link" href="http://www.mail-archive.com/commits%40struts.apache.org/" rel="nofollow">Commit Logs (Struts 1 and Struts 2)</a></li><li><a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/struts/struts2/trunk/">Source Code Repository (includes change browsing)</a></li></ul> +</div> + </div> + + + </div> +</div> +<div class="footer"> + Generated by CXF SiteExporter +</div> +</body> +</html> \ No newline at end of file Modified: websites/production/struts/content/development/2.x/docs/version-notes-2314.html ============================================================================== --- websites/production/struts/content/development/2.x/docs/version-notes-2314.html (original) +++ websites/production/struts/content/development/2.x/docs/version-notes-2314.html Wed Jul 24 07:00:26 2013 @@ -138,7 +138,7 @@ under the License. <div class="wiki-content"> <div id="ConfluenceContent"><p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> These are the notes for the Struts 2.3.14 distribution.</p> -<p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> For prior notes in this release series, see <a shape="rect" href="version-notes-2312.html" title="Version Notes 2.3.12">Version Notes 2.3.12</a></p> +<p><img align="middle" class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" alt="" border="0"> For prior notes in this release series, see <a shape="rect" href="version-notes-23120.html" title="Version Notes 2.3.12.0">Version Notes 2.3.12.0</a></p> <ul><li>If you are a Maven user, you might want to get started using the <a shape="rect" href="struts-2-maven-archetypes.html" title="Struts 2 Maven Archetypes">Maven Archetype</a>.</li><li>Another quick-start entry point is the <b>blank</b> application. Rename and deploy the WAR as a starting point for your own development.</li></ul>