File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes skip validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "skip validation" Watch "skip validation" New topic

skip validation

Liming Xu

Joined: Jan 22, 2002
Posts: 19

Here is my situation. I have three <div> areas on the form and it's this wizard like workflow div1 (next), div2(back,next) and div3 (back, done)

First problem..

1. When I click Back button, it calls an action method and forward back to the last page. At this point, validation all came up! I only want this happens when user clicks next.

2. depending on two checkboxes selected in div1, div2 and div3 will be shown or not shown. I want validator to be activated only for the divs that I showed. How?

Thank you all.
I agree. Here's the link:
subject: skip validation
It's not a secret anymore!