struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject RE: Action Form Design Problem
Date Wed, 19 Mar 2003 18:38:47 GMT
It is logically structured according to your stated requirements.  You have 
a child window capture some data, then parent captures more, then all data 
is submitted.  It makes sense to have one form bean in this instance.

David



>From: "Ritesh Singhal" <ritesh_singhal@infosys.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>Subject: RE: Action Form Design Problem
>Date: Wed, 19 Mar 2003 13:42:19 +0530
>
>Yes, session propagates to child window. The problem is, if we have
>single form bean for all the data, then the data is not logically
>structured, we are mixing all kind of logically separate entities in
>single form bean. Can we have separate form beans for each of the popup
>and get all the data in one Action class ?? Can we have some kind of
>reference to other form beans(for popups) from the parent page form
>bean??
>
>Thanks and Regards
>Ritesh
>
>-----Original Message-----
>From: Richard Raquepo [mailto:rraquepo@primeorion.com]
>Sent: Wednesday, March 19, 2003 11:31 AM
>To: Struts Users Mailing List
>Subject: Re: Action Form Design Problem
>
>
>Does session propagate to the pop-up window and vice-versa?
>
>----- Original Message -----
>From: "David Graham" <dgraham1980@hotmail.com>
>To: <struts-user@jakarta.apache.org>
>Sent: Wednesday, March 19, 2003 1:47 PM
>Subject: Re: Action Form Design Problem
>
>
> > Treat it as a multi-page form.  Store the form bean in the session and
>have
> > both pages store their data in the same form bean.  Your final submit
>action
> > will then have access to all the data.
> >
> > David
> >
> >
> >
> > >From: "Amit Keshav Kulkarni" <Amit_Kulkarni01@infosys.com>
> > >Reply-To: "Struts Users Mailing List"
> > ><struts-user@jakarta.apache.org>
> > >To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > >Subject: Action Form Design Problem
> > >Date: Wed, 19 Mar 2003 10:45:04 +0530
> > >
> > >Hi All,
> > >We are developing an application using Struts.
> > >The design of our screens is such that in Create screen a pop up
> > >window is used for capturing some of the data. User enters the data
> > >in the pop up window, saves it, returns to the parent window, fills
> > >some data in the parent window and finally submits the request for
> > >saving the data. At the time of saving we need the data entered in
> > >parent as well as pop up window.
> > >
> > >So how should the design of Action Forms and Action classes be in
> > >this case?
> > >
> > >Thanks and Regards,
> > >Amit
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > _________________________________________________________________
> > The new MSN 8: advanced junk mail protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message