gwtbootstrap / gwt-bootstrap

A GWT Library that provides the widgets of Bootstrap, from Twitter.
http://gwtbootstrap.github.com
406 stars 190 forks source link

Tab Panel examples in the showcase are outdated #505

Closed mgenov closed 10 years ago

mgenov commented 10 years ago

Tab Panel examples in the showcase are outdated in the latest version of gwt-bootstrap.

Here is the example:

<b:TabPanel tabPosition="left" ui:field="tabPanel">
    <b:Tab icon="GOOGLE_PLUS" heading="Typically" active="true">
        <b:customTab>
            <g:Image addStyleNames="{style.icon}" resource="{res.logo}"/>
        </b:customTab>
        <b:Heading size="3">Typically Tab</b:Heading>
        <b:Paragraph>
            huhuhu hahha
        </b:Paragraph>
    </b:Tab>
    <b:TabPane heading="prost">
        <g:Label>Lalala</g:Label>
    </b:TabPane>
    <b:TabLink ui:field="lazyLoadTab">
        <g:Image addStyleNames="{style.icon}" resource="{res.logo}"/>
        <g:HTMLPanel tag="span"><b:Strong>Custom tab</b:Strong>?</g:HTMLPanel>
    </b:TabLink>
    <b:TabLink text="manually" icon="GITHUB" dataTarget="testTab" createTabPane="false">
        <g:Image addStyleNames="{style.icon}" resource="{res.logo}"/>
    </b:TabLink>
    <b:TabPane href="testTab" createTabLink="false">
        <g:Label>Huhu</g:Label>
    </b:TabPane>
</b:TabPanel>

The problem is that in the latest versions: gwtbootstrap3-0.8-20140526.170411-10 there is no class TabLink and TabPane attributes are different.

reinert commented 10 years ago

gwtbootstrap3 is another project.