Re: [Wicket-user] Forms/Models

2006-09-26 Thread Martijn Dashorst
I thought this is in his private 1.3 branch On 9/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > we have been talking about letting it access private fields directly so you > dont have to implement the pesky getters/setters. > > not sure if that has been committed yet. johan? > > > -Igor > > >

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Igor Vaynberg
we have been talking about letting it access private fields directly so you dont have to implement the pesky getters/setters.not sure if that has been committed yet. johan?-Igor On 9/26/06, Patrick Angeles <[EMAIL PROTECTED]> wrote: Thanks... that's exactly what I was looking for ;)So I take it, Co

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Patrick Angeles
Thanks... that's exactly what I was looking for ;)So I take it, CompoundPropertyModel does not require get/set methods to access/mutate properties? (I think I have to make "login" public, in this case?) On 9/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: it really depends on the reusability you wa

Re: [Wicket-user] Forms/Models

2006-09-26 Thread Igor Vaynberg
it really depends on the reusability you want.do you want loginform to be reusable?do you want loginmodel to be reusable?if the answer to both is no then you can just doclass Login extends WebPage {   private String login;  private String password;  public Login() { Form form=new Form("form

[Wicket-user] Forms/Models

2006-09-26 Thread Patrick Angeles
I wrote the following code with Forms and Models... is there a more compact way of doing this? Would it be a bad idea to combine the form class and the model class into one and have it reference itself as a Model object? Also, since I am not so concerned about holding on to the model's state (log