cancel
Showing results for 
Search instead for 
Did you mean: 

access View's Method

Former Member
0 Kudos

Hi,

How can I acces or call from ComponentController any View's method ?

Regards

ilhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hallo,

this is not possible, since it violates the MVC concept.

Bundle the business logic in the component controller and reuse the function there.

grtz,

Koen

Former Member
0 Kudos

Koen thanx , can you pls be more concrete with:

Bundle the business logic in the component controller and reuse the function there

regards

ilhan

Former Member
0 Kudos

HI,

Define the method in component controller methods and call in it the View. You can make the method interface also and use in our components also.

Best regards,

Rohit Mahajan

Former Member
0 Kudos

hello what means ?

You can make the method interface also ???

Former Member
0 Kudos

yes

in the component controller define a method and check the interface checkbox.

Call that method from the view or when you use it as comp usage, you can call the same.

Best Regards,

Rohit

Answers (1)

Answers (1)

yesrajkumar
Active Participant
0 Kudos

Hi,

I think there is no such option provided. I had a look on the Code wizard also but could'nt find the same.

Thanks,

Rajkumar.S

Former Member
0 Kudos

do you mean interface checkbox ?

bye

ilhan