getValue and setValue methods of IMendixObject in 2.5

5
Eclipse is telling me that I now need to pass an IContext when using these methods. I can't see reference to it in the 2.5 docs though. Is that correct, and why is this?
asked
2 answers
5

It is required now, to validate any security constraints at forehand, so it is correct. Note that if you use proxy objects, you can provide the context while initializing, for which reason you do not need to pass the context in further calls along.

answered
4

In java actions you should always have a

getContext()

method available, which returns the current context in which the action is being executed.

answered