@NotNull doesn't really work (see the Seam Problems FAQ on the wiki).
It's hard to disable validation depending on which button is pressed using the
standard JSF/Seam validation stuff. You would need to cook up your own solution, or, as I
mentioned, use two forms.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038353#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...