Re: Model question ?

2009-08-16 Thread Martijn Dashorst
elf as the model object? > > Warren > > -Original Message- > From: jWeekend [mailto:jweekend_for...@cabouge.com] > Sent: Friday, August 14, 2009 5:43 PM > To: users@wicket.apache.org > Subject: RE: Model question ? > > > Warren, > > If you don&

Re: Model question ?

2009-08-15 Thread Eelco Hillenius
> Is there any issues you need to be concerned with when using the page > itself as the model object? I don't think so. Eelco - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

RE: Model question ?

2009-08-15 Thread Warren Bell
Is there any issues you need to be concerned with when using the page itself as the model object? Warren -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Friday, August 14, 2009 5:43 PM To: users@wicket.apache.org Subject: RE: Model question ? Warren, If

RE: Model question ?

2009-08-14 Thread jWeekend
ld? > > -Original Message- > From: jWeekend [mailto:jweekend_for...@cabouge.com] > Sent: Friday, August 14, 2009 3:47 PM > To: users@wicket.apache.org > Subject: Re: Model question ? > > > Warren, > > ... and if you prefer usi

RE: Model question ?

2009-08-14 Thread jWeekend
jWeekend [mailto:jweekend_for...@cabouge.com] > Sent: Friday, August 14, 2009 3:47 PM > To: users@wicket.apache.org > Subject: Re: Model question ? > > > Warren, > > ... and if you prefer using a CPM for your "vendorEditForm"s: > > public class HomePage exten

RE: Model question ?

2009-08-14 Thread Warren Bell
@wicket.apache.org Subject: Re: Model question ? Warren, ... and if you prefer using a CPM for your "vendorEditForm"s: public class HomePage extends WebPage { private List vendors = Arrays.asList(new Vendor("v1"),

Re: Model question ?

2009-08-14 Thread jWeekend
Warren, ... and if you prefer using a CPM for your "vendorEditForm"s: public class HomePage extends WebPage { private List vendors = Arrays.asList(new Vendor("v1"), new Vendor("v2")); private Vendor vendor = new Vendor("de

Re: Model question ?

2009-08-14 Thread jWeekend
Warren, Something like this? public class HomePage extends WebPage { private List vendors = Arrays.asList(new Vendor("v1"), new Vendor("v2")); private Vendor vendor = new Vendor("default vendor"); public HomePage(final PageParameters parameters) { Form form = new Form("form")

Re: Model Question

2009-07-06 Thread Linda van der Pal
Is there a Calendar object under the covers somewhere? Cause it looks like a conversion error, seeing how the months start counting from zero in the Calendar object. Regards, Linda jpalmer1...@mchsi.com wrote: I have the following code to allow the user to select the date that a report is to

Re: Model question

2007-09-11 Thread Martijn Dashorst
Nothing directly. The only thing you should do is propagate the 'detach' method to your nested eventModel. The chaining model is merely interesting for consumers of your model, so they can get to the embedded model using a specified API. >From chapter 5 "Understanding Models" of Wicket in Action (