Skip to Content
avatar image
Former Member

Popup- ok and cancel button

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 02, 2008 at 07:17 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Dharmi,

      you could add a delete action to the cancel button in order to remove the value from the Z column.

      Would that be a solution to your problem?

      Regards,

      Kevin

  • avatar image
    Former Member
    May 05, 2008 at 12:03 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 12, 2008 at 02:59 PM

    Not using the buttons of the pop-up.

    Add comment
    10|10000 characters needed characters exceeded