Re: How to refresh a parent form?

2007-06-07 Thread Mauro Pedone

Hi Dmitry
You can use an AL sending an EVENT to parent form

AL after submit
runProcess
PERFORM-ACTION-SEND-EVENT @ Refresh


create an other Al on parent form
with runif

$EVENTYPE$=Refresh

and event checked


Ciao
Mauro





2007/6/7, Bezhenar, Dmitry [EMAIL PROTECTED]:


 Hello List,

I use an additional display-only form to set some values into the parent
regular. After changes are commited and a user closes the display-only form
I need to refresh the parent form in order to display the new values without
pressing F5 button.

How can I do it?

Thank you.

Kind regards / С уважением
  **Dmitry Bezhenar
*SIEMENS*
Siemens IT Solutions and Services

Kozhevnicheskij Per. 6
Moscow / Russia
Tel.+7 495 737 2697

Mob.  +7 916 615 7978
Email   [EMAIL PROTECTED]




Re: How to refresh a parent form?

2007-06-07 Thread CONDREA, Daniel
Example of sending events between windows

Sending events between windows

page 263

Workflow-Objects-700.pdf



From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mauro Pedone
Sent: Thursday, June 07, 2007 3:55 PM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?


Hi Dmitry
You can use an AL sending an EVENT to parent form 
 
AL after submit
runProcess
PERFORM-ACTION-SEND-EVENT @ Refresh
 
 
create an other Al on parent form
with runif
 
$EVENTYPE$=Refresh
 
and event checked
 
 
Ciao
Mauro
 
 


 
2007/6/7, Bezhenar, Dmitry [EMAIL PROTECTED]: 

 
Hello List,
 
I use an additional display-only form to set some values into the 
parent regular. After changes are commited and a user closes the display-only 
form I need to refresh the parent form in order to display the new values 
without pressing F5 button. 
 
How can I do it?
 
Thank you.
 
Kind regards / С уважением 
Dmitry Bezhenar
SIEMENS
Siemens IT Solutions and Services

Kozhevnicheskij Per. 6 
Moscow / Russia 
Tel.+7 495 737 2697

Mob.  +7 916 615 7978

Email   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 



-- 

*DISCLAIMER*

The information contained in this communication is confidential and may be 
legally privileged. It is intended solely for the use of the individual or 
entity to whom it is addressed and others authorized to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking action in reliance of the contents of this 
information is strictly prohibited and may be unlawful. Orange Romania S.A. is 
neither liable for the proper, complete transmission of the information 
contained in this communication nor any delay in its receipt.

*END OF DISCLAIMER*

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are


Re: How to refresh a parent form?

2007-06-07 Thread Mike Chepaykin

You have to send EVENT from child form and handle it in parent.

Take a look at PERFORM-ACTION-SEND-EVENT RunProcess command.


I use an additional display-only form to set some values into the parent 
regular. After changes are commited and a user closes the display-only form I 
need to refresh the parent form in order to display the new values without 
pressing F5 button.
 
How can I do it?


--
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the Answers 
Are


Re: How to refresh a parent form?

2007-06-07 Thread HonnourPrahalladachar, PhaniRaja
Hi Dmitry,
 
Another option if your system is still in 5.x ( though this is also applicable 
to  5.x versions)
 
The Display-Only form would be opened using an Active link Open-Window Action. 
Now after this action in the Active Link,  create a Change-Field action which 
refreshes the Table-Field. This would do the required.
 
Thanks  Regards, 
Phani. 

Voip: +44 20718 25413 

 



From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mauro Pedone
Sent: Thursday, June 07, 2007 18:25
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?


Hi Dmitry
You can use an AL sending an EVENT to parent form 
 
AL after submit
runProcess
PERFORM-ACTION-SEND-EVENT @ Refresh
 
 
create an other Al on parent form
with runif
 
$EVENTYPE$=Refresh
 
and event checked
 
 
Ciao
Mauro
 
 


 
2007/6/7, Bezhenar, Dmitry [EMAIL PROTECTED]: 

 
Hello List,
 
I use an additional display-only form to set some values into the 
parent regular. After changes are commited and a user closes the display-only 
form I need to refresh the parent form in order to display the new values 
without pressing F5 button. 
 
How can I do it?
 
Thank you.
 
Kind regards / С уважением 
Dmitry Bezhenar
SIEMENS
Siemens IT Solutions and Services

Kozhevnicheskij Per. 6 
Moscow / Russia 
Tel.+7 495 737 2697

Mob.  +7 916 615 7978

Email   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 




This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


Re: How to refresh a parent form?

2007-06-07 Thread Bezhenar, Dmitry
OK. Thanks. 

What action should AL perform on receiving an event in order to refresh the 
active request? 


Kind Regards / C уважением
Dmitry Bezhenar


-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mike Chepaykin
Sent: Thursday, June 07, 2007 4:52 PM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?

You have to send EVENT from child form and handle it in parent.

