Filmstrip

amx:filmStrip, amx:filmStripItem

The Filmstrip component is a container that shows data items in a form of a vertical or horizontal strip. Data items that are displayed on pages must be of the same size and type. Each data item is represented by amx:filmStripItem.

This component is commonly used on tablets and phones.

Appearance

Appearance characteristics for this component.

Behavior

Common behaviors for this component.

Usage

Usage guidelines for this component.

Sample

AMX sample code for this component.

<amx:filmStrip id="fs1" var="item" value="#{bindings.contacts.collectionModel}" rendered="#{pageFlowScope.pRendered}" styleClass="#{pageFlowScope.pStyleClass}" inlineStyle="#{pageFlowScope.pInlineStyle}" shortDesc="#{pageFlowScope.pShortDesc}" halign="#{pageFlowScope.pFsHalign}" valign="#{pageFlowScope.pFsValign}" maxItemsOnPage="#{pageFlowScope.pMaxItems}" orientation="#{pageFlowScope.pOrientation}">
<amx:filmStripItem id="fsi1" inlineStyle="text-align:center; width:200px;">
<amx:commandLink id="ciLink" action="details" shortDesc="Navigate to details">
<amx:image id="ciImage" source="images/people/#{item.first}.png"/>
<amx:setPropertyListener from="#{item.rowKey}" to="#{pageFlowScope.currentContact}" type="action"/>
<amx:setPropertyListener from="#{item.first}" to="#{pageFlowScope.currentContactFirst}" type="action"/>
<amx:setPropertyListener from="#{item.last}" to="#{pageFlowScope.currentContactLast}" type="action"/>
</amx:commandLink>
</amx:filmStripItem>
</amx:filmStrip>

Related

Fig 1. iOS Filmstrip Horizontal

 

Fig 2. Android Filmstrip Horizontal

 

Fig 3. iOS Filmstrip Vertical

 

Fig 4. Android Filmstrip Vertical