Validations and Refreshing

Hello!

Consider the following initial situation:

I have one panel containing input controls for a search and a second panel containing a table which displays the results of the search (I do not use the ootb controls). I use some server-side validations. The results table (asynch table) is refreshed by an asynch command button.

The problem is:

  • When a server side validation fails the results table is refreshed anyway, which is not what I want.

How do i achieve not to refresh the table in the processValidations phase? Is it possible to have a ‘conditional’ refresh property set for the command button? (eg. on success refresh panel1, on failure refresh panel2)

Regards,
Bernd