RE: DispatchAction and validate

2004-03-02 Thread Robert Taylor
ing List > Subject: RE: DispatchAction and validate > > > do I need an updated .xdt file for this? > y xdoclet generated Struts-config.xml is not having the action mappings for the > actiin class of mine, extending Dispatch Action. > It shows it fine for classes extending Action class tho

RE: DispatchAction and validate

2004-03-02 Thread as as
TED]> wrote: Yes. The DispatchAction will only invoke the method defined in the request under the name defined in the parameter attribute of your action mapping. So if I had update() and restore() as methods in a DispatchAction, and I only wanted to validate on the update, then I would only

RE: DispatchAction and validate

2004-03-02 Thread Robert Taylor
Yes. The DispatchAction will only invoke the method defined in the request under the name defined in the parameter attribute of your action mapping. So if I had update() and restore() as methods in a DispatchAction, and I only wanted to validate on the update, then I would only define validate

DispatchAction and validate

2004-03-02 Thread Frers Michael
Hello i want to use DispatchAction now my questions is can i use in one action the struts-config entry validate="true" and in the other action validate="false" Thx for any hints Michael

RE: Validator and DispatchAction

2004-02-18 Thread Nicholas L Mohler
ally add a new attribute that points to a specialized method in the action class. ValidationFailure - Handles requests where the detail validation failed. Uses a different parameter for the DispatchAction than the other two methods. Validation is set to false. The available forwards are the same as the &

RE: Validator and DispatchAction

2004-02-18 Thread Barnett, Brian W.
Wednesday, February 18, 2004 6:43 AM To: 'Struts Users Mailing List' Subject: Validator and DispatchAction I'm quite new to the validator framework, and was trying to figure out how to use it. My situation is: 1) I want to perform server side validation, and so I made my form ext

RE: Validator and DispatchAction

2004-02-18 Thread Renato Romano
That's just what I supposed. DispatchAction are fine, but when you need finer control Action fits best!! Maybe next time ;-)) Thanks anyway Renato Renato Romano Sistemi e Telematica S.p.A. Calata Grazie - Vial Al Molo Giano 16127 - GENOVA e-mail: [

Re: Validator and DispatchAction

2004-02-18 Thread Carl Walker
gt; 2) the action that processes my form is a DispatchAction, so I have > methods like "edit", "save" "list", all associated with the same form; > 3) I call http://blabla/myapp/myAction.do?methodName=edit to have the > app present me with an empty form; > 4) When p

Validator and DispatchAction

2004-02-18 Thread Renato Romano
I'm quite new to the validator framework, and was trying to figure out how to use it. My situation is: 1) I want to perform server side validation, and so I made my form extend ValidatorForm; 2) the action that processes my form is a DispatchAction, so I have methods like "edit"

XDoclet for Struts - DispatchAction

2004-02-11 Thread Samyukta Akunuru
Hi, How do I generate xdoclet code for struts class- Dispatch actionThanks! Best Regards, Samyukta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DispatchAction Problem

2004-02-09 Thread Ricardo de Souza Moura
parameter disappear, can't it ? I can be wrong, but I remember that it could be a bug of connector mod jk with tomcat. From: "Edgar Silva" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

Re: DispatchAction Problem

2004-02-06 Thread Edgar Silva
Hi Ricardo... The only thing I can see in this situation is the some change in the value of parameter "method", due to DispatchAction uses this value to call selected method in the class, I mean: the value of method must be the nome of method in the class. I am using a lot of Dispa

RE: DispatchAction Problem

2004-02-06 Thread Ricardo de Souza Moura
endy Smoak <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: DispatchAction Problem Date: Fri, 06 Feb 2004 13:06:48 -0700 > From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]

RE: DispatchAction Problem

2004-02-06 Thread Wendy Smoak
> From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] > Request [/testAction] does not contain handler parameter named method > But this error has been happening only sometimes. > Have somebody ever seen this error ? Yes, when the request doesn't contain the handler parameter. Take a look at

DispatchAction Problem

