When we click on the af:InputDate , As soon as we click inside it, there
is a default note hint which comes besides the inputDate field. Below
is how it does.
So this works good for some implementations but sometimes client wants to avoid this default behaviour.
We had a requirement where client dsnt wanted this default hint note to be displayed on clicking the Input Date field.
We will see how we can remove this default behaviour.
First we will write a java script which will over ride the shouldShowHint function which is there in default implementation.
Once we are done with the Java Script, we need to use clientListener and use this JS.
So this works good for some implementations but sometimes client wants to avoid this default behaviour.
We had a requirement where client dsnt wanted this default hint note to be displayed on clicking the Input Date field.
We will see how we can remove this default behaviour.
First we will write a java script which will over ride the shouldShowHint function which is there in default implementation.
Once we are done with the Java Script, we need to use clientListener and use this JS.
We are done, now save and run the page. Below is the desired behaviour.
Great :)
Also just to add on this , we can customize the default behaviour.
Suppose if we want to add any custom message , we can use
af:convertDateTime
Added custom message "This is custom message". So this will be shown in place of default message.
One can read more about af:convertDateTime at :-
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_convertDateTime.html