Thanks Dave. So without the # it only hunts for wabbits in the value stack?
-D
On Aug 18, 2008, at 8:51 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
--- On Mon, 8/18/08, Martin Gainty wrote:
yes OGNL will 'hunt' for Page,Request,Session andd
then application for #attr.VariableName
http://struts.a
--- On Mon, 8/18/08, Martin Gainty wrote:
> yes OGNL will 'hunt' for Page,Request,Session andd
> then application for #attr.VariableName
> http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html
>
> are you seeing otherwise?
That's only if you use #attr, which wasn't
ithin this transmission.
> Date: Mon, 18 Aug 2008 07:55:55 -0700
> From: [EMAIL PROTECTED]
> Subject: Re: Object put in HttpSession can't be found by S2
> To: user@struts.apache.org
>
> Isn't OGNL supposed to search the value stack, then request, then session for
> a p
If it's prefixed with a "#" it will look for a context object with that name,
AFAIK. And since it doesn't work with the "#"...
Dave
--- On Mon, 8/18/08, Dustin Pearce <[EMAIL PROTECTED]> wrote:
> From: Dustin Pearce <[EMAIL PROTECTED]>
> Subje
Isn't OGNL supposed to search the value stack, then request, then session for a
property value? Or his was a s:if test, so it is only the value stack?
Sent from my iPhone
On Aug 18, 2008, at 4:02 AM, "Ylva Degerfeldt" <[EMAIL PROTECTED]> wrote:
Thank you all for your answers!
"#session.skillsF
Thank you all for your answers!
"#session.skillsFound" worked (Not "#skillsFound" but that doesn't
matter. One way to do it is enough.)
Now I have a new problem, but I'll take that in another mail.
/Ylva
On Sun, Aug 17, 2008 at 4:48 PM, "Stephan Schröder" <[EMAIL PROTECTED]> wrote:
>> --- On Su
> --- On Sun, 8/17/08, "Stephan Schröder" wrote:
> > i'm pretty sure works too.
>
> AFAIK the "#" syntax will work only if the variable was defined as a named
> stack context variable via something like or as the value of a
> "var" ("id" in S2.0) attribute and so on.
>
> Dave
good to know.
Th
--- On Sun, 8/17/08, "Stephan Schröder" wrote:
> i'm pretty sure works too.
AFAIK the "#" syntax will work only if the variable was defined as a named
stack context variable via something like or as the value of a "var"
("id" in S2.0) attribute and so on.
Dave
>> use "#session.skillsFound" o
i'm pretty sure works too.
/Stephan
> use "#session.skillsFound" or "#session[''skillsFound']"
>
> musachy
> >
> > In my action I put a Set called "skillsFound" in the HttpSession. Then
> > I want to access it (and iterate through it) from a jsp, but this line
> > of code gives a False result:
To: user@struts.apache.org
> Subject: Re: Object put in HttpSession can't be found by S2
>
> use "#session.skillsFound" or "#session[''skillsFound']"
>
> musachy
>
> On 8/15/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote:
> > Hi!
>
use "#session.skillsFound" or "#session[''skillsFound']"
musachy
On 8/15/08, Ylva Degerfeldt <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Shouldn't Struts 2 be able to find objects stored at session level
> just by using the name?
>
> In my action I put a Set called "skillsFound" in the HttpSession. Then
Hi!
Shouldn't Struts 2 be able to find objects stored at session level
just by using the name?
In my action I put a Set called "skillsFound" in the HttpSession. Then
I want to access it (and iterate through it) from a jsp, but this line
of code gives a False result:
Is there something I've for
12 matches
Mail list logo