Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed wrong code snipped in the documentation about the entry point c…

…onfiguration.
  • Loading branch information...
commit d46317d7d6d1b3ddd8dbce266314523f40d626fb 1 parent b66980d
@bwolff authored
Showing with 17 additions and 11 deletions.
  1. +17 −11 src/docs/guide/configuration/entryPointConfiguration.gdoc
View
28 src/docs/guide/configuration/entryPointConfiguration.gdoc
@@ -3,9 +3,11 @@ configuration block within the @rwt@ section.
{code}
rwt {
- hello {
- bean = 'entryPointBean'
- pageTitle = 'Hello RWT World!'
+ entrypoints {
+ hello {
+ bean = 'entryPointBean'
+ pageTitle = 'Hello RWT World!'
+ }
}
}
{code}
@@ -22,16 +24,20 @@ different entry point beans.
{code}
rwt {
- hello {
- bean = 'helloEntryPoint'
- pageTitle = 'Hello RWT World!'
- }
-
- helloAgain {
- bean = 'helloAgainEntryPoint'
- pageTitle = 'Hello again, RWT World!'
+ entrypoints {
+ hello {
+ bean = 'helloEntryPoint'
+ pageTitle = 'Hello RWT World!'
+ }
+
+ helloAgain {
+ bean = 'helloAgainEntryPoint'
+ pageTitle = 'Hello again, RWT World!'
+ }
}
}
{code}
In this example there will be two entry points accessible under '/hello' and '/helloAgain'.
+
+For customizing the default URL mapping behaviour please see the [Advanced Topics|guide:advancedTopics] chapter.
Please sign in to comment.
Something went wrong with that request. Please try again.