Tuesday, October 23, 2007

JBO-35007: Row currency has changed

How To fix following errors :
JBO-35007: Row currency has changed.....

If you press the back button of browser then above error has got to user...
This is state validation message not error ......
For avoid this error following step follow:

1.Go to page definition of jsp or jspx by right click on page.
2.Select Iterator of page by using structure window or definition page
3.Go to the Inspector window and change the StateValidation property as false.


This is very usefull.....

1 comment:

Jason Bennett said...

This is a total hack, but you can suppress the message by removing it from the list. Create a boolean function (that returns true) in a Managed Bean and associate it with the rendered attribute of the message tag:

public boolean getSuppress35007Error(){

Iterator messages = facesContext.getMessages();

while (messages.hasNext()) {
FacesMessage message = messages.next();
if (message.getSeverity() == message.SEVERITY_ERROR){
if (message.getDetail().contains("Row currency has changed")){
messages.remove();
}
}
}

return true;

}