Just a question ...
what happens with other instances ? are they forgotten (null-ed) ?
My problem is that I'm trying to put a PDFObject (displays PDF file in a div
in a browser ) panel and JWPlayer (flash video player) into tab panel. So I
have to know if older versions of these panels are
Hi Zhubin,
Everytime there is a tab switch, method getPanel from the ITab instance
is called.
Regards,
Erik.
Zhubin Salehi wrote:
Hi all,
How can I be notified when one of the tabs in a TabbedPanel is selected?
Where is no onSelect() method in ITab interface, is there a way to achieve
So every time a tab is selected, a new instance of that panel will be
created?
Erik van Oosten wrote:
Hi Zhubin,
Everytime there is a tab switch, method getPanel from the ITab instance
is called.
Regards,
Erik.
Zhubin Salehi wrote:
Hi all,
How can I be notified when one
Yes, simply every time your panel is instantiated, it means someone
navigated to the particular tab. You can monitor this also in your
panel class.
**
Martin
2009/1/29 Zhubin Salehi zhooz...@yahoo.com:
So every time a tab is selected, a new instance of that panel will be
created?
Erik van
Yes, unless you use the PanelCachingTab decorator.
Erik.
Zhubin Salehi wrote:
So every time a tab is selected, a new instance of that panel will be
created?
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
-
So which Panel method is a best to monitor when that panel is selected? I
need to set a model property for each of my tabs.
Also I tried to stop Wicket from instantiating a new Panel every time a tab
is selected, here is the code:
/* advanced search check box */
add(new
Sorry wrong code fragment! Here is the right one:
/* 'search by MobiNET ID tab */
tabs.add(new PanelCachingTab(new AbstractTab(new
StringResourceModel(title.byMobinetId,
FindUserAccount.this, null)) {
private static final long
How about this:
tabs.add(new PanelCachingTab(new AbstractTab(new
StringResourceModel(title.byMobinetId,
FindUserAccount.this, null)) {
private static final long serialVersionUID =
5564837747113048306L;
public Panel
This code looks cool, thanks a lot!
Erik van Oosten wrote:
How about this:
tabs.add(new PanelCachingTab(new AbstractTab(new
StringResourceModel(title.byMobinetId,
FindUserAccount.this, null)) {
private static final long serialVersionUID =
Hi all,
How can I be notified when one of the tabs in a TabbedPanel is selected?
Where is no onSelect() method in ITab interface, is there a way to achieve
this?
Thanks,
Zhubin
--
View this message in context:
10 matches
Mail list logo