[struts] branch master updated (054f1f4cd -> 5a30cdbed)

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


from 054f1f4cd Includes apps in code Coverage scan
 add 4bb81d590 WW-5255 Fixes  and  and uses them across 
tags
 add 4a585347e WW-5255 Fixes debug console and validators' details page
 new 5a30cdbed Merge pull request #629 from apache/WW-5255-script-link

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/webapp/WEB-INF/decorators/main.jsp|  19 +-
 .../struts2/interceptor/debugging/console.ftl  |   8 +-
 .../src/main/resources/template/css_xhtml/head.ftl |   2 +-
 .../main/resources/template/simple/combobox.ftl|  14 +-
 core/src/main/resources/template/simple/debug.ftl  |  16 +-
 .../resources/template/simple/doubleselect.ftl |   4 +-
 .../template/simple/form-close-tooltips.ftl|  11 +-
 .../main/resources/template/simple/form-close.ftl  |   4 +-
 core/src/main/resources/template/simple/head.ftl   |   2 +-
 .../template/simple/inputtransferselect.ftl|   2 +-
 core/src/main/resources/template/simple/link.ftl   |  47 +-
 core/src/main/resources/template/simple/nonce.ftl  |   4 +-
 .../template/simple/optiontransferselect.ftl   |   2 +-
 core/src/main/resources/template/simple/script.ftl |  33 +-
 .../resources/template/simple/updownselect.ftl |   4 +-
 .../template/xhtml/form-close-validate.ftl |   8 +-
 .../main/resources/template/xhtml/form-close.ftl   |   4 +-
 .../resources/template/xhtml/form-validate.ftl |   2 +-
 core/src/main/resources/template/xhtml/head.ftl|   2 +-
 core/src/main/resources/template/xhtml/link.ftl|  21 -
 core/src/main/resources/template/xhtml/script.ftl  |  21 -
 .../freemarker/FreemarkerResultMockedTest.java |   3 +-
 .../apache/struts2/views/jsp/ui/LinkTagTest.java   |   6 +-
 .../views/freemarker/callActionFreeMarker.ftl  |   4 +-
 .../views/freemarker/callActionFreeMarker2.ftl |   4 +-
 .../struts2/views/freemarker/customTextField.ftl   |   2 -
 .../struts2/views/freemarker/dynaAttributes.ftl|   2 -
 .../views/freemarker/incompatible-improvements.ftl |   4 +-
 .../struts2/views/freemarker/manual-list.ftl   |   2 -
 .../org/apache/struts2/views/freemarker/nested.ftl |   4 +-
 .../apache/struts2/views/freemarker/nonceTest.ftl  |   2 -
 .../apache/struts2/views/freemarker/something.ftl  |   2 -
 .../apache/struts2/views/jsp/ui/HeadTagTest-1.txt  |   4 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-1.txt  |   2 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-2.txt  |   4 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-3.txt  |   2 +-
 .../resources/config-browser/config-styles.css | 812 -
 .../resources/config-browser/config-styles.ftl | 710 ++
 .../main/resources/config-browser/page-header.ftl  |  10 +-
 .../resources/config-browser/showValidators.ftl|  34 +-
 .../resources/config-browser/validatorDetails.ftl  |   8 +-
 41 files changed, 853 insertions(+), 998 deletions(-)
 delete mode 100644 core/src/main/resources/template/xhtml/link.ftl
 delete mode 100644 core/src/main/resources/template/xhtml/script.ftl
 delete mode 100644 
plugins/config-browser/src/main/resources/config-browser/config-styles.css
 create mode 100644 
plugins/config-browser/src/main/resources/config-browser/config-styles.ftl



[struts] 01/01: Merge pull request #629 from apache/WW-5255-script-link

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 5a30cdbede0f68f24be6f2656d4c2e5aca6dcef8
Merge: 054f1f4cd 4a585347e
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 08:28:57 2022 +0100

Merge pull request #629 from apache/WW-5255-script-link

[WW-5255] Fixes  and  and uses them across tags

 .../src/main/webapp/WEB-INF/decorators/main.jsp|  19 +-
 .../struts2/interceptor/debugging/console.ftl  |   8 +-
 .../src/main/resources/template/css_xhtml/head.ftl |   2 +-
 .../main/resources/template/simple/combobox.ftl|  14 +-
 core/src/main/resources/template/simple/debug.ftl  |  16 +-
 .../resources/template/simple/doubleselect.ftl |   4 +-
 .../template/simple/form-close-tooltips.ftl|  11 +-
 .../main/resources/template/simple/form-close.ftl  |   4 +-
 core/src/main/resources/template/simple/head.ftl   |   2 +-
 .../template/simple/inputtransferselect.ftl|   2 +-
 core/src/main/resources/template/simple/link.ftl   |  47 +-
 core/src/main/resources/template/simple/nonce.ftl  |   4 +-
 .../template/simple/optiontransferselect.ftl   |   2 +-
 core/src/main/resources/template/simple/script.ftl |  33 +-
 .../resources/template/simple/updownselect.ftl |   4 +-
 .../template/xhtml/form-close-validate.ftl |   8 +-
 .../main/resources/template/xhtml/form-close.ftl   |   4 +-
 .../resources/template/xhtml/form-validate.ftl |   2 +-
 core/src/main/resources/template/xhtml/head.ftl|   2 +-
 core/src/main/resources/template/xhtml/link.ftl|  21 -
 core/src/main/resources/template/xhtml/script.ftl  |  21 -
 .../freemarker/FreemarkerResultMockedTest.java |   3 +-
 .../apache/struts2/views/jsp/ui/LinkTagTest.java   |   6 +-
 .../views/freemarker/callActionFreeMarker.ftl  |   4 +-
 .../views/freemarker/callActionFreeMarker2.ftl |   4 +-
 .../struts2/views/freemarker/customTextField.ftl   |   2 -
 .../struts2/views/freemarker/dynaAttributes.ftl|   2 -
 .../views/freemarker/incompatible-improvements.ftl |   4 +-
 .../struts2/views/freemarker/manual-list.ftl   |   2 -
 .../org/apache/struts2/views/freemarker/nested.ftl |   4 +-
 .../apache/struts2/views/freemarker/nonceTest.ftl  |   2 -
 .../apache/struts2/views/freemarker/something.ftl  |   2 -
 .../apache/struts2/views/jsp/ui/HeadTagTest-1.txt  |   4 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-1.txt  |   2 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-2.txt  |   4 +-
 .../org/apache/struts2/views/jsp/ui/tooltip-3.txt  |   2 +-
 .../resources/config-browser/config-styles.css | 812 -
 .../resources/config-browser/config-styles.ftl | 710 ++
 .../main/resources/config-browser/page-header.ftl  |  10 +-
 .../resources/config-browser/showValidators.ftl|  34 +-
 .../resources/config-browser/validatorDetails.ftl  |   8 +-
 41 files changed, 853 insertions(+), 998 deletions(-)



