Previous Next

Returns, on the basis of a page alias, the name of a page embedded in the page being browsed.

An embedded page is a Page control that has been dragged into another Page control or one of its child objects in the Web Designer.

This function requires that the page alias is already known. If FrameControls are used, then there can be an overlap of embedded page names in the display structure; in such cases, therefore, the frame context needs to be specified.


.getEmbeddedPageName( alias, context )

The required alias is the page alias assigned by Web Designer to the target embedded page. This alias is a code such as P105.

The optional context indicates the frame context for which the function is called. If you are displaying pages in a FrameControl that has an id value of "ApplicationFrame", then the context for those pages is "ApplicationFrame".


See also