struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Has anyone tried this in S2 - THIS LOOKS A BUG
Date Mon, 02 Jul 2007 14:46:18 GMT
--- Musachy Barroso <musachy@gmail.com> wrote:
> findValue is returning an Array with an extra
> element at the end, null, which is causing the extra

> iteration, I think. I'm not really sure why OGNL
> is doing that. To be continued ...

It's not returning an extra element, the element is
there--it's just a null. The issue is because the
stack element at the "id" key is only being set if the
value isn't null, meaning (I guess) that the previous
value will remain (which also explains what the OP is
seeing).

d.



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message