DataTable caches when called from HTML link in another frame
Hey all,
We're having the following problem: our system isframe based, one frame is the menu, and the other the data page. Everything works wonders when we're working within the data page frame, even when moving between different pages being called through the navigation system. But when we call a page from the menu (which is stored in an html page), it loads a cached version, usually theFIRST version of the page (and DataTable) that was loaded by the user.
No matter how many refreshes on the browser, frame and DataTable we do, whenever we click on the menu to go to that page again, it displays the cached version. We even added a Refresh Table button to force a refresh of the DataTable and go back to the actual data (it calls the refresh method in the DataTable's DataProvider) and temporarily solve this problem.
I'd also like to note we tried using the metadata to clear the cache, but to no use. Here's what we put in our <ui:head>:
<ui:meta content="no-cache"httpEquiv="Pragma" />
<ui:meta content="no-cache"httpEquiv="Cache-Control" />
<ui:meta content="no-store"httpEquiv="Cache-Control" />
<ui:meta content="max-age=0"httpEquiv="Cache-Control" />
<ui:meta content="1"httpEquiv="Expires" />
I'd like to stress that after the refresh the DataTableDOESshow the correct results, but when you open the page from the menu again, it'll revert to the cached version, requiringanotherrefresh to update it.
Anyone got any ideas? Could this be a cache of the java code compiled from the JSP? What can we do to solve this? Note that making the menu a JSPX page or using page fragments isNOTan option right now as we're in too tight a schedule to go playing with that now (the menu already existed in previous versions and we're keeping it like it is for development speed and compatibility sakes).
Thanks in advance for any help,
Heliton

