on 2009 Jul 06 1:59 PM
Hi folks,
I want to define a WebTemplate GUI, that consists of multiple tabs. Each of these tabs has the same layout and so should cover the same Web Items. The only difference is, that every tab is linked to another query. So i thought to define a container item, which i link to every tab and change the data provider when clicking on the tabs. But WAD doesn't like this and removes tabs, which are already linked to objects.
The other way, i tried, was to define dummy-containers, which are linked to each tab and are changed to the right container after clicking on a tab. But as WAD automatically creates tabs for each object, there is a tab too much.
Does anyone know a way to solve this problem?
Hallo @ all,
ich have very similar problem. I want to create an tabstrip_container_item, in wich I use in ever tab the same Chart item. I want to set in every tab an other filter to the query, this is not the problem. But the problem is that i can not use the same chart_item in different tabs. It kills after every saving all tabs with the same chart_item.
Do have any on of you a solution for this problem, or is it impossible?
Regards Arthur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
you could use one Container Layout item in every tab. But only in the first one you define the layout which is the same for all tabs (e.g. the chart item). In XHTML mode copy the rowlist (row/column structure) to the other Container Layout items and get back to normal layout mode afterwards.
If you execute the template now, every tab looks the same. So, the web items from the first tab are reused in the other tabs.
Now, tab by tab, you could add web items to the container layout and assign them to the row/column structure which are different to the other tabs.
In this way you have just the different items (e.g. container item with the WD link) in the container layout in every tab, but it shows many items at execution time.
best regards
Arne
Hello,
I didnt understand your issue related to container and data provider thing.
I have tried that so many times and worked fine for me.
Did you add mutliple container in a tab strip and linked each container to each tab?
Did you add one data provider for each of container? I think you need to add data provider in each of the container and assign different queries to different data provider.
- Danny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Danny,
>
> Did you add mutliple container in a tab strip and linked each container to each tab?
Yes, in the current version i did so! The result is the right number of tabs.
>
> Did you add one data provider for each of container? I think you need to add data provider in each of the container and assign different queries to different data provider.
No i didn't. I've linked one tab with that container, that defines my desired layout. The items on this layout refer to one data provider. The other tabs are linked to dummy containers, that are pretty empty. If the user switches between the tabs, a command sequence will load the filled layout container for the tab, the user wants to see. At the same time, the query of the data provider will be changed by command sequence. Now this works fine and is in addition easy to maintain, as i only have to change one layout and not one for each tab.
But my current problem is, that the layout consists of a HTML iframe object that is linked by URL to a WebDynpro application with planning sequence and the URL differs from tab to tab. It would be very easy to change the URL using JavaScript, but i do not find a location or event to fire the JavaScript function at the suitable time. Do you have any ideas?
Is it possible to fire JavaScript functions on TabStrip activation or deactivation events?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.