Home » Developer & Programmer » JDeveloper, Java & XML » Validation error message management (
Validation error message management [message #447564] Tue, 16 March 2010 02:09 Go to next message
Messages: 5
Registered: September 2009
Location: Iran - Esfahan
Junior Member
I create an entity validation rule and set an error message for ir. This rule check that you don't insert record more than a certain number.
But when I violate this rule in my jsf page, the error massage display but it seems that record inserted too. When I refresh the page I see that record not inserted.
for resolve I write a bean code for my commit button:
OperationBinding operationBinding =
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {

But now I cant distinguish what rule is violated.
What do I do?
Re: Validation error message management [message #450782 is a reply to message #447564] Fri, 09 April 2010 03:19 Go to previous message
Messages: 7
Registered: April 2010
Location: Taiwan
Junior Member
is OAF Page?
Previous Topic: OAF Programming insert row VO,but inner-table no data show?
Next Topic: oracle question
Goto Forum:

Current Time: Mon Oct 24 23:12:27 CDT 2016

Total time taken to generate the page: 0.06448 seconds