wicket login problem

2008-04-10 Thread Neo Anderson
I follow the tutorial http://www.developer.com/java/web/article.php/10935_3673576_1 to learn how to use wicket. And I want to practise not to embed the Form inside another class. So I create a class called LoginForm.java and move the code to there (as follow). public class LoginForm extends

Re: wicket login problem

2008-04-10 Thread Ryan Gravener
Take a look at http://wicketstuff.org/wicket13/forminput/ and http://cwiki.apache.org/WICKET/working-with-wicket-models.html In your login form I would have private member variables userId and password public class LoginForm extends Form { private String userId; private String password;

Re: wicket login problem

2008-04-10 Thread lars vonk
I don't think getters and setters are needed anymore it also support field access. On Thu, Apr 10, 2008 at 4:18 PM, Ryan Gravener [EMAIL PROTECTED] wrote: Take a look at http://wicketstuff.org/wicket13/forminput/ and http://cwiki.apache.org/WICKET/working-with-wicket-models.html In your