Oracle MAF: Push page button using Javascript

A common requirement on MAF is to simulate a page button push using Javascript. To achieve this, what you need is a Javascript function that registers two events on the button – “touchstart” and “touchend”. (function() { pressAMXButton = function() { var eventTarget = document.getElementById(arguments[0]); //argument is the button id var touchStartEvt = new Event(“touchstart”); […]

person Bijeshaccess_time August 11, 2015launch Read More

Control triggering of autoSuggestBehaviour

The autoSuggestBehaviour is a very cool demonstration of AJAXy features. It’s a useful visual hint for the user and allows the user to quickly select a valid value for an input component. However, there is often a requirement to control the triggering of the autoSuggestBehaviour. For e.g. based on a minimum no. of characters typed […]

person Bijeshaccess_time March 4, 2013launch Read More