Sunday, August 24, 2014

Dynamically Set Value In ADF InputText By Runtime JavaScript In JDeveloper 11g

Oracle JDeveloper 11.1.2.3
ADF Faces Rich Component
ADF Business Components

Sometime requirement is to set the value in Text Component by JavaScript.
We can set the value in Adf InputText dynamically by Server Side JavaScript.

Sample is based on Oracle HR Schema & can be downloaded from here.

In the sample, after pressing CreateInsert button a blank form is displayed for 
New Record Entry.




After entering a unique DepartmentId (25)DepartmentName field is automatically
populated with TestDept value.