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.