Permalink
Browse files

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

…onfiguration.
  • Loading branch information...
1 parent b66980d commit d46317d7d6d1b3ddd8dbce266314523f40d626fb @bwolff committed Dec 5, 2012
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.

0 comments on commit d46317d

Please sign in to comment.