(struts-site) 01/01: Clarifies how to access parameters in the included page

2023-10-28 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

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

commit 429bb13d0432e8cca7f3af448e62f17fe8fcac42
Author: Lukasz Lenart 
AuthorDate: Sat Oct 28 17:19:19 2023 +0200

Clarifies how to access parameters in the included page
---
 source/tag-developers/include-tag.md | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/source/tag-developers/include-tag.md 
b/source/tag-developers/include-tag.md
index 514231de3..8d7c9babc 100644
--- a/source/tag-developers/include-tag.md
+++ b/source/tag-developers/include-tag.md
@@ -18,11 +18,19 @@ Please make sure you have read the [Tag Syntax](tag-syntax) 
document and underst
 > through the `` tag since no ValueStack will be created. You 
 > can, however, access them in a servlet
 > via the HttpServletRequest object or from a JSP page via a scriptlet.
 
-**How To access parameters**
+### How to access parameters
 
 Parameters are passed as request parameters, so use the `${param.ParamName}` 
notation to access them. Do not use 
 the **property** tag to access parameters in included files.
 
+Below it's an example how you can access parameters passed into the included 
page:
+
+```
+${param.ParamName}
+```
+
+> **Note**: You can access such params without using JSTL, just use 
`${param.ParamName}` notation in Struts tags.
+
 ## Attributes
 
 {% remote_file_content 
https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/include-attributes.html
 %}
@@ -46,7 +54,7 @@ do an include myJsp.jsp page
 
 ```
 
-do an include to myJsp.jsp page with parameters `param1=value1` and 
`param2=value2`
+do an include to `myJsp.jsp` page with parameters `param1=value1` and 
`param2=value2`
 
 **Example 3**
 
@@ -57,4 +65,4 @@ do an include to myJsp.jsp page with parameters 
`param1=value1` and `param2=valu
 
 ```
 
-do an include to myJsp.jsp page with parameters `param1=value1` and 
`param2=value2`
+do an include to `myJsp.jsp` page with parameters `param1=value1` and 
`param2=value2`



(struts-site) branch feature/include-tag-params created (now 429bb13d0)

2023-10-28 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

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


  at 429bb13d0 Clarifies how to access parameters in the included page

This branch includes the following new commits:

 new 429bb13d0 Clarifies how to access parameters in the included page

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.




[PR] Clarifyes how to access parameters [struts-site]

2023-10-28 Thread via GitHub


lukaszlenart opened a new pull request, #210:
URL: https://github.com/apache/struts-site/pull/210

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Adds announcement about Struts 2.5.x EOL [struts-site]

2023-10-28 Thread via GitHub


lukaszlenart merged PR #209:
URL: https://github.com/apache/struts-site/pull/209


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



(struts-site) branch master updated (4a63d1c62 -> 393c876b8)

2023-10-28 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-site.git


from 4a63d1c62 Merge pull request #208 from apache/feature/matomo
 add dc834e9b1 Adds announcement about Struts 2.5.x EOL
 add dcc7354c7 References a proper Struts 2.3.x branch
 add cb3cf60f2 Links EOL announcement to the main page
 add 054a3cd80 Adds links to support branches
 add 393c876b8 Merge pull request #209 from apache/feature/struts-25-eol

No new revisions were added by this update.

Summary of changes:
 source/announce-2023.md |  9 +++
 source/index.html   |  6 ++---
 source/struts23-eol-announcement.md |  3 ++-
 source/struts25-eol-announcement.md | 51 +
 4 files changed, 65 insertions(+), 4 deletions(-)
 create mode 100644 source/struts25-eol-announcement.md



(struts-site) branch feature/struts-25-eol deleted (was 054a3cd80)

2023-10-28 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

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


 was 054a3cd80 Adds links to support branches

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts-site) branch feature/include-tag-params updated (429bb13d0 -> 8eafdb67e)

2023-10-28 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

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


omit 429bb13d0 Clarifies how to access parameters in the included page
 add 393c876b8 Merge pull request #209 from apache/feature/struts-25-eol
 new 8eafdb67e Clarifies how to access parameters in the included page

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (429bb13d0)
\
 N -- N -- N   refs/heads/feature/include-tag-params (8eafdb67e)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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:



(struts-site) 01/01: Clarifies how to access parameters in the included page

2023-10-28 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

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

commit 8eafdb67ed218b632a5129e03e7093bb5ee8b9d4
Author: Lukasz Lenart 
AuthorDate: Sat Oct 28 17:19:19 2023 +0200

Clarifies how to access parameters in the included page
---
 source/tag-developers/include-tag.md | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/source/tag-developers/include-tag.md 
b/source/tag-developers/include-tag.md
index 514231de3..8d7c9babc 100644
--- a/source/tag-developers/include-tag.md
+++ b/source/tag-developers/include-tag.md
@@ -18,11 +18,19 @@ Please make sure you have read the [Tag Syntax](tag-syntax) 
document and underst
 > through the `` tag since no ValueStack will be created. You 
 > can, however, access them in a servlet
 > via the HttpServletRequest object or from a JSP page via a scriptlet.
 
-**How To access parameters**
+### How to access parameters
 
 Parameters are passed as request parameters, so use the `${param.ParamName}` 
notation to access them. Do not use 
 the **property** tag to access parameters in included files.
 
+Below it's an example how you can access parameters passed into the included 
page:
+
+```
+${param.ParamName}
+```
+
+> **Note**: You can access such params without using JSTL, just use 
`${param.ParamName}` notation in Struts tags.
+
 ## Attributes
 
 {% remote_file_content 
https://raw.githubusercontent.com/apache/struts/master/core/src/site/resources/tags/include-attributes.html
 %}
@@ -46,7 +54,7 @@ do an include myJsp.jsp page
 
 ```
 
-do an include to myJsp.jsp page with parameters `param1=value1` and 
`param2=value2`
+do an include to `myJsp.jsp` page with parameters `param1=value1` and 
`param2=value2`
 
 **Example 3**
 
@@ -57,4 +65,4 @@ do an include to myJsp.jsp page with parameters 
`param1=value1` and `param2=valu
 
 ```
 
-do an include to myJsp.jsp page with parameters `param1=value1` and 
`param2=value2`
+do an include to `myJsp.jsp` page with parameters `param1=value1` and 
`param2=value2`



(struts-site) branch asf-staging updated: Updates stage by Jenkins

2023-10-28 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


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

commit 96b407c32c4555026d65097d33f99c8bb45c5ed6
Author: jenkins 
AuthorDate: Sat Oct 28 15:23:23 2023 +

Updates stage by Jenkins



(struts-site) branch asf-staging updated: Updates stage by Jenkins

2023-10-28 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


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

commit 4b10c9a53d990fbd4e573b85d2f04b263e9f2b7a
Author: jenkins 
AuthorDate: Sat Oct 28 15:26:28 2023 +

Updates stage by Jenkins
---
 content/tag-developers/include-tag.html | 15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/content/tag-developers/include-tag.html 
b/content/tag-developers/include-tag.html
index b93c3120b..e053ddd60 100644
--- a/content/tag-developers/include-tag.html
+++ b/content/tag-developers/include-tag.html
@@ -163,11 +163,20 @@ through the ${param.ParamName}
+
+
+
+  Note: You can access such params without using JSTL, 
just use ${param.ParamName} notation in Struts tags.
+
+
 Attributes
 
 
@@ -220,7 +229,7 @@ the property tag to access parameters in 
included files.
 
 
 
-do an include to myJsp.jsp page with parameters param1=value1 and param2=value2
+do an include to myJsp.jsp page with parameters param1=value1 and param2=value2
 
 Example 3
 
@@ -230,7 +239,7 @@ the property tag to access parameters in 
included files.
 
 
 
-do an include to myJsp.jsp page with parameters param1=value1 and param2=value2
+do an include to myJsp.jsp page with parameters param1=value1 and param2=value2