on 06-06-2014 8:08 AM
Hi All,
I have a requirement where I need to raise an event after having defaulted a value in a dropdownlist field.
I'm working on component BT120H_CPL/NewComplEF.
Here I have to default a value in the field REFOBJECTTYPE (context node NEWCOMPL). This is not a problem, I actually managed to write my logic in the do_prepare_output.
My problem is that upon selecting a value for this field the event ONREFOBJECTTYPE is executed, unfortunately if I default a value the server_event 'select' is not triggered and the sub-screen ExtRefItemEL is not called.
Do you know how to push/simulate an event from do_prepare_output in order to call the sub-screen immediately?
Thanks in advance
Paolo
Hi Paolo, I have the same problem. How did you solve it?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elina,
Actually I did not solve it.
The problem is that at the point of DO_PREPARE_OUTPUT you don't have all data to raise an event.
The point is: default a value is not the same as select a value, therefore you should simulate a 'selection' of your value, this will then trigger the event as in the normal flow.
Regards,
Paolo
Hey Paolo, Try by raise event statement in Do_prepare_output method as event handler method available in IMPL class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ciao Taity,
No, actually method ONREFOBJECTTYPE looks fine as it is.
My problem is the following: method ONREFOBJECTTYPE trigger the ob plugs to another view. this trigger is called when I 'select' a value in the Dropdown List.
As long as I'm defaulting the value in do_prepare_output, the 'select' action from the dropdown list is not triggered.
I'm looking to simulate this action to be able to call the subview.
Thanks
Paolo
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.