myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Alvarez (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TOMAHAWK-858) Property selectedIndex of the panelTabbedPane component does not accept value bindings
Date Tue, 08 Jan 2008 16:56:34 GMT

     [ https://issues.apache.org/jira/browse/TOMAHAWK-858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Alvarez updated TOMAHAWK-858:
----------------------------------

    Status: Patch Available  (was: Open)

> Property selectedIndex of the panelTabbedPane component does not accept value bindings
> --------------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-858
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-858
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tabbed Pane
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: WinXP, JDK 1.5, JBoss 4.0.4 GA, Facelets
>            Reporter: Michail Jekimov
>         Attachments: HtmlPanelTabbedPane.java
>
>
> The following works fine:
> <t:panelTabbedPane styleClass="panelTabbedPane"
> 		activeTabStyleClass="activeTab" inactiveTabStyleClass="inactiveTab"
> 		tabContentStyleClass="tabContent"
> 		selectedIndex="3"
> 		disabledTabStyleClass="inactiveTab" serverSideTabSwitch="false">
> 		<t:panelTab id="tab1" label="Tab 1">
> 			<ui:include src="/Tab1.xhtml" />
> 		</t:panelTab>
> 		<t:panelTab id="tab2" label="Tab 2">
> 			<ui:include src="/Tab2.xhtml" />
> 		</t:panelTab>
>                 <t:panelTab id="tab3" label="Tab 3">
> 			<ui:include src="/Tab3.xhtml" />
> 		</t:panelTab>
> </t:panelTabbedPane>
> I.e. the tab tab3 is visible when the tabbed pane is rendered. But if I set selectedIndex="#{myBean.selectedTabIndex}"
then tab1 is always visible first, regardless of the value of myBean.selectedTabIndex

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message