|
spec-scope does not have direct implementation equivalent on the JSF platform. Its specification could provide implementation hints.
It is simply a means of stating whether specifications, like formatting, validation, conversion, etc. pertain to the particular element or its instance on the current page. Or else, they could be applied to elements with identical bindings to domain objects.
Since on the JSF platform, the domain objects are exposed as inner objects of the backing beans, it might not be straight forward to derive this equivalence across the backing beans.
However, with the multiple options of implementing these specifications, like binding to method in backing beans, standard validators, named validators, etc, it is obvious that this specification could influence which option to be chosen. Specification that would be used across the pages would be better specified as standard or named validators.
|