on 01-12-2014 8:52 PM
Hello
I created a popup by using the below code; I placed a Table UI element with 4 fields/column, among that 2 are with input enabled and 2 are ReadOnly type
wd_this->w_window = lo_window_manager->create_window(
When i am coming from MAIN / HOME view, am seeing below with required rows (here all code of WDDOINIT method is triggering)
When i am coming from HANDLE_FROM_WINDOW view, am seeing below with NO rows (here only some piece of WDDOINIT method is triggering)
Pls. let me know Why the rows are disappearing????
Thank you
Hi MSR,
Move your code to event handler methd of inbound plug.
While navigation, the method WDDOINIT not be reached ( as wddoinit( ) executes only once per instance ) and event handler method of inbound plug is called every time.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi MSR,
You can also resolve your issue, if you set the lifetime of view to "when visible" in property tab of view
Now, each time you navigate to the view, WDDOINIT( ) method will be reached. Hence your code works fine.
Note: each time the view gets instantiated, if lifetime is set to "When visible"
Let me know, if you need further assistance.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.