[struts] branch WW-5240-doubleselect created (now ac168968a)

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch WW-5240-doubleselect
in repository https://gitbox.apache.org/repos/asf/struts.git


  at ac168968a WW-5240 Uses doubleOn* attributes in the template This 
allows assign custom JS event handlers to the second select box

This branch includes the following new commits:

 new ac168968a WW-5240 Uses doubleOn* attributes in the template This 
allows assign custom JS event handlers to the second select box

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[struts] 01/01: WW-5240 Uses doubleOn* attributes in the template This allows assign custom JS event handlers to the second select box

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5240-doubleselect
in repository https://gitbox.apache.org/repos/asf/struts.git

commit ac168968a02d043ac6c36b7966ac501b0a04b1a8
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 08:31:46 2022 +0100

WW-5240 Uses doubleOn* attributes in the template
This allows assign custom JS event handlers to the second select box
---
 .../resources/template/simple/doubleselect.ftl |  85 ++--
 core/src/main/resources/template/simple/select.ftl |   6 +-
 .../struts2/views/jsp/ui/DoubleSelectTest.java | 233 +
 .../apache/struts2/views/jsp/ui/DoubleSelect-6.txt |  42 
 4 files changed, 299 insertions(+), 67 deletions(-)

diff --git a/core/src/main/resources/template/simple/doubleselect.ftl 
b/core/src/main/resources/template/simple/doubleselect.ftl
index 674680ef1..2a87e30f5 100644
--- a/core/src/main/resources/template/simple/doubleselect.ftl
+++ b/core/src/main/resources/template/simple/doubleselect.ftl
@@ -20,58 +20,99 @@
 -->
 <#global dynamic_attributes_ignore = "second-"/>
 <#include "/${parameters.templateDir}/simple/select.ftl" />
-<#assign startCount = 0/>
+<#assign startCount = 0/><#rt/>
 <#if parameters.headerKey?? && parameters.headerValue??>
-<#assign startCount = startCount + 1/>
+<#assign startCount = startCount + 1/><#rt/>
 
 <#if parameters.emptyOption??>
-<#assign startCount = startCount + 1/>
+<#assign startCount = startCount + 1/><#rt/>
 
-
 
 
-name="${(parameters.doubleName!"")}"<#rt/>
+ name="${(parameters.doubleName!"")}"<#rt/>
 <#if parameters.disabled!false>
-disabled="disabled"<#rt/>
+ disabled="disabled"<#rt/>
 
 <#if parameters.doubleTabindex?has_content>
-tabindex="${parameters.doubleTabindex}"<#rt/>
+ tabindex="${parameters.doubleTabindex}"<#rt/>
 
 <#if parameters.doubleId?has_content>
-id="${parameters.doubleId}"<#rt/>
+ id="${parameters.doubleId}"<#rt/>
 
 <#if parameters.doubleCss?has_content>
-class="${parameters.doubleCss}"<#rt/>
+ class="${parameters.doubleCss}"<#rt/>
 
 <#if parameters.doubleStyle?has_content>
-style="${parameters.doubleStyle}"<#rt/>
+ style="${parameters.doubleStyle}"<#rt/>
 
 <#if parameters.title?has_content>
-title="${parameters.title}"<#rt/>
+ title="${parameters.title}"<#rt/>
 
 <#if parameters.multiple!false>
-multiple="multiple"<#rt/>
+ multiple="multiple"<#rt/>
 
 <#if parameters.get("doubleSize")?has_content>
-size="${parameters.get("doubleSize")}"<#rt/>
+ size="${parameters.get("doubleSize")}"<#rt/>
 
 <#if parameters.doubleMultiple!false>
-multiple="multiple"<#rt/>
+ multiple="multiple"<#rt/>
 
 <#if parameters.doubleDisabled!false>
-disabled="disabled"<#rt/>
+ disabled="disabled"<#rt/>
+
+<#if parameters.doubleOnclick??>
+ onclick="<#outputformat 
'JavaScript'>${parameters.doubleOnclick}"<#rt/>
+
+<#if parameters.doubleOndblclick??>
+ ondblclick="<#outputformat 
'JavaScript'>${parameters.doubleOndblclick}"<#rt/>
+
+<#if parameters.doubleOnmousedown??>
+ onmousedown="<#outputformat 
'JavaScript'>${parameters.doubleOnmousedown}"<#rt/>
+
+<#if parameters.doubleOnmouseup??>
+ onmouseup="<#outputformat 
'JavaScript'>${parameters.doubleOnmouseup}"<#rt/>
+
+<#if parameters.doubleOnmouseover??>
+ onmouseover="<#outputformat 
'JavaScript'>${parameters.doubleOnmouseover}"<#rt/>
+
+<#if parameters.doubleOnmousemove??>
+ onmousemove="<#outputformat 
'JavaScript'>${parameters.doubleOnmousemove}"<#rt/>
+
+<#if parameters.doubleOnmouseout??>
+ onmouseout="<#outputformat 
'JavaScript'>${parameters.doubleOnmouseout}"<#rt/>
+
+<#if parameters.doubleOnfocus??>
+ onfocus="<#outputformat 
'JavaScript'>${parameters.doubleOnfocus}"<#rt/>
+
+<#if parameters.doubleOnblur??>
+ onblur="<#outputformat 
'JavaScript'>${parameters.doubleOnblur}"<#rt/>
+
+<#if parameters.doubleOnkeypress??>
+ onkeypress="<#outputformat 
'JavaScript'>${parameters.doubleOnkeypress}"<#rt/>
+
+<#if parameters.doubleOnkeydown??>
+ onkeydown="<#outputformat 
'JavaScript'>${parameters.doubleOnkeydown}"<#rt/>
+
+<#if parameters.doubleOnkeyup??>
+ onkeyup="<#outputformat 
'JavaScript'>${parameters.doubleOnkeyup}"<#rt/>
+
+<#if parameters.doubleOnselect??>
+ onselect="<#outputformat 
'JavaScript'>${parameters.doubleOnselect}"<#rt/>
+
+<#if parameters.doubleOnchange??>
+ onchange="<#outputformat 
'JavaScript'>${parameters.doubleOnchange}"<#rt/>
 
 <#include 
"/${parameters.templateDir}/${parameters.expandTheme}/prefixed-dynamic-attributes.ftl"
 />
 <@prefixedDynamicAttributes prefix="second-"/>
