Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Method callable in both controller and view

I'm using the same piece of code in both the component controller and a view. I would like to put the code in a method and call it from both places but I wonder what would be the best place to put this method.

Former Member replied

Create the method using Method tab in your component controller and you will get all the necesaary comments added there.

Regards,

Murtuza

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question