I like to keep as much code as possible in each component, so the project can hopefully stay simple, whereas components are as complex as they need to be. Therefore, I have components implement their own installationActionList, preInstallationActionList, etc. Interestingly enough, I have already found that the component's preInstallationActionList is not executed, unless the component is selected. The next thing that I would like to determine is...
Can a component deselect itself? Perhaps in the preInstallationActionList, assuming that it is selected? Can it set its own description here, as well? Can it set its canBeEdited property to 0?
Say for instance, I have a component that installs a service and the user is a non-admin. Rather than have the project disable all service components, can the component itself handle this?
I suppose that I could just test this, but I thought it would be a good hypothetical for the Q&A group.
Please sign in to leave a comment.