ok, let me try again.
my description of a normal scenario:
i have a view displaying list of rows. there is a button (link) for each row. The link is pointing to a controller, which is related to a second view.
once the button(link) is clicked, the controller will start and show the second view. ( the menu is also refreshed).
what i am trying to do is:
change the menu, based on the selected row (clicked button).
Where do i write these changes?
when:
This needs to be done after the button clicking and before the start of the controller .
I did:
changing the menu in the beginning of the controller definition will not be reflected in the menu, because at that time, it has been refreshed already and to see the change, a manual f5 refresh is required.
I am trying to do the menu change before the refresh, so i will not need to refresh using f5.
Thank you for your patience.
Ashraf