Re: refresh problem

2007-05-31 Thread Oguz Kologlu
Hi Volkan, I had a similar issue which turned out to be a a bug in the result page. It seems when you have an error in an ajax result page nothing gets reported (probably for good reason), but it makes things difficult to debug. The simplest way I find to resolve it is to make the ajax ca

Re: refresh problem

2007-05-31 Thread Volkan OZYILMAZ
I tryed this problem with FireFox, IE6, IE7. Same results. On 5/31/07, Mark Shifman <[EMAIL PROTECTED]> wrote: I had a similar problem that I never really worked out and I will be interested in hearing if anyone has solved this. I was wondering if this was a caching issue with your browser. I

Re: refresh problem

2007-05-31 Thread Mark Shifman
I had a similar problem that I never really worked out and I will be interested in hearing if anyone has solved this. I was wondering if this was a caching issue with your browser. I had the problem with firefox. any suggestions appreciated. mas Volkan OZYILMAZ wrote: Hello All, I use sturt

refresh problem

2007-05-31 Thread Volkan OZYILMAZ
Hello All, I use sturts 2. My web program work well but when i add a refresh link in my page, starting a problem. First i had use javascript:reload() function. When use this link, page sometimes not get data. But sometimes get. I change my reload() function. function refresh() { var sURL =

Struts Refresh problem--need help

2007-03-22 Thread Veera
/www.nabble.com/Struts-Refresh-problem--need-help-tf3446171.html#a9610336 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Refresh problem

2004-09-30 Thread Paul McCulloch
sor class if you have any issues getting this working. Paul > -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 6:02 PM > To: [EMAIL PROTECTED] > Subject: RE: Refresh problem > > > Hi, > > Ah, that will be why..

Re: Refresh problem

2004-09-29 Thread Jeff Beal
andy wix wrote: Hi, Ah, that will be why... I use a link to submit. Is there any way to force this to happen without a form? Thanks, Andy _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger

RE: Refresh problem

2004-09-29 Thread andy wix
Hi, Ah, that will be why... I use a link to submit. Is there any way to force this to happen without a form? Thanks, Andy _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger --

RE: Refresh problem

2004-09-29 Thread Paul McCulloch
The tag will (or should!) render a hidden field, on your html form, containing the token value. Paul > -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 29, 2004 5:18 PM > To: [EMAIL PROTECTED] > Subject: Refresh problem > &g

Refresh problem

2004-09-29 Thread andy wix
Hi, I have a screen which lists some names in a table and has a delete option which calls an action to delete the associated name and then the view page shows the updated list. If you do a delete and then select refresh on the browser, the resulting request is for another delete which is clearly

Re: Refresh problem.

2004-08-18 Thread Kunal Parikh
Hi nitin! I would attack this issue in two possible ways. Option 1: = addForm.do - Action.saveToken() in execute; listRecords.do - displays records + if( this.isTokenValid( request, true ) ) // true will reset the token (i.e. on refresh, the token will not match) { // do save } // f

Re: Refresh problem.

2004-08-18 Thread Harjot Singh
]> Sent: Wednesday, August 18, 2004 8:05 AM Subject: Refresh problem. > Hello, > > I have a page wherein I am listing a set of records. > This page also has a button for adding new record. > Now if the user clicks the [Add New] button, adds the > record(after which he is dire

Re: Refresh problem.

2004-08-18 Thread Deepak
Either redirect to the LIST page or use token for the Add page - Original Message - From: "nitin dubey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, August 18, 2004 5:40 PM Subject: Re: Refresh problem. >

Re: Refresh problem.

2004-08-18 Thread nitin dubey
The user is refreshing on the LIST page. :) --- nitin dubey <[EMAIL PROTECTED]> wrote: > Hello, > > I have a page wherein I am listing a set of records. > > This page also has a button for adding new record. > Now if the user clicks the [Add New] button, adds > the > record(after which he is di

Refresh problem.

2004-08-18 Thread nitin dubey
Hello, I have a page wherein I am listing a set of records. This page also has a button for adding new record. Now if the user clicks the [Add New] button, adds the record(after which he is directed to the same listing page) and refreshes the same record is added once more. Here onwards every r

Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
> cached by the browser or the server), or you missed the call to > > saveToken(request). > IMHO, the saveToken(request) IS CALLED for sure. It's actually the > opposite, > the token is saved, but never "resest" anywhere. > > A simple "refresh&q

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
gt; cached by the browser or the server), or you missed the call to > saveToken(request). IMHO, the saveToken(request) IS CALLED for sure. It's actually the opposite, the token is saved, but never "resest" anywhere. A simple "refresh" problem is becoming more and m

Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
--- Ding Lei <[EMAIL PROTECTED]> wrote: > > Hi Hubert, > Thanks for your reply first .. but: > > On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > > This is really how it's designed to work. For a form to be resubmitted, > the > > user will have to regenerate the form, maybe by go

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
Hi Hubert, Thanks for your reply first .. but: On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > This is really how it's designed to work. For a form to be resubmitted, the > user will have to regenerate the form, maybe by going back two pages, to the > page that was shown *before

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
Hi Hubert, Thanks for your reply first .. but: On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > This is really how it's designed to work. For a form to be resubmitted, the > user will have to regenerate the form, maybe by going back two pages, to the > page that was shown *before*

