JSF round trip with high latency

sCHween Source

We introduced a framework where we changed the lifecycle a little bit. Based on our improvement we have possibility to check against rules and modify the model.

enter image description here

Everything works as expected if we have a low latency. If we switch to a high latency we got the following issue:

If we leave a field it will trigger a request (as onChange event was added to all fields). Data: Name=Oscra If i get back to field because i entered a typo and leave it again the event is fired again. Data: Name=Oscar

After that the response of the first call will replace the value again of Name to Oscra instead of keeping it on Oscar. Tried already to investigate on it, but have no idea since it only appears on high latency. How can we prevent this isse?



comments powered by Disqus