cancel
Showing results for 
Search instead for 
Did you mean: 

static class access this.getView().byId("controlId))

former_member277448
Participant
0 Kudos

hello,

i have a view that has some controls on it.

i have a bunch of methods that access the controls (using this.getView().byId("controlId)).

i want to move these methods from the controller to a utility/helper file ...

i cannot seem to access the controls from the helper static file/class.

any thoughts/suggestions greatly appreciated.

cheers

pas.

Accepted Solutions (1)

Accepted Solutions (1)

former_member484715
Contributor

Hi pas longo,

When you call your utility files function from your controller, you can send the ui controls as an parameter to the function.

Regards,

Arjun Biswas.

Answers (0)