--- On Thu, 8/7/08, Zoran Avtarovski wrote:
> You pass parameters to a page with a S2 tag but can¹t
> retrieve them when on that page, WTF. Why bother allowing
> it in the first place.
You *can* retrieve them, just not in the way you want. They're added as request
parameters and available via J
Thanks to everybody who replied. But what I¹m hearing is that the OGNL
implementation in Struts2 is half arsed.
Musachy, if you look at the docs
http://struts.apache.org/2.x/docs/ognl-basics.html it tells me that
parameters is a named object. I tend to believe you, but how I would I know.
And in t
I had the same problem, and someone pointed out to me that it does say in
the s:include reference page
(http://struts.apache.org/2.x/docs/include.html) that parameters passedvia
s:include are not available on the stack. Well...it doesn't phrase it that
way, but that's basically it.
Yes, it's sill
You can also use a complete different approach.
I've done this recently and it worked fine for me.
On the jsp that has your you do the
following:
And in your myPage.jsp you just read the value
from the stack like you'd normally do:
Musachy Barroso wrote:
First, that was funny. Second, a
First, that was funny. Second, and this is *annoying*, "parameters" is
not a named object when using the "component" tag, so I assume it is
the same for "include", so instead of using "#parameters", use
"parameters" which is the same as "top.parameters".
musachy
On Thu, Aug 7, 2008 at 3:28 PM, Zo
5 matches
Mail list logo