views:

16

answers:

1

It seems to me that the most of the time you'd want to have ignoreDupResponse set to true on your a4j:support, a4j:commandLink, a4j:commandButton, etc. components. In which scenario it can be useful to have ignoreDupResponse set to false? Is there any performance cost of having ignoreDupResponse set to true? If not, why isn't ignoreDupResponse set to true by default by A4J?

+1  A: 

I cannot think of a useful example where it should be set tot false. However, the reason why it is set to false by default is that this is the default/normal behavior. So when it is false, nothing has to happen, while when it is true, the duplicate responses need to be 'filtered'.

By the way: it is client side behavior, so it will not have any effect on your network or server load.

Fortega