Hi,

Though I'm very impressed by wicket, I do have a question concernig the 
performance of wicket. 

A simple WebPage just iterates over a list of data and inserts a href-Element 
in the resulting page. It works, but is incredibly slow (runs minutes), whereas 
a similar JSP-Page finishes in seconds, and I wonder whether I can do something 
about it. Yes, I know, generating HTML with 100.000 elements is senseless but 
gives me a hint whether wicket can handle application like this or dies for 
whatever resaons.

Here is my little TestPage:
public class LastTestPage extends WebPage {
        
        public LastTestPage() {
                List<String> list = new ArrayList<String>();
                for (int i=0; i<100000; i++) {
                        System.out.println(i);
                        list.add(new String("Row:"+i));
                }
                add(new ListView("listView", list)
                 {
                        public void populateItem(final ListItem item)
                        {
                                String s1 = (String) item.getModelObject();
                                item.add(new Label("href", s1));
                                System.out.println(s1);
                        }
                 });
                        }

}

/Axel

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

Reply via email to