[jboss-user] [JBoss Seam] - Can I hook complex validations into Seam's validation messag
NoLiveTv
do-not-reply at jboss.com
Mon Jun 18 13:09:11 EDT 2007
I would like to leverage the logic already in the Seam framework to mark and display fields in error. However, unlike the examples I've seen, the validation messages will be generated by my business layer via custom business logic, not by Seam/JSF tags in the presentation tier or Hibernate/persistence tier annotations.
Assuming my business tier can identify the field(s) in error, the error severity, error summary text and error detail text, is there an easy way to add the errors to som eSeam component so they get displayed just like field-level component/Hibernate validation errors?
I am aware that the business logic validations occur after the JSF validation life cycle state. Still, I'd like to leverage what I can instead of writing it from scratch.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055316#4055316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055316
More information about the jboss-user
mailing list