[DOCU-163] Module mechanism docu should describe passing init-params to servlets Created: 20/Jun/11 Updated: 23/Jun/11 Resolved: 23/Jun/11 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | content |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Tobias Mattsson | Assignee: | Antti Hietala |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
At http://documentation.magnolia-cms.com/reference/module-mechanism.html#Servlets it should say that you can pass init-params to the servlet like this: <params>
<param>
<name></name>
<value></value>
</param>
</params>
|
| Comments |
| Comment by Rob Blake [ 20/Jun/11 ] |
|
In general it would be great if the module mechanism documentation clearly explained all available configuration. |
| Comment by Rob Blake [ 20/Jun/11 ] |
|
And to confirm, the correct syntax is: <params>
<param>
<name>name</name>
<value>value</value>
</param>
</params>
|
| Comment by Antti Hietala [ 23/Jun/11 ] |
|
Added syntax and examples for specifying servlet initialization parameters in a module descriptor. http://documentation.magnolia-cms.com/reference/module-mechanism.html#Servletinitializationparameters |