->
+>
 
 <#if parameters.doubleMultiple!false>
-
-<#if parameters.doubleDisabled!false>
-   disabled="disabled"<#rt/>
-
-/>
+
+ name="__multiselect_${(parameters.doubleName!"")}" value=""<#rt/>
+<#if parameters.doubleDisabled!false>
+ disabled="disabled"<#rt/>
+
+/><#rt/>
 
 <@s.script type="text/javascript">
 <#assign itemCount = startCount/>

[struts] branch WW-5257-checkbox created (now dba97a8e1)

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch WW-5257-checkbox
in repository https://gitbox.apache.org/repos/asf/struts.git


  at dba97a8e1 WW-5257 Cleans up template

This branch includes the following new commits:

 new dba97a8e1 WW-5257 Cleans up template

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[struts] 01/01: WW-5257 Cleans up template

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5257-checkbox
in repository https://gitbox.apache.org/repos/asf/struts.git

commit dba97a8e1de90c653d1c03ccecea94b2d5af96ac
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 08:32:35 2022 +0100

WW-5257 Cleans up template
---
 .../main/resources/template/simple/checkbox.ftl|  2 +-
 .../src/main/resources/template/xhtml/checkbox.ftl |  5 +--
 .../struts2/views/jsp/AbstractUITagTest.java   | 44 --
 .../apache/struts2/views/jsp/ui/CheckboxTest.java  |  7 
 .../apache/struts2/views/jsp/ui/DoubleSelect-5.txt |  2 +-
 5 files changed, 28 insertions(+), 32 deletions(-)

diff --git a/core/src/main/resources/template/simple/checkbox.ftl 
b/core/src/main/resources/template/simple/checkbox.ftl
index 54507d90a..a2295065e 100644
--- a/core/src/main/resources/template/simple/checkbox.ftl
+++ b/core/src/main/resources/template/simple/checkbox.ftl
@@ -45,4 +45,4 @@
  disabled="disabled"<#rt/>
 
  />
-
\ No newline at end of file
+
diff --git a/core/src/main/resources/template/xhtml/checkbox.ftl 
b/core/src/main/resources/template/xhtml/checkbox.ftl
index 2ec63e0c8..1471a43f1 100644
--- a/core/src/main/resources/template/xhtml/checkbox.ftl
+++ b/core/src/main/resources/template/xhtml/checkbox.ftl
@@ -106,12 +106,11 @@ ${parameters.label}<#t/>
 
 
 
-
 <#if (labelPos!"") != 'top'>
  <#include "/${parameters.templateDir}/simple/checkbox.ftl" />
 
 <#if (labelPos!"") != 'top' && (labelPos!"") != 'left'>
-<#if parameters.label??> 
+<#if parameters.label??>
 <#if parameters.id??>
  for="${parameters.id}"<#rt/>
 
@@ -124,4 +123,4 @@ ${parameters.label}<#t/>
 
 
 
- <#include 
"/${parameters.templateDir}/${parameters.expandTheme}/controlfooter.ftl" 
/><#nt/>
+<#include 
"/${parameters.templateDir}/${parameters.expandTheme}/controlfooter.ftl" 
/><#nt/>
diff --git 
a/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java 
b/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
index c0fad07bd..3b0c571fb 100644
--- a/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
+++ b/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
@@ -19,22 +19,23 @@
 package org.apache.struts2.views.jsp;
 
 import com.opensymphony.xwork2.ActionContext;
-import org.apache.logging.log4j.Logger;
-import org.apache.logging.log4j.LogManager;
 import org.apache.commons.beanutils.BeanUtils;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
 import org.apache.struts2.ServletActionContext;
 import org.apache.struts2.dispatcher.mapper.ActionMapper;
 import org.apache.struts2.dispatcher.mapper.DefaultActionMapper;
 import org.apache.struts2.views.jsp.ui.AbstractUITag;
 
 import java.io.InputStream;
-import java.lang.reflect.InvocationTargetException;
 import java.net.URL;
-import java.util.*;
-
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.StringTokenizer;
 
