Hi there,

I think this has been already discussed in the past on this list. Several
solutions have been discussed, mainly using a token mechanism + interceptor.

I don't have time yet to dig for info, but for sure this is something I'd
like to have as a core feature if possible. This is clearly a recurrent
issue.

Cheers

Remi


2010/11/16 Pakin <arui...@gmail.com>

>
> Hi Nikolaos,
>
> have you used the transaction token mechanism in Struts? A similar
> mechanism
> should solve your problem. It would be really easy to implement. If you
> don't know what I am talking about, let me know and I will explain further.
>
> Cheers,
>
> Angel.
>
>
> Nikolaos Giannopoulos wrote:
> >
> > Hi,
> >
> > Just wondering how others elegantly solve this situation:
> >
> > 1) User is editing a form and fills it out and clicks submit button
> > 2) Form gets successfully processed on the server however before a
> > response is returned the user hits the stop button, their internet
> > connection drops, etc...
> > 4) User clicks on submit again and tries to re-submit the same
> > information(*)
> >
> > Now, this would be trivial if there was a unique piece of information in
> > the content being posted however lets assume someone posting some blog /
> > news content wherein there is really no unique info (e.g. although it
> > may be rare there is nothing wrong with 2 people say posting the same
> > content with the same title).
> >
> > I was thinking to tag the users session with the last successfully
> > submitted Stripes "_sourcePage" field and direct the user to the "view"
> > handler if they are trying to do an "edit" and the "_sourcePage"matches.
> >
> > Thoughts???
> >
> > --Nikolaos
> >
> >
> >
> ------------------------------------------------------------------------------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and  rewriting code and more time creating great
> > experiences on the web. Be a part of the beta today
> > http://p.sf.net/sfu/msIE9-sfdev2dev
> > _______________________________________________
> > Stripes-users mailing list
> > Stripes-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Preventing-multiple-form-submission-tp30229773p30233802.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to