if i was writing applications that did that i would also uses jsps :)
-igor
On Feb 19, 2008 6:26 AM, Leucht, Axel <[EMAIL PROTECTED]> wrote:
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]