Welcome! Wikis are websites that everyone can build together. It's easy!

Location: ADF & JDeveloper

Discussion: Master-Detail input screen develop for to insert new record

Keyword tags: adf jdev

Watch

Anonymous  (Get credit for your thread)


Vimalan28

Vimalan28
Master-Detail input screen develop for to insert new record
Feb 28 2008, 2:45 AM EST
Hi All,

I am unsing EJB3.0 and Toplink POJO and ADF Framework and JDeveloper 10.1.3.3

This is related to foreign key relationship. I am having two tables master and detail table. In both the table there is no record (Newly created table).

I want to design the page which will accept master value and detail value. i.e. Similar to display master-detail data using findAllquery object in Data Control Palette.

i.e. To accept input values for the newly created table. I design the page for the master table and created custom method to insert the record in the table.

But i want to design the page which will contain the detail part also in table format which will accept number of rows for to enter values in the table.

Finally i want to save it in both master and detail table when i click "Submit" action.

But i don't know how to implement the functionality for to accept the detail table part.

Please provide any link or sample or tips to design the page and to save the data.

Or we need to write custom method. Since we can't drag and drop the detail collection list from the findAllTable(). Its not for to enter new record because if values in the table means those values will be populated on the screen for fresh transaction also.

Thanks & Regards
Vimalan Balan
Do you find this valuable?    
aruncrush
aruncrush
RE: Master-Detail input screen develop for to insert new record
May 16 2008, 3:15 AM EDT
As You Mentioned:
Finally i want to save it in both master and detail table when i click "Submit" action.
But i don't know how to implement the functionality for to accept the detail table part.

You just follow this URL Document:

http://www.oracle.com/technology/products/jdev/howtos/bc4j/multientityvo.html

If you have any doubt let me know.
R u member of Oracle forum(vimalanBalan). i am Aruncrush there.

Thanks & Regards,
Arun
2  out of 3 found this valuable. Do you?    
Vimalan28

Vimalan28
RE: Master-Detail input screen develop for to insert new record
Jul 26 2008, 7:36 AM EDT
Hi Arun,

I designed the page and completed the transaction with validation and etc. This is my first project in ADF. I learned and got help from friends like u through forums.

I am facing one problem in search screen. I posted it in the forum. Please if u know the solution means mail to me.

http://forums.oracle.com/forums/message.jspa?messageID=2665116#2665116

Thanks & Regards
Vimalan Balan
Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)