struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alen Ribic" <al...@mweb.co.za>
Subject Re: Why not to use Action chaining ?
Date Tue, 22 Jul 2003 11:57:37 GMT
Well reading the FAQ from what I understand you should be doing the
following.

You should have access to your necessary business methods from pretty much
any struts action you build.
This means that you should be able to carry out all necessary business
commands for a particular action hence no chaining would be required to
other actions.

I however have been using chaining in my current system.
I have actions that carry out unique tasks and when chained they populate my
form with all I need!

Anyway, I'm too new to Struts hence am not to sure what exactly is the right
way to doing certain things. ;)

--Alen



----- Original Message -----
From: "Siva" <sivakumarv@india.adventnet.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Tuesday, July 22, 2003 12:14 PM
Subject: Re: Why not to use Action chaining ?


> Thanks Alen,
>
> Ted Husted (Struts in Action) says that the action chaining in the dark
side
> of Struts.
>
> The problem he mentioned is that
>
> "when the second action is being invoked, the form is being 'repopulated'
> with the initial form values that the form had when it was passed to the
> first action "
>
> Since I am new to struts, I am not able to grasp it clearly. You can find
the
> info related to this in Struts FAQ. I am just wondering what is the
alternate
> solution.
>
> Thanks again,
> siva
>
>
> Alen Ribic wrote:
>
> > Maybe I haven't came across this before or I don't understand but why
> > wouldn't you wanna use action chaining?
> > I just jump from one action to another until I have all client requested
> > baggage.
> > --Alen
> >
> > ----- Original Message -----
> > From: "Siva" <sivakumarv@india.adventnet.com>
> > To: <struts-user@jakarta.apache.org>
> > Sent: Tuesday, July 22, 2003 11:54 AM
> > Subject: Why not to use Action chaining ?
> >
> > > Friends,
> > >
> > > Could anyone of you tell me why we ahuld not use Action chaining in
> > > struts framework ?
> > > I neet to do two different actions for a user action. how can i
wachieve
> > > it without action chaining?
> > >
> > > Thanks in advance for your help.
> > >
> > > Sivakumar
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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


Mime
View raw message