Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

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: 7.19.2
Syntax
public class XFormPageUnknownActionHandler : XFormUnknownActionHandlerBase, IUnknownActionHandler

Constructors

XFormPageUnknownActionHandler()

Default constructor that fetches dependencies from IOC container.

Declaration
public XFormPageUnknownActionHandler()

XFormPageUnknownActionHandler(UrlResolver)

Constructor with dependencies

Declaration
public XFormPageUnknownActionHandler(UrlResolver urlResolver)
Parameters
Type Name Description
UrlResolver urlResolver

The url resolver to use.

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