Get value from inputtext in Oracle ADF

19 Dec

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:

1 Comment

Posted by on 19-12-2012 in Oracle


Tags: , ,

One response to “Get value from inputtext in Oracle ADF

  1. Muhammad Nasir

    20-12-2012 at 05:40

    Very nice post. Please keep it up. We also have a requirement to Implement client side validation in Oracle BPM task flow. Can you please elaborate how we can do that. BY using ADF beans or something else? thanks


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: