Based on the newest version of the framework, is there a way to disable or prevent changes to a property based on the value of another property? For instance, if property 1 has the value of 2000, I do not want the user to be able to update property 2. Can this be handled in the BO or should the UI handle it? Thanks.
Jonathan
I've not had to use the CanWriteProperty before. Can you give an example of how it would be used in this situation? Thanks.
Jonathan
Overriding the CanWriteProperty works when the value is static. So if property 1 is 2000, property 2 does get disabled using the override and the ReadWriteAuthorizationManager. However, when the user changes the value of property 1 to something besides 2000, they should then be able to update property 2. I would have to reset the RWAM everytime I change a field to make this work. Is there a better way to handle this situation. I hate to have to keep resetting the RWAM that much. Thanks.
Jonathan
Do I have to reset the ReadWriteAuthorizationManager when I have values that are dependent on other properties and those properties can be changed by the user? For instance:
Property 1 is 2000, property 2 gets disabled using the CanWriteProperty override and the ReadWriteAuthorizationManager. However, when the user changes the value of property 1 to something besides 2000, they should then be able to update property 2. To make this happen I would have to reset the ReadWriteAuthorizationManager right?
Jonathan
Copyright (c) Marimer LLC