AJAXFrames are similar to iFrames in that they define regions on the screen as areas that can display content. You can display any
Page within an
AJAXFrame. Each
AJAXFrame has a unique ID.
Actions have a Target property that you can set to an
AJAXFrame ID. Whatever
Page is invoked by that
Action gets displayed in that
AJAXFrame, as shown in the following figure.
When you create an AJAXFrame, you can specify a
Page to load in it initially or you can choose for the
AJAXFrame to be empty until the user triggers an
Action that targets that
AJAXFrame. If you choose the latter option, you can also choose to hide the
AJAXFrame until a
Page gets displayed in it.
In an ActiveGrid Application, each Page has only one form that the user can submit. The form can’t span multiple AJAXFrames. You can’t submit something that’s on a different AJAXFrame.
AJAXFrames are refreshed independently from each other and the PageFrame does not get refreshed at all. A big part of the application design is deciding how you’re going to lay out your AJAXFrames and what content displays in which AJAXFrame. Group together pages that are likely to update at the same time.