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!

Inserting a record when we have a mixture of Session and web page values...

legolas_wNov 20 2006 — edited Nov 21 2006
Hi
I just want to ask whether my solution is correct or not.
I should insert some rows into database table, each row has a userID field which i have in a Session Scope bean for each user.
now when i want to insert a row into those specific tables that has userID field i do the following:

-create a form with all required field (using adf faces components), all elements has binding in backing beans, so i can access its values in backing bean
-put a save button in the form.
-create action for that button
-in the action i use ViewObject for that specific component to insert the new row from Form values and that specific value from session scope bean.

but i feel that it is not the correct way, I think ADF BC + Faces components should have a better solution for this.

in case that you have better solution for this, please let me know.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2006
Added on Nov 20 2006
6 comments
321 views