Re: Close dialog window without saving

2009-07-15 Thread Frank Caruso
Sounds like you are doing a Commit before you close the dialog.

On Wed, Jul 15, 2009 at 6:01 PM, John Kelley
john.kel...@dunkinbrands.comwrote:


 Hi List

 I have a selection field on (form A) that opens a dialog window (form B)
 which does a lookup.  I have two fields mapped on close to populate on the
 parent Form A when the item is selected.
 My selection works great and populates my Parent form.

 My question is how can I close out of the dialog window without setting the
 selection field on Form A and keeping the original item before I selected
 it.

 I set up an Active link with a close window action but it still picks up
 the item I selected from From A after the dialog window is closed.

 Any ideas.


 JK

 *
 This e-mail message, including any attachments, is for the sole use of the 
 addressee(s) to whom it has been sent, and may contain information that is 
 confidential or legally protected.  If you are not the intended recipient or 
 have received this message in error, you are not authorized to copy, 
 distribute, or otherwise use this message or its attachments.  Please notify 
 the sender immediately by return e-mail and permanently delete this message 
 and any attachments.  Dunkin' Brands Inc. makes no warranty that this e-mail 
 is error or virus free.



___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: Where the Answers Are


Re: Close dialog window without saving

2009-07-15 Thread Joe DeSouza
You do not 'Commit Changes' before closing. A 'Commit Changes' action before 
closing a dialog, populates the values from the Dialog to the Parent..

Joe




From: John Kelley john.kel...@dunkinbrands.com
To: arslist@ARSLIST.ORG
Sent: Wednesday, July 15, 2009 11:01:24 AM
Subject: Close dialog window without saving


Hi List 

I have a selection field on (form A) that opens a dialog window (form B) which 
does a lookup.  I have two fields mapped on close to populate on the parent 
Form A when the item is selected. 
My selection works great and populates my Parent form. 

My question is how can I close out of the dialog window without setting the 
selection field on Form A and keeping the original item before I selected it.   

I set up an Active link with a close window action but it still picks up the 
item I selected from From A after the dialog window is closed.   

Any ideas. 


JK




___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: Where the Answers Are

Re: Close dialog window without saving

2009-07-15 Thread John Kelley
I don't have a commit changes action before the close window of that AL.
There is a commit changes in one of my other active links that runs on a 
selection of an item from that Form B.

JK




Joe DeSouza joe_rem...@yahoo.com 
Sent by: Action Request System discussion list(ARSList) 
arslist@ARSLIST.ORG
07/15/2009 12:21 PM
Please respond to
arslist@ARSLIST.ORG


To
arslist@ARSLIST.ORG
cc

Subject
Re: Close dialog window without saving






** 
You do not 'Commit Changes' before closing. A 'Commit Changes' action 
before closing a dialog, populates the values from the Dialog to the 
Parent..
 
Joe

From: John Kelley john.kel...@dunkinbrands.com
To: arslist@ARSLIST.ORG
Sent: Wednesday, July 15, 2009 11:01:24 AM
Subject: Close dialog window without saving


Hi List 

I have a selection field on (form A) that opens a dialog window (form B) 
which does a lookup.  I have two fields mapped on close to populate on the 
parent Form A when the item is selected. 
My selection works great and populates my Parent form. 

My question is how can I close out of the dialog window without setting 
the selection field on Form A and keeping the original item before I 
selected it.   

I set up an Active link with a close window action but it still picks up 
the item I selected from From A after the dialog window is closed.   

Any ideas. 


JK

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: Where the Answers 
Are_


*
This e-mail message, including any attachments, is for the sole use of the 
addressee(s) to whom it has been sent, and may contain information that is 
confidential or legally protected.  If you are not the intended recipient or 
have received this message in error, you are not authorized to copy, 
distribute, or otherwise use this message or its attachments.  Please notify 
the sender immediately by return e-mail and permanently delete this message and 
any attachments.  Dunkin' Brands Inc. makes no warranty that this e-mail is 
error or virus free.


Re: Close dialog window without saving

