Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get the application module instance in backing bean.

491628Mar 2 2006 — edited Feb 10 2011
This is Ramesh, I am new to JDeveloper world.

In my current application I have change password screen which allows user to change there password.
Here this is a pop-up page. Here I don't have the view object and pagadef for this changepassword.jspx file.

My aim is to call the Application Module method which takes the user name, old password and new password.
In backing bean I am trying to call this method by using

MyProjAM obj = _binding.getDataControl().getApplicationModule(); //throw null pointer exception.

_binding is the object of DCBindingContainer.
( I have created the parameter called "binding" as my managed bean property and values as #{binding})

But the above line is throwing the NullPointerException.

Could you please help me to come out of this problem.

--
Thanks and Regards,
Ramesh Biradar.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2011
Added on Mar 2 2006
3 comments
2,410 views