This is of specific interest to Fabrizio I think, but if anyone else
has an opinion, just shout: could you please very the following
statement from MAGNOLIA-2010 [1]:
I'll take a look at it and I'll check if the fix changes something in
the current behavior... I wasn't aware of any issue actually.
Can you explain which sort of problem did you encountered?
If you were using c:import combined with c:param tags, the parameters
weren't available in paragraph templates (included by
cms:includeTemplate).
The reason is that each call to the request dispatcher (c:import)
creates a new request wrapper (at least in tomcat). We use in the
paragraph renderer the MgnlContext.include() method which uses the
context's request. This request is the object set at the beginning of
the request and so the wrapped request object is left out. This is
request object is not updated on includes (magnolia is not part of
that processing).
As a solution we use now the context's page-context which provides
the latest request object (the wrapper). To make that clean we would
like to implement the rule that who ever sets the pageContext should
re/unset it again.
Philipp Bracher
thanks
fabrizio
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------