Each button or link on the Page is tied to one or more
Actions. The
Actions tell the Server what operations to perform, what
Page to load next, and so on. They
orchestrate the flow between the different
Pages.
Actions are defined in the
Page Flow for the project (
Page Flows).
Each Page in the application is displayed in an
AJAXFrame, either in the main
AJAXFrame on the
Page Frame, or in an
AJAXFrame in another
Page.
The
location in which the
Page is loaded is a property of the
Action. Each
Action has a target that specifies how and where to display the results of that
Action. For example, the target might specify the ID of a particular
AJAXFrame, or it might specify that the results display in a pop-up.
The preceding illustration shows a Page that contains two
AJAXFrames. The top
AJAXFrame contains a
Page called OnePage.xform. When a user clicks the button on that
Page, the
Action associated with that button loads a different
Page into the bottom
AJAXFrame.
The Target property of the Action specifies where the
Page is rendered. In the above illustration, the Target property is set to the ID of the lower
AJAXFrame (BottomAJAXFrameID). Each
AJAXFrame has a unique ID that
Actions can target. In addition, ActiveGrid provides three other targets: popup, hover popup, and MainAJAXFrame (the
AJAXFrame built into the
Page Frame).