Force refresh on LOV return fields
Hi everybody,
I have a LOV field that populates many fields in the UI. Those dependant fields are also editable.
Let's say I choose the value 'X' for the LOV field. Then, all the dependant fields are populated from the LOV return values. Now I change some of the dependant fields values. Finally, I choose again value 'X' from the LOV field to reset all the dependant fields values but this has no effect at all.
How can I force refreshing the LOV field value as well as all the dependant fields even when selecting the same value?
I've tried with PPR: autoSubmit at LOV field and partialTriggers at dependant fields with no success.
Thanks
Version
------------------------------
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60
------------------------------
I've just implemented a simple test case against the HR schema. I can send it to you if you wish.
Here you are the steps to reproduce the mentioned behaviour:
1. Create business components from tables for Employees and Departments.
2. Create a transient attribute on Employees EO named 'DepartmentName', whose value results from the Groovy Expression 'Departments.DepartmentName'
3. Add 'DepartmentName' to EmployeesView and create an associated LOV: DepartmentsLovView, returning DepartmentName and DepartmentId.
4. Ensure that you have two or more departments with the same DepartmentName, let's say 'TestDep' with id 300 and 310 respectively.
5. Create a simple page (Employees.jspx) with only an ADF table based on EmployeesView1. DepartmentName is a LOV; DepartmentId is an output text.
6. Run Employees.jspx and select the department 'TestDep' with id 300 from the LOV. Now DepartmentId shows '300'.
7. Select the department 'TestDep' with id 310 from the LOV. Nothing seems to happen at this point. DepartmentId still shows '300'.
8. Delete the value 'TestDep' from the LOV field and open the LOV again. Select the department 'TestDep' with id 310 from the LOV. DepartmentId is NULL!
9. Try selecting any other department you wish. DepartmentId is still NULL.
Any help will be very appreciated
Edited by: Barbara Gelabert on 05-nov-2010 4:39