On Dec 28, 2007 8:56 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Just out of curiosity, why wouldn't you just put them in the application
> context?
>
They're not global to the application.
(*Chris*)
-
To unsubscribe, e-mail:
Just out of curiosity, why wouldn't you just put them in the application
context?
d.
--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Well, looks like I might have found it myself. If my Interceptor adds
> a variable to the Context in the Value Stack, then I can access the
> variable using the # de
Is there a reason why you couldn't use the session? If you put the
objects in the session, they would be available pretty much like you
have -
-Wes
On 12/28/07, Chris Pratt <[EMAIL PROTECTED]> wrote:
> Well, looks like I might have found it myself. If my Interceptor adds
> a variable to the Co
Well, looks like I might have found it myself. If my Interceptor adds
a variable to the Context in the Value Stack, then I can access the
variable using the # delimiter. So if my UserInterceptor calls:
stack.getContext().put("user",user);
Then in the page I can use:
to display the User's Nam
I have some values that are required on, pretty much, every page of
the site. Thinks that belong in the headers and navigation section
for example. I'd rather not have to add them to every Action, or
force every Action to extend a base action, so is there a way to add
values to the value stack (s
5 matches
Mail list logo