-/**
- */
 public abstract class AbstractUITagTest extends AbstractTagTest {
 
 private static final Logger LOG = 
LogManager.getLogger(AbstractUITagTest.class);
@@ -47,7 +48,7 @@ public abstract class AbstractUITagTest extends 
AbstractTagTest {
  *
  * @author mailto:gie...@it-neering.net";>Rene Gielen
  */
-public class PropertyHolder {
+public static class PropertyHolder {
 String name, value, expectation;
 
 public String getName() {
@@ -111,18 +112,16 @@ public abstract class AbstractUITagTest extends 
AbstractTagTest {
  * subclasses.
  *
  * @return A Map of PropertyHolders values bound to {@link 
org.apache.struts2.views.jsp.AbstractUITagTest.PropertyHolder#getName()}
- * as key.
+ * as key.
  */
 protected Map 
initializedGenericTagTestProperties() {
-Map result = new HashMap();
+Map result = new HashMap<>();
 new PropertyHolder("name", "someName").addToMap(result);
 new PropertyHolder("id", "someId").addToMap(result);
 new PropertyHolder("cssClass", "cssClass1", 
"class=\"cssClass1\"").addToMap(result);
 new PropertyHolder("cssStyle", "cssStyle1", 
"style=\"cssStyle1\"").addToMap(result);
 new PropertyHolder("title", "someTitle").addToMap(result);
 new PropertyHolder("disabled", "true", 
"disabled=\"disabled\"").addToMap(result);
-//new PropertyHolder("label", "label", 
"label=\"label\"").addToMap(result);
-//new PropertyHolder("required", "someTitle").addToMap(result);
 new PropertyHolder("tabindex", "99").addToMap(result);
 new PropertyHolder("value", "someValue").addToMap(result);
 new PropertyHolder("onclick", "onclick1").addToMap(result);
@@ -155,11 +154,11 @@ public abstract class AbstractUITagTest extends 
AbstractTagTest {
  */
 public void verifyGenericP

[struts] branch WW-5258-annotations created (now 927c58b7d)

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch WW-5258-annotations
in repository https://gitbox.apache.org/repos/asf/struts.git


  at 927c58b7d WW-5258 Upgrades Struts Annotations to version 1.0.8

This branch includes the following new commits:

 new 927c58b7d WW-5258 Upgrades Struts Annotations to version 1.0.8

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[struts-site] branch WW-5254-async created (now 983e6b52c)

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch WW-5254-async
in repository https://gitbox.apache.org/repos/asf/struts-site.git


  at 983e6b52c WW-5254 Adds description about the Async plugin

This branch includes the following new commits:

 new 983e6b52c WW-5254 Adds description about the Async plugin

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[struts-site] 01/01: WW-5254 Adds description about the Async plugin

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5254-async
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 983e6b52c263a3a64c4eea74128a88dc7b5fe19a
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 14:59:55 2022 +0100

WW-5254 Adds description about the Async plugin
---
 source/plugins/async/index.md   | 128 +++
 source/plugins/bean-validation/index.md |  96 +++-
 source/plugins/cdi/index.md |  21 +-
 source/plugins/codebehind/index.md  |   4 +
 source/plugins/config-browser/index.md  |  25 ---
 source/plugins/convention/index.md  |   3 +
 source/plugins/dwr/index.md |  18 +++--
 source/plugins/embedded-jsp/index.md|   7 ++
 source/plugins/index.md |   3 +-
 source/plugins/jasperreports/index.md   | 129 
 source/plugins/java-8-support/index.md  |  14 +++-
 source/plugins/javatemplates/index.md   |  45 ++-
 source/plugins/jfreechart/index.md  |   9 +++
 source/plugins/jsf/index.md |   9 +++
 source/plugins/json/index.md|   3 +
 source/plugins/junit/index.md   |   3 +
 source/plugins/osgi/index.md|   7 ++
 source/plugins/oval/index.md|   7 ++
 source/plugins/plexus/index.md  |   7 ++
 source/plugins/portlet-tiles/index.md   |   7 ++
 source/plugins/portlet/index.md |   7 ++
 source/plugins/rest/index.md|   3 +
 source/plugins/sitegraph/index.md   | 123 +-
 source/plugins/sitemesh/index.md|  42 +--
 source/plugins/spring/index.md  |  99 ++--
 source/plugins/struts-1/index.md|   8 ++
 source/plugins/testng/index.md  |  10 ++-
 source/plugins/tiles-3/index.md |  12 ++-
 source/plugins/tiles/index.md   |   3 +
 29 files changed, 543 insertions(+), 309 deletions(-)

diff --git a/source/plugins/async/index.md b/source/plugins/async/index.md
new file mode 100644
index 0..82954b4a1
--- /dev/null
+++ b/source/plugins/async/index.md
@@ -0,0 +1,128 @@
+---
+layout: plugin
+title: Async Plugin
+parent:
+  url: index.html
+  title: Plugins
+---
+
+# Async Plugin
+{:.no_toc}
+
+* Will be replaced with the ToC, excluding a header
+{:toc}
+
+## Description
+
+The Async plugin allows to implement actions as using
+an [Asynchronous 
Processing](https://docs.oracle.com/javaee/7/tutorial/servlets012.htm)
+available as from Servlet API 3. It's a thin layer over the Servlet async 
layer.
+
+## Simple usage
+
+The example code below shows how to implement and use async actions. Please 
check an async action example
+in our [Showcase 
app](https://github.com/apache/struts/tree/master/apps/showcase/src/main/java/org/apache/struts2/showcase/async).
+
+**Action**
+
+```java
+public class AsyncAction {
+
+public Callable execute() throws InterruptedException {
+return new Callable() {
+@Override
+public String call() throws Exception {
+waitForEvent();
+return "success";
+}
+};
+}
+
+private void waitForEvent() throws InterruptedException {
+Thread.sleep(4);
+}
+}
+```
+
+**struts.xml**
+
+```xml
+
+
+
+```
+
+**web.xml**
+
+You must define the Struts Servlet to allow support Async actions.
+
+```xml
+
+strutsServlet
+
org.apache.struts2.dispatcher.servlet.StrutsServlet
+1
+true
+
+
+
+strutsServlet
+/
+
+```
+
+## Customize timeout
+
+**Action**
+
+```java
+public class AsyncAction {
+
+public Callable execute() throws InterruptedException {
+return new AsyncAction(6/*timeout*/, new Callable() {
+@Override
+public String call() throws Exception {
+waitForEvent();
+return "success";
+}
+});
+}
+
+private void waitForEvent() throws InterruptedException {
+Thread.sleep(4);
+}
+}
+```
+
+## Serializing multiple async tasks
+
+**Action**
+
+```java
+public class AsyncAction {
+
+public Callable execute() throws InterruptedException {
+return new Callable() {
+@Override
+public String call() throws Exception {
+waitForEvent1();
+return new Callable() {
+
+@Override
+public String call() throws Exception {
+waitForEvent2();
+return "success";
+}
+};
+}
+};
+}
+
+private void waitForEvent1() throws InterruptedException {
+Thread.sleep(4);
+}
+
+private void waitForEvent2() throws InterruptedException {
+Thread.sleep(4);
+}
+}
+```
diff --git a/source/plugins/bean-validation/index.md 
b/source/plugins/bean-val

[struts-site] branch WW-5254-async updated: Ignores .rvm/ directory

2022-11-05 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5254-async
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/WW-5254-async by this push:
 new 36076555c Ignores .rvm/ directory
36076555c is described below

commit 36076555c9dcfe32f3d2868502a01364bc225b3e
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 15:25:23 2022 +0100

Ignores .rvm/ directory
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 5aa5ce38d..94afaf573 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ target
 _site
 .project
 .settings/
+.rvm/



[struts-site] branch asf-staging updated (f8a48129a -> 1bbd9b444)

2022-11-05 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


from f8a48129a Updates stage by Jenkins
 new f86663fd3 Updates stage by Jenkins
 new 1bbd9b444 Updates stage by Jenkins

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/core-developers/default-properties.html |   3 +
 content/core-developers/interceptors.html   |   5 +
 content/core-developers/struts-default-xml.html |   5 +
 content/plugins/async/index.html| 290 
 content/plugins/bean-validation/index.html  | 101 +
 content/plugins/cdi/index.html  |  25 +-
 content/plugins/codebehind/index.html   |  13 +-
 content/plugins/config-browser/index.html   |  32 ++-
 content/plugins/convention/index.html   |   2 +-
 content/plugins/dwr/index.html  |  23 +-
 content/plugins/embedded-jsp/index.html |  17 +-
 content/plugins/index.html  |   5 +
 content/plugins/jasperreports/index.html| 127 +--
 content/plugins/java-8-support/index.html   |  18 +-
 content/plugins/javatemplates/index.html|  48 ++--
 content/plugins/jfreechart/index.html   |  20 +-
 content/plugins/jsf/index.html  |  18 +-
 content/plugins/json/index.html |   2 +-
 content/plugins/junit/index.html|   2 +-
 content/plugins/osgi/index.html |  22 +-
 content/plugins/oval/index.html |  17 +-
 content/plugins/plexus/index.html   |  14 +-
 content/plugins/portlet-tiles/index.html|  10 +-
 content/plugins/portlet/index.html  |  21 +-
 content/plugins/rest/index.html |   2 +-
 content/plugins/sitegraph/index.html| 132 +--
 content/plugins/sitemesh/index.html |  60 +++--
 content/plugins/spring/index.html   | 111 +
 content/plugins/struts-1/index.html |  14 +-
 content/plugins/testng/index.html   |  17 +-
 content/plugins/tiles-3/index.html  |  17 +-
 content/plugins/tiles/index.html|   2 +-
 content/tag-developers/css-xhtml-theme.html |   2 +-
 content/tag-developers/simple-theme.html|   2 +-
 content/tag-developers/xhtml-theme.html |  10 +-
 35 files changed, 855 insertions(+), 354 deletions(-)
 create mode 100644 content/plugins/async/index.html



[struts-site] 02/02: Updates stage by Jenkins

2022-11-05 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 1bbd9b444a46b7c5c8ef91a7b296dc8728b1ca11
Author: jenkins 
AuthorDate: Sat Nov 5 16:38:17 2022 +

Updates stage by Jenkins



[struts-site] 01/02: Updates stage by Jenkins

2022-11-05 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit f86663fd386bfe81d0f9407f8ea9dc721a9b269f
Author: jenkins 
AuthorDate: Sat Nov 5 14:06:40 2022 +

Updates stage by Jenkins
---
 content/core-developers/default-properties.html |   3 +
 content/core-developers/interceptors.html   |   5 +
 content/core-developers/struts-default-xml.html |   5 +
 content/plugins/async/index.html| 290 
 content/plugins/bean-validation/index.html  | 101 +
 content/plugins/cdi/index.html  |  25 +-
 content/plugins/codebehind/index.html   |  13 +-
 content/plugins/config-browser/index.html   |  32 ++-
 content/plugins/convention/index.html   |   2 +-
 content/plugins/dwr/index.html  |  23 +-
 content/plugins/embedded-jsp/index.html |  17 +-
 content/plugins/index.html  |   5 +
 content/plugins/jasperreports/index.html| 127 +--
 content/plugins/java-8-support/index.html   |  18 +-
 content/plugins/javatemplates/index.html|  48 ++--
 content/plugins/jfreechart/index.html   |  20 +-
 content/plugins/jsf/index.html  |  18 +-
 content/plugins/json/index.html |   2 +-
 content/plugins/junit/index.html|   2 +-
 content/plugins/osgi/index.html |  22 +-
 content/plugins/oval/index.html |  17 +-
 content/plugins/plexus/index.html   |  14 +-
 content/plugins/portlet-tiles/index.html|  10 +-
 content/plugins/portlet/index.html  |  21 +-
 content/plugins/rest/index.html |   2 +-
 content/plugins/sitegraph/index.html| 132 +--
 content/plugins/sitemesh/index.html |  60 +++--
 content/plugins/spring/index.html   | 111 +
 content/plugins/struts-1/index.html |  14 +-
 content/plugins/testng/index.html   |  17 +-
 content/plugins/tiles-3/index.html  |  17 +-
 content/plugins/tiles/index.html|   2 +-
 content/tag-developers/css-xhtml-theme.html |   2 +-
 content/tag-developers/simple-theme.html|   2 +-
 content/tag-developers/xhtml-theme.html |  10 +-
 35 files changed, 855 insertions(+), 354 deletions(-)

diff --git a/content/core-developers/default-properties.html 
b/content/core-developers/default-properties.html
index d8e2758be..741a47f39 100644
--- a/content/core-developers/default-properties.html
+++ b/content/core-developers/default-properties.html
@@ -424,6 +424,9 @@ struts.ognl.expressionMaxLength=256
 ### These formatters are using a slightly different patterns, please check 
JavaDocs of both and more details is in WW-5016
 struts.date.formatter=dateTimeFormatter
 
+struts.url.encoder=strutsUrlEncoder
+struts.url.decoder=strutsUrlDecoder
+
 ### END SNIPPET: complete_file
 
 
diff --git a/content/core-developers/interceptors.html 
b/content/core-developers/interceptors.html
index 0e6587bcd..263b0a7ef 100644
--- a/content/core-developers/interceptors.html
+++ b/content/core-developers/interceptors.html
@@ -541,6 +541,11 @@ than reiterate the same list of Interceptors, we can 
bundle these Interceptors t
 
 
+
+
+
 
 
 
diff --git a/content/core-developers/struts-default-xml.html 
b/content/core-developers/struts-default-xml.html
index acf692a9b..6b68117a6 100644
--- a/content/core-developers/struts-default-xml.html
+++ b/content/core-developers/struts-default-xml.html
@@ -457,6 +457,11 @@ setting in default.properties.
 
 
+
+
+
 
 
 [struts-site] branch WW-5254-async updated: Uses proper back url

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5254-async
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/WW-5254-async by this push:
 new db3f89b49 Uses proper back url
db3f89b49 is described below

commit db3f89b496527c175f4e9d45cd85c1b71925ca07
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 17:45:18 2022 +0100

Uses proper back url
---
 source/plugins/async/index.md   | 2 +-
 source/plugins/bean-validation/index.md | 2 +-
 source/plugins/cdi/index.md | 2 +-
 source/plugins/codebehind/index.md  | 3 +++
 source/plugins/config-browser/index.md  | 2 +-
 source/plugins/convention/index.md  | 2 +-
 source/plugins/dwr/index.md | 2 +-
 source/plugins/embedded-jsp/index.md| 2 +-
 source/plugins/jasperreports/index.md   | 2 +-
 source/plugins/java-8-support/index.md  | 2 +-
 source/plugins/javatemplates/index.md   | 2 +-
 source/plugins/jfreechart/index.md  | 2 +-
 source/plugins/jsf/index.md | 2 +-
 source/plugins/json/index.md| 2 +-
 source/plugins/junit/index.md   | 2 +-
 source/plugins/osgi/index.md| 2 +-
 source/plugins/oval/index.md| 2 +-
 source/plugins/plexus/index.md  | 2 +-
 source/plugins/portlet-tiles/index.md   | 2 +-
 source/plugins/portlet/index.md | 2 +-
 source/plugins/rest/index.md| 2 +-
 source/plugins/sitegraph/index.md   | 2 +-
 source/plugins/sitemesh/index.md| 2 +-
 source/plugins/spring/index.md  | 2 +-
 source/plugins/struts-1/index.md| 2 +-
 source/plugins/testng/index.md  | 2 +-
 source/plugins/tiles-3/index.md | 2 +-
 source/plugins/tiles/index.md   | 2 +-
 source/plugins/velocity/index.md| 4 ++--
 29 files changed, 32 insertions(+), 29 deletions(-)

diff --git a/source/plugins/async/index.md b/source/plugins/async/index.md
index 82954b4a1..7c19b29e4 100644
--- a/source/plugins/async/index.md
+++ b/source/plugins/async/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: Async Plugin
 parent:
-  url: index.html
+  url: /plugins
   title: Plugins
 ---
 
diff --git a/source/plugins/bean-validation/index.md 
b/source/plugins/bean-validation/index.md
index e763d60a9..51a6064e4 100644
--- a/source/plugins/bean-validation/index.md
+++ b/source/plugins/bean-validation/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: Bean Validation Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/cdi/index.md b/source/plugins/cdi/index.md
index 755923016..e26cd3be1 100644
--- a/source/plugins/cdi/index.md
+++ b/source/plugins/cdi/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: CDI Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/codebehind/index.md 
b/source/plugins/codebehind/index.md
index f0895efc6..b4a785a39 100644
--- a/source/plugins/codebehind/index.md
+++ b/source/plugins/codebehind/index.md
@@ -1,6 +1,9 @@
 ---
 layout: plugin
 title: Codebehind Plugin
+parent:
+url: /plugins
+title: Plugins
 ---
 
 # Codebehind Plugin
diff --git a/source/plugins/config-browser/index.md 
b/source/plugins/config-browser/index.md
index 77459b1fb..6e13b7977 100644
--- a/source/plugins/config-browser/index.md
+++ b/source/plugins/config-browser/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: Config Browser Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/convention/index.md 
b/source/plugins/convention/index.md
index c8d37ca19..c022b7dff 100644
--- a/source/plugins/convention/index.md
+++ b/source/plugins/convention/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: Convention plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/dwr/index.md b/source/plugins/dwr/index.md
index 4d7d2bd9e..5750205cf 100644
--- a/source/plugins/dwr/index.md
+++ b/source/plugins/dwr/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: DWR Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/embedded-jsp/index.md 
b/source/plugins/embedded-jsp/index.md
index 8fe17d96f..8fa8cc7b8 100644
--- a/source/plugins/embedded-jsp/index.md
+++ b/source/plugins/embedded-jsp/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: Embedded JSP Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/jasperreports/index.md 
b/source/plugins/jasperreports/index.md
index cff120579..34086084b 100644
--- a/source/plugins/jasperreports/index.md
+++ b/source/plugins/jasperreports/index.md
@@ -2,7 +2,7 @@
 layout: plugin
 title: JasperReports Plugin
 parent:
-url: index.html
+url: /plugins
 title: Plugins
 ---
 
diff --git a/source/plugins/java-8-support/index.md 
b/source/plugins/java-

[struts-site] branch asf-staging updated: Updates stage by Jenkins

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
 new cc4a75b3d Updates stage by Jenkins
cc4a75b3d is described below

commit cc4a75b3d06a7f5b5c2fc2d5049535de323ee485
Author: jenkins 
AuthorDate: Sat Nov 5 16:46:45 2022 +

Updates stage by Jenkins
---
 content/plugins/async/index.html   | 2 +-
 content/plugins/bean-validation/index.html | 2 +-
 content/plugins/cdi/index.html | 2 +-
 content/plugins/codebehind/index.html  | 2 +-
 content/plugins/config-browser/index.html  | 2 +-
 content/plugins/convention/index.html  | 2 +-
 content/plugins/dwr/index.html | 2 +-
 content/plugins/embedded-jsp/index.html| 2 +-
 content/plugins/jasperreports/index.html   | 2 +-
 content/plugins/java-8-support/index.html  | 2 +-
 content/plugins/javatemplates/index.html   | 2 +-
 content/plugins/jfreechart/index.html  | 2 +-
 content/plugins/jsf/index.html | 2 +-
 content/plugins/json/index.html| 2 +-
 content/plugins/junit/index.html   | 2 +-
 content/plugins/osgi/index.html| 2 +-
 content/plugins/oval/index.html| 2 +-
 content/plugins/plexus/index.html  | 2 +-
 content/plugins/portlet-tiles/index.html   | 2 +-
 content/plugins/portlet/index.html | 2 +-
 content/plugins/rest/index.html| 2 +-
 content/plugins/sitegraph/index.html   | 2 +-
 content/plugins/sitemesh/index.html| 2 +-
 content/plugins/spring/index.html  | 2 +-
 content/plugins/struts-1/index.html| 2 +-
 content/plugins/testng/index.html  | 2 +-
 content/plugins/tiles-3/index.html | 2 +-
 content/plugins/tiles/index.html   | 2 +-
 content/plugins/velocity/index.html| 2 +-
 29 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/content/plugins/async/index.html b/content/plugins/async/index.html
index afeac70d4..d26ef7d85 100644
--- a/content/plugins/async/index.html
+++ b/content/plugins/async/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/async/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 Async Plugin
 
diff --git a/content/plugins/bean-validation/index.html 
b/content/plugins/bean-validation/index.html
index 28e1749ff..18c1f397b 100644
--- a/content/plugins/bean-validation/index.html
+++ b/content/plugins/bean-validation/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/bean-validation/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 Bean Validation Plugin
 
diff --git a/content/plugins/cdi/index.html b/content/plugins/cdi/index.html
index 93d243466..7eeb3e270 100644
--- a/content/plugins/cdi/index.html
+++ b/content/plugins/cdi/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/cdi/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 CDI Plugin
 
diff --git a/content/plugins/codebehind/index.html 
b/content/plugins/codebehind/index.html
index df7dcb0f8..9a29529b7 100644
--- a/content/plugins/codebehind/index.html
+++ b/content/plugins/codebehind/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/codebehind/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 Codebehind Plugin
 
diff --git a/content/plugins/config-browser/index.html 
b/content/plugins/config-browser/index.html
index 0e2b37cbe..0b4b7cd7c 100644
--- a/content/plugins/config-browser/index.html
+++ b/content/plugins/config-browser/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/config-browser/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 Config Browser Plugin
 
diff --git a/content/plugins/convention/index.html 
b/content/plugins/convention/index.html
index 5a16d8e86..183c082db 100644
--- a/content/plugins/convention/index.html
+++ b/content/plugins/convention/index.html
@@ -129,7 +129,7 @@
   
 https://github.com/apache/struts-site/edit/master/source/plugins/convention/index.md";
 title="Edit this page on GitHub">Edit on GitHub
 
-<< back to Plugins
+<< back to Plugins
 
 Convention Plugin
 
diff --git a/content/plugins/dwr/index.html b/content/plugins/dwr/index.html
index b4eddbd12..58c4ac985 100644
--- a/content/plugins/dwr/index.html
+++ b/content/plugins/dwr/index.html
@@ -129,7 +129,7 @@
   
 https://g

[struts-site] branch WW-5254-async updated: Cleans up MD

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5254-async
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/WW-5254-async by this push:
 new a5b345cd7 Cleans up MD
a5b345cd7 is described below

commit a5b345cd7c0ab8b90927728b71e53cf11cf46341
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 17:50:53 2022 +0100

Cleans up MD
---
 source/core-developers/parameters-interceptor.md | 78 +---
 1 file changed, 43 insertions(+), 35 deletions(-)

diff --git a/source/core-developers/parameters-interceptor.md 
b/source/core-developers/parameters-interceptor.md
index 9c615f5a9..5fabfdbcf 100644
--- a/source/core-developers/parameters-interceptor.md
+++ b/source/core-developers/parameters-interceptor.md
@@ -14,59 +14,65 @@ parent:
 
 This interceptor sets all parameters on the value stack.
 
-This interceptor gets all parameters from `ActionContext#getParameters()` and 
sets them on the value stack by calling 
-`ValueStack#setValue(String, Object)`, typically resulting in the values 
submitted in a form request being applied 
-to an action in the value stack. Note that the parameter map must contain a 
`String` key and often containers a `String[]`
+This interceptor gets all parameters from `ActionContext#getParameters()` and 
sets them on the value stack by calling 
+`ValueStack#setValue(String, Object)`, typically resulting in the values 
submitted in a form request being applied 
+to an action in the value stack. Note that the parameter map must contain a 
`String` key and often containers a `String[]`
 for the value.
 
-The interceptor takes one parameter named `ordered`. When set to true action 
properties are guaranteed to be set top-down 
-which means that top action's properties are set first. Then it's 
subcomponents properties are set. The reason for this 
-order is to enable a "factory" pattern. For example, let's assume that one has 
an action that contains a property named
-`modelClass` that allows to choose what is the underlying implementation of 
model. By assuring that `modelClass`
-property is set before any model properties are set, it's possible to choose 
model implementation during 
-`action.setModelClass()` call. Similarly it's possible to use 
`action.setPrimaryKey()` property set call to actually 
-load the model class from persistent storage. Without any assumption on 
parameter order you have to use patterns 
+The interceptor takes one parameter named `ordered`. When set to true action 
properties are guaranteed to be set top-down 
+which means that top action's properties are set first. Then it's 
subcomponents properties are set. The reason for this 
+order is to enable a "factory" pattern. For example, let's assume that one has 
an action that contains a property named
+`modelClass` that allows to choose what is the underlying implementation of 
model. By assuring that `modelClass`
+property is set before any model properties are set, it's possible to choose 
model implementation during 
+`action.setModelClass()` call. Similarly it's possible to use 
`action.setPrimaryKey()` property set call to actually 
+load the model class from persistent storage. Without any assumption on 
parameter order you have to use patterns 
 like [Preparable Interface](prepare-interceptor).
 
-Because parameter names are effectively OGNL statements, it is important that 
security be taken in to account. This 
-interceptor will not apply any values in the parameters map if the expression 
contains an assignment (=), multiple 
+Because parameter names are effectively OGNL statements, it is important that 
security be taken in to account. This 
+interceptor will not apply any values in the parameters map if the expression 
contains an assignment (=), multiple 
 expressions (,), or references any objects in the context (#). This is all 
done in the `#acceptableName(String)`
-method. In addition to this method, if the action being invoked implements the 
`ParameterNameAware` interface, the action 
+method. In addition to this method, if the action being invoked implements the 
`ParameterNameAware` interface, the action 
 will be consulted to determine if the parameter should be set.
 
-In addition to these restrictions, a flag 
(`ReflectionContextState#DENY_METHOD_EXECUTION`) is set such that no methods 
-are allowed to be invoked. That means that any expression such as 
`person.doSomething()` or `person.getName()` will be 
-explicitly forbidden. This is needed to make sure that your application is not 
exposed to attacks by malicious users.
+In addition to these restrictions, a flag 
(`ReflectionContextState#DENY_METHOD_EXECUTION`) is set such that no methods 
+are allowed to be invoked. That means that any expression such as 
`person.doSomething()` or `person.getName()` will be 
+explicitly forbidden. This is needed to make sure that your application is not 
expo

[struts-site] branch asf-staging updated: Updates stage by Jenkins

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
 new 1f72ecece Updates stage by Jenkins
1f72ecece is described below

commit 1f72ecece95d89b40cc57b66f347cf08d06a577d
Author: jenkins 
AuthorDate: Sat Nov 5 16:53:27 2022 +

Updates stage by Jenkins
---
 .../core-developers/parameters-interceptor.html| 78 --
 1 file changed, 43 insertions(+), 35 deletions(-)

diff --git a/content/core-developers/parameters-interceptor.html 
b/content/core-developers/parameters-interceptor.html
index 3a419816b..22f8d5a61 100644
--- a/content/core-developers/parameters-interceptor.html
+++ b/content/core-developers/parameters-interceptor.html
@@ -146,60 +146,66 @@
 
 This interceptor sets all parameters on the value stack.
 
-This interceptor gets all parameters from ActionContext#getParameters() and sets them on the 
value stack by calling 
-ValueStack#setValue(String, 
Object), typically resulting in the values submitted in a form request 
being applied 
-to an action in the value stack. Note that the parameter map must contain a 
String key and often 
containers a String[]
+This interceptor gets all parameters from ActionContext#getParameters() and sets them on the 
value stack by calling 
+ValueStack#setValue(String, 
Object), typically resulting in the values submitted in a form request 
being applied 
+to an action in the value stack. Note that the parameter map must contain a 
String key and often 
containers a String[]
 for the value.
 
-The interceptor takes one parameter named ordered. When set to true action properties are 
guaranteed to be set top-down 
-which means that top action’s properties are set first. Then it’s 
subcomponents properties are set. The reason for this 
-order is to enable a “factory” pattern. For example, let’s assume that one has 
an action that contains a property named
-modelClass that 
allows to choose what is the underlying implementation of model. By assuring 
that modelClass
-property is set before any model properties are set, it’s possible to choose 
model implementation during 
-action.setModelClass() call. Similarly it’s possible 
to use action.setPrimaryKey() property set call to actually 
-load the model class from persistent storage. Without any assumption on 
parameter order you have to use patterns 
+The interceptor takes one parameter named ordered. When set to true action properties are 
guaranteed to be set top-down 
+which means that top action’s properties are set first. Then it’s 
subcomponents properties are set. The reason for this 
+order is to enable a “factory” pattern. For example, let’s assume that one has 
an action that contains a property named
+modelClass that 
allows to choose what is the underlying implementation of model. By assuring 
that modelClass
+property is set before any model properties are set, it’s possible to choose 
model implementation during 
+action.setModelClass() call. Similarly it’s possible 
to use action.setPrimaryKey() property set call to actually 
+load the model class from persistent storage. Without any assumption on 
parameter order you have to use patterns 
 like Preparable Interface.
 
-Because parameter names are effectively OGNL statements, it is important 
that security be taken in to account. This 
-interceptor will not apply any values in the parameters map if the expression 
contains an assignment (=), multiple 
+Because parameter names are effectively OGNL statements, it is important 
that security be taken in to account. This 
+interceptor will not apply any values in the parameters map if the expression 
contains an assignment (=), multiple 
 expressions (,), or references any objects in the context (#). This is all 
done in the #acceptableName(String)
-method. In addition to this method, if the action being invoked implements the 
ParameterNameAware 
interface, the action 
+method. In addition to this method, if the action being invoked implements the 
ParameterNameAware 
interface, the action 
 will be consulted to determine if the parameter should be set.
 
-In addition to these restrictions, a flag (ReflectionContextState#DENY_METHOD_EXECUTION) is set 
such that no methods 
-are allowed to be invoked. That means that any expression such as person.doSomething() or 
person.getName() will 
be 
-explicitly forbidden. This is needed to make sure that your application is not 
exposed to attacks by malicious users.
+In addition to these restrictions, a flag (ReflectionContextState#DENY_METHOD_EXECUTION) is set 
such that no methods 
+are allowed to be invoked. That means that any expression such as person.doSomething() or 
person.getName() will 
be 
+explicitly forbidden. This is needed to make sure that your application is not 
exposed to attacks by malicious users.
 
-While th

[struts-site] branch master updated (be3650df9 -> 6c11e3431)

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


from be3650df9 Merge pull request #175 from apache/WW-4173-disable
 add 983e6b52c WW-5254 Adds description about the Async plugin
 add 36076555c Ignores .rvm/ directory
 add db3f89b49 Uses proper back url
 add a5b345cd7 Cleans up MD
 new 6c11e3431 Merge pull request #176 from apache/WW-5254-async

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore   |   1 +
 source/core-developers/parameters-interceptor.md |  78 --
 source/plugins/async/index.md| 128 ++
 source/plugins/bean-validation/index.md  |  96 +++--
 source/plugins/cdi/index.md  |  21 +---
 source/plugins/codebehind/index.md   |   7 ++
 source/plugins/config-browser/index.md   |  25 +++--
 source/plugins/convention/index.md   |   3 +
 source/plugins/dwr/index.md  |  18 ++--
 source/plugins/embedded-jsp/index.md |   7 ++
 source/plugins/index.md  |   3 +-
 source/plugins/jasperreports/index.md| 129 +--
 source/plugins/java-8-support/index.md   |  14 ++-
 source/plugins/javatemplates/index.md|  45 
 source/plugins/jfreechart/index.md   |   9 ++
 source/plugins/jsf/index.md  |   9 ++
 source/plugins/json/index.md |   3 +
 source/plugins/junit/index.md|   3 +
 source/plugins/osgi/index.md |   7 ++
 source/plugins/oval/index.md |   7 ++
 source/plugins/plexus/index.md   |   7 ++
 source/plugins/portlet-tiles/index.md|   7 ++
 source/plugins/portlet/index.md  |   7 ++
 source/plugins/rest/index.md |   3 +
 source/plugins/sitegraph/index.md| 123 ++---
 source/plugins/sitemesh/index.md |  42 
 source/plugins/spring/index.md   |  99 ++---
 source/plugins/struts-1/index.md |   8 ++
 source/plugins/testng/index.md   |  10 +-
 source/plugins/tiles-3/index.md  |  12 ++-
 source/plugins/tiles/index.md|   3 +
 source/plugins/velocity/index.md |   4 +-
 32 files changed, 592 insertions(+), 346 deletions(-)
 create mode 100644 source/plugins/async/index.md



[struts-site] 01/01: Merge pull request #176 from apache/WW-5254-async

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 6c11e34316bebcc16214c7b0d0342df9411dd767
Merge: be3650df9 a5b345cd7
Author: Lukasz Lenart 
AuthorDate: Sat Nov 5 18:06:30 2022 +0100

Merge pull request #176 from apache/WW-5254-async

[WW-5254] Adds description about the Async plugin

 .gitignore   |   1 +
 source/core-developers/parameters-interceptor.md |  78 --
 source/plugins/async/index.md| 128 ++
 source/plugins/bean-validation/index.md  |  96 +++--
 source/plugins/cdi/index.md  |  21 +---
 source/plugins/codebehind/index.md   |   7 ++
 source/plugins/config-browser/index.md   |  25 +++--
 source/plugins/convention/index.md   |   3 +
 source/plugins/dwr/index.md  |  18 ++--
 source/plugins/embedded-jsp/index.md |   7 ++
 source/plugins/index.md  |   3 +-
 source/plugins/jasperreports/index.md| 129 +--
 source/plugins/java-8-support/index.md   |  14 ++-
 source/plugins/javatemplates/index.md|  45 
 source/plugins/jfreechart/index.md   |   9 ++
 source/plugins/jsf/index.md  |   9 ++
 source/plugins/json/index.md |   3 +
 source/plugins/junit/index.md|   3 +
 source/plugins/osgi/index.md |   7 ++
 source/plugins/oval/index.md |   7 ++
 source/plugins/plexus/index.md   |   7 ++
 source/plugins/portlet-tiles/index.md|   7 ++
 source/plugins/portlet/index.md  |   7 ++
 source/plugins/rest/index.md |   3 +
 source/plugins/sitegraph/index.md| 123 ++---
 source/plugins/sitemesh/index.md |  42 
 source/plugins/spring/index.md   |  99 ++---
 source/plugins/struts-1/index.md |   8 ++
 source/plugins/testng/index.md   |  10 +-
 source/plugins/tiles-3/index.md  |  12 ++-
 source/plugins/tiles/index.md|   3 +
 source/plugins/velocity/index.md |   4 +-
 32 files changed, 592 insertions(+), 346 deletions(-)



[struts-site] branch asf-staging updated: Updates stage by Jenkins

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
 new b1360f4a8 Updates stage by Jenkins
b1360f4a8 is described below

commit b1360f4a82fef59daea516cfa85d940605c57dcc
Author: jenkins 
AuthorDate: Sat Nov 5 17:08:14 2022 +

Updates stage by Jenkins