Saturday, November 21, 2009

OAF : Confirmation message

Put the below code into xxxAMImpl.java
------------------------------------------------

public void confirmationMessage(){

String ok="Hello";
if(ok.equals("Hello")){
String msg = this.getOADBTransaction().getMessage("ABC","ABC_ADD_MESSAGE_SUCCESS", null);
throw new OAException(msg,OAException.CONFIRMATION);
}
}