I am trying to put a link inside an AjaxLazyLoadPanel using
BookmarkablePageLink and Label. However, I always run into a "close tag not
found" error.
Here's my Java code:


add(new AjaxLazyLoadPanel("itemcnt"){
    @Override
    public Component getLazyLoadComponent(String id){   
        int count = 0;
                                
        PageParameters params = null;
                                        
        BookmarkablePageLink link = new BookmarkablePageLink(id,
Page.class,params);
                                        
        add(link);
                                                
        link.add(new Label(""+count);
                                        
        return link;
                                        
   }                    
});


My HTML code is as follows:




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943587.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

Reply via email to