How call a view method from a customcontroller?
how is ist possible to call a method within a view from a customcontroller.
I have two views and a customcontroller between them. A method in view A should trigger a method in view B through the customcontroller.
Armin Reichert replied
Use the controller editor of the custom controller to create a new event, maybe with parameters.
Declare the custom controller as "required" from the view controller (if not done already), create a new method in the view controller as event handler for that event.
Then the NWDS will generate a method in the custom controller to fire the event and a method in the view controller to handle it.