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!

Button action outcome depends on a call to a stored procedure

107140Nov 29 2008 — edited Dec 2 2008
Hi,

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
This post has been answered by Timo Hahn on Dec 2 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2008
Added on Nov 29 2008
4 comments
658 views