Skip to main content

Posts

Showing posts from January, 2018

JET 4.1 : How to use toastr to show non-blocking notifications

NOTE: As of Oracle JET Version 5.0, the below can be achieved by Oracle JET's oj-message component, as described here : http://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=messages&demo=pageInline _________________________________________________________________________________ Today I had to implement a mechanism to show user notifications in the Oracle JET application that I am currently working on. One could show a simple popup to tell a user that changes have been saved, or even use a javascript alert to do that. There are also other, more sophisticated solutions that work pretty well. These can be found here: http://jsjim.blogspot.nl/2016/05/toast-and-growl-notifications-with.html http://likeahouseafire.com/2016/05/05/popup-message-box-for-jet/ The authors mention "toast" like notifications. Although the implementations in the above mentioned blogposts work fine, I wondered if there wasn't an easier, more configurable solutio

ADF 12.2.x : Conditional Showing Message Instead of List of Values Popup

Today I had to fix an issue in one of our ADF applications. For those of you working with ADF (as I do too occasionally) this might be valuable, so I decided to share this. The application is based on an old Oracle Forms applications and I had to implement the following functionality: FRM-41830 : List of Values contains no entries. In other words (more ADF like) : If you are about to render a List of Values and that List of Values contains no rows, just show a message instead of showing the List of Values. In this post I will describe how I was able to implement this although it turned out to be a challenge. Below are the steps that I took. Note that the Application can be downloaded from GIT. 1) I use a UI pattern where we use readonly table and do edits in a popup. That means that any List of Values will add an additional popup to the UI. 2) The List of Values that I use in this sample only shows entries where the minimum salary is less then the employees current sal