new PropertyModel(eventSchedule,"foo")

where is eventschedule referenced, how is it loaded?

i would make that a property of the page and do it like this:

new PropertyModel(this, "eventSchedule.foo")

-igor


On Mon, Apr 21, 2008 at 12:07 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I got a textfield:
>
>
>
>  add(fooTextField = new TextField("foo", new PropertyModel(eventSchedule,
>  "foo"), Integer.class));
>
>
>
>  eventSchedule is a bean that has a foo field which is an integer.
>
>
>
>  For some reason it's never being updated, although the field picks it up
>  when I programmatically call eventSchedule.setFoo().
>
>
>
>  I'm using this with AJAX and have all my component ids set and the
>  textfield added to the target.
>
>
>
>  Any ideas?
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to