myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Airton Carrara" <lista.myfa...@gmail.com>
Subject Re: keep on current tab
Date Wed, 06 Sep 2006 17:13:31 GMT
Maybe I didn't understand your question...

I just put the components on a tab, like:

<t:panelTabbedPane selectedIndex="int"
                      activeTabStyleClass="CSSClass"
                      inactiveTabStyleClass="CSSClass"
                      disabledTabStyleClass="CSSClass"
                      activeSubStyleClass="CSSClass"
                      inactiveSubStyleClass="CSSClass"
                      tabContentStyleClass="CSSClass">
    <t:panelTab ...>
        ...(anyComponents)...
    </t:panelTab>
</t:panelTabbedPane>



2006/9/6, Jaya Saluja <jsaluja@comverge.com>:
>
>  selectedIndex="2". I hope this helps. Can you answer a question for me
> also? How to load the page on a click of a tab?
>
>
>
> Thanks,
>
> Jaya
>
>
>  ------------------------------
>
> *From:* Airton Carrara [mailto:lista.myfaces@gmail.com]
> *Sent:* Wednesday, September 06, 2006 9:53 AM
> *To:* MyFaces Discussion
> *Subject:* keep on current tab
>
>
>
> Hi.
>
> I have three tabs on a page. I'd like to keep on the current tab after
> click a button on it.
>
> When I click a button on third tab, e.g., the page is reloaded ("success"
> on faces-config.xml) and the first tab is shown... How to stay on the
> third tab?
>
> thanks
>
>

Mime
View raw message