Re: DynaActionForm question

2004-01-03 Thread Mark Lowe
uot;foo" request.getAttribute("foo"); or request.getSession().getAttribute("foo"); greetings matthias -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Saturday, January 03, 2004 2:05 PM To: Struts Users Mailing List Subject: Re: DynaActionForm question Not

RE: DynaActionForm question

2004-01-03 Thread Matthias Wessendorf
anuary 03, 2004 2:05 PM To: Struts Users Mailing List Subject: Re: DynaActionForm question Not sure if its deprecated but i always use I have been trying to do the following: > name="searchForm" > type="com.mckesson.eig.actions.search.patient.Se

Re: DynaActionForm question

2004-01-03 Thread Mark Lowe
Not sure if its deprecated but i always use rather than attribute which i don't know anything about. Cheers Mark On 2 Jan 2004, at 20:44, Sifuentes, Ben wrote: I have been trying to do the following: name="searchForm" type="com.mckesson.eig.actions.search.patient.SearchForm"> type="

Re: DynaActionForm question

2003-01-21 Thread Gemes Tibor
2003. január 21. 15:35 dátummal [EMAIL PROTECTED] ezt írtad: > Is it possible to instantiate an instance of DynaActionForm before I > populate the page? Yes, for an example in your prepopulating action. Create an action which collects the data and populates your form. And assign the same actionfo

RE: DynaActionForm question

2003-01-21 Thread pqin
anuary 20, 2003 7:58 PM To: Struts Users Mailing List Subject: Re: DynaActionForm question On Mon, 20 Jan 2003, Giri Alwar wrote: > > I have a question for the folks in general. What is the main reason for > using the DynaActionForm class (as opposed to writing your own ActionFo

Re: DynaActionForm question

2003-01-20 Thread Craig R. McClanahan
On Mon, 20 Jan 2003, Giri Alwar wrote: > > I have a question for the folks in general. What is the main reason for > using the DynaActionForm class (as opposed to writing your own ActionForm)? That's it in a nutshell :-). Having to write fewer classes is goodness. > While you don't have to wr

RE: DynaActionForm question

2003-01-20 Thread James Turner
> From: Giri Alwar [mailto:[EMAIL PROTECTED]] > Subject: Re: DynaActionForm question > The DynaActionForm differs from the ActionForm in one > critical way: the ActionForm class is a real Javabean with > getter/setters for your properties. Hence it can be used with > other t

Re: DynaActionForm question

2003-01-20 Thread Giri Alwar
The DynaActionForm differs from the ActionForm in one critical way: the ActionForm class is a real Javabean with getter/setters for your properties. Hence it can be used with other third party taglibs such as JSTL etc. The DynaActionForm does not have getters/setters for your properties. The only r

Re: DynaActionForm question

2003-01-20 Thread Kris Schneider
Pedantic clarification inline Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>: > > > On Sun, 19 Jan 2003, Mark Minnie wrote: > > > Date: Sun, 19 Jan 2003 21:04:55 -0800 > > From: Mark Minnie <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > > To: [EMAIL PROTEC

Re: DynaActionForm question

2003-01-19 Thread Craig R. McClanahan
On Sun, 19 Jan 2003, Mark Minnie wrote: > Date: Sun, 19 Jan 2003 21:04:55 -0800 > From: Mark Minnie <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: DynaActionForm question > > "Struts in Action" on page 162 reads: > > "You can use

RE: DynaActionForm question

2003-01-19 Thread James Turner
> From: Mark Minnie [mailto:[EMAIL PROTECTED]] > > String username = ((LoginForm)form).getUsername(); > String password = ((LoginForm)form).getPassword(); > > The LoginForm was the form bean that I had created manually > in java. I deleted the LoginForm and replaced the form bea

RE: DynaActionForm question

2002-09-02 Thread Anoop
03, 2002 10:55 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: DynaActionForm question Hi, I had also issues with this. But in fact, I use DynaActionForms and manage the validating from the StrutsAction without problem including selecting page only validating. Use .setPage

Re: DynaActionForm question

2002-09-02 Thread Jean Pierre Pawlak
Hi, I had also issues with this. But in fact, I use DynaActionForms and manage the validating from the StrutsAction without problem including selecting page only validating. Use .setPage() before .validate(...,...). The 'struts-validator' example bundled with Struts 1.1b2 is a good starting poin