on 12-28-2007 8:08 AM
Hi All
The requirement is -
There is a form for user to put in his educational detail.
On click of a button, the same form appears below the existing form for user to put in more educational qualification.
I have created a view in a webdynpro project which contains a form having a transparent container say tcEducationDetails having some textviews and inputfields.
It contains a button "Save and Add".
Now i want that on click of this button a new container with exactly same elements i.e i need a duplicate copy of the container tcEducationDetails gets generated and added to RootUIElementContainer.
Instead of making all the containers and the UI elements dynamically and adding to RootUIElementContainer can we just create a copy of tcEducationDetails and add to RootUIElementContainer
OR
Can we create a table having fields not placed as columns but placed as in a form(one below the other) and on click of a button a new row (Containing fields in a form layout) gets added.
Hope i am clear with the requiremnt.
Please help. Points will be rewarded.
Thanks and Regards
Sonal Mangla
Hi,
You can Create all this at design time and set the visibility to false in the beginning and based on your condition you can make them visible.
"Can we create a table having fields not placed as columns but placed as in a form(one below the other) and on click of a button a new row (Containing fields in a form layout) gets added."
You can give a try with row repeater UI Element.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you know the exact UI elements you will be needing during design time...
you can keep them on the form and make them invisble.
ELSE
you can use Dynamic programming...
through which you can create UI elements as well as the context at runtime.
regards,
-Ag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
as you are talking about qualifications....
u can may be fix that at max there can be 6 qualifications....
just put the UI on the layout and make it invisible/visible on requirement.
like when the user choses 1 just make visible one set of UI,
when he chooses 2 make 2 sets of the UI visible, as and when required.
ELSE
you'll have to Dynamically create UI and respective context.
and Dynamic wont be as easy as the former.
regards,
-Ag.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.