Re: Browser's refresh problem

2004-07-12 Thread Hubert Rabago
bute(Globals.TRANSACTION_TOKEN_KEY); > > > > if you really really want to get rid of it. > > > > Craig > > > > > > > > > > > > > > > > > > > > >>Cheers. > > >>Guillermo. > > >> > >

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
RANSACTION_TOKEN_KEY); > > if you really really want to get rid of it. > > Craig > > > > > > > > > > > > >>Cheers. > >>Guillermo. > >> > >>-Original Message- > >>From: Ding Lei [mailto:[EMAIL PROTEC

Re: Browser's refresh problem

2004-07-12 Thread Craig McClanahan
really really want to get rid of it. Craig Cheers. Guillermo. -Original Message- From: Ding Lei [mailto:[EMAIL PROTECTED] Sent: Lunes, 12 de Julio de 2004 10:38 a.m. To: Struts Users Mailing List Subject: Browser's refresh problem Hi all, There's a UserAddAction, which adds t

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
> > Cheers. > Guillermo. > > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Lunes, 12 de Julio de 2004 10:38 a.m. > To: Struts Users Mailing List > Subject: Browser's refresh problem > > > Hi all, > > There's a UserAd

RE: Browser's refresh problem

2004-07-12 Thread Guillermo Meyer
Use Struts isTokenValid/saveToken schema in your addUsetToDatabase Action method. Cheers. Guillermo. -Original Message- From: Ding Lei [mailto:[EMAIL PROTECTED] Sent: Lunes, 12 de Julio de 2004 10:38 a.m. To: Struts Users Mailing List Subject: Browser's refresh problem H

RE: Browser's refresh problem

2004-07-12 Thread Geeta Ramani
Hi Ding Lei: Use a redirect instead of a forward and that will solve your problem.. Geeta > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 9:38 AM > To: Struts Users Mailing List > Subject: Browser's refresh pr

Browser's refresh problem

2004-07-12 Thread Ding Lei
Hi all, There's a UserAddAction, which adds the user record to the database, and when it's done it redirects the user index page. the problem is that everytime the user clicks refresh at the user index page, the same record is added again. I know that unique check is required, but I also ho

Re: Refresh problem

2004-06-01 Thread Hubert Rabago
search the mailing list archive for information on Token Processing. Here's a start: http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=token&q=b Also, consider redirecting to the "list" page after processing a delete, or performing any DB update you don't want repeated by a refresh operation

Refresh problem

2004-06-01 Thread terry Highfield
HI, I have a list of related items on my JSP page and each item in the list has a delete button. This tells the action to remove the item from the ArrayList, thank fully this works nicely. The trouble is; after deleting an item I click "refresh" on the browser, this will then delete the next it