Take a look at PERFORM-ACTION-SEND-EVENT RunProcess command.

 I use an additional display-only form to set some values into the parent 
 regular. After changes are commited and a user closes the display-only form I 
 need to refresh the parent form in order to display the new values without 
 pressing F5 button.
  
 How can I do it?

-- 
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are


Re: How to refresh a parent form?

2007-06-07 Thread Grooms, Frederick W
When you open the Display Only form are you opening it as a Dialog window?
 
If so you can push data back to the parent form by specifying the data in the 
On Close part of the Open Window action.  No messy mucking about with refreshes 
or sending events.
 
Fred



From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Bezhenar, Dmitry
Sent: Thursday, June 07, 2007 7:47 AM
To: arslist@ARSLIST.ORG
Subject: How to refresh a parent form?


Hello List,
 
I use an additional display-only form to set some values into the parent 
regular. After changes are commited and a user closes the display-only form I 
need to refresh the parent form in order to display the new values without 
pressing F5 button.
 
How can I do it?
 
Thank you.
 
Kind regards / С уважением
Dmitry Bezhenar
SIEMENS
Siemens IT Solutions and Services

Kozhevnicheskij Per. 6 
Moscow / Russia 
Tel.+7 495 737 2697

Mob.  +7 916 615 7978

Email   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are


Re: How to refresh a parent form?

2007-06-07 Thread Mike Chepaykin
What action should AL perform on receiving an event in order to refresh the active request? 

You have to refresh a table field on parent form, or refresh datafields in 
regular form?
If regular form, how do you set new data to parent form from chind form - with 
OnClose option of Open Window action or with PushFields action?


--
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the Answers 
Are


Re: How to refresh a parent form?

2007-06-07 Thread Bezhenar, Dmitry
I did it using push fields action and got this refresh issue.
Now I am trying to use Open Window On-Close field mapping.
It doesn't work yet. Now I'm going to take a look into the AL.log in order to 
find out if this AL(which open display-only window) is executed on closing or 
not.



Kind Regards / C уважением
Dmitry Bezhenar


-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mike Chepaykin
Sent: Thursday, June 07, 2007 5:36 PM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?

 What action should AL perform on receiving an event in order to refresh the 
 active request? 
You have to refresh a table field on parent form, or refresh datafields in 
regular form?
If regular form, how do you set new data to parent form from chind form - with 
OnClose option of Open Window action or with PushFields action?


-- 
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are


Re: How to refresh a parent form?

2007-06-07 Thread Grooms, Frederick W
When you close the Dialog Window you have to perform the Commit action.  That 
is what causes the On Close part of the Open Window action to function.

Fred

-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Bezhenar, Dmitry
Sent: Thursday, June 07, 2007 8:51 AM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?

I did it using push fields action and got this refresh issue.
Now I am trying to use Open Window On-Close field mapping.
It doesn't work yet. Now I'm going to take a look into the AL.log in order to 
find out if this AL(which open display-only window) is executed on closing or 
not.


Kind Regards / C уважением
Dmitry Bezhenar


-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mike Chepaykin
Sent: Thursday, June 07, 2007 5:36 PM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?

 What action should AL perform on receiving an event in order to refresh the 
 active request? 
You have to refresh a table field on parent form, or refresh datafields in 
regular form?
If regular form, how do you set new data to parent form from chind form - with 
OnClose option of Open Window action or with PushFields action?


--
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are


Re: How to refresh a parent form?

2007-06-07 Thread Mike Chepaykin

I did it using push fields action and got this refresh issue.

Bad design :)


Now I am trying to use Open Window On-Close field mapping.
It doesn't work yet. Now I'm going to take a look into the AL.log in order to 
find out if this AL(which open display-only window) is executed on closing or 
not.

You have to know, that OnOpen and OnClose options are NOT logged. But I have an 
idea why your OnClose is not working - you have to do CommitChanges action 
before CloseWindow action in child form.

--
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the Answers 
Are


Re: How to refresh a parent form? - Resolved

2007-06-07 Thread Bezhenar, Dmitry
Yes, you are right. I missed the commit action.
Now I got it.
Thanks ARslist. Perfect community. :) 


Kind Regards / C уважением
Dmitry Bezhenar


-Original Message-
From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Mike Chepaykin
Sent: Thursday, June 07, 2007 5:56 PM
To: arslist@ARSLIST.ORG
Subject: Re: How to refresh a parent form?

 I did it using push fields action and got this refresh issue.
Bad design :)

 Now I am trying to use Open Window On-Close field mapping.
 It doesn't work yet. Now I'm going to take a look into the AL.log in order to 
 find out if this AL(which open display-only window) is executed on closing or 
 not.
You have to know, that OnOpen and OnClose options are NOT logged. But I have an 
idea why your OnClose is not working - you have to do CommitChanges action 
before CloseWindow action in child form.

-- 
Mike Chepaykin

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:Where the 
Answers Are