svn commit: r869810 - in /websites/production/struts/content/development/2.x/docs: ./ big-picture.data/ chaining-interceptor.data/ colophon.data/ crud-demo-i.data/ debugging-struts.data/ form-validati
Author: lukaszlenart Date: Wed Jul 17 08:22:24 2013 New Revision: 869810 Log: Updates draft docs [This commit notification would consist of 220 parts, which exceeds the limit of 50 ones, so it was shortened to the summary.]
svn commit: r1504050 - in /struts/site/trunk: pom.xml scripts/update-draft-docs.sh src/ src/etc/ src/etc/docs.cfg src/etc/template.vm
Author: lukaszlenart Date: Wed Jul 17 08:37:09 2013 New Revision: 1504050 URL: http://svn.apache.org/r1504050 Log: INFRA-6350 Uses CXF SiteExporter instead of wget to update Draft docs Added: struts/site/trunk/src/ struts/site/trunk/src/etc/ struts/site/trunk/src/etc/docs.cfg - copied, changed from r1503569, struts/struts2/trunk/assembly/src/main/resources/docs.cfg struts/site/trunk/src/etc/template.vm - copied unchanged from r1503569, struts/struts2/trunk/assembly/src/main/resources/template.vm Modified: struts/site/trunk/pom.xml struts/site/trunk/scripts/update-draft-docs.sh Modified: struts/site/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/site/trunk/pom.xml?rev=1504050&r1=1504049&r2=1504050&view=diff == --- struts/site/trunk/pom.xml (original) +++ struts/site/trunk/pom.xml Wed Jul 17 08:37:09 2013 @@ -212,6 +212,52 @@ + + +update-draft-docs + + + +org.codehaus.mojo +exec-maven-plugin +1.2 + + +cwiki-docs +prepare-package + +java + + +runtime + true + org.apache.cxf.cwiki.SiteExporter + +-d + ${project.build.directory}/cwiki/WW +-password + ${confluence.password} +-user +${confluence.user} + ${basedir}/src/etc/docs.cfg + + + + + + + + + +org.apache.cxf.site-export +cxf-site-export +1.0-SNAPSHOT +runtime + + + + + ${site.output} Modified: struts/site/trunk/scripts/update-draft-docs.sh URL: http://svn.apache.org/viewvc/struts/site/trunk/scripts/update-draft-docs.sh?rev=1504050&r1=1504049&r2=1504050&view=diff == --- struts/site/trunk/scripts/update-draft-docs.sh (original) +++ struts/site/trunk/scripts/update-draft-docs.sh Wed Jul 17 08:37:09 2013 @@ -1,20 +1,20 @@ #!/bin/sh # This script is used to periodically update Development version of docs - Draft docs -# The docs are available here http://struts.apache.org/development/2.x/docs/ - -svn co https://svn.apache.org/repos/infra/websites/production/struts/content/development/2.x/docs struts2-draft-docs --no-auth-cache # Grab docs from Confluence -wget -erobots=off -nH -nv -E -L --directory-prefix=cwiki --no-check-certificate -r https://cwiki.apache.org/WW/ +mvn clean package -Pupdate-draft-docs + +# The docs are available here http://struts.apache.org/development/2.x/docs/ +svn co https://svn.apache.org/repos/infra/websites/production/struts/content/development/2.x/docs target/struts2-draft-docs --no-auth-cache # Remove the old docs -rm -R struts2-draft-docs/* +rm -R target/struts2-draft-docs/* # Move the new docs -mv cwiki/WW/* struts2-draft-docs/ +mv target/cwiki/WW/docs/* target/struts2-draft-docs/ -cd struts2-draft-docs +cd target/struts2-draft-docs touch PLACEHOLDER @@ -24,14 +24,15 @@ if [ -n "$DIFF" ]; then # echo "Changes detected - add and commit" # Add all the file svn add ./ --force +# Remove already removed files +svn status | grep '^\!' | sed 's/! *//' | awk 'BEGIN {FS="\t"};{print "\""$1"\""}' | xargs svn del --force # Commit changes svn commit -m "Updates draft docs" --no-auth-cache fi -cd .. +cd ../.. # Cleanup -rm -R struts2-draft-docs -rm -R cwiki +mvn clean # echo "Success!" Copied: struts/site/trunk/src/etc/docs.cfg (from r1503569, struts/struts2/trunk/assembly/src/main/resources/docs.cfg) URL: http://svn.apache.org/viewvc/struts/site/trunk/src/etc/docs.cfg?p2=struts/site/trunk/src/etc/docs.cfg&p1=struts/struts2/trunk/assembly/src/main/resources/docs.cfg&r1=1503569&r2=1504050&rev=1504050&view=diff == --- struts/struts2/trunk/assembly/src/main/resources/docs.cfg (original) +++ struts/site/trunk/src/etc/docs.cfg Wed Jul 17 08:37:09 2013 @@ -1,6 +
svn commit: r869812 - in /websites/staging/struts/trunk/content: ./ dev/
Author: buildbot Date: Wed Jul 17 08:38:43 2013 New Revision: 869812 Log: Staging update by buildbot for struts Modified: websites/staging/struts/trunk/content/ (props changed) websites/staging/struts/trunk/content/announce-2002.html websites/staging/struts/trunk/content/announce-2003.html websites/staging/struts/trunk/content/announce-2004.html websites/staging/struts/trunk/content/announce-2005.html websites/staging/struts/trunk/content/announce-2006.html websites/staging/struts/trunk/content/announce-2007.html websites/staging/struts/trunk/content/announce-2008.html websites/staging/struts/trunk/content/announce-2009.html websites/staging/struts/trunk/content/announce-2010.html websites/staging/struts/trunk/content/announce-2011.html websites/staging/struts/trunk/content/announce-2012.html websites/staging/struts/trunk/content/announce.html websites/staging/struts/trunk/content/dev/builds.html websites/staging/struts/trunk/content/dev/bylaws.html websites/staging/struts/trunk/content/dev/dev-mail.html websites/staging/struts/trunk/content/dev/minutes.html websites/staging/struts/trunk/content/dev/releases.html websites/staging/struts/trunk/content/dev/site.html websites/staging/struts/trunk/content/dev/volunteers.html websites/staging/struts/trunk/content/download.html websites/staging/struts/trunk/content/downloads.html websites/staging/struts/trunk/content/faqs.html websites/staging/struts/trunk/content/helping.html websites/staging/struts/trunk/content/index.html websites/staging/struts/trunk/content/javadoc.html websites/staging/struts/trunk/content/kickstart.html websites/staging/struts/trunk/content/mail.html websites/staging/struts/trunk/content/primer.html websites/staging/struts/trunk/content/release-checklist.html websites/staging/struts/trunk/content/roadmap.html websites/staging/struts/trunk/content/security.html websites/staging/struts/trunk/content/struts1eol-announcement.html websites/staging/struts/trunk/content/struts1eol-press.html Propchange: websites/staging/struts/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Wed Jul 17 08:38:43 2013 @@ -1 +1 @@ -1503605 +1504050 Modified: websites/staging/struts/trunk/content/announce-2002.html == --- websites/staging/struts/trunk/content/announce-2002.html (original) +++ websites/staging/struts/trunk/content/announce-2002.html Wed Jul 17 08:38:43 2013 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> - + Announcements - 2002 and prior @@ -54,7 +54,7 @@ - Last Published: 2013-07-16 + Last Published: 2013-07-17 Modified: websites/staging/struts/trunk/content/announce-2003.html == --- websites/staging/struts/trunk/content/announce-2003.html (original) +++ websites/staging/struts/trunk/content/announce-2003.html Wed Jul 17 08:38:43 2013 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> - + Announcements - 2003 @@ -54,7 +54,7 @@ - Last Published: 2013-07-16 + Last Published: 2013-07-17 Modified: websites/staging/struts/trunk/content/announce-2004.html == --- websites/staging/struts/trunk/content/announce-2004.html (original) +++ websites/staging/struts/trunk/content/announce-2004.html Wed Jul 17 08:38:43 2013 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> - + Announcements - 2004 @@ -54,7 +54,7 @@ - Last Published: 2013-07-16 + Last Published: 2013-07-17 Modified: websites/staging/struts/trunk/content/announce-2005.html == --- websites/staging/struts/trunk/content/announce-2005.html (original) +++ websites/staging/struts/trunk/content/announce-2005.html Wed Jul 17 08:38:43 2013 @@ -1,13 +1,13 @@ http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> - + Announcements - 2005 @@ -54,7 +54,7 @@ - Last Published: 2013-07-16 +
svn commit: r869813 - in /websites/production/struts/content: ./ development/ release/
Author: lukaszlenart Date: Wed Jul 17 08:40:22 2013 New Revision: 869813 Log: Push changes Added: websites/production/struts/content/ - copied from r869812, websites/staging/struts/trunk/content/ websites/production/struts/content/development/ - copied from r869812, websites/production/struts/content/development/ websites/production/struts/content/release/ - copied from r869812, websites/production/struts/content/release/
svn commit: r869814 - in /websites/staging/struts/trunk/content: ./ css/default.css
Author: buildbot Date: Wed Jul 17 08:42:26 2013 New Revision: 869814 Log: Staging update by buildbot for struts Modified: websites/staging/struts/trunk/content/ (props changed) websites/staging/struts/trunk/content/css/default.css Propchange: websites/staging/struts/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Wed Jul 17 08:42:26 2013 @@ -1 +1 @@ -1504050 +1504051 Modified: websites/staging/struts/trunk/content/css/default.css == --- websites/staging/struts/trunk/content/css/default.css (original) +++ websites/staging/struts/trunk/content/css/default.css Wed Jul 17 08:42:26 2013 @@ -77,6 +77,8 @@ pre { background-color: #f5f7f1; } +/* +Commented out temporarly .code { border: 1px dashed #3c78b5; font-size: 11px; @@ -85,16 +87,6 @@ pre { line-height: 13px; } -.focusedComment { -background: #ce; -} - -.commentBox, .focusedComment { -padding: 10px; -margin: 5px 0 5px 0; -border: 1px #bbb solid; -} - .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; @@ -108,6 +100,18 @@ pre { padding: 3px; } +*/ + +.focusedComment { +background: #ce; +} + +.commentBox, .focusedComment { +padding: 10px; +margin: 5px 0 5px 0; +border: 1px #bbb solid; +} + .preformatted { border: 1px dashed #3c78b5; font-size: 11px;
svn commit: r1504051 - /struts/site/trunk/content/resources/css/default.css
Author: lukaszlenart Date: Wed Jul 17 08:42:20 2013 New Revision: 1504051 URL: http://svn.apache.org/r1504051 Log: Comments out code formatting Modified: struts/site/trunk/content/resources/css/default.css Modified: struts/site/trunk/content/resources/css/default.css URL: http://svn.apache.org/viewvc/struts/site/trunk/content/resources/css/default.css?rev=1504051&r1=1504050&r2=1504051&view=diff == --- struts/site/trunk/content/resources/css/default.css (original) +++ struts/site/trunk/content/resources/css/default.css Wed Jul 17 08:42:20 2013 @@ -77,6 +77,8 @@ pre { background-color: #f5f7f1; } +/* +Commented out temporarly .code { border: 1px dashed #3c78b5; font-size: 11px; @@ -85,16 +87,6 @@ pre { line-height: 13px; } -.focusedComment { -background: #ce; -} - -.commentBox, .focusedComment { -padding: 10px; -margin: 5px 0 5px 0; -border: 1px #bbb solid; -} - .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; @@ -108,6 +100,18 @@ pre { padding: 3px; } +*/ + +.focusedComment { +background: #ce; +} + +.commentBox, .focusedComment { +padding: 10px; +margin: 5px 0 5px 0; +border: 1px #bbb solid; +} + .preformatted { border: 1px dashed #3c78b5; font-size: 11px;
svn commit: r869815 - in /websites/production/struts/content: ./ development/ release/
Author: lukaszlenart Date: Wed Jul 17 08:43:26 2013 New Revision: 869815 Log: Push changes Added: websites/production/struts/content/ - copied from r869814, websites/staging/struts/trunk/content/ websites/production/struts/content/development/ - copied from r869814, websites/production/struts/content/development/ websites/production/struts/content/release/ - copied from r869814, websites/production/struts/content/release/
svn commit: r1504054 - /struts/site/trunk/src/etc/template.vm
Author: lukaszlenart Date: Wed Jul 17 08:47:58 2013 New Revision: 1504054 URL: http://svn.apache.org/r1504054 Log: Corrects small typo Modified: struts/site/trunk/src/etc/template.vm Modified: struts/site/trunk/src/etc/template.vm URL: http://svn.apache.org/viewvc/struts/site/trunk/src/etc/template.vm?rev=1504054&r1=1504053&r2=1504054&view=diff == --- struts/site/trunk/src/etc/template.vm (original) +++ struts/site/trunk/src/etc/template.vm Wed Jul 17 08:47:58 2013 @@ -36,8 +36,8 @@ under the License. } #if($page.hasCode) - - + + #foreach ($hscript in $page.CodeScripts)
svn commit: r869816 - /websites/staging/struts/trunk/content/
Author: buildbot Date: Wed Jul 17 08:49:26 2013 New Revision: 869816 Log: Staging update by buildbot for struts Modified: websites/staging/struts/trunk/content/ (props changed) Propchange: websites/staging/struts/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Wed Jul 17 08:49:26 2013 @@ -1 +1 @@ -1504051 +1504054
svn commit: r869817 [2/2] - in /websites/production/struts/content/development/2.x/docs: ./ apache-struts-pseudo-nightly-builds-on-apache-hudson.data/ chaining-interceptor.data/ coding-struts-2-action
Modified: websites/production/struts/content/development/2.x/docs/plugins.html == --- websites/production/struts/content/development/2.x/docs/plugins.html (original) +++ websites/production/struts/content/development/2.x/docs/plugins.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/release-notes-200.html == --- websites/production/struts/content/development/2.x/docs/release-notes-200.html (original) +++ websites/production/struts/content/development/2.x/docs/release-notes-200.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/requiredstringvalidator-annotation.html == --- websites/production/struts/content/development/2.x/docs/requiredstringvalidator-annotation.html (original) +++ websites/production/struts/content/development/2.x/docs/requiredstringvalidator-annotation.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/reset.html == --- websites/production/struts/content/development/2.x/docs/reset.html (original) +++ websites/production/struts/content/development/2.x/docs/reset.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/selecting-results.html == --- websites/production/struts/content/development/2.x/docs/selecting-results.html (original) +++ websites/production/struts/content/development/2.x/docs/selecting-results.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/servlet-config-interceptor.html == --- websites/production/struts/content/development/2.x/docs/servlet-config-interceptor.html (original) +++ websites/production/struts/content/development/2.x/docs/servlet-config-interceptor.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/skinning.html == --- websites/production/struts/content/development/2.x/docs/skinning.html (original) +++ websites/production/struts/content/development/2.x/docs/skinning.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/stringlengthfieldvalidator-annotation.html == --- websites/production/struts/content/development/2.x/docs/stringlengthfieldvalidator-annotation.html (original) +++ websites/production/struts/content/development/2.x/docs/stringlengthfieldvalidator-annotation.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/struts-defaultvm.html == --- websites/production/struts/content/development/2.x/docs/struts-defaultvm.html (original) +++ websites/production/struts/content/development/2.x/docs/struts-defaultvm.html Wed Jul 17 08:56:24 2013 @@ -34,8 +34,8 @@ under the License. color: #666; } - - + + Modified: websites/production/struts/content/development/2.x/docs/struts-defaultxml.html == --- websites/production/struts/content/development/2.x/do
svn commit: r869821 [16/43] - in /websites/production/struts/content/development/2.x/docs: ./ ajax-validation.data/ big-picture.data/ chaining-interceptor.data/ colophon.data/ config-browser-plugin.da
Added: websites/production/struts/content/development/2.x/docs/hello-world-using-struts-2.html == --- websites/production/struts/content/development/2.x/docs/hello-world-using-struts-2.html (added) +++ websites/production/struts/content/development/2.x/docs/hello-world-using-struts-2.html Wed Jul 17 09:31:08 2013 @@ -0,0 +1,366 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + +https://struts.apache.org/css/default.css";> + +.dp-highlighter { +width:95% !important; +} + + +.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; +} + + + + + + + + +SyntaxHighlighter.defaults['toolbar'] = false; +SyntaxHighlighter.all(); + + +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'; +} + +Hello World Using Struts 2 + + + + + + Home > Tutorials > Getting Started > How To Create A Struts 2 Web Application > Create Struts 2 Web Application With Artifacts In WEB-INF lib and Use Ant To Build The Application > Hello World Using Struts 2 + + +http://www.google.com/search"; method="get"> + + + + + + + + + + + + + + + +Apache Struts 2 Documentation +Hello World Using Struts 2 + + +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=14811871";> +https://cwiki.apache.org/confluence/images/icons/notep_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Edit Page"> +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=14811871";>Edit Page + +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";> +https://cwiki.apache.org/confluence/images/icons/browse_space.gif"; + height="16" width="16" border="0" align="absmiddle" title="Browse Space"> +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";>Browse Space + +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=14811871";> +https://cwiki.apache.org/confluence/images/icons/add_page_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add Page"> +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=14811871";>Add Page + +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=14811871";> +https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add News"> +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=14811871";>Add News + + + + + +When you click on a hyperlink or submit an HTML form in a Struts 2 web application, the input is not sent to another server page, but to a Java class that you provide. These classes are called Actions. After the Action fires, a Result selects a resource to render the response. The resou
svn commit: r869821 [34/43] - in /websites/production/struts/content/development/2.x/docs: ./ ajax-validation.data/ big-picture.data/ chaining-interceptor.data/ colophon.data/ config-browser-plugin.da
Added: websites/production/struts/content/development/2.x/docs/struts-2-portlet-tutorial.html == --- websites/production/struts/content/development/2.x/docs/struts-2-portlet-tutorial.html (added) +++ websites/production/struts/content/development/2.x/docs/struts-2-portlet-tutorial.html Wed Jul 17 09:31:08 2013 @@ -0,0 +1,714 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + +https://struts.apache.org/css/default.css";> + +.dp-highlighter { +width:95% !important; +} + + +.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; +} + + + + + + + +SyntaxHighlighter.defaults['toolbar'] = false; +SyntaxHighlighter.all(); + + +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'; +} + +Struts 2 Portlet Tutorial + + + + + + Home > Guides > Plugin Developers Guide > Portlet Plugin > Struts 2 Portlet Tutorial + + +http://www.google.com/search"; method="get"> + + + + + + + + + + + + + + + +Apache Struts 2 Documentation +Struts 2 Portlet Tutorial + + +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=71458";> +https://cwiki.apache.org/confluence/images/icons/notep_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Edit Page"> +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=71458";>Edit Page + +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";> +https://cwiki.apache.org/confluence/images/icons/browse_space.gif"; + height="16" width="16" border="0" align="absmiddle" title="Browse Space"> +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";>Browse Space + +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=71458";> +https://cwiki.apache.org/confluence/images/icons/add_page_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add Page"> +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=71458";>Add Page + +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=71458";> +https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add News"> +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=71458";>Add News + + + + + +Struts 2 Portlet Tutorial - Creating a simple Bookmark Portlet + +https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif"; width="16" height="16" alt="" border="0">Work in progressUsing version 2.1.1-SNAPSHOT of the portlet plugin + +https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"; width="16" height="16" alt="" border="0">Note that this tutorial assumes that you're familiar with basic Struts 2 web a
svn commit: r869821 [33/43] - in /websites/production/struts/content/development/2.x/docs: ./ ajax-validation.data/ big-picture.data/ chaining-interceptor.data/ colophon.data/ config-browser-plugin.da
Added: websites/production/struts/content/development/2.x/docs/struts-2-form-tags.html == --- websites/production/struts/content/development/2.x/docs/struts-2-form-tags.html (added) +++ websites/production/struts/content/development/2.x/docs/struts-2-form-tags.html Wed Jul 17 09:31:08 2013 @@ -0,0 +1,359 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + +https://struts.apache.org/css/default.css";> + +.dp-highlighter { +width:95% !important; +} + + +.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; +} + + + + + + + +SyntaxHighlighter.defaults['toolbar'] = false; +SyntaxHighlighter.all(); + + +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'; +} + +Struts 2 Form Tags + + + + + + Home > Tutorials > Getting Started > Struts 2 Form Tags + + +http://www.google.com/search"; method="get"> + + + + + + + + + + + + + + + +Apache Struts 2 Documentation +Struts 2 Form Tags + + +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=19300595";> +https://cwiki.apache.org/confluence/images/icons/notep_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Edit Page"> +https://cwiki.apache.org/confluence/pages/editpage.action?pageId=19300595";>Edit Page + +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";> +https://cwiki.apache.org/confluence/images/icons/browse_space.gif"; + height="16" width="16" border="0" align="absmiddle" title="Browse Space"> +https://cwiki.apache.org/confluence/pages/listpages.action?key=WW";>Browse Space + +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=19300595";> +https://cwiki.apache.org/confluence/images/icons/add_page_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add Page"> +https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=19300595";>Add Page + +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=19300595";> +https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif"; + height="16" width="16" border="0" align="absmiddle" title="Add News"> +https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=19300595";>Add News + + + + + +https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"; width="16" height="16" alt="" border="0">The example code for this tutorial, form_tags, can be checked out from https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/";>https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/. + +Introduction +In this tutorial we'll explore some of the other Struts 2 form controls. In our previous tutorials that explained how to use Struts 2 forms (Proc
svn commit: r869822 - in /websites/production/struts/content/development/2.x/docs: ./ ajax-validation.data/ apache-struts-pseudo-nightly-builds-on-apache-hudson.data/ big-picture.data/ coding-struts-2
Author: lukaszlenart Date: Wed Jul 17 09:51:00 2013 New Revision: 869822 Log: Updates draft docs [This commit notification would consist of 67 parts, which exceeds the limit of 50 ones, so it was shortened to the summary.]
svn commit: r1504064 - /struts/site/trunk/pom.xml
Author: lukaszlenart Date: Wed Jul 17 09:52:55 2013 New Revision: 1504064 URL: http://svn.apache.org/r1504064 Log: INFRA-6350 Adds -force argument Modified: struts/site/trunk/pom.xml Modified: struts/site/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/site/trunk/pom.xml?rev=1504064&r1=1504063&r2=1504064&view=diff == --- struts/site/trunk/pom.xml (original) +++ struts/site/trunk/pom.xml Wed Jul 17 09:52:55 2013 @@ -233,6 +233,7 @@ true org.apache.cxf.cwiki.SiteExporter +-force -d ${project.build.directory}/cwiki/WW -password
svn commit: r869823 - /websites/staging/struts/trunk/content/
Author: buildbot Date: Wed Jul 17 09:54:24 2013 New Revision: 869823 Log: Staging update by buildbot for struts Modified: websites/staging/struts/trunk/content/ (props changed) Propchange: websites/staging/struts/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Wed Jul 17 09:54:24 2013 @@ -1 +1 @@ -1504054 +1504064
svn commit: r1504126 - /struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp
Author: bphillips Date: Wed Jul 17 13:26:32 2013 New Revision: 1504126 URL: http://svn.apache.org/r1504126 Log: theme attribute must be on the s:form tag with a value of xhtml and then also on the s:checkboxlist tag with a value of KUTheme Modified: struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp Modified: struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp?rev=1504126&r1=1504125&r2=1504126&view=diff == --- struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp (original) +++ struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp Wed Jul 17 13:26:32 2013 @@ -14,14 +14,14 @@ Use the form below to edit your information. - + - +
svn commit: r1504157 - /struts/struts2/trunk/pom.xml
Author: bphillips Date: Wed Jul 17 14:43:03 2013 New Revision: 1504157 URL: http://svn.apache.org/r1504157 Log: WW-4127 - updated version of commons-io from 2.0.1 to 2.2 to match commons-fileuploa's cross dependency on commons-io 2.2 Modified: struts/struts2/trunk/pom.xml Modified: struts/struts2/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/pom.xml?rev=1504157&r1=1504156&r2=1504157&view=diff == --- struts/struts2/trunk/pom.xml (original) +++ struts/struts2/trunk/pom.xml Wed Jul 17 14:43:03 2013 @@ -660,7 +660,7 @@ commons-io commons-io -2.0.1 +2.2 org.apache.commons
svn commit: r1504168 - /struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java
Author: bphillips Date: Wed Jul 17 15:11:41 2013 New Revision: 1504168 URL: http://svn.apache.org/r1504168 Log: WW-4126 - changed logic of is statement so that every element in the Object array is compared to null Modified: struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java Modified: struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java?rev=1504168&r1=1504167&r2=1504168&view=diff == --- struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java (original) +++ struts/struts2/trunk/plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELSupport.java Wed Jul 17 15:11:41 2013 @@ -382,7 +382,7 @@ public class ELSupport { */ public final static boolean containsNulls(final Object[] obj) { for (int i = 0; i < obj.length; i++) { -if (obj[0] == null) { +if (obj[i] == null) { return true; } }
svn commit: r1504262 - in /struts/sandbox/trunk/struts2examples: ./ restful2actionmapper/ restful2actionmapper/src/ restful2actionmapper/src/main/ restful2actionmapper/src/main/java/ restful2actionmap
Author: bphillips Date: Wed Jul 17 20:20:00 2013 New Revision: 1504262 URL: http://svn.apache.org/r1504262 Log: initial commit of example application that shows how to use REST style URLs with Struts 2 Added: struts/sandbox/trunk/struts2examples/restful2actionmapper/ (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/README.txt struts/sandbox/trunk/struts2examples/restful2actionmapper/pom.xml struts/sandbox/trunk/struts2examples/restful2actionmapper/src/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/apache/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/apache/struts/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/apache/struts/example/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/apache/struts/example/MovieAction.java struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/resources/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/resources/log4j.dtd (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/resources/log4j.xml (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/resources/struts.xml (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/webapp/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/webapp/WEB-INF/ struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/webapp/WEB-INF/web.xml (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/webapp/index.jsp (with props) struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/webapp/movie.jsp Modified: struts/sandbox/trunk/struts2examples/pom.xml Modified: struts/sandbox/trunk/struts2examples/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/pom.xml?rev=1504262&r1=1504261&r2=1504262&view=diff == --- struts/sandbox/trunk/struts2examples/pom.xml (original) +++ struts/sandbox/trunk/struts2examples/pom.xml Wed Jul 17 20:20:00 2013 @@ -50,6 +50,7 @@ http_session preparable_interface exclude_parameters +restful2actionmapper Propchange: struts/sandbox/trunk/struts2examples/restful2actionmapper/ -- --- svn:ignore (added) +++ svn:ignore Wed Jul 17 20:20:00 2013 @@ -0,0 +1,4 @@ +target +.classpath +.project +.settings Added: struts/sandbox/trunk/struts2examples/restful2actionmapper/README.txt URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/restful2actionmapper/README.txt?rev=1504262&view=auto == --- struts/sandbox/trunk/struts2examples/restful2actionmapper/README.txt (added) +++ struts/sandbox/trunk/struts2examples/restful2actionmapper/README.txt Wed Jul 17 20:20:00 2013 @@ -0,0 +1,16 @@ +This is the example project referred to in the +Struts 2 documentation, REST Style URL tutorial. +See: http://struts.apache.org. + +To build the application's war file run mvn clean package +from the project's root folder. + +The war file is created in the target sub-folder. + +Copy the war file to your Servlet container (e.g. Tomcat, GlassFish) and +then startup the Servlet container. + +In a web browser go to: http://localhost:8080/reststyleactionmapper/ + +You should see a web page with Welcome to Struts 2. + Added: struts/sandbox/trunk/struts2examples/restful2actionmapper/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/restful2actionmapper/pom.xml?rev=1504262&view=auto == --- struts/sandbox/trunk/struts2examples/restful2actionmapper/pom.xml (added) +++ struts/sandbox/trunk/struts2examples/restful2actionmapper/pom.xml Wed Jul 17 20:20:00 2013 @@ -0,0 +1,20 @@ + +http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"; xmlns="http://maven.apache.org/POM/4.0.0"; +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> + 4.0.0 + +struts.apache.org +struts2examples +1.0.0 + + + restful2actionmapper + war + REST to Action Mapper Example Application + Example of using Rest style URLs for + Struts 2 Getting Started tutorials + + reststyleactionmapper + + + Added: struts/sandbox/trunk/struts2examples/restful2actionmapper/src/main/java/org/apache/struts/example/MovieAction.java URL: http://svn.apache.org/viewvc/str
[CONF] Confluence Changes in the last 24 hours
Apache Camel Pages Page: Stream caching edited by Claus Ibsen[04:59 PM] (view changes) Page: Camel 2.12.0 Release edited by Claus Ibsen[04:17 PM] (view changes) Page: Advanced configuration of CamelContext using Spring edited by Claus Ibsen[03:07 PM] (view changes) Page: LevelDB created by Claus Ibsen[08:16 AM] Page: Aggregator2 edited by Claus Ibsen[08:19 AM] (view changes) Page: Aggregate Example edited by Claus Ibsen[08:18 AM] (view changes) Page: Articles edited by Tracy Snell[03:54 AM] (view changes) Blog post: Apache Camel 2.11.1 Released created by Hadrian Zbarcea[02:29 AM] Page: Xml Reference edited by Hadrian Zbarcea[02:22 AM] (view changes) Apache Cloudstack Pages Page: Apache CloudStack Weekly News - 17 July 2013 created by Joe Brockmeier[03:47 PM] Page: Setting up CloudStack Development Environment on Linux edited by Donal Lafferty[03:40 PM] (view changes) Page: LDAP implementation improvement and user provisioning edited by Ian Duffy[03:23 PM] (view changes) Page: Student Projects edited by Ian Duffy[03:07 PM] (view changes) Page: Scaling-up CPUand RAM for running VMs edited by prashant kumar mishra[12:45 PM] (view changes) Page: VM deployment through cloud engine 2nd cycle created by angie shen[03:42 AM] Page: Feature Proposal - Linux native VXLAN support on KVM hypervisor edited by Toshiaki Hatano[03:10 AM] (view changes) Community Development Pages Page: Proposal For Tuscany - Akhil Anil edited by Akhil Anil[04:56 PM] (view changes) Page: Test Document Generator or Permutator for Apache OpenOffice created by Sony Cyriac[05:37 AM] Page: Proposal for implementation of ocr and t