on 05-12-2010 9:19 AM
Hi!
I hope this will be easy for you, but for me it's unknown yet.
I have 5 views within the same WD component, and these views have a section, which supposed to be the same within all 5 views (display some additional data).
They are working from a CONTEX of the componentcontroller.
This section contains a tray, which contains many inputfields and their labels. I've completed with it on the first view, and now I wanted to copy them to the other views.
How can I do this?
Thank you
Tamas
Hi,
I checked it in NW release 7.02 and 7.01 and it is possible to copy UI elements from one view ( right click on UI element present under rootelementuicontainer and copy it ) and paste it in another view ( same way - insert copied element )
But
Why dont you consider the option of creating another view which contains UI elements to be replicated to other views.
Now create view container UI element in each view and then embed your newly created View in this view container.
This could save lot of your effort
Regards
manas dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In NetWeaver 7.02 we also have the concpet of Templates. You can select a group of UI elments in the View (or the Root to get them all), right mouse click, and select Save As Template. The UI elements are then saved in the database and can be inserted into other views at any later time. This persists longer than the copy/paste buffer.
But I agree with Manas, if this area is truely reusable and the data comes from the component controller context why would you make this a separate view and insert via ViewContainerUIElement? Why have 5 copies and when 1 will do?
Nothing else, but the lack of time and knowledge. I don't know ViewContainerUIElement element yet very well, and I don't have a day to try it out... Maybe after this project is over, I'll rewrite it...
And I think we have only 7.00, so the copy function is not working... Oh well, I'll do the job manually, will take a few hours...
Thanx anyways
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good day Tamas,
In newer version it is giving that option.
I had same requirement, what i did was first i created GROUP that contains many input fields
and then copied the total view and pasted 3 times and modified accordingly. Atleast i escaped from
creating the input box group again for 2 times.
Regards and Best wishes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.