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]> > Subject: Re: Object put in HttpSession can't be found by S2 > To: "Struts Users Mailing List" <user@struts.apache.org> > Date: Monday, August 18, 2008, 10:55 AM > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]