Pedro, this is exactly what I need. Thanks!
-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 31 de março de 2004 11:14
To: Struts Users Mailing List
Subject: Re: One Action class but more than one functionality
On 31/03/2004 10:12, "Joao Batis
sage-
> From: Pedro Salgado [mailto:[EMAIL PROTECTED]
> Sent: terça-feira, 30 de março de 2004 23:50
> To: Struts Users Mailing List
> Subject: Re: One Action class but more than one functionality
>
>
>
> Have you tried dispatch action (1 class => several methods
cally
called, so no chance of forgetting.
Thanks you all.
-Original Message-
From: Pedro Salgado [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 30 de março de 2004 23:50
To: Struts Users Mailing List
Subject: Re: One Action class but more than one functionality
Have you tried dispatch a
2004 17:33
> To: Struts Users Mailing List
> Subject: RE: One Action class but more than one functionality
>
>
> look at the org.apache.struts.actions.DispatchAction class. It is exactly
> for the use case you described.
>
> -Original Message-
> From: Joao Bat
nion. I would rather have a abstract super class.
>
>
> -Original Message-
> From: Joao Batistella [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 30, 2004 3:02 PM
> To: 'Struts Users Mailing List'
> Subject: RE: One Action class but more than one
ssage-
From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 30 de março de 2004 17:33
To: Struts Users Mailing List
Subject: RE: One Action class but more than one functionality
look at the org.apache.struts.actions.DispatchAction class. It is exactly
for the use case you described
ailto:[EMAIL PROTECTED]
Sent: terça-feira, 30 de março de 2004 17:33
To: Struts Users Mailing List
Subject: RE: One Action class but more than one functionality
look at the org.apache.struts.actions.DispatchAction class. It is exactly
for the use case you described.
-Original Message-
From:
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 6:52 PM
To: Struts Users Mailing List
Subject: Re: One Action class but more than one functionality
Sure but I found that you need to always need to scope to session.
And/or have links in you forms. Or create a javascript depende
: Re: One Action class but more than one functionality
Sure but I found that you need to always need to scope to session.
And/or have links in you forms. Or create a javascript dependency
changing the action.
or have you a way aorund this problem using actions?
On 30 Mar 2004, at 18:33, Menke
mode
(similar to how the dispatch action would handle).
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:52 AM
To: Struts Users Mailing List
Subject: Re: One Action class but more than one functionality
Sure but I found that you need to a
e addition overhead of extra jsps in the long run.
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:28 AM
To: 'Struts Users Mailing List'
Subject: One Action class but more than one functionality
Hello.
I have an action class
ur
jsps to switch between modes outweigh
the addition overhead of extra jsps in the long run.
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:28 AM
To: 'Struts Users Mailing List'
Subject: One Action class but more than one func
look at the org.apache.struts.actions.DispatchAction class. It is exactly for the use
case you described.
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:28 AM
To: 'Struts Users Mailing List'
Subject: One Action class but mor
Hello.
I have an action class to create, edit and remove a Person, for example.
Is this a poor decision? I mean, should I create 3 action classes, one for
create, another for edit and another one for remove?
Does struts have a mechanism to help me in that?
Thanks all.
14 matches
Mail list logo