Community
Participate
Working Groups
A warning/error message must be visible to the user in a SapphireFormEditor where the context of the error message is the entire editor (and not on a specific property editor).
Could this be done by modify SapphireEditorFormPage and mimicking the refreshPageHeaderXXX methods and add a new one called refreshPageHeaderMessage() The question would be where to get the message from? Should it come from the user's model like some more of validation? Like this.part.getLocalModelElement().validation().message(); However, validation services can't be attached If we keep this everything in the UI portion and avoid the model side, how should the API look?
One approach would be to use an EL for the header message. This would be more flexible than wiring it only for validation. If EL returns a Status object (as opposed to a plain string), one could incorporate the severity into the presentation. ${ SomeProperty.Validation } ${ MyCustomValidationFunction() } ${ SomeCondition ? "Some arbitrary message : null }
Greg, do you think you will be able to work on this for v9?
What is target release date for 9?
No specific release date yet. It would be good to aim approx for September, but that's fairly arbitrary.