I am simply trying to implement an existing example of The RepeatingView Component as it is displayed in the documentation.
The .html file:

<html>
        <head>
                <meta charset="utf-8" />
                <title>Apache Wicket HelloWorld</title>
        </head>
        <body>

                <div wicket:id=':listItems'>
                [Label's message goes here]
                </div>
        </body>
</html>

(NOTE: If I use "listItems" instead of ':listItems' as it is in the tutorials, I get another error specifically telling me that ':listItems' was expected instead...)

and in the Java file I am only adding initializing & components:
    RepeatingView listItems = new RepeatingView("listItems");

listItems.add(new Label(listItems.newChildId(), "green"));
listItems.add(new Label(listItems.newChildId(), "blue"));
listItems.add(new Label(listItems.newChildId(), "red"));
    }
}

Instead of the components being displayed, the server either denies me access or returns me this error: Last cause: This container is already dequeing: [Page class = com.thesis.HomePage, id = 0, render count = 0]

Any ideas, anyone?

Thanks in advance!!








---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to