Try adding the following parameter, and please inform us if it works /** Prevent the browser from caching this by adding a query string argument to the URL */ preventCache: true
James Sherwood wrote: > Thanks for the replies guys. > > Cliff: > > Currently I am testing dojo.io.bing. I have it pulling data from a > text file from tapestry that I just stuck in an image directory. This > works fine except it caches so bad that I have to close the browser > and reopen it to see the data change in the text file. > > Any ideas around this? > > Thanks, > James > ----- Original Message ----- From: "Cliff Zhao" <[EMAIL PROTECTED]> > To: "Tapestry users" <tapestry-user@jakarta.apache.org> > Sent: Tuesday, February 21, 2006 11:31 AM > Subject: Re: How to make a page talk to the server without refreshing > > > Then, just like what I said in my previous e-mail. All those methods will > work. dojo.io.bind and dojo.rcp.JsonService use XmlHttpRequest behind > the > scene. I'm in progress of creating a JsonService on the server side. > > On 2/21/06, James Sherwood <[EMAIL PROTECTED]> wrote: > >> >> Hello, >> >> Basically what I want is a basic tapestry page running (IE >> Http://james.com/web?service=page/Somepagename ), but polling the >> server >> to >> see if it should refresh. When it polls the server, the server >> should be >> able to perform some action (IE check if the data on page has should >> change >> according to some information in a database) and then tell the page to >> refresh if needed or not to refresh. >> >> I run tapestry under Tomcat. >> >> >> Thanks, >> James >> >> ----- Original Message ----- >> From: "Cliff Zhao" <[EMAIL PROTECTED]> >> To: "Tapestry users" <tapestry-user@jakarta.apache.org> >> Sent: Tuesday, February 21, 2006 11:15 AM >> Subject: Re: How to make a page talk to the server without refreshing >> >> >> XmlHttpRequest or dojo.io.bind or dojo.rpc.JsonService or iframe io etc. >> But >> not very sure what you really want. >> >> On 2/21/06, James Sherwood <[EMAIL PROTECTED]> wrote: >> > >> > Hi all, >> > >> > I am trying to make a page talk to the server without refreshing the >> page. >> > What I am actually trying to do is to create a way for the server to >> tell >> > the page to refresh. >> > >> > I have been looking at tacos with ajax but so far I cant even get it >> > working:( >> > >> > Any ideas would be greatly appreciated, >> > Thanks, >> > James >> > >> > >> > >> > --------------------------------------------------------------------- >> > 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] >> >> > > > > --------------------------------------------------------------------- > 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]