Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Architecture / Need help for closing view on: June 03, 2008, 11:55:59
Hi all!

I have an QuotationPanel view compose two view: QuotationHeader and QuotationLines. QuotationPanel is a tab in TabNavigator. When user edit in both of QuotationHeader and QuotationLines but not click Save button. Then user click close button tab, I need confirm that user want to save or not save before close. I think it should be in these step:

1. Notify QuotationPanel closing
2. Notify QuotationHeader closing and it should have these step
      Confirm save with user
      User confirm save
      Call proxy for close (send Asyn call to server and waiting for response)
      Handle save success notification. Then send #1. Close finish header
3. Notify QuotationLine closing
      Confirm save with user
      User confirm save
      Call proxy for close (send Asyn call to server and waiting for response)
      Handle save success notification. Then send #2. Close finish lines

The problem is  CloseQuotationPanelCommand need triggered by recieve two #1, #2 notify.

Anyone help me!

PS: sory my english not well to clearly explain.
Pages: [1]