cancel
Showing results for 
Search instead for 
Did you mean: 

FPM: Event between subviews

Former Member
0 Kudos

Hello,

I wanna raise event from one subview uibb and process in in process event in another subview in method process_event without switching the subviews. Is it possible?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193369
Active Participant
0 Kudos

Hello Michal,

the first answer is no. An event is received (meaning FLUSH and PROCESS_EVENT is called) by all UIBBs which are logically visible before the event. Therefore the UIBBB on another subview doesn't get it.

There are several options for you:

  1. Simply raise 3 events: The first one navigating to the other subview, the 2nd remains the original one, and the 3rd navigates back. If you raise these 3 events within the same roundtrip, the navigations are only logical navigations - the user will not see it.
  2. Move the event processing logic from the 2nd UIBB to a global entity (like an AppCC). Obviously this logic doesn't purely belong to the 2nd UIBB, therefore it might be better to centralize it.

Hope this helps - if not please describe your use-case in more detail.

Best regards,

Christian