<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: tabView shows all tabs on first tab</title><link>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab</link><description>&lt;p&gt;When starting a view using the tabView-Element, the second tab is shown as exspected, but the content of both tabs are shown on first tab. How can I manage to show the tabView  correctly?&lt;/p&gt;
&lt;p&gt;Example Code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;p:tabView&amp;gt;
  &amp;lt;p:tab title="A"&amp;gt;
    Content Tab A
  &amp;lt;/p:tab&amp;gt;
  &amp;lt;p:tab title="B"&amp;gt;
    Content Tab B
  &amp;lt;/p:tab&amp;gt;
&amp;lt;/p:tabView&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Looks like this:&lt;br&gt;
&lt;img alt="tabView_shows_all_contents" src="/upfiles/tabView_shows_all_contents.png"&gt;&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 21 Jul 2014 16:05:30 -0400</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/874</link><description>&lt;p&gt;This is an issue in the xpertivy-theme, see issue #25066 PrimeFaces TabView shows all tab contents with xpertivy-theme.
This will be fixed with 5.0.13.
As Workaround &lt;a href="http://www.xpertivy.ch/releases/Xpert.ivy/latest/documents/DesignerGuideHtml/ivy.htmldialogs.html#ivy.htmldialogs.themes"&gt;switch to another theme&lt;/a&gt; or &lt;a href="http://www.primefaces.org/themes.html"&gt;create your own theme&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Mon, 21 Jul 2014 16:05:30 -0400</pubDate><guid>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/874</guid></item><item><title>Answer by Richard Schmid</title><link>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/872</link><description>&lt;p&gt;I could identify the error:
tabView are rendered in a correct way, if the update-option within commandButton-elements point to the id of the tabview itself. If pointing to e.g. tables within different tabs of the tabview, more than one tab will be shown on one tab.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Schmid</dc:creator><pubDate>Mon, 21 Jul 2014 10:30:57 -0400</pubDate><guid>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/872</guid></item><item><title>Answer by Richard Schmid</title><link>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/871</link><description>&lt;p&gt;I tried to get a correct view using black-tie, but this did not solve the problem. The problem is the same in IE,Firefox or Chrome. After refreshing with F5 the view is shown correctly. After each action, e.g. with a commandButton, the view shows all tab within the first tab again.    &lt;img alt="alt text" src="/upfiles/incorrectView_19.JPG"&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Schmid</dc:creator><pubDate>Mon, 21 Jul 2014 10:02:37 -0400</pubDate><guid>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/871</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/870</link><description>&lt;p&gt;Could it bee that you use the green default xpertivy-theme? I guess there is a bug in that theme.
Try to &lt;a href="http://www.xpertivy.ch/releases/Xpert.ivy/5.0.latest/documents/DesignerGuideHtml/ivy.htmldialogs.html#ivy.htmldialogs.themes"&gt;switch to another theme&lt;/a&gt; like black-tie and the tabView works as expected. &lt;/p&gt;
&lt;p&gt;If you are not working with the ivy theme. Please show us a sample of the incorrectly rendered tabView.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 18 Jul 2014 13:18:58 -0400</pubDate><guid>https://answers.axonivy.com/questions/868/tabview-shows-all-tabs-on-first-tab/870</guid></item></channel></rss>