No rockit science this blogpost for the ADF gurus out there, but since I’m the new kid in town regarding Oracle ADF I decided to note down some of the stuff I found very usefull.
In our Oracle BPM project we generate our human task screens, however the customer wants them heavy modifed and at one time we needed the value of a inputtext component which had no binding.
FacesContext facesContext = FacesContext.getCurrentInstance(); UIViewRoot root = facesContext.getViewRoot(); RichInputText inputText = (RichInputText)root.findComponent("it1"); String myString = inputText.getValue().toString();
Where value “it1” is the ID of your inputText component
Reference and all credits: