I use client side switching, the one button I have that makes it reset to the first tab has the following: immediate="true" onclick="bCancel=true"
hth Mike Andreas Heidrich wrote: > > Hi everybody, > i use a tabbedPane in my application. I contains a page that shows a > t:dataTable. When I scroll a page in the table, the focus of the > tabbedPane > switches to the first page og the pane. This also happens when I invoke > some functionality that is bound to an command button on another page. > Is there a way to customize the tabbedPane so that i will not loose it > pane > position. > I looked for a way to remember the position and added the > serverSideTabSwitch="true" paramter, but the code in the TabChangeListener > class never gets called. > > Anyone any idea how to solve that ? > > Thanx > Andreas > > > > mikebgx > <[EMAIL PROTECTED] > ms.co.uk> An > [email protected] > 19.06.2007 16:23 Kopie > > Thema > Bitte antworten RE: panelTabbedPane question > an > "MyFaces > Discussion" > <[EMAIL PROTECTED] > ache.org> > > > > > > > > I have exactly the same problem with MyFaces 1.1.4 (Appfuse 1.9.4 for > JSF), > whereby my processTabChange is not being called. > > I notice some related stuff in tomahawk.taglib.xml has been commented out. > > Has anyone managed to make this work? > > > James Richards-2 wrote: >> >> Plz disregard the "serverSideTabSwitch="true"" below as it's not >> applicable to 1.1.1. >> >> Thanks, >> >> James >> >> >> >> -----Original Message----- >> From: James Richards [mailto:[EMAIL PROTECTED] >> Sent: Thu 6/8/2006 12:30 PM >> To: [email protected] >> Subject: panelTabbedPane question >> >> >> I have a tabbed pane with a tabChangeListener attached >> >> <h:form id="dealForm"> >> <x:panelTabbedPane id="dealTabbedPane" >> selectedIndex="#{dealForm.activeTab}" >> bgcolor="#eeeeee" >> width="980" >> activeTabStyleClass="tabActive" >> inactiveTabStyleClass="tabActive" >> serverSideTabSwitch="true"> >> <x:tabChangeListener > type="com.foo.listener.TabListener"/> >> ... >> </h:form> >> >> but on MyFaces 1.1.1, the TabListener's >> >> public void processTabChange(TabChangeEvent event) { >> //... >> } >> >> is not being invoked. Is there something additional that need to be done >> to enable the tab listener? >> >> Thanks for any help, >> >> James >> >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/panelTabbedPane-question-tf1756166.html#a11195840 > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > > > Toyota Financial Services (UK) PLC, Company Registration Number > 02299961, Great Burgh, Burgh Heath, Epsom, Surrey, KT18 5UZ, > registered in England. > > Lexus Financial Services and Redline Finance are trading styles > of Toyota Financial Services (UK) PLC. > > Authorised and regulated by the Financial Services Authority. > This correspondence is for the intended recipient only. It may > contain confidential or legally privileged information or both. > No confidentiality or privilege is waived or lost by any > mistransmission or unauthorised alteration during transmission. > If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken in > reliance on it, is prohibited and may be unlawful. If you receive > this correspondence in error, please immediately delete it from > your system and notify the sender. Any views expressed in this > message are those of the individual sender, except where the > sender expressly, and with authority, states them to be the views > of Toyota. This message has been checked for viruses but the > recipient is strongly advised to rescan the message before > opening any attachments or attached executable files. > > -- View this message in context: http://www.nabble.com/panelTabbedPane-question-tf1756166.html#a11313440 Sent from the MyFaces - Users mailing list archive at Nabble.com.

