[tabbed panel will be
here]
this is Index.html (without html, title, head etc.). There is a label in
HomePage.java when you create new project but i removed it and I did
same thing in .html.
Index.java doesnt add any Label.
tm
-
assertLabel is looking for a top-level label component with wicket:id
"label" and it's not finding one. You'll need to post Index.html if
you want me to tell you why, but I'm guessing you could look at
Index.html and see if it has a "message" label contained by no other
wicket components, and also
Thank you for your reply,
I just chcecked the test but it seems OK
public void testRenderMyPage()
{
//start and render the test page
tester.startPage(Index.class);
//assert rendered page class
tester.assertRenderedPage(Index.class);
//assert rendered label
It looks like you are using the standard wicket quickstart archetype,
and you've changed the HomePage (or perhaps deleted it entirely) but
haven't altered the corresponding sample test in
src/test/java/**/TestHomePage.java, which is expecting to find the
Label that the default quickstart puts in Ho
Hi,
I currently made this simple tab application just to try out how things
work. I created Index.java and .html files. Java contains basicaly this:
public Index(final PageParameters parameters) {
tabs.add(new AbstractTab(new Model("Index")) {
public Panel getPanel(String p