Creating Dynamic action handler for dynamic buttons
My requirement is based on the select query , I am getting 'n' number of records in my internal table and now I need to create that 'n' number of Buttons dynamically in my Webdynpro Layout and also create same number of dynamic Action Handlers to assign the same to those dynamically created buttons.
So please let me know can we create dynamic action handlers in the code itself rather than creating manually in the view controller or component controller.
srinivas sana replied
You need to create one action , while creating button dynamically assing that action.
In action declare a parameter ID type string. whenever the action trigger ID will contain BUTTON ID.
So declare your button id according to your requirement.