Kemkes, Andreas wrote:

I believe that I've tried about every combination of "@" and "." that I
could think of. It's also more a question of what OGNL supports and I
couldn't find anything in their specification.


Just found this on the web: http://www.janeg.ca/scjp/overload/static.html
Quote:
"they are not associated with an instance of their outer class ie you can create an Inner class object from within the Outer class using new Inner(); you do not need to create an Outer class object first as is required with non-static inner classes"


Also, as far as I know, the syntax OuterClass$InnerClass has been
deprecated in favor of OuterClass.InnerClass (I don't remember in which
JDK version), but maybe that's what OGNL wants.


Hm not sure about this. The compiled .class files are created with a $ (jdk 1.4.x) e.g. Outer$Inner.class however programmatic access is done by using the dot e.g. new Outer.Inner() [if it's a non-static inner class]. Not sure what the case is with 1.5

Hope that helped :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to