Wednesday, July 4, 2018

Work Drivers HP ProBook 650 G2 Windows 7 32bit Drivers Free Driver Download

Work Drivers HP ProBook 650 G2 Windows 7 32bit Drivers Free Driver Download


If you are a regular user of ADF and the checkbox component you might have already saw the Bhaskers Blog demo ADF 11g of creating a checkbox in table. Here youll see creating the same kind of demo application with checkbox as one of the table column in jdeveloper 12c. One more added feature you will see here is the Select all /Deselect all checkbox on the column header.



Components : JDev 12c production verion available at otn for free download.
Oracle XE Free database with a schema with EMP table.
Add the Sports_Intrested (Varchar2(1)) column to the EMP table which we will be using to show the check box in the ui.

Sports intrested column is a varchar2(1) column which stores the values Y or N depending
upon a Employee is intrested in sports or not.




Create a EmpEO ,EmpVO and a CheckBoxDemoAM using the EMP table.



leave the attributes to their default types.SportsIntrested Attribute will be a String Attribute.



Create a Test page and drop the Emp VO instance under the CheckBoxDemoAM on the test page to create a ADF faces table.



This would render the column SportsIntrested as a simple Output text column showing the Y or N values.



And the TestPG will only have single tree binding to the Emp1Iterator.



Now delete the sportsIntrested Output text from the SportsIntrested Column.(Leave the column intact , only delete the output text.We need the Column to create the checkbox.)



Right Click on column SportsIntrested attributes on the TestPG in the SportsIntrested Column, select insert inside column then select ADF Faces. 



selectOneBooleanCheckbox.



Go to Binding





The wizard will ask you for the values which should be mapped to the checkbox when it is checked or unchecked.give the value Y for the selected value and the value N for the unselected.Now do two things.





1.set the autosubmit value on the checkbox to true, unless you do this your checkbox value is not submitted.
2.give a value to the id property of the checkbox and set it as one of the partial trigger to the af table.





The newly created checkbox will create a button binding to map the checkbox check/uncheck condition depending upon the attribute value.



Thats It your 12c checkbox demo is ready!!..





go to link download