Button action outcome depends on a call to a stored procedure
107140Nov 29 2008 — edited Dec 2 2008Hi,
I'm developing an application using JDeveloper 10.1.3.4, JSF and ADF BC 10.1.3.4.
I've got a button "Update", his action outcome depends on the result of a store procedure, called by a method in my ApplicationModuleImpl (the actionListener of the button - #{bindings['call_stored_procedure'].execute}).
Particularly, if the stored procedure returns "OK" the program can navigate to a new JSP page, following a navigation case. If the stored procedure returns "ERROR" no navigation must take place, the program must stop on the current JSP page. I need something like "raise form_trigger_failure" of Oracle Forms. I've tried throwing a oracle.jbo.ValidationException, but navigation take place instead.
Thanks a lot in advance
Mari