2009-07-15 Thread Joe DeSouza
Thats all it needs.. It is the order in which it is fired. As long as it is 
fired before the 'Close Window' action, it will commit those changes to the 
Parent window.

Joe



From: John Kelley john.kel...@dunkinbrands.com
To: arslist@ARSLIST.ORG
Sent: Wednesday, July 15, 2009 2:23:19 PM
Subject: Re: Close dialog window without saving


I don't have a commit changes action before the close window of that AL. 
There is a commit changes in one of my other active links that runs on a 
selection of an item from that Form B. 

JK 


Joe DeSouza joe_rem...@yahoo.com 
Sent by: Action Request System discussion list(ARSList) arslist@ARSLIST.ORG 
07/15/2009 12:21 PM 
Please respond to
arslist@ARSLIST.ORG  To arslist@ARSLIST.ORG  
cc  
Subject Re: Close dialog window without saving 
  
 ** 
You do not 'Commit Changes' before closing. A 'Commit Changes' action before 
closing a dialog, populates the values from the Dialog to the Parent.. 
  
Joe 


From: John Kelley john.kel...@dunkinbrands.com
To: arslist@ARSLIST.ORG
Sent: Wednesday, July 15, 2009 11:01:24 AM
Subject: Close dialog window without saving


Hi List

I have a selection field on (form A) that opens a dialog window (form B) which 
does a lookup.  I have two fields mapped on close to populate on the parent 
Form A when the item is selected.
My selection works great and populates my Parent form. 

My question is how can I close out of the dialog window without setting the 
selection field on Form A and keeping the original item before I selected it.  

I set up an Active link with a close window action but it still picks up the 
item I selected from From A after the dialog window is closed.  

Any ideas.

JK




___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: Where the Answers Are

Re: Close dialog window without saving

2009-07-15 Thread Leonard Neely - FOJ
If I understand this correctly, you want to handle the scenario where the
user needs to cancel (or close) out of the dialog window, even though they
may have already selected a menu item on Form B?  From what it sounds like
to me, the commit to your parent form would have already occurred since you
have a Commit Changes in your AL that fires on Menu Selection on Form B.
What I would suggest is:

1.   Remove the Commit Changes action from your AL that fires on Menu
Selection on Form B.

2.   Add the Commit Changes action (before the Close Window action) to
the AL that fires on your [OK] button (I assume that one exist).

3.   On your [Cancel] or [Close] button, just have the Close Window
action.

This way, the selected values from Form B should only get written to the
parent form if the [OK] button is clicked on Form B.

 

HTH

 

Leonard Neely

Column Technologies

 

 

 

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of John Kelley
Sent: Wednesday, July 15, 2009 11:23 AM
To: arslist@ARSLIST.ORG
Subject: Re: Close dialog window without saving

 


I don't have a commit changes action before the close window of that AL. 
There is a commit changes in one of my other active links that runs on a
selection of an item from that Form B. 

JK 





Joe DeSouza joe_rem...@yahoo.com 
Sent by: Action Request System discussion list(ARSList)
arslist@ARSLIST.ORG 

07/15/2009 12:21 PM 


Please respond to
arslist@ARSLIST.ORG


To

arslist@ARSLIST.ORG 


cc



Subject

Re: Close dialog window without saving

 






** 
You do not 'Commit Changes' before closing. A 'Commit Changes' action before
closing a dialog, populates the values from the Dialog to the Parent.. 
  
Joe 

  _  

From: John Kelley john.kel...@dunkinbrands.com
To: arslist@ARSLIST.ORG
Sent: Wednesday, July 15, 2009 11:01:24 AM
Subject: Close dialog window without saving


Hi List 

I have a selection field on (form A) that opens a dialog window (form B)
which does a lookup.  I have two fields mapped on close to populate on the
parent Form A when the item is selected. 
My selection works great and populates my Parent form. 

My question is how can I close out of the dialog window without setting the
selection field on Form A and keeping the original item before I selected
it.   

I set up an Active link with a close window action but it still picks up the
item I selected from From A after the dialog window is closed.   

