Re: tabChangeListener Attribute in panelTabbedPane tag

2007-01-17 Thread fiallega
? It will solve in a very elegant way the need for the backing bean to be notified that a tab change has ocurred and modify its state accordingly if it needs to. I have read many postings of the se of the tabChangeListener tag, but again it lacks the direct connection to the backing bean. I

Re: AW: Re: AW: Re: [Tobago] How to use TabChangeListener?

2007-01-09 Thread Bernd Bohmann
value=Tab2/ /tc:tab tc:tab label=Tab3 tc:out value=Tab3/ /tc:tab /tc:tabGroup /tc:page /f:view MainController.java: private TabChangeListener tabChangeListener; public TabChangeListener getTabChangeListener() { getLog().debug(getTabChangeListener

Re: AW: Re: AW: Re: [Tobago] How to use TabChangeListener?

2007-01-09 Thread Bernd Bohmann
TabChangeListener tabChangeListener; public TabChangeListener getTabChangeListener() { getLog().debug(getTabChangeListener: + tabChangeListener); return tabChangeListener; } public void setTabChangeListener(TabChangeListener tabChangeListener) { getLog().debug(setTabChangeListener

AW: Re: [Tobago] How to use TabChangeListener?

2007-01-08 Thread H. Swaczinna
Hello Bernd! is the GenaTabChangeListener instance of TabChangeListener? Yes, of course. public class GenaTabChangeListener implements TabChangeListener { With the binding attribute you can point directly to a managed bean. Do you mean this binding attributte? binding

Re: AW: Re: [Tobago] How to use TabChangeListener?

2007-01-08 Thread Bernd Bohmann
Hello Helmut, can you check the tobago-example-demo and the tabChangeListener example. The tabChangeListener is only created if the binding doesn't point to a valid reference to a TabChangeListener instance. Are you using facelets or jsp? Regards Bernd H. Swaczinna wrote: Hello Bernd

AW: Re: AW: Re: [Tobago] How to use TabChangeListener?

2007-01-08 Thread H. Swaczinna
: private TabChangeListener tabChangeListener; public TabChangeListener getTabChangeListener() { getLog().debug(getTabChangeListener: + tabChangeListener); return tabChangeListener; } public void setTabChangeListener(TabChangeListener tabChangeListener) { getLog().debug

Re: [Tobago] How to use TabChangeListener?

2007-01-06 Thread Bernd Bohmann
Hello Helmut, is the GenaTabChangeListener instance of TabChangeListener? With the binding attribute you can point directly to a managed bean. Regards Bernd H. Swaczinna wrote: Hello, I've set in my tabGroup a TabChangeListener tc:tabGroup switchType=reloadPage binding

[Tobago] How to use TabChangeListener?

2007-01-04 Thread H. Swaczinna
Hello, I've set in my tabGroup a TabChangeListener tc:tabGroup switchType=reloadPage binding=#{mainController.tabGroup} state=#{mainController.selectedTab} tc:tabChangeListener type=de.wlps.ndr.workflow.common.webapp.web.GenaTabChangeListener binding

tabChangeListener Attribute in panelTabbedPane tag

2006-12-18 Thread Fiallega, Jorge L
Version: tomahawk 1.1.5 I am in need of a tabChangeListener attribute within the panelTabbedPane tag like: t:panelTabbedPane=20 serverSideTabSwitch=true styleClass=tabbedPane selectedIndex = 0

AW: [Tobago] TabChangeListener not invoked

2006-11-22 Thread H. Swaczinna
value. This is want I want. Regards Helmut Hi, I've set a TabChangeListener for a tabGroup, but it is not invoked, when the tag I'm leaving contains an invalid input field, for example a numerical field with an invalid number entered. When the entered data is valid, the TabChangeListener

[Tobago] TabChangeListener not invoked

2006-11-21 Thread H. Swaczinna
Hi, I've set a TabChangeListener for a tabGroup, but it is not invoked, when the tag I'm leaving contains an invalid input field, for example a numerical field with an invalid number entered. When the entered data is valid, the TabChangeListener is invoked. Is this a bug or a feature? I want

RE: Getting a reference to my backing bean in TabChangeListener

2006-10-24 Thread Alex Brown
in TabChangeListener I wouldn't say it's very accessible unless: [1] There is a link to it on the download page (right next to the link to the binaries, I might add) [2] I can download it as a zip file, to allow me to step through it in my debugger. and I don't have to: [3] View Java code from my browser (icky

Re: Getting a reference to my backing bean in TabChangeListener

2006-10-24 Thread Jeff Bischoff
Associates monkeyden wrote: I decompiled the class file for this tag (tomahawk v1.1.3) and found that there are only two places where casting is done (don't know the line numbers as it's decompiled code). 1. TabChangeListener listener = (TabChangeListener)ClassUtils.newInstance(className); 2

Getting a reference to my backing bean in TabChangeListener

2006-10-23 Thread monkeyden
Im using a Tomahawk tabbedPane in my JSP t:panelTabbedPane id=tabbedPane bgcolor=#ff width=650 serverSideTabSwitch=true selectedIndex=#{myBackingBean.selectedTab} I want to implement a TabChangeListener, to set the selectedTab value of the backing bean. I don't need to change the view

Re: Getting a reference to my backing bean in TabChangeListener

2006-10-23 Thread Jeff Bischoff
. monkeyden wrote: Im using a Tomahawk tabbedPane in my JSP t:panelTabbedPane id=tabbedPane bgcolor=#ff width=650 serverSideTabSwitch=true selectedIndex=#{myBackingBean.selectedTab} I want to implement a TabChangeListener, to set the selectedTab value of the backing bean. I don't need to change

Re: Getting a reference to my backing bean in TabChangeListener

2006-10-23 Thread monkeyden
I decompiled the class file for this tag (tomahawk v1.1.3) and found that there are only two places where casting is done (don't know the line numbers as it's decompiled code). 1. TabChangeListener listener = (TabChangeListener)ClassUtils.newInstance(className); 2. ((HtmlPanelTabbedPane

Re: Getting a reference to my backing bean in TabChangeListener

2006-10-23 Thread Jeff Bischoff
casting is done (don't know the line numbers as it's decompiled code). 1. TabChangeListener listener = (TabChangeListener)ClassUtils.newInstance(className); 2. ((HtmlPanelTabbedPane)component).addTabChangeListener(listener); Clearly my tab listener won't result in a ClassCastException, because

Re: Getting a reference to my backing bean in TabChangeListener

2006-10-23 Thread monkeyden
/ Regards, Jeff Bischoff Kenneth L Kurz Associates monkeyden wrote: I decompiled the class file for this tag (tomahawk v1.1.3) and found that there are only two places where casting is done (don't know the line numbers as it's decompiled code). 1. TabChangeListener listener

Re: AW: tabchangelistener

2006-03-28 Thread Cedric Legallo
a newbie.--View this message in context: http://www.nabble.com/tabchangelistener-t470701.html#a3623427Sent from the MyFaces - Users forum at Nabble.com.-- Le Gallo Cédric

Re: AW: tabchangelistener

2006-03-27 Thread mr_chandru
Matthias, Can you pls tell me which jar file ur using for this serverSideTabSwitch=true . where can i get the jar file from. I am a newbie. -- View this message in context: http://www.nabble.com/tabchangelistener-t470701.html#a3623427 Sent from the MyFaces - Users forum at Nabble.com.

AW: tabchangelistener

2006-03-26 Thread Matthias Kahlau
/restoreState. Thanks. I don't use client-side state saving, so the second problem shouldn't apply to me. But I use serverSideTabSwitch=true, and it seems to work (if it wouldn't work, my TabChangeListener wouldn't work, too...) -Matthias On 3/25/06, Matthias Kahlau [EMAIL PROTECTED] wrote

Re: tabchangelistener

2006-03-25 Thread Mike Kienenberger
On 10/31/05, Turgay Zengin [EMAIL PROTECTED] wrote: The flag is: serverSideTabSwitch=true This attribute is for the t:panelTabbedPane. The interpretation and state-saving of the serverSideTabSwitch was broken until this week. I'd recommend that you use the latest nightly build or an svn

AW: tabchangelistener

2006-03-25 Thread Matthias Kahlau
On 10/31/05, Turgay Zengin [EMAIL PROTECTED] wrote: The flag is: serverSideTabSwitch=true This attribute is for the t:panelTabbedPane. The interpretation and state-saving of the serverSideTabSwitch was broken until this week. I'd recommend that you use the latest nightly build or an

Re: tabchangelistener

2006-03-25 Thread Mike Kienenberger
On 3/25/06, Matthias Kahlau [EMAIL PROTECTED] wrote: Can you please tell me what the problem was with the serverSideTabSwitch? You quoted it already below, but to restate, it didn't interpret non-EL expressings as Boolean values, and wasn't saving the state of the switch in

Re: tabchangelistener

2006-03-24 Thread mr_chandru
hi,, can you able to solve that problem.. I am also stuck up with the same.. pls tell me if u abel to solve that.. regards chandra. -- View this message in context: http://www.nabble.com/tabchangelistener-t470701.html#a3584208 Sent from the MyFaces - Users forum at Nabble.com.

AW: MyFaces example wanted for t:panelTabbedPane's selectedIndex, and/or TabChangeListener

2006-03-23 Thread Matthias Kahlau
Hi! I have a working TabChangeListener, but no time to provide an example this month. I think this would be possible next month... -Matthias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Mike Kienenberger Gesendet: Dienstag, 21. März 2006 18

MyFaces example wanted for t:panelTabbedPane's selectedIndex, and/or TabChangeListener

2006-03-21 Thread Mike Kienenberger
I've noticed that a lot of posters have asked for help with t:panelTabbedPane's selectedIndex and TabChangeListener over the last few months. Would someone be willing to expand the sandbox example (or provide a new example) showing how to use these features of panelTabbedPane? It will enable new

tabchangelistener

2005-10-31 Thread Hüseyin Erdağ
ublic class TestActionListener implements TabChangeListener { public TestActionListener() { super(); System.out.println("TestActionListener.initialize"); } public void processTabChange(TabChangeEvent arg0) throws AbortProcessingException { System.out.println("TestActionListener.pr

Re: tabchangelistener

2005-10-31 Thread Turgay Zengin
The flag is: serverSideTabSwitch=true This attribute is for the t:panelTabbedPane. Regards, Turgay On 10/31/05, Hans Sowa [EMAIL PROTECTED] wrote: Hi The problem is that the panelTabbed was changed so the tabChange works client-side and not server side. But because of this change the

TabChangeListener / TabChangeListenerTag and

2005-03-14 Thread Andrew Thornton
Is there any reason why the TabChangeListenerTag doesn't accept value-bindings to a listener and if so why? The current implementation takes a class name which is then instantiated. I would like my application to be informed of changes to the tabs and I don't want to have to use FacesContext to