1 Reply Latest reply on May 19, 2011 9:41 PM by samuel777

    Annotation baseed Form validation in wizard without commiting till end

    samuel777

      Hi guys,

      Can someone give a pointer on how to do Annotation based Form validation (i.e. s:validateAll ) during several pages within a wizard without persisting any objects to database till the end?

      I examined the code generated by seam-gen, form validation is done when either '#{<entity>Home.persist}' or '#<entity>Home.persist' is called.

      Problem is I don't want to create any objects in database till the end of wizard while reusing the forms generated by seam-gen.

      Is this even possible without writing too much custom code?

      Thanks

      Sam