Nov 24, 2011

To override the default error handler one can extend the  DCErrorHandlerImpl. In this you can process the exceptions or can choose to suppress them. In this post i will explain a way to suppress the RowValException message and display only the detail entity attribute level exception ie AttrValException. In ADF the exceptions are grouped and raised together as a single object. For example let's say that 2 of the attributes fail the mandatory validation then the exceptions raised for them will be 2 individual AttrValException these are then...

Posted on Thursday, November 24, 2011 by Unknown

Nov 17, 2011

I had a recently asked a question on bulk uploads in OTN forum. Seems the performance that i would receive for bulk update/insert scenarios isn't at par. So i created the procedure and a custom object type and table of that object type which provides far better performance. Let's say your table structure is as follows :- --     TXN_TBL ("TXN_ID" Number, "USER_NAME" VARCHAR2(50 BYTE), "TXN_DATE" DATE, "TXN_AMOUNT" NUMBER) So you can basically create a object type mirroring that structure as follows create or replace type TXN_TBL_R is...

Posted on Thursday, November 17, 2011 by Unknown

If you are using ADF11g version 11.1.1.3 and want to reset the values in the popup, you are not provided with the resetEditableValues option. But you can accomplish this using a custom javascript that i have made. All you have to do is set clientComponent="true" for all the components that you want to reset and pass the client id of the root component to use this. resetAction=function(clientId){ var component= AdfPage.PAGE.findComponentByAbsoluteId(clientId); console.log(component); var components=component.getDescendantComponents(); ...

Posted on Thursday, November 17, 2011 by Unknown