[
https://jira.jboss.org/browse/SEAMFACES-37?page=com.atlassian.jira.plugin...
]
Lincoln Baxter III commented on SEAMFACES-37:
---------------------------------------------
This should be provided via the @FormValidator annotation:
@FormValidator("vacationForm")
@FormValidator("spaForm")
public class MyCalendarValidator ...
or--
@FormValidators({
@FormValidator("bookingForm")
@FormValidator("spaForm")
@FormValidator("vacationFinderForm)
}})
public class MyCalendarValidator ...
getAnnotations(*.class) -- and we have our forms.
Dynamically attach via PreValidateEvent, can even do this where we grab the current form.
Attach a UIFormValidator to a UIForm automatically via name
resolution
----------------------------------------------------------------------
Key: SEAMFACES-37
URL:
https://jira.jboss.org/browse/SEAMFACES-37
Project: Seam Faces
Issue Type: Feature Request
Components: UI Components, Validation & Conversion
Reporter: Lincoln Baxter III
Attach a UIFormValidator to a UIForm via name resolution.
If the name of the form matches the name of the validator, attach the validator to the
form and enable it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira