On Friday 13 November 2009 17:29:05 Klaus Kaempf wrote:
* Josef Reidinger
[Nov 13. 2009 17:26]: But if we solve it on REST-layer and ActiveResource detects that there is no change, he can avoid calling to rest-service which could save same time (question is who send form with no data change).
You can move the detection even before the REST-layer and do it completely on the Browser-Client level.
Add hidden input fields to each form, containing the original values, and have the client do the comparison on each
Which is what the jquery plugins do, automatically, without need to do those acrobatics on every form. -- Duncan Mac-Vicar P. - Engineering Manager, YaST SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org