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 of my Form like

Re: Form questions

2013-07-23 Thread Daniel Watrous
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

Re: Form questions

2013-07-19 Thread Daniel Watrous
first load the page (normally read form the DB). ~ Thank you, Paul Bors -Original Message- From: 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

RE: Form questions

2013-07-19 Thread Paul Bors
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 Model happens

Re: Form questions

2013-07-18 Thread Daniel Watrous
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. Now I'm interested in splitting the form out into it's one file. So I

RE: Form questions

2013-07-18 Thread Paul Bors
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. Here's what I have right now: public class CnavForm extends Form { @Inject

Re: Form questions

2013-07-17 Thread Daniel Watrous
at: http://wicket.apache.org/learn/books/ ~ Thank you, Paul Bors -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

Re: Form questions

2013-07-17 Thread Daniel Watrous
at: http://wicket.apache.org/learn/books/ ~ Thank you, Paul Bors -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

Re: Form questions

2013-07-17 Thread Daniel Watrous
-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. Now I'm interested in splitting the form

Re: Form questions

2013-07-16 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-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

RE: Form questions

2013-07-16 Thread Paul Bors
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, but I'm not sure how to include

RE: Form questions

2013-07-15 Thread Paul Bors
On wicket's home page http://wicket.apache.org to the left there is a Learn - Books section. Under the Books page the first book is Wicket free guide. Download it and read chapter 9 and 10 if not the entire book. You might be interested in section 9.2 Models and JavaBeans and 9.3.1 Form and