Uses of Interface
name.matthewgreet.strutscommons.action.BrowserTabSession
Packages that use BrowserTabSession
Package
Description
Template classes and supporting interfaces for Struts 2 Actions.
Various Struts 2 Interceptors.
Various view helpers used for JSP pages.
-
Uses of BrowserTabSession in name.matthewgreet.strutscommons.action
Classes in name.matthewgreet.strutscommons.action that implement BrowserTabSessionMethods in name.matthewgreet.strutscommons.action that return BrowserTabSessionModifier and TypeMethodDescriptionAbstractActionSupport.getBrowserTabSession()
Returns a session that distinguishes between different tabs of the same web browser.BrowserTabAware2.getBrowserTabSession()
Returns browser tab specific session.Methods in name.matthewgreet.strutscommons.action with parameters of type BrowserTabSessionModifier and TypeMethodDescriptiondefault void
BrowserTabAware2.copyAttributesFromOldTabToNewTab
(BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Set<String> attributeIgnores, Set<String> attributeFailures) May be overridden to manually copy or clone tab-specific attributes from the page of an old tab to a new tab whenever the user opens a hyperlink in a new browser tab.default void
BrowserTabAware2.handleAttributeFailures
(BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Set<String> attributeFailures) May be overridden to handle attributes that failed manual or automatic copying or cloning.void
AbstractActionSupport.setBrowserTabSession
(BrowserTabSession value) Sets a session that distinguishes between different tabs of the same web browser.void
BrowserTabAware2.setBrowserTabSession
(BrowserTabSession value) Sets browser tab specific session. -
Uses of BrowserTabSession in name.matthewgreet.strutscommons.interceptor
Methods in name.matthewgreet.strutscommons.interceptor with parameters of type BrowserTabSessionModifier and TypeMethodDescriptionprotected boolean
BrowserTabInterceptor2.attributeFromOldTabToNewTabClone
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Map.Entry<String, Object> oldAttributeEntry) Handles an attribute from the old tab that should be cloned and returns whether it succeeded.protected boolean
BrowserTabInterceptor2.attributeFromOldTabToNewTabCopyConstructor
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Map.Entry<String, Object> oldAttributeEntry) Handles an attribute from the old tab that that should be copied with a copy constructor and returns whether it succeeded.protected boolean
BrowserTabInterceptor2.attributeFromOldTabToNewTabCopyReference
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Map.Entry<String, Object> oldAttributeEntry) Handles an attribute from the old tab that where its reference should be copied and returns whether it succeeded.protected boolean
BrowserTabInterceptor2.attributeFromOldTabToNewTabIgnore
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Map.Entry<String, Object> oldAttributeEntry) Handles an attribute from the old tab that should be ignored and returns whether it succeeded, which does nothing.protected boolean
BrowserTabInterceptor2.attributeFromOldTabToNewTabNull
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession, Map.Entry<String, Object> oldAttributeEntry) Handles an attribute from the old tab that that has a null value and returns whether it succeeded.protected void
BrowserTabInterceptor2.attributesFromOldTabToNewTab
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, BrowserTabSession oldBrowserTabSession, BrowserTabSession newBrowserTabSession) Called when the user's web browser reloads because the page has been opened in a new tab, to copy private, tab-specific attributes from the old tab to the new. -
Uses of BrowserTabSession in name.matthewgreet.strutscommons.view
Methods in name.matthewgreet.strutscommons.view with parameters of type BrowserTabSessionModifier and TypeMethodDescriptionvoid
AbstractListCacheBasedDisplay.setBrowserTabSessionData
(BrowserTabSession browserTabSession, Class<? extends AbstractCompositeCache<?, T>> compositeCacheClass, String tabId) Sets all session data, class of composite cache used by sibling tabs, and tab id of this tab.