Antwort: how to handle refresh button ?

2003-12-08 Thread Manuel Lenz





Hi,
what does happen when the refresh button is pressed?
You can test anyway if the user has pressed submit or refresh button.
And you can add an if-expression which adds a row only if submit button is
pressed.

Manuel


   
   
   
An 
Struts (E-mail)  
 Kalra, Ashwani   [EMAIL PROTECTED]   
 [EMAIL PROTECTED]Kopie 
 08.12.2003 07:56  
 Thema 
how to handle refresh button ? 
   
   
   Bitte antworten an  
  Struts Users Mailing List  
  [EMAIL PROTECTED] 
  org 
   
   




hi,

I am adding a blank row in my jsp page by pressing the button and
submitting
to the same page. The problem is that when user presses the referesh
button,
It should not add a row. Is there any standard way of handling this problem
?

TIA
Ashwani Kalra


This message contains information that may be privileged or confidential
and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all
copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Antwort: how to handle refresh button ?

2003-12-08 Thread Kalra, Ashwani
Hi, 
I am talking about the refresh button of the browser. When user presses it,
How I figure out that this is different request.
I can always use some hidden field etc to detect this. Any other direct way
?



-Original Message-
From: Manuel Lenz [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 12:58 PM
To: Struts Users Mailing List
Subject: Antwort: how to handle refresh button ?







Hi,
what does happen when the refresh button is pressed?
You can test anyway if the user has pressed submit or refresh button.
And you can add an if-expression which adds a row only if 
submit button is
pressed.

Manuel


   

   

   

   
 An 
Struts (E-mail)  

 Kalra, Ashwani   
[EMAIL PROTECTED]   
 [EMAIL PROTECTED]  
  Kopie 
 08.12.2003 07:56  

   
  Thema 
how to handle refresh 
button ? 
   

   

   Bitte antworten an  

  Struts Users Mailing List  

  [EMAIL PROTECTED] 

  org 

   

   





hi,

I am adding a blank row in my jsp page by pressing the button and
submitting
to the same page. The problem is that when user presses the referesh
button,
It should not add a row. Is there any standard way of handling 
this problem
?

TIA
Ashwani Kalra


This message contains information that may be privileged or 
confidential
and
is the property of the Cap Gemini Ernst  Young Group. It is 
intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you 
receive this
message in error, please notify the sender immediately and delete all
copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]