Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why form's empty fields except primary key are not showing when I click createFamilyAndStudents() me

TAJDINDec 11 2014 — edited Dec 11 2014

Sir,

When I drag VO on a jsf page as {ADF Master form, Detail table} and used the following method as a button to create and insert records , the empty fields are not showing in the form section except primary key.

/**

 \* Creates and inserts Family and Students Row

 \*/

public void createFamilyAndStudentsRow() {

    FamilyVOImpl familyVO = this.getFamilyVO1();

   FamilyVORowImpl row = (FamilyVORowImpl) familyVO.createRow();

    familyVO.insertRow(row);

    RowIterator iterator = row.getStudentsVO();

    Number familyId = row.getFamilyId().getSequenceNumber();

    NameValuePairs nvps = new NameValuePairs();

    nvps.setAttribute("FamilyId",familyId);

    StudentsVORowImpl empRow = (StudentsVORowImpl) iterator.createAndInitRow(nvps);

    iterator.insertRow(empRow);

}

md.jpg

Regards

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2015
Added on Dec 11 2014
1 comment
461 views