[jboss-user] [JBoss Seam] - Re: More form buttons and validation
Thanks, I know it, but I dont know how to disable validation. When sumbiting first button, I would like to validate field via medatadata (@NotNull), but when I click on the second button (on same form) I would like to call listener action without validation. Mila View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038324#4038324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
@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=bbop=viewtopicp=4038353#4038353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
miloslav.vlach, This is a general JSF thing. You can do this: h:commandButton immediate=true onclick=bCancel=true value=Upload Attachment/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038365#4038365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
Using two forms is the simplest way to do this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036997#4036997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036997 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user