| Author |
PhaseListener only on form submit not ajax request
|
ala alal
Greenhorn
Joined: May 18, 2009
Posts: 8
|
|
Hi all,
I wrote my own validation phase listener but I want to execute the method only when the request comes from the form submit and not from an Ajax request.
I've some fields with onblur validation and that cause the phaselistener to be called.
I just want it to be executed when I press the SUBMIT button.
Something like this:
afterPhase(PhaseEvent arg0) {
if (ajaxrequest)
return;
else {
....
.....
}
}
Some help?
|
 |
 |
|
|
subject: PhaseListener only on form submit not ajax request
|
|
|