2004-02-06 Thread Ricardo de Souza Moura
Hello Folks I am having problems with my DispatchAction. The name of the my method parameter is "method", and I have been receiveing this message error: Request [/testAction] does not contain handler parameter named method But this error has been happening only sometimes. Have som

Re: Testing DispatchAction with StrutsTestCase

2004-02-02 Thread Nick Heudecker
working on a Struts based web-app that > uses DispatchAction to club the methods belonging to > each entity in one Action class. I would like to know > how to test such an action class using struts test > case. > > Thanks in advance for the help. > > > >

Testing DispatchAction with StrutsTestCase

2004-02-02 Thread Al Rathon
Hi: I am working working on a Struts based web-app that uses DispatchAction to club the methods belonging to each entity in one Action class. I would like to know how to test such an action class using struts test case. Thanks in advance for the help. __ Do you

Re: Tesiting DispatchAction with StrutsAction..

2004-02-02 Thread James Mitchell
y, February 02, 2004 9:42 AM Subject: Tesiting DispatchAction with StrutsAction.. > Need to test a struts app that uses DispatchAction > using struts TestCase. > > Thanks for the help. > > > > > __ > Do you Yahoo!? > Yahoo! Si

Tesiting DispatchAction with StrutsAction..

2004-02-02 Thread Al Rathon
Need to test a struts app that uses DispatchAction using struts TestCase. Thanks for the help. __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb

RE: Dealing wiht exception in DispatchAction

