-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 11.2
-
Component/s: Layouts & Widgets
There is currently no model to define a JSF validator with properties on the layout system.
It could be interesting to add a widget types just for this use case because:
- it can be easy to understand that adding specific validation can be done by dropping a widget in the layout (from Studio)
- validator properties can be merged with the widget properties (hence no need to modify or improve the layout model for this)
- widget type can handle retrieval of the component(s) to validate, hiding the current complexity of widget templates currently performing that kind of validation
Use cases:
- perform cross validation on a layout
- add validation to a widget that cannot accept a validator as property (like select2 widgets and other widget templates: the validation method cannot be passed as a property as it needs to be a method expression and not a value expression)
- depends on
-
NXP-13105 Improve lookup of components in the JSF tree
- Resolved
-
NXP-13686 Improve JSF validation helpers
- Resolved
- duplicates
-
NXP-4931 Add features for cross validation and ajax re-rendering of groups of widgets
- Resolved
-
NXP-4934 Add a generic way to declare validators on builtin widget types
- Resolved
- is required by
-
NXP-15012 Use html5 validators on forms fields
- Resolved