!--a11y-->
Overview of Dynamic Programming in the Web
Dynpro
The Web Dynpro programming model enables you to create contexts, view layouts, and actions – not only at design time, but also dynamically at runtime (dynamic programming).
However, you should only avail of dynamic creation of user interface elements, context attributes, and actions if these are not known at design time since the error possibilities and ability to maintain the program code to be implemented are much higher.
If you have user interface elements that are already known at design time and are to be displayed only when a user triggers an action, then these should not be created dynamically. There is also a considerably better variant: controlling the Visibility property of the user interface elements by mapping them to a context attribute of the type Visibility. In the tutorial, this variant is presented in the step Action Handling.
Before you begin with the dynamic programming of user interface elements, contexts, and actions, you should first create a declarative (static) example. In this way, you become aware of error sources and you get a better idea of the required UI element types and their properties.
· Create Dynamic User Interface Elements
¡ Dynamically Building the Appropriate Context
¡ Dynamically Creating the Form
¡ Dynamically embed pushbuttons with corresponding actions in the view layout
· Action Handling
Creating Dynamic User Interface Elements
