Re: Securing DispatchActions

2006-05-04 Thread Frank W. Zammetti
On Thu, May 4, 2006 2:37 pm, Dave Newton said: > Frank W. Zammetti wrote: >> What if you simply are not allowed to include security >> mechanisms in your application? (configuring groups isn't considered "in >> the application"). > > Not allowed? Don't tell 'em ;) I've done plenty of that :) Some

Re: Securing DispatchActions

2006-05-04 Thread Dave Newton
Frank W. Zammetti wrote: > What if you simply are not allowed to include security > mechanisms in your application? (configuring groups isn't considered "in > the application"). Not allowed? Don't tell 'em ;) > Well, I can kind of answer my own question... of > course we *are* allowed to see wh

Re: Securing DispatchActions (was: How to avoid lots of "if else" in Action class.)

2006-05-04 Thread Frank W. Zammetti
Didn't want to hijack a thread, so... On Thu, May 4, 2006 2:21 pm, Dave Newton said: > Frank W. Zammetti wrote: >> I.e., you want /showAccount.do accessible to the AccountManager and >> Customer roles, but you only want /updateAccount.do accessible to the >> AccountManager role? As I understand i

Re:Buttons and DispatchActions

2006-02-23 Thread Fali
Michael, The reason for the buttons in the form is in case that Moosbauer wanted to identify what button was pressed by the user, if he wants to include more than one submit button in the form, once in the function specified in the action definition, of course. I might not have understood his re

Re:Buttons and DispatchActions

2006-02-23 Thread Fali
Michael, The reason for the buttons in the form is in case that Moosbauer wanted to identify what button was pressed by the user, if he wants to include more than one submit button in the form, once in the function specified in the action definition, of course. I might not have understood his re

Re: Buttons and DispatchActions

2006-02-22 Thread Michael Jouravlev
On 2/22/06, Fali <[EMAIL PROTECTED]> wrote: > Moosbauer, I use MappingDispatchActions and they work fine for me. I enter > the name of the method in the actual Action definition in the > struts-config.xml using the attribute called "parameter" ... ... Once in the > mapped method, I know what bu

Re:Buttons and DispatchActions

2006-02-22 Thread Fali
Moosbauer, I use MappingDispatchActions and they work fine for me. I enter the name of the method in the actual Action definition in the struts-config.xml using the attribute called "parameter" ... ... Once in the mapped method, I know what button of the form that was clicked by the user because

Re: Buttons and DispatchActions

2006-02-21 Thread Michael Jouravlev
See here: http://issues.apache.org/bugzilla/show_bug.cgi?id=38343 Use this: http://issues.apache.org/bugzilla/attachment.cgi?id=17724 Michael. On 2/21/06, Holger Moosbauer <[EMAIL PROTECTED]> wrote: > Hi, > > > > We're using Dispatch Actions in our project. My question: How do you set the > metho

Buttons and DispatchActions

2006-02-21 Thread Holger Moosbauer
Hi, We're using Dispatch Actions in our project. My question: How do you set the method? In the request after (or before) using button (submit) tag? ... I wrote a filter which assembles the proper Request (and some values, if needed) ... That looks like that on JSP The property va

DispatchActions

2005-02-18 Thread DGraham
Return Receipt Your DispatchActions document

DispatchActions

2005-02-18 Thread DGraham
Return Receipt Your DispatchActions document

DispatchActions

2005-02-18 Thread Justin Moore
Hello Everyone, I have a question about linking DispatchActions. I have two DispatchActions (Action1 and Action2). Both Actions have the same method signatures that look like this: -- public class Action1

Linking DispatchActions

2005-02-18 Thread DGraham
Return Receipt Your Linking DispatchActions document

Linking DispatchActions

2005-02-18 Thread DGraham
Return Receipt Your Linking DispatchActions document

Linking DispatchActions

2005-02-18 Thread Justin Moore
Hello Everyone, I have a question about linking DispatchActions. I have two DispatchActions (Action1 and Action2). Both Actions have the same method signatures that look like this: -- public class Action1

RE: Chaining dispatchactions problem, how to do it cleanly

2004-06-15 Thread Cosyns Xavier
5, 2004 3:15 AM >To: Struts Users Mailing List; [EMAIL PROTECTED] >Subject: Re: Chaining dispatchactions problem, how to do it cleanly > > >Your forward config to another dispatch action should contain >the "method" parameter. For instance, > > &g

Re: Chaining dispatchactions problem, how to do it cleanly

2004-06-14 Thread Erwin Cabral
he > CreateAttribute action which will reforward to the ShowAttributesList on > successful creation. The problem is that both actions are > DispatchActions with the same parameter. As explained in my former mail > I do not want to break that for different reasons. > > Is there somet

RE: Chaining dispatchactions problem, how to do it cleanly

2004-06-14 Thread Cosyns Xavier
d lastly we have the CreateAttribute action which will reforward to the ShowAttributesList on successful creation. The problem is that both actions are DispatchActions with the same parameter. As explained in my former mail I do not want to break that for different reasons. Is there something I

Re: Chaining dispatchactions problem, how to do it cleanly

2004-06-11 Thread Erwin Cabral
I've used a similar approach but mine is working fine. what does your struts-config.xml look like? On Fri, 11 Jun 2004 11:26:54 +0200, Cosyns Xavier <[EMAIL PROTECTED]> wrote: > > Hi, > > I run into problems with chaining dispatchactions using the same > parameter &#

Chaining dispatchactions problem, how to do it cleanly

2004-06-11 Thread Cosyns Xavier
Hi, I run into problems with chaining dispatchactions using the same parameter 'method'. We do use the same parameter name for all our dispatchaction for consistency reasons throughout the whole application, easier to maintain and using generique javascript functions. The problem we r

Re: Using DispatchActions with validation

2004-05-17 Thread Nicholas L Mohler
| | cc: | | Subject: Re: Using

Re: Using DispatchActions with validation

2004-05-17 Thread Ron Grabowski
> From: "Nicholas L Mohler" > <[EMAIL PROTECTED]> > Date: Mon, 17 May 2004 09:27:11 -0400 > > Hi Jacob, > > I asked almost the same question when we were > implementing validation. We > had the same issue with preparing things before > creating the user page. We > ended up creating an input tha

Re: Using DispatchActions with validation

2004-05-17 Thread Nicholas L Mohler
| | To: [EMAIL PROTECTED] | | cc: | |

Re: Linking DispatchActions

2004-05-17 Thread Nicholas L Mohler
| | To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> | | cc:

Linking DispatchActions

2004-05-17 Thread Guillermo Meyer
Hi: I have 2 Action classes (ActionA, ActionB) that extends DispatchAction class. Each Action has 3 methods: method1, method2 and method3. This is the executing scenario: 1) a post is made to ActionA.do with parameter set to "method3". 2) DispatchAction execute method3 according to parameter value

Re: Using DispatchActions with validation

2004-05-16 Thread Jacob Weber
your ActionForm.validate method? > > Any idea? > > Thanks, > Yuanbo > > > -Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of GMaine > Sent: Friday, May 14, 2004 12:31 PM > To: [EMAIL PROTECTED] > Subject: Using DispatchActions

RE: Using DispatchActions with validation

2004-05-14 Thread Wang, Yuanbo
gic inside your ActionForm.validate method? Any idea? Thanks, Yuanbo -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of GMaine Sent: Friday, May 14, 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Using DispatchActions with validation I have a DispatchAction with two me

Using DispatchActions with validation

2004-05-14 Thread GMaine
I have a DispatchAction with two methods. I pass a hidden field "method" in my form, to determine which method should be called. But I want to override this and call a specific method if the form's validation fails. Is it legitimate to put this in the action mapping? input="/myAction.do?method