Re: Form getting resubmitted after an hour
Do you know what's causing the resubmission? I don't quite understand the problem, can you provide more information? Are you automatically refreshing the page (say, after one hour), but you find that the refresh is resubmitting the form? It strikes me as slightly unusual that you'd have a Tapestry page performing such a long operation. I think I'd be tempted to have the tapestry page queue up the job and have another process, like a Quartz worker, do the actual work. Michael On 6 July 2012 07:30, udnapp wrote: > In tapestry web page we are performing the operation which takes more > than one hour and page refreshes and resubmits the form after that > .I > want to prevent the page from refreshing after 1 hr and is there any > configuration parameter in tapestry which helps me avoid this issue. > > Pandu > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Form-getting-resubmitted-after-an-hour-tp5714319.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Form getting resubmitted after an hour
In tapestry web page we are performing the operation which takes more than one hour and page refreshes and resubmits the form after that .I want to prevent the page from refreshing after 1 hr and is there any configuration parameter in tapestry which helps me avoid this issue. Pandu -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-getting-resubmitted-after-an-hour-tp5714319.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Form getting resubmitted after an hour
This sounds like a push mechanism might be better than refreshing at an interval. I've recently released a beta for a push component based on CometD here https://github.com/uklance/tapestry-cometd I don't currently have a mechanism for stopping the subscription but it could be added quite easily. I have an outstanding issue (https://github.com/uklance/tapestry-cometd/issues/10) to execute custom javascript when events are published. I'd be interested to hear a bit more about your application to see if tapestry-cometd is a good fit. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-getting-resubmitted-after-an-hour-tp5714319p5714322.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org