Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Query regarding sequence of execution of Getter and setter methods

$
0
0

Hello Everyone,

 

Had a small Query with Getter and Setter methods ..

 

As per my understanding the setter and getter methods for any attribute is used to bind the values between the view and the model .

 

The getter method is used to transfer the data for a particular attribute from the bol to the presentation layer  whereas the setter does just the opposite

 

 

When we perform any event on a UI page (say perform a search on a UI page) ... The sequence of execution of I can see is

DO_HANDLE_DATA->SETTER_METHOD->DO_HANDLE_EVENT->DO_PREPARE_OUTPUT->view.htm->GETTER_METHOD

 

But what I can understand from the concept of Getter and setter methods , the view.htm should be triggered after the getter_method (once we have set the value) into the presentation layer (the presentation being the view.htm page)

 

Could you please suggest ?

 

 

Thanks,

Vaibhav


Viewing all articles
Browse latest Browse all 4552