AjaxTab#getLazyPanel not loading data

2012-12-19 Thread appwicket
Hi all, 
I am using AjaxTab instead of AbstractTab.
The following is my code:
tabs.add(new AjaxTab(new ModelString(myString)) {
 private static final long serialVersionUID = 1L;
 @Override
 public WebMarkupContainer getLazyPanel(String panelId)
 {
 try
 {
 Thread.sleep(500);
 }
 catch (InterruptedException e)
 {
 error(e.getMessage());
 }
return new MyPanel(panelId,pageParameters,myString);
 }
 });
when I load the tab, the program is not reading any data from database and I
only able to see the spinner.
What do I miss?
Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxTab-getLazyPanel-not-loading-data-tp4654947.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxTab#getLazyPanel not loading data

2012-12-19 Thread Sven Meier

Where's AjaxTab coming from?

Sven

On 12/19/2012 08:11 PM, appwicket wrote:

Hi all,
I am using AjaxTab instead of AbstractTab.
The following is my code:
tabs.add(new AjaxTab(new ModelString(myString)) {
  private static final long serialVersionUID = 1L;
  @Override
  public WebMarkupContainer getLazyPanel(String panelId)
  {
  try
  {
  Thread.sleep(500);
  }
  catch (InterruptedException e)
  {
  error(e.getMessage());
  }
return new MyPanel(panelId,pageParameters,myString);
  }
  });
when I load the tab, the program is not reading any data from database and I
only able to see the spinner.
What do I miss?
Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AjaxTab-getLazyPanel-not-loading-data-tp4654947.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org