Re: How do I init a Form bean via business logic?

2002-02-22 Thread Ted Husted
kothapallibc wrote: Quote MVC says that views should update themselves. I think the most important argument may be, that views are considered the most volatile layer and models the most stable. So it is OK for views to depend stongly on models, but it is not OK for controllers to depend

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Ian Beaumont
- From: Barr, Scott [IBM GSA] [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 03:27 To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? The best reason I can give as to why you should use form objects, is that you will pretty much always provide String getter

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Keith
]] Sent: Tuesday, February 19, 2002 6:45 PM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Hi JC If the data is dynamic, and we are talking about web apps here, why not populate it in the action? The form is a view component, and I don't give

Re: How do I init a Form bean via business logic?

2002-02-20 Thread kothapallibc
] [mailto:Scott.Barr@t...] Sent: Tuesday, February 19, 2002 6:45 PM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Hi JC If the data is dynamic, and we are talking about web apps here, why not populate it in the action? The form

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Jakkampudi, ChandraseKhar
: Ian Beaumont [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 3:10 AM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? I've been trying to get an answer to how to initialise a form bean from this list, but with no success. See Re: Can

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Barr, Scott [IBM GSA]
Yes, calling an Action is the way to do this. The struts-example shows how this is done. Scott -Original Message- From: Chris Means [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: How do I init a Form bean via business

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Jakkampudi, ChandraseKhar
[IBM GSA] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 6:05 PM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Yes, calling an Action is the way to do this. The struts-example shows how this is done. Scott -Original Message

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Barr, Scott [IBM GSA]
Scott -Original Message- From: Jakkampudi, ChandraseKhar [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:59 AM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Why should pre-populating a form be done in the preceding

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Jakkampudi, ChandraseKhar
of clean MVC design Scott -Original Message- From: Jakkampudi, ChandraseKhar [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:59 AM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Why should pre-populating a form be done

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Barr, Scott [IBM GSA]
for a gui debugger Scott -Original Message- From: Jakkampudi, ChandraseKhar [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 11:36 AM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? My reasons are as follows. I do not know

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Jakkampudi, ChandraseKhar
Users Mailing List' Subject: RE: How do I init a Form bean via business logic? 1. If you are doing something other than creating a new view component and allowing it to set its own default values, I would imagine that you are doing an Action. 2. No it doesn't break MVC if the Action initialises

RE: How do I init a Form bean via business logic?

2002-02-19 Thread Barr, Scott [IBM GSA]
, February 20, 2002 1:03 PM To: 'Struts Users Mailing List' Subject: RE: How do I init a Form bean via business logic? Scott, I need to clarify this further. I am not suggesting you do away with an action. You use the action to get the data that is required as a value object. Since