runEvent()anywhere you want a viewlet to be displayed or the content rendered. This calls an internal event that will be in charge to prepare and render the viewlet.
runEvent()method call. Please note that you can pass in arguments to the event using the
eventArgumentsargument. This makes the event act like a method call with arguments to it. Remember that all events you call via
runEvent()will share the same RC/PRC.
eventArgumentsstructure. It talks to a service layer and place some data on the private request collection the viewlet will use. It then returns the results of a
renderView()call that will render out the exact viewlet I want. You can be more creative and do things like: