voyent
Tabchangelistener not working with facelets  XML
Forum Index -> General Help
Author Message
Sam82

Joined: 31/Oct/2006 00:00:00
Messages: 19
Offline


Hi,

I am trying to use tabset with facelets, i have created a tabmanager which implements the TabChangeListener, the TabManger has a property tabset which is binded to the tabset on the .xhtml file but when i change the tab proccessTabChange is never called any reasons why this is happening?

Also I am not able to understand how does the tabset know whether such a listener is implemented as apart from the binding, we donot have any listener attribute on the page for the tabset like the actionListener for the tabset, dont we have to register this Listener?

Thanks & Regards,
Sam
[Email]
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Sam,

Yes, we had a bug with TabChangeListeners in Facelets. This has been fixed and will be included in the 1.1. release.

The PanelTabSet retains a list of tab listeners. This is all wired up automatically in the framework.

Thanks,
Philip

.
Sam82

Joined: 31/Oct/2006 00:00:00
Messages: 19
Offline


Hi Philip,

The tabchangelistener is still not wirking with the latest release :-((


Did you try to check this @ your end, if yes please let me know....


Regards,
Sam
[Email]
Sam82

Joined: 31/Oct/2006 00:00:00
Messages: 19
Offline


any answers???
[Email]
jerome

Joined: 14/Nov/2006 00:00:00
Messages: 16
Offline


Hello Sam,

It might be a classloader/"class visibility" issue.

Regards,
Jerome.
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Sam,

In my tests the TabChangeListener is working with Facelets, although there might be another issue with TabChangeEvents multiplying. I'll update you on that, and I've attached an example.

Thanks,
Philip
 Filename forum-2701.zip [Disk] Download
 Description Example showing the use of a TabChangeListener with Facelets
 Filesize 45 Kbytes
 Downloaded:  324 time(s)


.
mark.collette


Joined: 07/Feb/2005 00:00:00
Messages: 1692
Offline


Sam82 wrote:
Hi Philip,

The tabchangelistener is still not wirking with the latest release :-((


Did you try to check this @ your end, if yes please let me know....


Regards,
Sam 


I've given an example of how to use tabChangeListener in the following post:

http://www.icefaces.org/JForum/posts/list/2810.page#13832
[Email]
jerome

Joined: 14/Nov/2006 00:00:00
Messages: 16
Offline


Hi,

I faced the same issue when trying to bind a tabset to a Seam component (a simple java bean). A workaround was to copy the Icefaces libs in JBoss server lib directory.

Sam, you may be facing the same issue here (or similar).

Regards,
Jerome.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team