cancel
Showing results for 
Search instead for 
Did you mean: 

how to catch changes on view

Former Member
0 Kudos

Hi all,

How can I catch changes that happend on the ivew?

I have a popup window with some ui elements,e.g. input field,table,checkbox,dropdown with some data.

I need to know if any element was changed for change process conformation.

Any ideas?

Regards,

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

use the method changedByClient to check that any changes have been made.

boolean isChangedByClient(String attributeName)

http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/progmodel/api/IWDNodeElement.html

Regards

Ayyapparaj

Answers (2)

Answers (2)

former_member189631
Active Contributor
0 Kudos

Michael Beilin,

You can have flag context variables with type boolean.

If any change in the value of the context then set the value of

the flag context as true. Write this code in modifyview.

Ram

former_member189631
Active Contributor
0 Kudos

Michael Beilin ,

Also you can write a validatation code in modifyview methos to track the changes.

Ram

Former Member
0 Kudos

Hi,Ram

Thanks for your answer.Can you provide me with some example ?

Regards,

Michael