Mailinglist Archive: yast-devel (126 mails)

< Previous Next >
Re: [yast-devel] WebYaST: Only write back actual changes !
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Fri, 13 Nov 2009 17:29:05 +0100
  • Message-id: <20091113162905.GB22366@xxxxxxxxxxxxx>
* Josef Reidinger <jreidinger@xxxxxxx> [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 <submit ...>

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >