-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.0 GA
-
Component/s: None
Provide developpers with NX Tags that encapsulate the usage of real JSF Tags for basic fields use cases.
This has a double purpose :
- Provides an abstraction on the real JSF components : make it easier to switch from tomahawk
- Encapsulate as much as possible of the boring code
- associate message tags to provide feedback
- integrate validation with core constraints (required, format ...)
- DocumentModel Binding
Idealy, we should try to avoid rewriting classes and rely as much as possible on tag composition and ui:component and ui:composition.
http://www.ninthavenue.com.au/blog/composing_components
http://wiki.jboss.org/wiki/Wiki.jsp?page=FaceletsSourceTags
The Data Validation process is an important step that should be made as transparent as possible : we don't want the developper to duplicate "by hand" at the JSF level all the validations and constraints that will be made at the core level.
Exactly like Seam integrates Hibernate Validation into JSF validation process, we should include NXCore Validation into JSF.