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
-
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
]]
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
] [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
: 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
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
[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
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
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
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
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
, 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
12 matches
Mail list logo