Class AbstractViewActionSupport

All Implemented Interfaces:
Action, ValidationAware, LocaleProvider, TextProvider, Validateable, Serializable, BrowserTabAware, BrowserTabAware2, ValidationAware2, Action, ServletRequestAware, ValidationAware, Validateable
Direct Known Subclasses:
AbstractViewListActionSupport

public abstract class AbstractViewActionSupport extends AbstractActionSupport
Template class for Struts 2 actions that display something. Concrete subclasses are expected to use an interceptor stack like ViewStack; see interceptor package.
See Also:
  • Constructor Details

    • AbstractViewActionSupport

      public AbstractViewActionSupport()
  • Method Details

    • formatForms

      protected void formatForms()

      For all the current Action's forms, formats the annotated, formatted halves of every formatted/unformatted field pair from the unformatted halves, except for any form that was retrieved and injected (usually a rejected form). See BooleanConversion, EnumConversion, IntegerConversion etc.

      This is a legacy function and is called by view Struts Actions that don't use the FormFormatterInterceptor interceptor.