You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the get member binder will match any instance fields. This is different to the java behaviour
Note: References to instance variables in a template are not resolved. Only references to the attribute equivalents of JavaBean getter/setter methods are resolved (i.e. $foo.Name does resolve to the class Foo's getName() instance method, but not to a public Name instance variable of Foo). http://velocity.apache.org/engine/devel/user-guide.html#Case_Substitution
Need to confirm the behaviour with NVelocity. If NVelocity doesn't access fields, we should definitely fix this. If we remove binding to instance fields, should we support binding to constant fields? public const string Foo = "test"
The text was updated successfully, but these errors were encountered:
Currently the get member binder will match any instance fields. This is different to the java behaviour
Need to confirm the behaviour with NVelocity. If NVelocity doesn't access fields, we should definitely fix this. If we remove binding to instance fields, should we support binding to constant fields?
public const string Foo = "test"
The text was updated successfully, but these errors were encountered: