on 04-01-2008 2:48 PM
Hello,
The popup 'X' has nested view 'Y' and Ok, Cancel buttons. Nested View 'Y' has a start point, a Data service, a table with single column 'Z' and a out-port (configured to event Select), from the out-port, close pop-up endpoint is connected which is mapped to store the value of column 'Z'. The value of column Z, should be send out only on the click of OK button of the pop-up and not when Cancel is clicked, is there a way to validate that? At this moment, it is sent regardless of which button is clicked.
Thanks much,
Dharmi
Not using the buttons of the pop-up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try adding your actions to the OK button of your popup instead of using your end-point for that.
What is the action assigned to the dataflow between the out-port of the Nested View to the end-point ?
Edited by: Yogev Lidor on May 5, 2008 2:05 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yogev,
When a nested iview is embedded in the pop-up, the ok and cancel buttons has NO access to values from that model. When you have a data flow form the out-port to the end-point , you need not define any action yourself, since it is grayed (Event name : <name of the outport>), meaning the system has defined for you already.
Best regards,
Dharmi
Hi Dharmi
You are correct. still I'm having truble understanding a few things :
In your model , as soon as you get a signal to the output port of the nested view your popup in closed, the Ok and Cancel do not participate in the process at all. I don't understand how exactly do you use the Ok and Cancel buttons of the popup ?
Hi Dharmi,
You can add a boolean parameter (in your datastore..)
that can be set to TRUE in the popup OK button.
In the endPoint you can store it on popup close and if that boolean is TRUE.
Best regrads,
Kobi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kobi,
I understood what you said but how do you do "that can be set to TRUE in the popup OK button." ?? The popup at [design time|http://img145.imageshack.us/img145/8789/popupdesigntimeks2.jpg] and [layout|http://img371.imageshack.us/img371/750/popuplayoutgs4.jpg].
If it is a normal form which has button you can store anything with that to data store, here how would I link that "OK" (close window) action of popup?
Best regards,
Dharmi
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.