Selecting Af:selectCheckbox Makes Transaction Dirty Even Though PopulateAttribute Is Used (Doc ID 2195535.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

As part of a requirement, a transient attribute implemented as a selectCheckBox was added in the table to identify dirty rows.
However, whenever the checkbox is selected it makes the transaction dirty even though populateAttribute is used instead of setAttribute.
This occurs in JDeveloper 11.1.1.70 and in the later JDeveloper version 12.2.1.1.0.


The steps for reproducing the issue are these:

  1. Unzip CheckBoxDirtyAPP.7z.
  2. Open the CheckBoxDirtyAPP.jws application in Jdeveloper 11.1.1.7.0. The application uses HR schema.
  3. Run the Departments.jspx page
  4. Click the Check Transaction status by selecting/unselecting checkbox: it should always show false as for Checkbox the populateAttribute was used; instead it shows true when the check box is selected/unselected.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms