Popup

amx:popup

The Popup component is a container whose content is used in popup windows, such as modal views, popup menus, alerts, and banners. It can contain various components similar to a Panel Page.

A popup component consists of the following attributes:

Popups are commonly used on tablets. On phones, content of the popups is displayed on a new page.

Appearance

Appearance characteristics for this component.

Behavior

Common behaviors for this component.

Usage

Usage guidelines for this component.

General

Modal Views

Messages/Alerts

Sample

AMX sample code for this component.

Here is a trigger for a popup:

<amx:commandButton id="commandButton2" text="Launch Menu">
<amx:showPopupBehavior popupId="popup1" type="action" align="overlapBottom" alignId="pp1"/>
</amx:commandButton>

And here is the popup:

<amx:popup id="popup1" animation="slideUp">
<amx:panelGroupLayout id="panelGroupLayout1" halign="center">
<amx:commandButton id="commandButton3" text="Reply" inlineStyle="width:275px" styleClass="adfmf-commandButton-rounded adfmf-commandButton-highlight">
<amx:closePopupBehavior popupId="popup1" type="action"/>
</amx:commandButton>
<amx:commandButton id="commandButton4" text="Reply-All" inlineStyle="width:275px" styleClass="adfmf-commandButton-rounded adfmf-commandButton-highlight">
<amx:closePopupBehavior popupId="popup1" type="action"/>
</amx:commandButton>
<amx:commandButton id="commandButton5" text="Forward" inlineStyle="width:275px" styleClass="adfmf-commandButton-rounded adfmf-commandButton-highlight">
<amx:closePopupBehavior popupId="popup1" type="action"/>
</amx:commandButton>
<amx:commandButton id="commandButton6" text="Cancel" inlineStyle="width:275px" styleClass="adfmf-commandButton-rounded ">
<amx:closePopupBehavior popupId="popup1" type="action"/>
</amx:commandButton>
</amx:panelGroupLayout>
</amx:popup>

Related

Fig 1. iOS Popup

 

Fig 2. Android Popup