Hello John,

please look at RequestUtils.ensureNoCacheHeader

response.setHeader("Cache-Control", "private,no-cache,no-store");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("Expires", 0);
response.setDateHeader("max-age", 0);

Regards

Bernd



John schrieb:
Hi Bernd,

What cache specific headers is ajax now spitting out (as of nightly
build)?

John

-----Original Message-----
From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Sunday, July 16, 2006 1:45 PM
To: MyFaces Discussion
Subject: Re: [ myFaces - Tobago ] - Some instances of IE just don't work

Hello John,

good point. I have added some extra header for an ajax response. Can you
try it with the current nightly build?

An other point would be: You have to ensure that you doesn't get any
conversion or validation error, too. Can you ensure this?

Can you check the issue with the selected row with the addressbook demo?

Regards

Bernd

John schrieb:
Ok - I put a dumpValve on the Tomcat engine, so I can see all the http

headers...
I added a filter to put the extra headers in that IE requires so it doesn't cache anything... However it seems like although when the page comes in I get all the headers added, but when I switch tabs on server side (which I'm assuming is an AJAX request), my filter headers aren't there, just the

default non-cache header which is insufficient in all circumstances
with IE.
So I need ajax to apply all the headers also, it seems... John

----------------------------------------------------------------------
--
*From:* John [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, July 12, 2006 2:58 PM
*To:* MyFaces Discussion
*Subject:* [ myFaces - Tobago ] - Some instances of IE just don't work

I have our application running fine in Firefox - it includes Tobago server side tabbing Thought it worked in IE... We deployed our application to customers. Now we're getting reports back that some of their employees are using it just fine within IE 6. But for others, they login just fine, but doing anything within the application (tab switching, commands, etc), just refreshes the page. It now behaves this way for me also in IE 6. The funny thing is that while investigating this, the version of Windows nor the version of IE consistently produces the behavior. (Two

exactly same versions of IE 6 on the same version of Windows - one works one
doesn't)
One anomalies I noticed.
We have a Tobago sheet that is populated.
Usually (in Firefox or IE that works), when refreshing, the selections

still remain after the refresh. Even if deleting a row, the selection remains, but on the row that replaced the deleted row.
With this broken behavior - all selections are cleared upon refresh.
I'm totally confused... Thanks,
John

--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333



--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Reply via email to