My the action method that I call before visiting the form is as
follows:
if (form == null) {
form = new LazyValidatorForm();
}
CommonTools.formDataCopy(request, form);
request.setAttribute("searchNameForm", form);
return mapping.findForward("searchName");
The form is always null. I guess tha
..
>
>
> Regards
> marco
>
> -Original Message-
> From: Norris Shelton [mailto:[EMAIL PROTECTED]
> Sent: 09 February 2005 17:08
> To: Struts Users Mailing List; Dakota Jack
> Subject: Re: How do I prefill a form
>
> Here is the entire contents of m
Oopsie, that should have been LazyValidatorForm. That was part
of my problem. Thx.
I took a look at using the FBC, but I was very clumsy. What
would I put as the ActionServlet in
createActionForm(ActionServlet)?
BTW, I was able to get it to work. However, I would rather have
it work correctly
At 9:08 AM -0800 2/9/05, Norris Shelton wrote:
Here is the entire contents of my init method:
if (form == null) {
form = new DynaValidatorActionForm();
}
You can never simply instantiate a DynaBean and use it; it needs to
be configured to know what it's properties are. (Well, the
LazyDynaBe
On Wed, 9 Feb 2005 09:08:02 -0800 (PST), Norris Shelton
<[EMAIL PROTECTED]> wrote:
> Here is the entire contents of my init method:
> if (form == null) {
> form = new DynaValidatorActionForm();
> }
> CommonTools.formDataCopy(request, form);
> return mapping.findForward("searchName");
This i
Mailing List; Dakota Jack
Subject: Re: How do I prefill a form
Here is the entire contents of my init method:
if (form == null) {
form = new DynaValidatorActionForm();
}
CommonTools.formDataCopy(request, form);
return mapping.findForward("searchName");
If I break on the CommonTools line
Here is the entire contents of my init method:
if (form == null) {
form = new DynaValidatorActionForm();
}
CommonTools.formDataCopy(request, form);
return mapping.findForward("searchName");
If I break on the CommonTools line and put my mouse on the form,
I see form is not null, but is empty.
On Wed, 9 Feb 2005 08:04:44 -0800 (PST), Norris Shelton
<[EMAIL PROTECTED]> wrote:
> I am using a LazyValidatorForm for each area of my site. They
> want information entered on a form in one part of the site to be
> the default value when a form in another part of the site is
> displayed. I am a
I am using a LazyValidatorForm for each area of my site. They
want information entered on a form in one part of the site to be
the default value when a form in another part of the site is
displayed. I am accumulating the information that is entered in
a session bean. I then tried to copy that to
9 matches
Mail list logo