Re: [S2] Unable to access passed parameters in an included file

2008-07-22 Thread Becky . L . O'Sullivan
Thanks for the catch Dave. Isn't it funny that they provide two examples of parameter passing in [1]? Don't expect to be able to access those using struts tags within the included file, ha! I (hacked | worked around | fixed) it by using JSTL to place those params into the page context (and there

Re: [S2] Unable to access passed parameters in an included file

2008-07-22 Thread Paweł Wielgus
Hi , maybe try to use tiles for this kind of job. Did work for me. Best greetings, Paweł Wielgus. On 22/07/2008, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Mon, 7/21/08, wrote: > > Feels like I missed something obvious > > > The note on [1] where it says that params aren't available

Re: [S2] Unable to access passed parameters in an included file

2008-07-21 Thread Dave Newton
--- On Mon, 7/21/08, wrote: > Feels like I missed something obvious The note on [1] where it says that params aren't available on the stack, I think. I don't recall the reason at the moment, though. Dave [1] http://struts.apache.org/2.x/docs/include.html

[S2] Unable to access passed parameters in an included file

2008-07-21 Thread Becky . L . O'Sullivan
Hi everyone, I'm using to include a page fragment in Struts 2.1.2. (also tried with and the result did not change) Ensuring the values are passed as Strings using OGNL syntax: I know nav1 makes it into header.jsp as a request parameter because this snippet yields "nav1