on 11-30-2007 11:05 AM
Hello gurus!
I have to add 'Nothing changed' checking in my WDP application, to restrict user to save already saved data.
Is there a standard mechanism in WDP to make it? And, if no, could you give me a roadmap to assemble it in optimal manner?
Thank you in advance!
Kiril.
hi krill......
consider you are having two input fields i1 and i2 and a button b1 to save....
all you have to do is this:
1) on the onaction method, before saving it, store those two values in a new attribute a1 and a2 , declared in the context.
2) so when it runs the second time with the same data.... check for those values a1 and a2 and compare with the current one.....
3) if there is a change, save it, else not.
--regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.