RE: FormBeans: A question of Style

2004-02-27 Thread Max Cooper
On Thu, 2004-02-26 at 23:01, Pradeep, PK wrote: I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object from the results from service layer? In Action class only right? Which you know very well for which JSP page it will be

RE: FormBeans: A question of Style

2004-02-27 Thread Michael McGrady
] Sent: Friday, February 27, 2004 11:41 AM To: Struts Users Mailing List Subject: Re: FormBeans: A question of Style I consider the ActionForms to be part of the view primarily. They should both collect submitted data and provide the JSP (or other view components) with most or all the data they need

RE: FormBeans: A question of Style

2004-02-27 Thread Paul, R. Chip
Table vs Graph) Independence is very important for reusability and maintainability. -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 4:53 PM To: Struts Users Mailing List Subject: RE: FormBeans: A question of Style This is just wrong

Re: FormBeans: A question of Style

2004-02-26 Thread Max Cooper
I consider the ActionForms to be part of the view primarily. They should both collect submitted data and provide the JSP (or other view components) with most or all the data they need to render the page (camp 2). I say 'most' only because sometimes custom tags can be useful for getting data for

Re: FormBeans: A question of Style

2004-02-26 Thread Niall Pemberton
Dam - I was in Camp 3: Form beans are View components...but looking in the user guide... Note: While ActionForm beans often have properties that correspond to properties in your Model beans, the form beans themselves should be considered a Controller component. As such, they are able to transfer

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
, 27 February 2004 12:12 To: Struts Users Mailing List Subject: Re: FormBeans: A question of Style Dam - I was in Camp 3: Form beans are View components...but looking in the user guide... Note: While ActionForm beans often have properties that correspond to properties in your Model beans

RE: FormBeans: A question of Style

2004-02-26 Thread cnd
it to the model and vice versa (preferably with some kind of helper classes and perhaps also non-form DTOs involved) -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 12:12 To: Struts Users Mailing List Subject: Re: FormBeans: A question

RE: FormBeans: A question of Style

2004-02-26 Thread Pradeep, PK
in ActionForm? How one can populate resultset in action form which will automatically get populated in html table.. -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 11:41 AM To: Struts Users Mailing List Subject: Re: FormBeans: A question

RE: FormBeans: A question of Style

2004-02-26 Thread Andrew Hill
/ -Original Message- From: Pradeep, PK [mailto:[EMAIL PROTECTED] Sent: Friday, 27 February 2004 15:02 To: Struts Users Mailing List Subject: RE: FormBeans: A question of Style I think whatever you do you can't make JSP and Action Class independent. Where are you populating ActionForm Object