-
Notifications
You must be signed in to change notification settings - Fork 13
Bindings
miguelperezcolom edited this page Sep 22, 2024
·
1 revision
When you have several components in a view you can throw events from any of them and capture those events from the container component.
So, you set the event
parameter in your @Action
, @MainAction
or @Button
element. Now when a user click on that button a new event will be thrown in the frontend which can be captured by the container element. The event will contain the data related to that component exactly as would happen with any other action.
On the container you must annotate any method with the @Listener
annotation so it is called in the server side. It is the responsibility of the container/mediator element to call any method on any other component.
- Home
- Disclaimer
- See it in action
- User manual (v3)
- UX and IA
- Internals
- Roadmap
- Javadoc
- SonarQube
- Other MDD frameworks
- Thanks