[struts-site] branch master updated: cleanup include tag

2019-02-17 Thread yasserzamani
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 3e1261d  cleanup include tag
3e1261d is described below

commit 3e1261d433873ecec440687ab1d2c9ea7996d21e
Author: Yasser Zamani 
AuthorDate: Sun Feb 17 21:48:34 2019 +0330

cleanup include tag
---
 source/tag-developers/include-tag.md | 45 ++--
 1 file changed, 12 insertions(+), 33 deletions(-)

diff --git a/source/tag-developers/include-tag.md 
b/source/tag-developers/include-tag.md
index a5462b6..1587c58 100644
--- a/source/tag-developers/include-tag.md
+++ b/source/tag-developers/include-tag.md
@@ -5,42 +5,26 @@ title: Tag Developers Guide
 
 # include
 
-
 Please make sure you have read the [Tag Syntax](tag-syntax.html) document and 
understand how tag attribute syntax works.
 
-| 
-
 __Description__
 
+Include a servlet's output (result of servlet or a JSP page).
 
-
-{% comment %}start snippet 
id=javadoc|javadoc=true|url=org.apache.struts2.components.Include {% endcomment 
%}
- Include a servlet's output (result of servlet or a JSP page).
- Note: Any additional params supplied to the included page are not
- accessible within the rendered page through the  tag
+**Note:** Any additional params supplied to the included page are **not**
+ accessible within the rendered page 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.
-
-{% comment %}end snippet 
id=javadoc|javadoc=true|url=org.apache.struts2.components.Include {% endcomment 
%}
-
-**(!) How To access parameters**
-
-
-> 
-
-> 
+ a scriptlet.
 
-> 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.
+**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.
 
 __Parameters__
 
-
-
 {% comment %}start snippet 
id=tagattributes|javadoc=false|url=struts2-tags/include.html {% endcomment %}
-
+
 

 
@@ -86,33 +70,28 @@ __Parameters__
 

 
-   
-
-
+
 {% comment %}end snippet 
id=tagattributes|javadoc=false|url=struts2-tags/include.html {% endcomment %}
 
 __Example__
 
-
-
 {% comment %}start snippet 
id=example|lang=java|javadoc=true|url=org.apache.struts2.components.Include {% 
endcomment %}
 
-```java
- <-- One: -->
+```xml
+ 
  
 
- <-- Two: -->
+ 
  
 
 
  
 
- <-- Three: -->
+ 
  
 value1
 value2
  
-
 ```
 
 {% comment %}end snippet 
id=example|lang=java|javadoc=true|url=org.apache.struts2.components.Include {% 
endcomment %}



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

2019-02-17 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-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


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

commit f470f94e4f47d44662dc47a3087e8d181ac6e54c
Author: jenkins 
AuthorDate: Sun Feb 17 18:31:00 2019 +

Updates production by Jenkins
---
 content/tag-developers/include-tag.html | 88 ++---
 1 file changed, 27 insertions(+), 61 deletions(-)

diff --git a/content/tag-developers/include-tag.html 
b/content/tag-developers/include-tag.html
index 87b8216..8f143c7 100644
--- a/content/tag-developers/include-tag.html
+++ b/content/tag-developers/include-tag.html
@@ -131,41 +131,23 @@
 
 Please make sure you have read the Tag Syntax 
document and understand how tag attribute syntax works.
 
-
-  
-
-
-  
-
-
 Description
 
- Include a servlet's output (result of servlet or a JSP page).
- Note: Any additional params supplied to the included page are not
- accessible within the rendered page through the  tag
+Include a servlet’s output (result of servlet or a JSP page).
+
+Note: Any additional params supplied to the included page 
are not
+ accessible within the rendered page 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**
-
+ a scriptlet.
 
-> 
+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.
 
-> 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.
+Parameters
 
-> 
-
-__Parameters__
-
-
-
-
-
+
 

 
@@ -211,49 +193,33 @@ __Parameters__
 

 
-   
-
-
-
-
-__Example__
-
-
-
-
-
-```java
- <-- One: -->
- 
-
- <-- Two: -->
- 
-
-
- 
-
- <-- Three: -->
- 
-value1
-value2
- 
-
-```
-
+
 
+Example
 
+ 
+ 
 
+ 
+ 
+
+
+ 
 
+ 
+ 
+value1
+value2
+ 
+
+
 
-```none
- Example one - do an include myJsp.jsp page
+ Example one - do an include myJsp.jsp page
  Example two - do an include to myJsp.jsp page with parameters param1=value1 
and param2=value2
  Example three - do an include to myJsp.jsp page with parameters param1=value1 
and param2=value2
 
-```
-
+
 
-