How to get the application module instance in backing bean.
491628Mar 2 2006 — edited Feb 10 2011This 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.