and how do you keep a reference to it? does it come from a detachable
model? i am guessing that the dropdownchoice does not update the same
instance you end up seeing null in. usually you would chain models
such as new propertymodel(some-wicket-imodel-you-used-to-load-the-pojo,
"property")

-igor


On Fri, Apr 11, 2008 at 10:50 PM, nemo_08 <[EMAIL PROTECTED]> wrote:
>
>
>  I think my naming conventions are not perfect but BookingModel is a pojo
>  implementing Serializable which I am using to map through Hibernate. Similar
>  is RoomModel.
>
>  public class BookingModel implements Serializable {
>
>         private Integer bookingID;
>         private String bookingRef;
>         private Date fromTime;
>         private Date toTime;
>         private String purpose;
>         private UserModel user;
>         private RoomModel room;
>
>  // get/set methods
>
>
>  }
>
>
>  igor.vaynberg wrote:
>  >
>  > what is bookingModel? what object is it and what does it extend? is it
>  > an IModel?
>  >
>  > -igor
>  >
>  >
>
>  --
>  View this message in context: 
> http://www.nabble.com/DropDown-not-setting-the-object---pls-help-tp16645752p16645834.html
>
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to