This looks strange to me:
public class Example extends WebPage {
public void Blank() {
add(new RequiredTextField("username"));
}
}
Why is Blank a Uppercase method name?
You don't have any constructor yet. So Blank never gets executed and the
username component is not added to the page
try
public class Example extends WebPage {
public Example() {
add(new RequiredTextField("username"));
}
}
or
public class Example extends WebPage {
public Example() {
Blank();
}
public void Blank() {
add(new RequiredTextField("username"));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org