2004-01-26 Thread Hunt, Steve
[mailto:[EMAIL PROTECTED] Sent: 26 January 2004 16:45 To: 'Struts Users Mailing List' Subject: Dealing wiht exception in DispatchAction Hi all, I am using a DispatchAction in my application. I have declared the Type of the exception that will be raised in case one method raises an

Dealing wiht exception in DispatchAction

2004-01-26 Thread Marco Mistroni
Hi all, I am using a DispatchAction in my application. I have declared the Type of the exception that will be raised in case one method raises an exception.. But I am stuck with the fact that i have, in 4 methods, the same type of Exception but with different message. When I declare the

DOS attack by making DispatchAction recurse on execute()

2004-01-20 Thread Raphaël di Cicco
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25649

RE: DispatchAction question

2004-01-18 Thread Richard Hightower
#StrutsMentoring -Original Message- From: David Liles [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 8:12 AM To: [EMAIL PROTECTED] Subject: DispatchAction question I just started working on an app and my action classes extend DisptachAction. I was wondering if there will be a problem

RE: DispatchAction question

2004-01-18 Thread Richard Hightower
, January 17, 2004 8:12 AM To: [EMAIL PROTECTED] Subject: DispatchAction question I just started working on an app and my action classes extend DisptachAction. I was wondering if there will be a problem if my action class supports multiple forms ** The same action can support multiple ActionForms as

DispatchAction question

2004-01-17 Thread David Liles
I just started working on an app and my action classes extend DisptachAction. I was wondering if there will be a problem if my action class supports multiple forms The action mapping in the struts-config.xml file has an input attribute indicating which jsp the request came from what ha

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-21 Thread Ovidiu EFTIMIE
I think that DispatchAction allows a better separation of code than an Action in which the execute() method contains a if/else branch. I'll no longer need to implement the if/else and I'm letting struts do that. Regards, Ovidiu - Original Message - From: "Daniel

RE: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Daniel Joshua
Can I branch this of a bit. First, do you really need to use a DispatchAction? Would it be possible to just use an Action and in the execute() method to do a branching based on a request parameter. Are DispatchActions relly that useful? Regards, Daniel -Original Message- From

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
G'night... Quoting Ovidiu EFTIMIE <[EMAIL PROTECTED]>: > Mea culpa ! ;) You're right ! The request > I must be very tired (I'm entering in the 11th hour of work now). > I'll kick myself home now :) > > Thanks, > Ovidiu -- Kris Schneider D.O.Tech

RE: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Yee, Richard K,,DMDCWEST
ould also check out the iBatis or Hibernate persistence frameworks. Regards, Richard -Original Message- From: Ovidiu EFTIMIE [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 9:43 AM To: Struts Users Mailing List Subject: Re: Simulating multiple inheritance for Action and

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
iling List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 6:56 PM Subject: Re: Simulating multiple inheritance for Action and DispatchAction Okay, I'll keep playing ;-). The ExceptionHandler provides the following method: public ActionForward execute(Exception

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
gt; From: "Kris Schneider" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, November 20, 2003 6:06 PM > Subject: Re: Simulating multiple inheritance for Action and DispatchAction > > > Sorry, nothing

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
rvlet method. What do you think ? It could work ? Ovidiu - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 6:06 PM Subject: Re: Simulating multiple inheritance fo

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
, or any links to which > you > may point me ? > > Thanks, > Ovidiu > > - Original Message - > From: "Kris Schneider" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, November 20, 2003 4:36

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
which you may point me ? Thanks, Ovidiu - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 4:36 PM Subject: Re: Simulating multiple inheritance for Action an

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
" <[EMAIL PROTECTED]> > Sent: Thursday, November 20, 2003 4:02 PM > Subject: Re: Simulating multiple inheritance for Action and DispatchAction > > > Why not just declare handlers for *both* BaseException and Exception in > struts-config? > > Quoting Ovidiu EFTIMIE &

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
"Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 4:02 PM Subject: Re: Simulating multiple inheritance for Action and DispatchAction Why not just declare handlers for *both* BaseException and Exception in struts-config? Quoting Ovidiu EFTIMIE <[EMA

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
Message - > From: "Kris Schneider" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, November 20, 2003 2:13 PM > Subject: Re: Simulating multiple inheritance for Action and DispatchAction > > > The gener

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
return forward; Ovidiu - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 2:13 PM Subject: Re: Simulating multiple inheritance for Action and DispatchAction

Re: Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Kris Schneider
The general approach is probably fine, although naming interfaces with a leading "I" makes me gag ;-). However, this seems like a bad idea: public abstract class BaseAction extends Action implements IGeneral { private static GeneralImpl general; public BaseAction() { general = new GeneralI

Simulating multiple inheritance for Action and DispatchAction

2003-11-20 Thread Ovidiu EFTIMIE
Hi, In my application I need to have my Actions and my DispatchActions. Each one of this actions must have the same base class in which I have common methods to both of them. My solution is to first declare an interface IGeneral in which I'm declaring the common methods, then create an implementati

RE: DispatchAction and Security

2003-11-14 Thread Vara Prasad Reddy
I think lookupdispatch is definetly better than dispatch. -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 9:25 PM To: Struts Users Mailing List Subject: Re: DispatchAction and Security -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 True

Re: DispatchAction and Security

2003-11-14 Thread Robert S. Sfeir
7;s a major misconception. You're right, either way someone malicious will always be able to do something to hurt a webapp, I'm just digging in to make sure that I'm not using DispatchAction and causing myself more grief than needed, which you've adequately answered for me, and a

RE: DispatchAction and Security

2003-11-14 Thread Paul McCulloch
to make an 'illegal' request to your application. Paul -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: 14 November 2003 15:17 To: Struts Users Mailing List Subject: Re: DispatchAction and Security ** Axios Email Co

Re: DispatchAction and Security

2003-11-14 Thread Robert S. Sfeir
es to LookupDispatchAction, the original question | was about DispatchAction. | | Paul | | -Original Message- | From: Paananen, Tero [mailto:[EMAIL PROTECTED] | Sent: 14 November 2003 14:52 | To: 'Struts Users Mailing List' | Subject: RE: DispatchAction and Security | | | |>So, only

Re: DispatchAction and Security

2003-11-14 Thread Robert S. Sfeir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not using LookupDispatchAction, but now that you explain it that way I can see how LookupDispatchAction can help me lock things down even more. ~ I hadn't realized that and misunderstood the API docs. I think I'll give this a try. R Paananen, Tero wro

RE: DispatchAction and Security

2003-11-14 Thread Paul McCulloch
The key method map relates to LookupDispatchAction, the original question was about DispatchAction. Paul -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: 14 November 2003 14:52 To: 'Struts Users Mailing List' Subject: RE: DispatchAction and Security

RE: DispatchAction and Security

2003-11-14 Thread Paananen, Tero
> So, only methods which you delibaratly implement > with the approrpriate sifgnature can be executed > via a dispatch action - you shouldn't be > concerned. You also have to specify the allowed methods and their lookup key in the key method map; see getKeyMethodMap().

RE: DispatchAction and Security

2003-11-14 Thread Paul McCulloch
ng List Subject: DispatchAction and Security ** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to su

Re: DispatchAction and Security

2003-11-14 Thread Robert S. Sfeir
: Friday, November 14, 2003 7:45 PM | To: Struts Users Mailing List | Subject: DispatchAction and Security | | | Hi, | | Been mucking around with why I'd want to use DispatchActions, and I | understand that part, it's advantages and disadvantages, and I've read | the many threads expl

RE: DispatchAction and Security

2003-11-14 Thread Vara Prasad Reddy
How about using LookupDispatch Action in struts 1.1 ? -Original Message- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 7:45 PM To: Struts Users Mailing List Subject: DispatchAction and Security -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Been

DispatchAction and Security

2003-11-14 Thread Robert S. Sfeir
sing. All is fine so far. However what if someone decides to just type in the URL method="getServlet", and getServlet() is a public method in Action, which DispatchAction extends, or decides to type execute (which is not as much of a concern), will using DispatchAction honor the cal

Correction: DynaValidatorForm.validate() does not seemt o validate Integers when called from DispatchAction [Re: Problem validating form manually in DispatchAction]

2003-10-10 Thread Elie Medeiros
e that I did not make a mistake in the > validation configuration. Since I want to use DispatchAction however, I > can't use validate="true", as I need to validate the form selectively > for one of the methods only. > > I have tried using ValidatorLookupdispatchForm, b

Problem validating form manually in DispatchAction

2003-10-10 Thread Elie Medeiros
uts-module-config.xml file, validation does seem to be carried out properly, which suggests to me that I did not make a mistake in the validation configuration. Since I want to use DispatchAction however, I can't use validate="true", as I need to validate the form selectively for one of the met

Re: Using DispatchAction class with Struts Validator

2003-09-17 Thread Burhan Nazir
dispatch method. The only other solution I know of is to break up my DispatchAction to seperate Actions and use seprate ActionForms for each, not something I want to do unless absolutely necessary! -Burhan Mike Jasnowski wrote: > Do you have corresponding pages for each method? Would th

RE: Using DispatchAction class with Struts Validator

2003-09-17 Thread Mike Jasnowski
r 17, 2003 12:50 PM To: [EMAIL PROTECTED] Subject: Using DispatchAction class with Struts Validator Got a problem thats been bugging me for a while: I'm using an action class that extends DispatchAction class. The methods in this class use the same ActionForm class (DynaValidatorActionForm

Using DispatchAction class with Struts Validator

2003-09-17 Thread Burhan Nazir
Got a problem thats been bugging me for a while: I'm using an action class that extends DispatchAction class. The methods in this class use the same ActionForm class (DynaValidatorActionForm). However, the validation requirments for each method in the dispatch class are different. I under

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
', otherwise it will confuse Internet Explorer. -Original Message- From: victor gusz [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 14:04 To: Struts Users Mailing List Subject: RE: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, Jerome: Than

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
: > > > > > > > onclick="document.formName.method.value='delete'"> > > > > > > -Original Message- > From: victor gusz [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2003 13:33 > To: [EMAIL PROTECTED] > Sub

RE: newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread Jerome Devost
:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 13:33 To: [EMAIL PROTECTED] Subject: newbie question: how to handle two dispatchAction methods in a jsp page? Hi, guys: I have two methods in a DispatchAction class: save, delete and I have two buttons in a jsp page: save, delete. In order to

newbie question: how to handle two dispatchAction methods in a jsp page?

2003-09-12 Thread victor gusz
Hi, guys: I have two methods in a DispatchAction class: save, delete and I have two buttons in a jsp page: save, delete. In order to successfully save and then forward to another page, I can do the following: This works fine. But if I add code related with delete method just following the

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
uts Users Mailing List' Subject: RE: DispatchAction forward issue Hi, i have trid two ways, and both at the same time: 1) I have modified the form, and now the method reset() only executes or not depending a boolean flag that the first action clears. 2) I set the attribute i

RE: DispatchAction forward issue

2003-09-12 Thread Jose Ramon Diaz
gt; De: Andrew Hill [mailto:[EMAIL PROTECTED] > Enviado el: viernes, 12 de septiembre de 2003 14:46 > Para: Struts Users Mailing List > Asunto: RE: DispatchAction forward issue > > > Hmm.. You can try it with a non-redirecting action. Im not > sure how well it > will work th

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
repopulated right? -Original Message- From: Jose Ramon Diaz [mailto:[EMAIL PROTECTED] Sent: Friday, 12 September 2003 20:37 To: 'Struts Users Mailing List' Subject: RE: DispatchAction forward issue Hi, so I must understand that it?s not possible to pass parameters in t

RE: DispatchAction forward issue

2003-09-12 Thread Jose Ramon Diaz
Struts Users Mailing List > Asunto: RE: DispatchAction forward issue > > > > For that, I put in my request the "method" parameter > > > No you didnt. You put in a "method" ATTRIBUTE. I saw you! > See: > > request.setAttribute("method

RE: DispatchAction forward issue

2003-09-12 Thread Andrew Hill
rom: Nicolas Delsaux [mailto:[EMAIL PROTECTED] Sent: Friday, 12 September 2003 19:28 To: [EMAIL PROTECTED] Subject: DispatchAction forward issue Hi, I'm using a dispatchaction for displaying/editing objects, on which I would like to do a forward, through an ActionForward, from an other action. For that, I p

DispatchAction forward issue

2003-09-12 Thread Nicolas Delsaux
Hi, I'm using a dispatchaction for displaying/editing objects, on which I would like to do a forward, through an ActionForward, from an other action. For that, I put in my request the "method" parameter, that should be interpreted (for what I know) by Struts, in ordeer to deter

Validate and DispatchAction

2003-09-10 Thread Natalie D Rassmann
Hi - I am trying to get the validator framework to work with dispatchAction. When I turn validation on, it seems as though I don't go to the action first. (in my action I make several options lists which need to be displayed as part of the form). I must be doing something wrong but I don&#

RE: DispatchAction with mulitple ActionForms

2003-09-02 Thread Brandon Goodin
you have to create a single ActionForm to use for all the methods in the DispatchAction. Brandon Goodin > -Original Message- > From: Haytham Samad [mailto:[EMAIL PROTECTED] > Sent: Monday, September 01, 2003 4:11 PM > To: Struts User List > Subject: DispatchActio

RE: DispatchAction with mulitple ActionForms

2003-09-02 Thread Haytham Samad
, September 01, 2003 8:13 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: DispatchAction with mulitple ActionForms you have to create a single ActionForm to use for all the methods in the DispatchAction. Brandon Goodin > -Original Message- > From: Haytham Samad [

DispatchAction with mulitple ActionForms

2003-09-01 Thread Haytham Samad
I am trying to use DispatchAction with multiple ActionForms. Can I do that or do I have to create a single form to use for all the methods in the DispatchAction? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Validator and DispatchAction

2003-08-28 Thread Steve Raeburn
Ok, I see one potential problem. Your methods are declared as throwing ServletException and IOException, but for Struts 1.1 they should be declared as throwing Exception. public ActionForward create( ActionMapping mapping, ActionForm form, HttpServletRequest request,

Re: Validator framework and DispatchAction

2003-08-28 Thread K.C. Baltz
You're going to have to provide us the stack trace so we can tell with method is not being found. K.C. Venkat Jambulingam wrote: Hi there, I extended my Action classes with DispatchAction class and it works just fine. Now I am trying to use validator framework in my app. JavaS

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
The solution is to use LookupDispatchAction instead of DispatchAction as the former does not depend on javascript. The problem: I had three buttons on my page — save, next and previous. When a user clicks a button, I set a variable called dispatch to corresponsing value using javascript. For

RE: Validator and DispatchAction

2003-08-27 Thread Yee, Richard K,,DMDCWEST
Venkat, What was the solution? -R -Original Message- From: Venkat Jambulingam [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 11:06 AM To: [EMAIL PROTECTED] Subject: RE: Validator and DispatchAction It works now. Thank you everyone for helping me. >>> [EMAIL PROT

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
... Thank you for all your time and effort. Venkat >>> [EMAIL PROTECTED] 08/27/03 01:42PM >>> The error message you are receiving indicates that DispatchAction is trying to find a method named 'error' in your class and it can't find one. There's really only two reaso

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
have to decide soon whether to go with validator framework or not. Thank you very much, Venkat >>> [EMAIL PROTECTED] 08/27/03 12:05PM >>> This is the relevant part of the message: "Action[/tr518page1] does not contain method named error" Does your DispatchAction class, com.

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
cide soon whether to go with validator framework or not. Thank you very much, Venkat >>> [EMAIL PROTECTED] 08/27/03 12:05PM >>> This is the relevant part of the message: "Action[/tr518page1] does not contain method named error" Does your DispatchAction class, com.

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
The error message you are receiving indicates that DispatchAction is trying to find a method named 'error' in your class and it can't find one. There's really only two reasons that could be: 1. There should be a method named 'error' and there isn't one. 2.

RE: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
L PROTECTED] 08/27/03 12:05PM >>> This is the relevant part of the message: "Action[/tr518page1] does not contain method named error" Does your DispatchAction class, com.ewd.biztax.actions.Tr518page1Action, contain a method named "error"? Steve http://www.ninsky.c

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
: Please let me know if this is the parameter you are talking about. Thanks in Advance, Venkat >>> "Nagendra Kumar O V S" <[EMAIL PROTECTED]> 08/27/03 11:58AM >>> hi, could u post ur action class code . looks like u dont have a method with the name error defined i

RE: Validator and DispatchAction

2003-08-27 Thread Yansheng Lin
Isn't it weird that there is no name for the action: ...DispatchAction --Action[/... > [ERROR] DispatchAction - -Action[/tr518page1] does not contain method > named error error>java.lang.NoSuchMethodException: error -Original Message- From: Steve Raeburn

RE: Validator and DispatchAction

2003-08-27 Thread Steve Raeburn
This is the relevant part of the message: "Action[/tr518page1] does not contain method named error" Does your DispatchAction class, com.ewd.biztax.actions.Tr518page1Action, contain a method named "error"? Steve http://www.ninsky.com/struts/ > -Original Mess

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Nagi, Below is the action class code: public class Tr518page1Action extends DispatchAction { //String businessNum = null; /** * Constructor */ public Tr518page1Action() { super(); } public ActionForward

Re: Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Hi Nagi, Here is the error I'm getting while using validator with DispatchAction: [ERROR] DispatchAction - -Action[/tr518page1] does not contain method named error java.lang.NoSuchMethodException: error at java.lang.Class.getMethod0(Native Method) at java.lang.Class.getM

Re: Validator and DispatchAction

2003-08-27 Thread Nagendra Kumar O V S
, 2003 08:00:18 PM To: [EMAIL PROTECTED] Subject: Validator and DispatchAction  Has anybody been successful using validator framework withDispatchAction? Please let me know. I am getting "NoSuchMethodFound"error. Please reply.

Validator and DispatchAction

2003-08-27 Thread Venkat Jambulingam
Has anybody been successful using validator framework with DispatchAction? Please let me know. I am getting "NoSuchMethodFound" error. Please reply. TIA, Venkat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Validator framework and DispatchAction

2003-08-26 Thread Venkat Jambulingam
Hi there, I extended my Action classes with DispatchAction class and it works just fine. Now I am trying to use validator framework in my app. JavaScript validation is working fine. But server-side validation is giving "NoSuchMethodFound" error. I searched the archive but could no

RE: Need Help : DispatchAction and without javascript.

2003-08-26 Thread Robert Taylor
ect: Re: Need Help : DispatchAction and without > javascript. > > > Shashank , > I really need the ImageButtonDispatchAction, as i am also facing the > same problem now. could you please help me , from where can i get > the code. > > With Regards, > R Balaji > >

Re: Need Help : DispatchAction and without javascript.

2003-08-26 Thread R Balaji
Help : DispatchAction and without javascript. Shashank, look for ImageButtonDispatchAction.java in the archives of 'struts-user'. The image buttons get submitted as property.x and property.y. Even if you didn't use the above named file that one of struts' users cre

Cleaning Sessions (was: How to work with DispatchAction ?)

2003-08-16 Thread Sgarlata Matt
e... Thanks, Erez -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2003 9:36 PM To: Struts Users Mailing List Subject: Re: How to work with DispatchAction ? (please help) Erez Efrati wrote: Matt, thanks for replying, I almost though I'

RE: How to work with DispatchAction ? (please help)

2003-08-16 Thread Erez Efrati
ves me with the form on the session. I am sure there are ways to clean it but I haven't got to it yet. Thanks, Erez -Original Message- From: Sgarlata Matt [mailto:[EMAIL PROTECTED] Sent: Saturday, August 16, 2003 9:36 PM To: Struts Users Mailing List Subject: Re: How to work with Disp

Re: How to work with DispatchAction ? (please help)

2003-08-16 Thread Sgarlata Matt
he 'method' field on my RegForm class, and I guess this is normal. On the RegAction DispatchAction I have 'create' 'edit' and 'update' methods. I use also a 'action' parameter to distinguish between two different workflows, can I avoid it? I think

RE: How to work with DispatchAction ? (please help)

2003-08-16 Thread Erez Efrati
od' field on my RegForm class, and I guess this is normal. On the RegAction DispatchAction I have 'create' 'edit' and 'update' methods. I use also a 'action' parameter to distinguish between two different workflows, can I avoid it? Here is the JSP (

Re: How to work with DispatchAction ?

2003-08-16 Thread Sgarlata Matt
Erez Efrati wrote: I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save. I use 2) In RegAction.save(), after I've validated the

How to use DispatchAction ? (cont.)

2003-08-15 Thread Erez Efrati
To make it clearer, if I have the following methods: create - just displays the form with empty fields. edit - reads registration data from db and displays the form save - save registration data to/back to the db The RegAction (a DispatchAction) implements all three methods. In the JSP I

How to work with DispatchAction ?

2003-08-15 Thread Erez Efrati
I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save. I use

Forwarding to URL from DispatchAction class - any takers?

2003-08-14 Thread Shyam A
e original application when the user logs out/times out of my application. I always get a "HTTP - Bad Request" error when I try to forward to a URL from my DispatchAction class. I have tried defining the URL path as a global forward in my struts-config: http://..."; />, and us

difference between dispatchAction and Action class.

2003-08-14 Thread deepaksawdekar
What the pros and cons of using different Action class instead of one dispatchAction class ? TIA Deepak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DispatchAction descendant and Struts Validator problems

2003-07-25 Thread Tony Pinter
Just FYI, I found a post in the newsgroup archives that solved my problems. The author's name eludes me, but he's certainly sharp. All one must do is set validate to false for the action mapping in the struts-config.xml and then, in the methods in which one wishes to validate, call something like:

Re: Need Help : DispatchAction and without javascript.

2003-07-24 Thread Shashank Dixit
: Shashank Dixit Cc: Struts Users Mailing List Sent: Thursday, July 24, 2003 12:51 PM Subject: Re: Need Help : DispatchAction and without javascript. Shashank, look for ImageButtonDispatchAction.java in the archives of 'struts-user'. The image buttons get submitted as prop

  1   2   3   >