RE: Form questions

2013-07-24 Thread Paul Bors
@wicket.apache.org Subject: Re: Form questions I've had a difficult time following your recommendations. However I think I'm getting closer. Part of the disconnect is that right now, as I show above, the model object I create is in the Form, not the Page. In my Page I create an instance

Re: Form questions

2013-07-23 Thread Daniel Watrous
POJO that feeds the entire form (or panel) via a detachable model. > > The LoadableDetachableModel is desined to only serialize the record ID for > which you can later retrieve the entire object from your persistence layer. > > ~ Thank you, > Paul Bors > > -Original M

RE: Form questions

2013-07-19 Thread Paul Bors
etrieve the entire object from your persistence layer. ~ Thank you, Paul Bors -Original Message- From: Daniel Watrous [mailto:dwmaill...@gmail.com] Sent: Friday, July 19, 2013 11:24 AM To: users@wicket.apache.org Subject: Re: Form questions Paul, Thanks. I get that and understand how the

Re: Form questions

2013-07-19 Thread Daniel Watrous
you get when you call new MorphiaCnavUrl().getUrl()? > That's what should appear in the TextField when you first load the page > (normally read form the DB). > > ~ Thank you, > Paul Bors > > -Original Message- > From: Daniel Watrous [mailto:dwmaill...@gmail.

RE: Form questions

2013-07-18 Thread Paul Bors
rom: Daniel Watrous [mailto:dwmaill...@gmail.com] Sent: Thursday, July 18, 2013 6:03 PM To: users@wicket.apache.org Subject: Re: Form questions I've made a lot of progress and been through chapters 9 and 10 of Wicket Free Guide, but I'm still stumped on point #2, pre-populating the form.

Re: Form questions

2013-07-18 Thread Daniel Watrous
ate your own Panel with that form >>>> file >>>> of yours and add it to another Panel as a child. >>>> >>>> See chapter 4 "Keeping control over HTML" of the Wicket Free Guide at: >>>> http://code.google.com/p/wicket-guide/ >

Re: Form questions

2013-07-17 Thread Daniel Watrous
m/p/wicket-guide/ >>> >>> Also available from under the Learn section as the Books link on the >>> right >>> side navigation section on Wicket's home page at: >>> http://wicket.apache.org/learn/books/ >>> >>> ~ Thank you, >>

Re: Form questions

2013-07-17 Thread Daniel Watrous
>> side navigation section on Wicket's home page at: >> http://wicket.apache.org/learn/books/ >> >> ~ Thank you, >> Paul Bors >> >> -Original Message- >> From: Daniel Watrous [mailto:dwmaill...@gmail.com] >> Sent: Tuesday, July 1

Re: Form questions

2013-07-17 Thread Daniel Watrous
gt; -Original Message- > From: Daniel Watrous [mailto:dwmaill...@gmail.com] > Sent: Tuesday, July 16, 2013 7:13 PM > To: users@wicket.apache.org > Subject: Re: Form questions > > Thanks Paul and Sven. I got the form to work and available in the onSubmit > handler. > &g

RE: Form questions

2013-07-16 Thread Paul Bors
July 16, 2013 7:13 PM To: users@wicket.apache.org Subject: Re: Form questions Thanks Paul and Sven. I got the form to work and available in the onSubmit handler. Now I'm interested in splitting the form out into it's one file. So I created a class that has nothing more than the form

Re: Form questions

2013-07-16 Thread Daniel Watrous
Thanks Paul and Sven. I got the form to work and available in the onSubmit handler. Now I'm interested in splitting the form out into it's one file. So I created a class that has nothing more than the form, but I'm not sure how to include this into a page. In my class I do this: public class Cna

Re: Form questions

2013-07-15 Thread Sven Meier
Hi, Some problems I can't figure out. The code to create the button complains that it requires a CnavUrl but gets back a String. add(new Button("publish", model) { @Override public void onSubmit() { CnavUrl cnavUrl = (CnavUrl) getModelObject();

RE: Form questions

2013-07-15 Thread Paul Bors
ou, Paul Bors -Original Message- From: Daniel Watrous [mailto:dwmaill...@gmail.com] Sent: Monday, July 15, 2013 5:41 PM To: users@wicket.apache.org Subject: Form questions Hello, I'm interested in creating a single Form that will accommodate the following use cases 1) display blank f

Form questions

2013-07-15 Thread Daniel Watrous
Hello, I'm interested in creating a single Form that will accommodate the following use cases 1) display blank for creating new records 2) pre-populate for editing existing records 3) map submitted values on to an existing domain object 4) accommodate two actions, Save Draft -or- Publish I'm foll