to inform a user that his http session has expirecd you can easily redirect to a informational page via pages.xml and the
for ajax calls you can use the parameter org.ajax4jsf.handleViewExpiredOnClient to have the same behaviour.
but what about the seam controls s:link and s:button they don't submit the form and also don't trigger the viewexpired exception instead they just redirect
to the configured login.xhtml page.
anyone know how I can make them trigger the viewexpired expcetion too ? so I have the same behaviour on all controls in my application.
s:button and s:link perform a GET request. When the session is expired and s:link/button is used it's the same as you just opened the application from a fresh browser. The only thing on my mind is to store some token in the session and check for it with onpageload action/filter and redirect the user to some page if the token is not presented.