Hi,
I would like to change the default behaviour for commit operation when using internacionalized properties. So instead of calling the setter method directly I need to call a custom method aware of the language to be set.
Suppose this example,
There isn't a setter method for "translatedProperty", the domain provides the method above. I suppose a new propertyAccessor is needed but I can't figure out how can I implement it?Code:class MyClass { private Translation translatedProperty; public setTranslatedProperty(String value, Language language) { translatedProperty.setValue(value, language); } }
I have spent a lot of time trying to solve this issue but in this point I request your collaboration, thank you very much!


Reply With Quote