wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Zhavzharov <mzhavzha...@alee.ru>
Subject Multiple AjaxLazyLoadingPanel's never load
Date Fri, 12 Oct 2012 07:24:01 GMT
Hi, all!

I have a problem with list of AjaxLazyLoadingPanels. Only the first panel
loads, but others never. It's looks like this:

I need to load N lazyPanels, and I trying to do next:

*In Java:*

List components = new ArrayList();
for (int i = 0; i < 6; i++) {

add(new ListView("list", components) {
            protected void populateItem(ListItem item) {
                item.add(new AjaxLazyLoadPanel("ajaxPanel") {
                    public Component getLazyLoadComponent(String markupId) {
                        return new Label(markupId, "Simple Label");

*In HTML:*
        <div wicket:id="list">
            <div wicket:id="ajaxPanel" id="ajaxPanel" ></div>

But this does not works.
I tried to set every ALLP's markupId unique, but this led to the fact that
even the first element-loaded stoped.

Can somebody help me with this problem? 

Regards, Michael.

View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-AjaxLazyLoadingPanel-s-never-load-tp4652907.html
Sent from the Users forum mailing list archive at Nabble.com.

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

View raw message