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 this case it doesn¹t work either way.

Andre, thanks for the workaround but I already had one. My issue was that
something this simple shouldn¹t need a work-around.

Becky, you think it¹s silly, but I think it¹s ridiculous. 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.

# rant warning #
This is the sort of stuff that drives new developers to other frameworks. I
know in our case the decision was made to move from Struts to Struts 2
without a lot of input.  Constant crap like this results in pressure from
younger developers to go to wicket or some other framework. These guys
aren¹t idiots either, they are putting together compelling arguments like
ease-of-use and short ramp up periods.

I notice from reading the developer list that Musachy is a leading advocate
of casting aside dead weight. I couldn¹t agree more especially at this early
stage of the frameworks lifecycle. I think that before 2.1 becomes an
official release crap like this issue and the useless ajax plugin should be
cast aside. Nobody is expecting 2.1 to be a drop in for 2.

# end of rant #

Again thank for your help and I¹m sorry the we couldn¹t get a better
resolution. 

Z.

Reply via email to