On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote:
Michael Jouravlev wrote the following on 7/6/2005 1:11 AM:
On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote:
Use the reset method only for doing things like making sure some boolean
fields are set to false. I highly recommend you DO NOT use
Michael Jouravlev wrote the following on 7/6/2005 3:22 AM:
Can you explain why is it so bad, besides that it is bad design and
defeats pupose of what ActionForms should be used for? What
ActionForms should be used for, anyway? It is just a class, which has
a simple lifecycle, maintained by
On 7/6/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
If by some chance you are, PLEASE do not advise the newbies to do this.
This totally defeats the pupose of what ActionForms should be used for
and will create all kinds of maintenance headaches, never mind the fact
that it's really bad
On 7/6/05, Rick Reumann [EMAIL PROTECTED] wrote:
1) The person asking I believe was a beginner to Struts. Suggesting to
have a DAO used in ActionForm is something definitely unorthodox and
since the person is new to the framework it is unlikely he'll see many
examples of this and it can get
On 7/6/05, Jeff Beal [EMAIL PROTECTED] wrote:
Here's the last paragraph of the JavaDoc for the reset() method
(emphasis in original):
This method is *not* the appropriate place to initialize form value
for an update type page (this should be done in a setup Action). You
mainly need to worry
On 7/6/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
Hmm, the description for CRUDAction does not have a link to the live
demo. Here it is:
http://www.superinterface.com/strutsdialog/cruditemlist.do
This one uses two separate actions: one for the list and another for
all crud operations. Thus,
On 7/6/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
On 7/6/05, Jeff Beal [EMAIL PROTECTED] wrote:
Here's the last paragraph of the JavaDoc for the reset() method
(emphasis in original):
This method is *not* the appropriate place to initialize form value
for an update type page (this
Michael Jouravlev wrote the following on 7/6/2005 12:26 PM:
So, you use action forms both for input and output. This is great.
Change the scope to session, throw in some methods, and you get
yourself a backing bean. This is what it should be.
Well, not really. I should be able to use a
Michael Jouravlev wrote:
The only book I would follow without asking for explanation would be a
nuclear power station operator's manual. In all other cases I have
time to sit down and think things over.
Strictly speaking, you shouldn't actually be operating a nuclear power
station without
On 7/6/05, Adam Hardy [EMAIL PROTECTED] wrote:
Now there is talk of Struts in the future containing ActionCommands
which can be substituted in place of Actions, and strung together in a
chain, and presumably can perform View-Controller logic.
If you look at Shale (with its support for both
On 7/5/05, Tony Dahbura [EMAIL PROTECTED] wrote:
Team:
I am trying to pre-populate a form before letting the user enter/correct
data in it.
The only way I have seen to do this is to actually do this prefilling
fields in the reset method of the actionform. I am not sure this is the
place
On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote:
Use the reset method only for doing things like making sure some boolean
fields are set to false. I highly recommend you DO NOT use the reset for
'business type' logic. Having a few default things set there is fine,
but for stuff like you are
Michael Jouravlev wrote the following on 7/6/2005 1:11 AM:
On 7/5/05, Rick Reumann [EMAIL PROTECTED] wrote:
Use the reset method only for doing things like making sure some boolean
fields are set to false. I highly recommend you DO NOT use the reset for
'business type' logic. Having a few
13 matches
Mail list logo