Any ideas. 


JK 

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: Where the Answers
Are_ 


*
This e-mail message, including any attachments, is for the sole use of the
addressee(s) to whom it has been sent, and may contain information that is
confidential or legally protected.  If you are not the intended recipient or
have received this message in error, you are not authorized to copy,
distribute, or otherwise use this message or its attachments.  Please notify
the sender immediately by return e-mail and permanently delete this message
and any attachments.  Dunkin' Brands Inc. makes no warranty that this e-mail
is error or virus free.

 


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: Where the Answers Are


Re: Close dialog window without saving

2009-07-15 Thread Drake
or if that's too much of a pain, pass the source field's original value to
the dialog window (to a hidden field).  If your user cancels, have it
restore the original value before closing the window.  Then the commit will
commit back the original value.

On Wed, Jul 15, 2009 at 3:28 PM, Leonard Neely - FOJ lne...@focusonjobs.com
 wrote:

 **

 If I understand this correctly, you want to handle the scenario where the
 user needs to cancel (or close) out of the dialog window, even though they
 may have already selected a menu item on Form B?  From what it sounds like
 to me, the commit to your parent form would have already occurred since you
 have a “Commit Changes” in your AL that fires on Menu Selection on Form B.
 What I would suggest is:

 1.   Remove the “Commit Changes” action from your AL that fires on
 Menu Selection on Form B.

 2.   Add the “Commit Changes” action (before the Close Window action)
 to the AL that fires on your [OK] button (I assume that one exist).

 3.   On your [Cancel] or [Close] button, just have the “Close Window”
 action.

 This way, the selected values from Form B should only get written to the
 parent form if the [OK] button is clicked on Form B.



 HTH



 Leonard Neely

 Column Technologies







 *From:* Action Request System discussion list(ARSList) [mailto:
 arsl...@arslist.org] *On Behalf Of *John Kelley
 *Sent:* Wednesday, July 15, 2009 11:23 AM
 *To:* arslist@ARSLIST.ORG

 *Subject:* Re: Close dialog window without saving




 I don't have a commit changes action before the close window of that AL.
 There is a commit changes in one of my other active links that runs on a
 selection of an item from that Form B.

 JK


   *Joe DeSouza joe_rem...@yahoo.com*
 Sent by: Action Request System discussion list(ARSList) 
 arslist@ARSLIST.ORG

 07/15/2009 12:21 PM

 Please respond to
 arslist@ARSLIST.ORG

 To

 arslist@ARSLIST.ORG

 cc

 Subject

 Re: Close dialog window without saving






 **
 You do not 'Commit Changes' before closing. A 'Commit Changes' action
 before closing a dialog, populates the values from the Dialog to the
 Parent..

 Joe
  --

 *From:* John Kelley john.kel...@dunkinbrands.com*
 To:* arsl...@arslist.org*
 Sent:* Wednesday, July 15, 2009 11:01:24 AM*
 Subject:* Close dialog window without saving


 Hi List

 I have a selection field on (form A) that opens a dialog window (form B)
 which does a lookup.  I have two fields mapped on close to populate on the
 parent Form A when the item is selected.
 My selection works great and populates my Parent form.

 My question is how can I close out of the dialog window without setting the
 selection field on Form A and keeping the original item before I selected
 it.

 I set up an Active link with a close window action but it still picks up
 the item I selected from From A after the dialog window is closed.

 Any ideas.


 JK

 _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: Where the Answers
 Are_

 *

 This e-mail message, including any attachments, is for the sole use of the 
 addressee(s) to whom it has been sent, and may contain information that is 
 confidential or legally protected.  If you are not the intended recipient or 
 have received this message in error, you are not authorized to copy, 
 distribute, or otherwise use this message or its attachments.  Please notify 
 the sender immediately by return e-mail and permanently delete this message 
 and any attachments.  Dunkin' Brands Inc. makes no warranty that this e-mail 
 is error or virus free.


  _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: Where the Answers
 Are_


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: Where the Answers Are