How to format the DATE and display in the AMX page uisng ADF Mobile.

The Date to be displayed in the format MM-DD-YYYY in the AMX page. To achieve this we need to use the <amx:convertDateTime> with in the OutputText as shown below –

<amx:panelLabelAndMessage label=”#{viewcontrollerBundle.LAST_UPDATE_DATE}” id=”plam5″    inlineStyle=”font-weight:bold;”>

<amx:outputText value=”#{bindings.lastUpdateDate.inputValue}” id=”ot6″>

<amx:convertDateTime pattern=MM-dd-yyyy“/>

</amx:outputText>

</amx:panelLabelAndMessage>

The output is displayed as below –

Date1

 

 

Advertisements
This entry was posted in ADF Mobile and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s