on 01-17-2012 7:20 AM
Hi Experts,
I designed a tabstrip program, in which there are some tabs having some inputFields in which we can fill employee details, now the requirement is after filling details in all tabs ,when i click on add button , all the data should be filled in a data base table. I am unable to understand how to do it, Please help.
Thanks .
ashish
Hello Ashish,
When you bind your input fields those data will be available in the context attributes. At any time you can read and process those attributes.
Let say in your first tab for employee person details you have some input fields and you bind those to some attributes under Emp_pers node , in your second tab you have some input fields for organizational details and you bind these to sttributes under Emp_org node.
Now when you press save, as you bind the input fields to the respective attributes those data wil be available in the attributes of the nodes.
Now you can read those attributes using wizard ( hope you know how to use wizard).
Read a the nodes which you want to save and save to DB.
hope this helps u.,
revert back if you need some more clarifications,
Thanks & Regards,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.