Thanks all for the tips! I must admit I looked into all your suggestions and links, but wasn't able to get my head around them.
But I managed to come up with the workaround. Since I'm using JQuery Tapestry module, I was able to display ajax loader icon and appropriate text on the form submit. This code will actually be invoked before the form submit. <script> > $("#keywordsForm").submit(function () { > $("#loadingText").html('<img src="${context:images/ajax-loader.gif}" /> > Please wait.'); > }); > </script> Thanks anyway, I appreciate it! Best, Nikola Email: nikola.mili...@gmail.com URL: nikola.milikic.info On Fri, Mar 4, 2011 at 4:41 PM, Kalle Korhonen <kalle.o.korho...@gmail.com>wrote: > You don't need multiple pages for it, you can just do it all in one > page if you don't mind some ajax (no scripting needed). > ProgressiveDisplay is ideal for this > ( > http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html > ). > > Kalle > > > On Fri, Mar 4, 2011 at 4:37 AM, LLTYK <ll...@mailinator.com> wrote: > > Use a meta refresh (it'll probably have to be in the tag somehow). Or > > javascript, to hit the same url. > > > > @Inject > > private ComponentResources componentResources; > > > > @OnEvent("calculate") > > ResultPage calculate() { .... } > > > > public String getCalculateUrl() > > { > > return componentResources.createEventLink("calculate).toString(); > > } > > > > > > > > > > -- > > View this message in context: > http://tapestry-users.832.n2.nabble.com/Invoke-method-after-page-is-loaded-when-method-finishes-redirect-to-another-page-tp6088155p6088324.html > > Sent from the Tapestry Users 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 > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >