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?
thx,
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within 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 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.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 Sun, 8/17/08, "Stephan Schröder" wrote:
> i'm pretty sure <s:if test="#skillsFound != null"> works too.
> 
> AFAIK the "#" syntax will work only if the variable was defined as a named
> stack context variable via something like <s:set...> or as the value of a
> "var" ("id" in S2.0) attribute and so on.
> 
> Dave
> 
> good to know.
> 
> Thanks,
> Stephan
> --
> GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry 
> Passion!
> http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

Reply via email to