Hi Marcelo,
Marcelo Grassi Franco Melgaço wrote:
> I was using click 1.4 and write a page with tabbedPanel.
> I need to call a method when the user change the panel(tab).
> I used the setTabListener of the tabbedPanel and worked fine.
> But with the 1.5-m3 version, this method is deprecated and doesn't work.
> I tried the setActionListener and the setListener, but no one work.
I can confirm this is not working. There is a bug in TabbedPanel.
Seems TabbedPAnel#onProcess does not register the listeners.
Will have this fixed for RC1.
If you are in dire need of this fix you could try:
MyTabbedPanel extends TabbedPanel {
public boolean onProcess() {
super.onProcess();
registerActionEvent();
return true;
}
}
Thanks for your feedback.
kind regards
bob
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Click-user mailing list
Click-user@...
https://lists.sourceforge.net/lists/listinfo/click-user