Uses of Interface
name.matthewgreet.strutscommons.action.BrowserTabAware2
Packages that use BrowserTabAware2
Package
Description
Template classes and supporting interfaces for Struts 2 Actions.
Various Struts 2 Interceptors.
-
Uses of BrowserTabAware2 in name.matthewgreet.strutscommons.action
Classes in name.matthewgreet.strutscommons.action that implement BrowserTabAware2Modifier and TypeClassDescriptionclass
Base class of Struts 2 Action that supports server state per browser tab.class
AbstractFormDrivenActionSupport<F extends Form>
Base class of Struts 2 action for finding or updating based on form data.class
Template class of Struts 2 action for serving Json data of generic type T, usually for JQuery-based pages using jQuery.getJSON.class
Template class for Struts 2 actions that display something. -
Uses of BrowserTabAware2 in name.matthewgreet.strutscommons.interceptor
Methods in name.matthewgreet.strutscommons.interceptor with parameters of type BrowserTabAware2Modifier and TypeMethodDescriptionBrowserTabInterceptor2.attributeCloneAction
(BrowserTabAware2 browserTabAware, com.opensymphony.xwork2.ActionInvocation invocation, String attributeName, Object attributeValue) Returns what to do with existing attributes of an existing page if the user is opening a hyperlink in a new browser tab.protected 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.