How will you force reload a page in Seam when user clicks Back button
February 6th, 2010
No comments
In Seam, to force reload a page when user clicks Back button add the following in pages.xml. That is to make the page expire immediately once it is rendered. If the user clicks on back button, the page is reloaded again by hitting the server.
<page view-id="/pathtoview/yourviewname.xhtml"> <header name="Cache-Control">no-cache, no-store, max-age=0, must-revalidate</header> </page>