Class XFormPageUnknownActionHandler

XForm handler for handling unknown action for page data

Inheritance
System.Object
XFormPageUnknownActionHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc.XForms
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(IUnknownActionHandler))]
public class XFormPageUnknownActionHandler : XFormUnknownActionHandlerBase, IUnknownActionHandler

Constructors

XFormPageUnknownActionHandler()

Default constructor that fetches dependencies from IOC container.

Declaration
public XFormPageUnknownActionHandler()

XFormPageUnknownActionHandler(UrlResolver)

Constructor with dependencies

Declaration
[Obsolete("Use alternative constructor")]
public XFormPageUnknownActionHandler(UrlResolver urlResolver)
Parameters
Type Name Description
UrlResolver urlResolver

The url resolver to use.

XFormPageUnknownActionHandler(UrlResolver, XFormPageHelper)

Initializes a new instance of the XFormPageUnknownActionHandler class.

Declaration
public XFormPageUnknownActionHandler(UrlResolver urlResolver, XFormPageHelper xFormPageHelper)
Parameters
Type Name Description
UrlResolver urlResolver
XFormPageHelper xFormPageHelper

Methods

InvokeFailedAction(XForm, XFormPostedData, Controller)

Invokes the failed action.

Declaration
protected override ActionResult InvokeFailedAction(XForm xform, XFormPostedData xformPostedData, Controller controller)
Parameters
Type Name Description
XForm xform

The xform.

XFormPostedData xformPostedData

The xform posted data.

System.Web.Mvc.Controller controller

The controller.

Returns
Type Description
System.Web.Mvc.ActionResult

An action result for a failed action.

Overrides

InvokeSuccessAction(XForm, XFormPostedData, Controller)

Invokes the success action.

Declaration
protected override ActionResult InvokeSuccessAction(XForm xform, XFormPostedData xformPostedData, Controller controller)
Parameters
Type Name Description
XForm xform

The xform.

XFormPostedData xformPostedData

The xform posted data.

System.Web.Mvc.Controller controller

The controller.

Returns
Type Description
System.Web.Mvc.ActionResult
Overrides

ProcessXFormAction(Controller, XFormPostedData)

Processes the XForm action.

Declaration
protected override bool ProcessXFormAction(Controller controller, XFormPostedData post)
Parameters
Type Name Description
System.Web.Mvc.Controller controller

The controller.

XFormPostedData post

The post.

Returns
Type Description
System.Boolean
Overrides

Implements

Extension Methods