In Place Form Action (Simple actions)

Shows or hides In Place Form controls that are commonly used for the in place editing of an individual document - directly within a Repeat control that lists multiple documents.

Defined in

Simple actions

Type

Document (Server)

Syntax

Note: This is the XSP source code. The UI presents the simple action as a dialog with a box for each argument.
inPlaceFormAction for="in_place_form_ID" 	formAction="action_name"
Arguments Description UI presentation
for Specifies the ID of the In Place Form control whose state will be changed by this action. If empty, it uses the closest In Place Form Control in the parent hierarchy. Not applicable.
formAction Specifies the action to perform on the In Place Form. Valid values are show, hide, or toggle. In Place Form controls that are commonly used for in place editing of an individual document directly within a Repeat control that lists multiple documents are shown or hidden.

Usage

The xe:inPlaceFormAction is used to show or hide In Place Form controls that are commonly used for in place editing of an individual document directly within a Repeat control that lists multiple documents.

Examples

Note: These examples present XSP source code which can be inserted under the Source tab taking care to keep the XML well formed. To use the UI, select or enter the arguments in the simple action dialog.

The following provides an example of the code for using this action:

<xp:link escape="true" id="link1" text="Click Me to Edit Form">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="inform">
	<xp:this.action>
		  <xe:inPlaceFormAction for="inPlaceForm1" formAction="toggle"></xe:inPlaceFormAction>
	</xp:this.action>
</xp:eventHandler>
</xp:link>