Because I have replaced a Panel by an AjaxLazyLoadPanel, I had to replace the
ids for the targets at the other ajax-components too. That was just my
fault.

Example:
Step 1:
 myPanel = new MyPanel("panelName", new PropertyModel(this,"searchString"),
version);
 ...
someAjax
...
 target(myPanel);
...

Step 2: replaced by
 myLazyPanel = new AjaxLazyLoadPanel("lazyload"){
 @Override
  public Component getLazyLoadComponent(String id){
   myPanel = new MyPanel("panelName", new
PropertyModel(myPage.this,"searchString"), version);
   myPanel.setOutputMarkupId(true);
   return myPanel;
  }
 };
 ...
someAjax
...
 target(myLazyPanel);
...

Step 3:
 I replaced "panelName" by id
-- 
View this message in context: 
http://www.nabble.com/Examples-for-AjaxLazyLoadPanel--tf4632483.html#a13234761
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to