Inserting a record when we have a mixture of Session and web page values...
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