RE: One Action class but more than one functionality

2004-03-31 Thread Joao Batistella
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

Re: One Action class but more than one functionality

2004-03-31 Thread Pedro Salgado
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

RE: One Action class but more than one functionality

2004-03-31 Thread Joao Batistella
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

Re: One Action class but more than one functionality

2004-03-30 Thread Pedro Salgado
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

Re: One Action class but more than one functionality

2004-03-30 Thread Pedro Salgado
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

RE: One Action class but more than one functionality

2004-03-30 Thread Menke, John
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

RE: One Action class but more than one functionality

2004-03-30 Thread Joao Batistella
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:

Re: One Action class but more than one functionality

2004-03-30 Thread Mark Lowe
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

2004-03-30 Thread shirishchandra.sakhare
: 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

RE: One Action class but more than one functionality

2004-03-30 Thread Menke, John
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

Re: One Action class but more than one functionality

2004-03-30 Thread Mark Lowe
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

RE: One Action class but more than one functionality

2004-03-30 Thread Menke, John
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

RE: One Action class but more than one functionality

2004-03-30 Thread Prabhat Kumar (IT)
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

One Action class but more than one functionality

2004-03-30 Thread Joao Batistella
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.