Saturday, February 21, 2009

JDev/ADF sample - View Criteria and CRITERIA_AUTO_EXECUTE Property

  • View Criteria and CRITERIA_AUTO_EXECUTE Property. I'm writing today blog post, based on information found in following document - Known Issues for JDeveloper and ADF 11g (11.1.1.0.1). In current ADF release there is no option to control View Criteria automatic execution feature using Expression Language, auto execution can be set only decloratively in Edit View Criteria wizard, Control Hints section. However, its possible to control auto execution mode programmatically, using CRITERIA_AUTO_EXECUTE property. I will describe how to use this property and how it can be applied.
    Download - ViewCriteriaAutoExecuteHint.zip
Spanish Summary:

En este post se muestra como lograr la ejecucion automatica en los View Objects. Para ello Andrejus desarrolla un ejemplo con 2 tablas : una de departamento y otra asociada a los empleados. El efecto de ejecucion automatica se notarĂ¡ cuando ustede seleccione una fila de la tabla empleados y luego se mostrarĂ¡ la tabla de los empleados asociados a ese departamento los cuales se cargaron automaticamente.

No comments: