cancel
Showing results for 
Search instead for 
Did you mean: 

'Nothing changed' checking

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thank you Justing..