|
From: Matt R. <li...@ra...> - 2004-07-24 18:46:27
|
On Jul 24, 2004, at 7:12 AM, j=FCrgen h=F6ller [werk3AT] wrote: > Note that the "springMacroRequestContext" is not really meant to be=20 > accessed directly; it is mainly meant to be used by Spring-provided=20 > macros. If you want to use a RequestContext in your own expressions,=20= > always specify the "requestContextAttribute" accordingly. We should=20 > highlight that in the docs. > Right, but it actually does work if you use it. To me, setting the=20 requestContextAttribute value seems to simply provide an alias for it. =20= Is it doing more than that? >> I would make sure and document that the name=20 >> "springMacroRequestContext" >> can be overridden by specifying a "requestContextAttribute" property. >> It's much easier to write $rc.getMessage() than >> $springMacroRequestContext.getMessage(). ;-) > |