Martin Gainty wrote:
dave is is correct..
The following example without the proceeding situation setup is quite misleading (so here it is) :
For example, suppose we are using standard OGNL (not using XWork) and there are two objects in the OgnlContext map: "foo" -> foo and "bar" -> bar and that the foo object is also configured to be the single root object. The following code illustrates how OGNL deals with these three situations:
#foo.blah // returns foo.getBlah() #bar.blah // returns bar.getBlah() blah // returns foo.getBlah() because foo is the root
So the third line is only true because in this scenario foo is BOTH #foo AND the VS root.
http://struts.apache.org/2.x/docs/ognl-basics.html
-Dale --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]