14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If the form item has an LOV associated the item display type will be set to “lov”, and a<br />

ListOfValues child element will be added to the <strong>JHeadstart</strong> item. The ListOfValues<br />

element will have child ReturnValue elements, one for each LOV Column Mapping in<br />

the form.<br />

13.4.2.3. Region Containers, Item Regions and Group Regions<br />

Based on the placement of an item:<br />

• on a content canvas<br />

• on a stacked canvas<br />

• on a tab page<br />

• within a framed graphic<br />

and taking into account placement of parent and detail group items on the same canvas<br />

or tab page, or within the same framed graphic, the JFG will create the appropriate<br />

nested structure of region containers, item regions and group regions.<br />

The number of layout columns set on an item region, is based on the first line of items<br />

within the region in the original form. For example, if 3 items have the same Y position<br />

coordinate within the tab page or graphic, then the Columns property will be set to 3,<br />

regardless of the number of items on subsequent lines.<br />

13.4.2.4. Domains<br />

A static domain will be created for the following form items:<br />

• Checkbox Items: a domain with two allowable values, the checked and<br />

unchecked value will be created. If the unchecked value is not set, the value ‘N’<br />

is taken as unchecked value, since ADF only supports boolean value bindings for<br />

checkboxes that require both a checked and unchecked value.<br />

• List Items: for each list element an allowable value will be created within the<br />

domain<br />

• Radio group items: for each radio button element an allowable value will be<br />

created within the domain<br />

Note that the JFG will not create dynamic domains for drop down lists. This is not<br />

possible because <strong>Oracle</strong> Forms does not support Record Group Queries to be attached to<br />

drop down lists. To populate a drop down list with dynamic values in <strong>Oracle</strong> Forms,<br />

custom PL/SQL logic needs to be written. Since the JFG does not attempt to parse the<br />

PL/SQL logic, we cannot create dynamic domains for drop down lists. Subsequently<br />

drop down list items that are populated through PL/SQL will be created as a normal text<br />

item by the JFG. Of course, after you ran the JFG, you can easily change the text item into<br />

a drop down list and create the associated dynamic domain manually in the <strong>JHeadstart</strong><br />

Application Definition Editor.<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Forms2ADF Generator 13 - 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!