Isn't this assuming there are no modules?
sandeep
-Original Message-
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:11 PM
To: 'Struts Users Mailing List'
Subject: RE: pre-populating DynaValidatorForm
Dean,
Here's the essential code in order
DynaValidatorForm
Isn't this assuming there are no modules?
sandeep
-Original Message-
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:11 PM
To: 'Struts Users Mailing List'
Subject: RE: pre-populating DynaValidatorForm
Dean,
Here's
) dafc.newInstance();
formBean.set(myProperty, someValue);
request.setAttribute(myDynaForm,formBean);
-Richard
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:48 AM
To: Struts Users Mailing List
Subject: Re: pre-populating DynaValidatorForm
I am using DynaValidatorAction and
it works just fine, when starting clean.
However, when I attempt to pre-populate
the object, the data never makes it to the
form. Anyone know why? What follows
is some snippets of files that should show
what I am doing.
=== struts-config.xml
?xml version=1.0
What version of Struts are you using? How are you instantiating your
Dyna*Form? Struts 1.1 didn't really have direct support for instantiating
DyanForms from an Action object. Struts 1.2.0/nightly build does. Is it
possible that you're using 1.1 and instantiating the form incorrectly?
---
I am using struts 1.1, and I am directly instantiating a
DynaValidatorForm in
my Action class. I am hesitant to embrace struts 1.2 at this time,
especially if
the difference between 1.1 and 1.2 is as large as betwee 1.0 and 1.1. Is
there
some other way to accomplish it?
Dean Hoover
Hubert
See http://www.mail-archive.com/[EMAIL PROTECTED]/msg96035.html
hth,
Hubert
--- Dean A. Hoover [EMAIL PROTECTED] wrote:
I am using struts 1.1, and I am directly instantiating a
DynaValidatorForm in
my Action class. I am hesitant to embrace struts 1.2 at this time,
especially if
the
7 matches
Mail list logo