@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
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
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
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
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
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
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
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
-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
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();
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
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
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
13 matches
Mail list logo