Re: MappingDispatchAction usage

2005-04-01 Thread Jeff Beal
You can turn off the framework's validation, and specifically call validate in the methods where you want it. /** Java code off the top of my head; may not compile public ActionForward create(mapping,form,request,response) { ActionErrors validations = form.validate(); if (validations != null &

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Michael McGrady
If you would like a simpler, and more general, solution that does the same thing, try http://wiki.apache.org/struts/StrutsCatalogFiveMultipleButtonSolutions . However, if you like MappingDispatchAction anyway, which I would find odd but you may find even, you can do whatever you like, but you

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Hubert Rabago
I apologize, but I have no clue as to what you're trying to do. You presented two mappings and said "what action do I use in my form"? I just made a guess. Maybe if you provide more information, someone (I or someone else) could help you. What are you trying to do? What are the two mappings fo

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread O. Oke
If it is "/updateCustomer", it means I will have to a separate jsp for each mapping. This will defeat the purpose of using MappingDispatchAction. It seems to me that your suggestion is only applicable to subclasses of Action, not MappingDispatchAction . I am asking because I am using MappingDis

Re: MappingDispatchAction ...what what should be the value of the action attribute of html:form

2004-09-23 Thread Hubert Rabago
1. The action attribute of the form tag should point to the action that will process the form upon submission. In your case, it looks like it would be "/updateCustomer", but I'm just guessing. 2. I usually just put or "Save" or something similar there because I usually have only one submit butt

Re: MappingDispatchAction

2004-09-13 Thread Craig McClanahan
The current JavaDocs for this class: http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction.html will tell you that this is indeed a Struts 1.2 feature: Since: Struts 1.2 Craig On Mon, 13 Sep 2004 08:36:43 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

RE: MappingDispatchAction - thanks

2004-09-13 Thread bmf5
cc Subject Please respond to RE: MappingDispatchAction "Struts Users

RE: MappingDispatchAction

2004-09-13 Thread Sachin Bhutada
hi bmf5, yeah its struts1.2.2 feature. You can get the beta version of it n then add it in ur code instead of putting struts 1.2.2 jar file. sachin xoriant mumbai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 6:07 PM To: [EMA

Re: MappingDispatchAction dilema

2004-08-22 Thread Kishore Senji
> Then each action would implement our 2 parameter show method, and return > a String which could be passed to the ActionMapping by the CommonAction > superclass. This would significantly simplify the code in our Action > classes, reducing repetition between each one, and ensuring that they > each