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

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


The following commit(s) were added to refs/heads/results by this push:
     new b3807124a Adds ToC
b3807124a is described below

commit b3807124a512f960f52137fca9c293fc1fdb23b2
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Wed Oct 19 15:53:01 2022 +0200

    Adds ToC
---
 source/core-developers/result-types.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/source/core-developers/result-types.md 
b/source/core-developers/result-types.md
index 31d9b59d9..3986735c1 100644
--- a/source/core-developers/result-types.md
+++ b/source/core-developers/result-types.md
@@ -4,6 +4,10 @@ title: Result Types
 ---
 
 # Result Types
+{:.no_toc}
+
+* Will be replaced with the ToC, excluding a header
+{:toc}
 
 Most use cases can be divided into two phases. First, we need to change or 
query the application's state, and then we need 
 to present an updated view of the application. The Action class manages the 
application's state, and the Result Type 
@@ -70,7 +74,7 @@ If you action method returns `success`, which is a default 
name of the result, y
 <result>/WEB-INF/index.jsp</result>
 ```
 
-## Default Parameters
+## Default parameters
 
 To minimize configuration, Results can be configured with a single value, 
which will be converted into a parameter, 
 and each Result can specify which parameter this value should be set as. For 
example, here is a result defined in XML 
@@ -92,7 +96,7 @@ Since probably 95% of your actions won't need results that 
contain multiple para
 a significant amount of configuration. It also follows that if you have 
specified the default parameter, you don't need 
 to set the same parameter as a specifically-named parameter.
 
-## Registering Result Types
+## Registering result types
 
 All Result Types are plugged in via the [Result 
Configuration](result-configuration).
 

Reply via email to