Posts by 'Ramandeep Singh' – Page 13

Logging with SLF4J and logback

SLF4J(Simple logging facade for JAVA) is a abstraction layer or facade for different logging frameworks like log4j,Logback etc which allows you to plugin the desired logging framework at deployment time. Also logback is a framework that implements the SLF4j api so it allows easy switching between different logging …

ADF 11gR2 custom facelet component for image/flash preview

I have created a custom faces component for previewing the uploaded images/flash files. It is a facelet component and the implementation is very crude but i hope that the product team can come up with something better. As other frameworks like richfaces/primefaces do have this kind of component …

taskflowViewable vs userInRole

This is a short post about how one can use ADF security to hide/show links to the taskflows depending upon the user role. We can either use userInRole or taskflowViewable EL expressions on the visible or rendered property of the af:command link. But, choosing one over the other …

Handling Browser Close Event in ADF

In this post i would discuss a simple workaround to the fact that ADF 11g does not support a explicit window close event. The workaround is to use a library like dojo or jquery. One should use these libraries as it will make the function cross browser compatible. The code …

ADF ViewCriteria performance impact

There is a caveat i wanted to highlight with respect to view criteria that has a performance impact. if you use a view criteria it is applied after the query block as shown below. This example is based on the scott schema.

1
select * from (select empno from emp)QRSLT …