cancel
Showing results for 
Search instead for 
Did you mean: 

Making a method as global

Former Member
0 Kudos

Hi All,

I have multiple views with their own methods. I have one method say reset_fields, which i want to call from different views. How can i do this.

Thanks and Regards.

Muzammil.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Muzammil Bichoo ,

Component Controller is the place where you can declare global attibutes and methods. Declare your required method in the component controller and acceess the same using the code wizard or wd_comp_controller->method name.

Regards

Sarath

Answers (1)

Answers (1)

Former Member
0 Kudos

Declare the method in your component controller, and call it using wd_comp_controller->method_name.

Regards

Nithya