en:user_advanced:google_analytics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:google_analytics [2018/08/06 23:15] – kjdon | en:user_advanced:google_analytics [2018/08/07 02:11] – [Adding and using new servlet params] kjdon | ||
---|---|---|---|
Line 47: | Line 47: | ||
</ | </ | ||
+ | |||
+ | ===== Adding and using new servlet params ===== | ||
+ | |||
+ | To make this work I have modified the java code to store any initParams mentioned in the servlet definition (in servlets.xml) in the config_params HashMap. This gets passed to the transformer when it does the page transformation, | ||
+ | < | ||
+ | |||
+ | < | ||
+ | <!-- some global parameters - these are set by whoever is invoking the transformation | ||
+ | Any servlet init parameters can be accessed by adding a param here--> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | </ | ||
+ | |||
+ | Now that this has been implemented, | ||
+ |
en/user_advanced/google_analytics.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1