Re: LookUpDispatchAction problem with 'bestätigen' button name

2011-05-26 Thread blackout
SOLVED ALREADY added request.setCharacterEncoding("UTF-8"); near the top of the security filter http://www.mail-archive.com/struts-user@jakarta.apache.org/msg79130.html thanks anyway -- View this message in context: http://struts.1045723.n5.nabble.com/LookUpDispatchAction-pr

LookUpDispatchAction problem with 'bestätigen' button name

2011-05-26 Thread blackout
oblem before. Thank you -- View this message in context: http://struts.1045723.n5.nabble.com/LookUpDispatchAction-problem-with-bestatigen-button-name-tp4428718p4428718.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: [S2] LookupDispatchAction Equivalent in Struts 2

2008-08-09 Thread Dave Newton
--- On Sat, 8/9/08, Lalchandra Rampersaud wrote: > Thanks for the quick reply. Mapping is exacty the solution I need, > but I don't know how to implement mapping in struts 2. It would be > helpful if you can indicate where I can start looking. The action configuration documentation [1] describe

Re: [S2] LookupDispatchAction Equivalent in Struts 2

2008-08-09 Thread Lalchandra Rampersaud
From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, August 09, 2008 5:21 PM Subject: Re: [S2] LookupDispatchAction Equivalent in Struts 2 > --- On Sat, 8/9/08, Lalchandra Rampersaud wrote: >> I am migrating an application from str

Re: [S2] LookupDispatchAction Equivalent in Struts 2

2008-08-09 Thread Dave Newton
--- On Sat, 8/9/08, Lalchandra Rampersaud wrote: > I am migrating an application from struts 1 to struts 2 but > I cannot find a way to replicate the convenient > LookupDispatchAction found in struts 1. > I have many buttons that require a form submit require > different functio

[S2] LookupDispatchAction Equivalent in Struts 2

2008-08-09 Thread Lalchandra Rampersaud
Hi, I am migrating an application from struts 1 to struts 2 but I cannot find a way to replicate the convenient LookupDispatchAction found in struts 1. I have many buttons that require a form submit require different functions, in struts 1 this is achieved using the key attribute in conjunction

Re: Subclass LookupDispatchAction

2007-06-25 Thread Niall Pemberton
On 6/25/07, Xavier Vanderstukken <[EMAIL PROTECTED]> wrote: Good morning, I need to subclass the LookupDispatchAction to write a "BaseLookupDispatchAction" to centralize the UserRole check of my application (etc.). I try the following piece of code : public abstract class

Subclass LookupDispatchAction

2007-06-25 Thread Xavier Vanderstukken
Good morning, I need to subclass the LookupDispatchAction to write a "BaseLookupDispatchAction" to centralize the UserRole check of my application (etc.). I try the following piece of code : public abstract class BaseLookupAction extends LookupDispatchAction { public Act

Re: Problem using LookupDispatchAction

2006-11-25 Thread Yujun Liang
Jim, You need an resource.properties file define in Message resources section of the struts config file. When made getMethodMap, you need to use the key in the resource file as the key for the map, the value of the method name in your extended LookupDispatchAction. You can refer to Struts

Re: Problem using LookupDispatchAction

2006-11-24 Thread Wendy Smoak
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote: Thanks, that sounds just like what I'm looking for, except for one thing: I need meaningful multi-word labels on the buttons, but it looks to me like the parameter for EventDispatchAction can't cope - is this true, or is

RE: Problem using LookupDispatchAction

2006-11-24 Thread Gallagher, Jim (RBoS ITD&S Dublin)
+353-1-648 7167 Internet mail: [EMAIL PROTECTED] -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 24 November 2006 15:04 To: Struts Users Mailing List Subject: Re: Problem using LookupDispatchAction *** WARNING : This message originates from the Internet ***

Re: Problem using LookupDispatchAction

2006-11-24 Thread Wendy Smoak
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote: I've persuaded my project team to upgrade from Struts 1.1 to Struts 1.2.9, simply to allow use of the LookupDispatchAction. However, it's not working correctly for me. Have I misunderstood the

Problem using LookupDispatchAction

2006-11-24 Thread Gallagher, Jim (RBoS ITD&S Dublin)
Hi, I've persuaded my project team to upgrade from Struts 1.1 to Struts 1.2.9, simply to allow use of the LookupDispatchAction. However, it's not working correctly for me. Have I misunderstood the requirements, or is there something else obvious I'm doing wrong?

Re: Problem with validator framework in LookupDispatchAction

2006-10-10 Thread Laurie Harper
Yariel Ramos Moreno wrote: Hi all: I have a LookupDispatchAction which can be submitted by two buttons (Update and Restore). I need to validate this form only when Update button is pressed. The form field to validate is required and most be integer. The required condition works fine, using

Problem with validator framework in LookupDispatchAction

2006-10-09 Thread Yariel Ramos Moreno
Hi all: I have a LookupDispatchAction which can be submitted by two buttons (Update and Restore). I need to validate this form only when Update button is pressed. The form field to validate is required and most be integer. The required condition works fine, using the requiredIf validation with

Re: LookupDispatchAction call - onchange of an input field

2006-09-12 Thread Puneet Lakhina
On 9/12/06, fea jabi <[EMAIL PROTECTED]> wrote: Have a html:text . onchange of the value entered in this field, have to submit the form. Using LookupDispatchAction.

LookupDispatchAction call - onchange of an input field

2006-09-12 Thread fea jabi
Have a html:text . onchange of the value entered in this field, have to submit the form. Using LookupDispatchAction.

several parameter to LookupDispatchAction

2006-09-07 Thread Marcello Savino
Hi, i want to call a LookupDispatchAction passing more parameter I mean something like this public ActionForward myMethod( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response

Re: LookupDispatchAction using wrong resource bundle!

2006-08-16 Thread Scott Van Wart
LookupDispatchAction checks ALL the resource bundles (and doesn't even stop when it finds the key). Does anyone see any reason why it can't use the same mechanism as everything else, or has this been fixed in a later version?

LookupDispatchAction using wrong resource bundle!

2006-08-16 Thread Scott Van Wart
g the ConstraintResourcesFactory! The only place I actually say 'bundle="constraints"' is in my validation.xml, which doesn't get hit at all (my app fails because LookupDispatchAction is looking in the ConstraintResources class, and not MessageResources.properties):

RE: html:image with LookupDispatchAction

2006-06-14 Thread fea jabi
need hep with this please. Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: html:image with LookupDispatchAction Date: Tue, 13 Jun 2006 14:48:39 -0400 Trying to use html:image with LookupDisp

html:image with LookupDispatchAction

2006-06-13 Thread fea jabi
Trying to use html:image with LookupDispathAction. how to use this? Using 1.2.7 of struts Getting error Request[/DispatchAction] does not contain handler parameter named 'method'. This may be caused by whitespace in the label text. struts-config: redirect="false"/>

Re: How to use LookupdispatchAction

2006-05-05 Thread Michael Jouravlev
r each raw of my table. Can i avoid to have an action by button but have one action for add, delete, view ? How to do this ? My problem is that in struts-config.xml, my create action is linking with a jsp (input attribut) and with a form bean. I suggest you not to use LookupDispatchAction, and

How to use LookupdispatchAction

2006-05-05 Thread DOUILLARD David
Hi, I have a form that create a user in my database. I use a simple action class. After the création, i forward to a jsp (viewuser.jsp) that show my users. Now, i want to add two buttons on viewuser.jsp (Button.edit, button.delete) for each raw of my table. Can i avoid to have an action by button

Re: LookupDispatchAction error

2006-04-24 Thread Gagan Jain
just check out in ur struts-config file, if by mistake u have pressed space or tab after button.valider=valider even I got the same error once and this was the mistake On 4/24/06, DOUILLARD David <[EMAIL PROTECTED]> wrote: > > Hello, > > I have this error using Lo

LookupDispatchAction error

2006-04-24 Thread DOUILLARD David
Hello, I have this error using Lookupdispatchaction javax.servlet.ServletException: Action[/creationuser] missing resource 'valider' in key method map My jsp have two buttons : My ApplicationResources.properties button.valider=valider button.refuser=refuser My struts-

Re: R: how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Nava Krishna Mallela
grams","getPrograms"); return map; } (I am sorry the code that was there in my initial mail is not showing getKeyMethodMap method properly) I guess, LookupDispatchAction will reverse map the value to key using properties file. and action mapping in struts-config.xml alr

RE: how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Krishna, Mattam \(M.\)
al Message- From: Nava Krishna Mallela [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 4:02 PM To: user@struts.apache.org Subject: how to handle requests submitted using java script with a LookupDispatchAction subcalss Hi, Please guide me overcome this issue. My jsp page has two

R: how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Diaconu Eduard
L PROTECTED] Inviato: giovedì 6 aprile 2006 12.32 A: user@struts.apache.org Oggetto: how to handle requests submitted using java script with a LookupDispatchAction subcalss Hi, Please guide me overcome this issue. My jsp page has two list boxes, the values in one of those boxes(dependent lis

how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Nava Krishna Mallela
ct_codes"/> The javascript used: function resubmit(form_name,method_value) { document.forms[form_name].method.value= method_value; document.forms[form_name].submit();

Re: LookupDispatchAction and Internationalization

2006-04-05 Thread Michael Jouravlev
On 4/5/06, Karin Schellner <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Struts 1.2.7 with the LookupDispatchAction and everything > works fine, as long as the labels of the buttons (=values of the keys of > the resourcebundles) are not using special characters. If there are

Re: LookupDispatchAction and Internationalization

2006-04-05 Thread Karin Schellner
Users Mailing List" user@struts.apache.org Cc : Date : Wed, 05 Apr 2006 10:46:12 +0200 Subject : LookupDispatchAction and Internationalization Hi, I am using Struts 1.2.7 with the LookupDispatchAction and everything works fine, as long as the labels of the button

LookupDispatchAction and Internationalization

2006-04-05 Thread Karin Schellner
Hi, I am using Struts 1.2.7 with the LookupDispatchAction and everything works fine, as long as the labels of the buttons (=values of the keys of the resourcebundles) are not using special characters. If there are special characters I get the following error: missing resource 'Hinzuf

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Rafael Nami
God, if I had this in my project a year ago :( 2006/3/30, Michael Jouravlev <[EMAIL PROTECTED]>: > > On 3/30/06, vasumathi <[EMAIL PROTECTED]> wrote: > > Hi > > i like to know the difference between DispatchAction and > > LookupDispatchAction in struts

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Michael Jouravlev
On 3/30/06, vasumathi <[EMAIL PROTECTED]> wrote: > Hi > i like to know the difference between DispatchAction and > LookupDispatchAction in struts 1.2. anyone can help me... They both have their deficiencies. If you are looking for a good dispatching action, use EventActionDispatc

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Frank W. Zammetti
request, Struts will try to execute the method in the action whos name matches the value of the parameter. A LookupDispatchAction by contrast determines which method to call not based directly on a request parameter's value, but by doing a lookup to determine the method, based on the value o

Re: Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread Ted Husted
The LookupDispatchAction * http://struts.apache.org/struts-extras/apidocs/org/apache/struts/actions/LookupDispatchAction.html is designed for use in localized applications that will have different labels on buttons in different locales. People will sometimes want to give multiple button the

Difference between DispatchAction and LookupDispatchAction

2006-03-30 Thread vasumathi
Hi i like to know the difference between DispatchAction and LookupDispatchAction in struts 1.2. anyone can help me... with regards vasu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
The Action class is not the controller. The controller is the class that chooses the Action class. On 3/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/1/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > > I got the ok on switching to 1.2.8, and I will also try your method this > > afte

Re: MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Michael Jouravlev
On 3/1/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I got the ok on switching to 1.2.8, and I will also try your method this > afternoon. I appreciate everyones responses. In the mean time, I have > some design issues and questions: > > Does the old lookupdispatch action sometimes loose stuff th

MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
: = Then I have a group of dropdowns to select sorting criteria. Clicking the sort button goes thru the old lookupdispatchAction. They have their own in the lookup dispatch as: // click a few checkboxes //current page of

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Michael Jouravlev
ev [mailto:[EMAIL PROTECTED] > Sent: Tue 2/28/2006 4:15 PM > To: Struts Users Mailing List > Subject: Re: multiple submit buttons: LookupDispatchAction / ActionForward > formdata missing > > > > > On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > >

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
Im pretty stuck here now for the last few days. > > Can some one make a suggestion? > > > My .jsp: > == > > > > > > > > > > My Action Class: > = > publ

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
LookupDispatchAction is horrid. Use one of the varieties found at www.michaelmcgrady.com under buttons. You also don't need to change from 1.1 to 1.2.7. You just need the class, which you can put in yourself. On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > > Greetin

RE: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
submit buttons: LookupDispatchAction / ActionForward formdata missing > On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: By the way, LookupDispatchAction is not the best choice to dispatch events. I suggest you to use this one: http://issues.apache.org/bugzilla/attachment.cgi?id=

RE: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
: LookupDispatchAction / ActionForward formdata missing On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. ... > Re

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread Michael Jouravlev
> On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: By the way, LookupDispatchAction is not the best choice to dispatch events. I suggest you to use this one: http://issues.apache.org/bugzilla/attachment.cgi?id=17724 You will also need ActionDispatcher class from Struts 1.2.

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread Michael Jouravlev
On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. ... > RetrieveFormBean dataForm = (RetrieveFormBean) form; >// form data comes back null.

multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread SIRAGHER, JOEL
eAction extends LookupDispatchAction { protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("button.UpdatePage", "updatePage"); } public ActionForward updatePage(ActionMapping mapping, ActionForm form, HttpServletRequest re

Re: Problem using LookupDispatchAction

2005-12-02 Thread Dakota Jack
gt; > wrote: > > Hi, > > > > I have a problem using LookupDispatchAction. I already tried > > looking for the solution on Google, this list archive and other > > resources but I wasn't able to fix the problem. Maybe some of you can > > help me. &g

Re: Problem using LookupDispatchAction

2005-12-01 Thread Oles
Michael Jouravlev wrote: On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote: Hi, I have a problem using LookupDispatchAction. I already tried looking for the solution on Google, this list archive and other resources but I wasn't able to fix the problem.

Re: Problem using LookupDispatchAction

2005-11-30 Thread Matt Morton
In your url you have acao=comando.pesquisar, I have always used the form where acao=Pesquisar or the value of the key in the map. Also are you sure that your Constants class is providing the Map to the LookupDispatchAction? Matt Morton On 11/30/05, Matheus Eduardo Machado Moreira <[EM

Re: Problem using LookupDispatchAction

2005-11-30 Thread Matheus Eduardo Machado Moreira
KeyMethodMap; } My action is simple. One detail, I don't define (yet) all the methods present in the key-method map because I'm constructing the action class method by method and testing each one. public class CadastroIngredienteAction extends LookupDispatchAction { pub

Re: Problem using LookupDispatchAction

2005-11-30 Thread Michael Jouravlev
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote: > Hi, > > I have a problem using LookupDispatchAction. I already tried > looking for the solution on Google, this list archive and other > resources but I wasn't able to fix the problem. Maybe

Re: Problem using LookupDispatchAction

2005-11-30 Thread Wendy Smoak
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote: > My action extends LookupDispatchAction and implements the > getKeyMethodMap() method. In my ApplicationResources.properties file I > define all the keys for the buttons that can be shown in my > inte

Problem using LookupDispatchAction

2005-11-30 Thread Matheus Eduardo Machado Moreira
Hi, I have a problem using LookupDispatchAction. I already tried looking for the solution on Google, this list archive and other resources but I wasn't able to fix the problem. Maybe some of you can help me. My action extends LookupDispatchAction and implements the getKeyMeth

Re: I am getting frustrated with LookupDispatchAction

2005-11-08 Thread Michael Jouravlev
On 10/19/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Michael Jouravlev on 19/10/05 00:44, wrote: > > On 10/18/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > >>Secondly, getKeyMethodMap() looks really clunky - is there no way this > >>can be pushed into the struts-config.xml? > > > > > > It can be done

Re: using a lookupDispatchAction to implement a WIZARD Form

2005-11-08 Thread Michael Jouravlev
On 11/8/05, arnaud gonzales <[EMAIL PROTECTED]> wrote: > Hello > I try to use a lookupDispatchAction to implement a WIZARD FORM as it is > wrote in the Struts cookbook and there is some things i still don't > understand: > Context: > name="CreateAccesForm&qu

using a lookupDispatchAction to implement a WIZARD Form

2005-11-08 Thread arnaud gonzales
Hello I try to use a lookupDispatchAction to implement a WIZARD FORM as it is wrote in the Struts cookbook and there is some things i still don't understand: Context: I have a List of DTO in my ActionForm ("CreateAccesForm") and others simple properties; i do some busine

Re: lookupdispatchaction and validator

2005-11-02 Thread Yujun Liang
ote: > > hello, > I'm trying to use validator with lookupdispatchaction, it will be great to > generate the client JS validation. > Have you any links, samples? > Thanks in advance > > -- > Regards > Arnaud Gonzales. > > -- Yujun Liang [EMAIL PROTECTED]

RE: lookupdispatchaction and validator

2005-11-02 Thread bsimonin
Hi. arnaud. I hope I understand your question. Each jsp pages for the lookupdispatchaction should have a page element added: Then in your validation.xml file have: name="wizardForm"> the action mappings should look someth

lookupdispatchaction and validator

2005-11-02 Thread arnaud gonzales
hello, I'm trying to use validator with lookupdispatchaction, it will be great to generate the client JS validation. Have you any links, samples? Thanks in advance -- Regards Arnaud Gonzales.

Re: LookupDispatchAction with html:image

2005-10-20 Thread Michael Jouravlev
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote: > After googling some more, it seems as though there's no 'elegant' way > of doing what seems simple on the surface in terms of swapping two > tags. I think I'm just going to wind up using the ImageButtonBean > work-around. > > Thanks for the lin

Re: LookupDispatchAction with html:image

2005-10-20 Thread Keith Sader
After googling some more, it seems as though there's no 'elegant' way of doing what seems simple on the surface in terms of swapping two tags. I think I'm just going to wind up using the ImageButtonBean work-around. Thanks for the links! On 10/20/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:

Re: LookupDispatchAction with html:image

2005-10-20 Thread Michael Jouravlev
http://www.michaelmcgrady.com/button/jsp/dispatch_action.jsp http://issues.apache.org/bugzilla/attachment.cgi?id=15762 http://struts.sourceforge.net/strutsdialogs/selectaction.html On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote: > I'm trying to use the LookupDispatchAction with

LookupDispatchAction with html:image

2005-10-20 Thread Keith Sader
I'm trying to use the LookupDispatchAction with the html:image tags so that I can have spiffy looking buttons, however I get this error: INFO: Exception thrown Request[/Foo/SaveDefaultSettings] does not contain handler parameter named 'method'. This may be caused by whitespace in

Re: I am getting frustrated with LookupDispatchAction

2005-10-19 Thread Adam Hardy
Michael Jouravlev on 19/10/05 00:44, wrote: On 10/18/05, Adam Hardy <[EMAIL PROTECTED]> wrote: Secondly, getKeyMethodMap() looks really clunky - is there no way this can be pushed into the struts-config.xml? It can be done, but if this to be defined inside existing structures like , then I wo

RE: I am getting frustrated with LookupDispatchAction

2005-10-19 Thread bsimonin
Hey everyone. Thanks for the input on my problems with my LookupDispatchAction. I was able to get the wizard steps working using the example on page 201 of the book: Jakarta Struts Cookbook. Now I am off to do the business logic. Again, thanks for all the help. --Brad -Original

Re: I am getting frustrated with LookupDispatchAction

2005-10-18 Thread Michael Jouravlev
On 10/18/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Michael, > > I like your code alot but a couple of things prevent me from purloining > it for my own purposes: > > firstly, I like to allocate my base class to sort out user, locale, > msgKeys, and messages objects for use in the subclass. It do

Re: I am getting frustrated with LookupDispatchAction

2005-10-18 Thread Adam Hardy
ss in-between SelectAction and the child class to do this, isn't that so? Secondly, getKeyMethodMap() looks really clunky - is there no way this can be pushed into the struts-config.xml? Adam Michael Jouravlev on 18/10/05 23:30, wrote: This action class is inspired by LookupDispatchAction, b

Re: I am getting frustrated with LookupDispatchAction

2005-10-18 Thread Michael Jouravlev
This action class is inspired by LookupDispatchAction, but it does not use property file and does not tie button caption to property name. Actually, it supports "parameter" to be compatible with original DispatchAction. On the other hand, if you think that hashmap brings an unnecessar

Re: I am getting frustrated with LookupDispatchAction

2005-10-18 Thread Martin Gainty
ServletException { System.out.println("--> add"); return mapping.findForward("addpage"); } Very insightful.. Martin- - Original Message - From: "Michael Jouravlev" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent:

Re: I am getting frustrated with LookupDispatchAction

2005-10-18 Thread Michael Jouravlev
gt; javax.servlet.ServletException: Request[/mywizard1] does not contain handler > parameter named 'method'. > > Can someone save me from insanity? Try this instead: http://struts.sourceforge.net/strutsdialogs/selectaction.html You do not have to use Struts tags with it, just HTML. W

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Laurie Harper
to an action. The two aren't interchangeable. L. Martin Gainty wrote: I have not seen parameter as an attribute of Anyone else??? M- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, October 17, 2005 6:18 PM Subject: I am getting frustrated with LookupDispatch

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread rajasekhar . cherukuri
Have you extended LookUpDipatchAction your "ddPSLUserWizardAction" ?? Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, prin

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Sunil_Sahu
Did you implement the getKeyMethodMap() method in the subclass of LookupDispatchAction. Sunil <[EMAIL PROTECTED]> 10/18/2005 03:48 AM Please respond to "Struts Users Mailing List" To cc Subject I am getting frustrated with LookupDispatchAction Hi. I am using

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> my jsp has the following: key="button.next"/> But I get the following error in tomcat: javax.servlet.ServletException: Request[/mywizard1] does not contain handler parameter named 'method'. Can someone save me from insanity? No, but you can save yourself. :) First

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Martin Gainty
I have not seen parameter as an attribute of Anyone else??? M- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, October 17, 2005 6:18 PM Subject: I am getting frustrated with LookupDispatchAction Hi. I am using struts 1.2.7. My struts-config-xml file h

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Kishore Senji
I guess you don't have a property for "button.next" defined in your MessageResources. Please make sure you have defined that property in the resources. On 10/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi. I am using struts 1.2.7. My struts-config-xml file has the following: > > name=

Re: I am getting frustrated with LookupDispatchAction

2005-10-17 Thread Paul Benedict
> Can someone save me from insanity? Questionable... > But I get the following error in tomcat: > javax.servlet.ServletException: Request[/mywizard1] > does not contain handler parameter named 'method'. Do you have a method named 'method'? It should look like the typical Struts execute method.

I am getting frustrated with LookupDispatchAction

2005-10-17 Thread bsimonin
Hi. I am using struts 1.2.7. My struts-config-xml file has the following: my jsp has the following: But I get the following error in tomcat: javax.servlet.ServletException: Request[/mywizard1] does not contain handler parameter named 'method'. Can someone save me

AW: LookupDispatchAction-problem getting started

2005-08-22 Thread Tiller, Volker
Thank you, the spaces work. Volker > -Ursprüngliche Nachricht- > Von: Wendy Smoak [SMTP:[EMAIL PROTECTED] > Gesendet am: Montag, 22. August 2005 14:43 > An: Struts Users Mailing List > Betreff: Re: LookupDispatchAction-problem getting started > > From: &qu

Re: LookupDispatchAction-problem getting started

2005-08-22 Thread Wendy Smoak
From: "Tiller, Volker" <[EMAIL PROTECTED]> I can't get started with the example about using LookupDispatchAction of Ted Husted, Tip #3 (http://husted.com/struts/tips/index.html). What is my error or can I get some working code ? The 'method' parameter sh

LookupDispatchAction-problem getting started

2005-08-22 Thread Tiller, Volker
Hi all, I can't get started with the example about using LookupDispatchAction of Ted Husted, Tip #3 (http://husted.com/struts/tips/index.html). What is my error or can I get some working code ? This is the problem: The forward test it gets ERROR DispatchActio

LookupDispatchAction, trying Ted Husted Tip #3

2005-08-18 Thread Tiller, Volker
Trying the example in http://husted.com/struts/tips/index.html #3 Use LookupDispatchAction ... I use following Action, Form, JSP, application.properties and struts-config +++Action public final class MyAction extends LookupDispatchAction { private static Log log = LogFactory.getLog

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You know, we've really gotten away from what was originally being > discussed here... we were talking about DispatchActions, and now we're > talking about redirect-after-post. How did that happen? Because these are related things. Because

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 3:38 pm, Michael Jouravlev said: > Oh gosh, Frank, can you think more abstractively (is this a proper > adjective?) It does not really matter, why login page follows welcome > page, this is merely an *example*. Ok, consider that welcome page *is* > a login page, but a user cam

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said: > > Ok, I will use the same use case I used during last weeks :) a login > > form. Say, you have a welcome page on a website, which directs a user > > to a login page. How many pages do

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said: > Ok, I will use the same use case I used during last weeks :) a login > form. Say, you have a welcome page on a website, which directs a user > to a login page. How many pages do you have? I hope your answer is > two. I would have said one...

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Having same address is important to prevent browser history from > > growing, thus effectively disabling Back button. This makes > > application more robust and user experience closer to desktop > > application. > > In my experience, the

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 2:32 pm, Michael Jouravlev said: > DispatchAction allows you to have one mapping for a related set of > operations. Therefore, you can call different operations for one > object using the same web address, which is impossible using separate > actions unless you use filter or s

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I actually do not use any form of DispatchAction most of the time... very > rarely will I use anything along those lines. I find it to break the idea > of separating responsibilities. I prefer to see a well-named Action for > each actual

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
n be done. You are correct in general though, it's not something that you can do out-of-the-box. > On the other hand, I think that tying a button textual caption to a > method name like LookupDispatchAction does, is a not right thing to > do. I agree. > Separating events, handlers

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
for something like that. Well, I am not sure that Struts can pick up changes in property file, though I saw some "Reloadable properties" subproject in Struts Applications tree. On the other hand, I think that tying a button textual caption to a method name like LookupDispatchAction does,

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 1:11 pm, Michael Jouravlev said: > Having the map right in an action file is easier, faster and does not > tie you to a property file, does it? Just wanted to stick my proboscis in on this particular point (I've been following along this whole discussion by the way)... I vie

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
take. > > Without trying to open up a whole other can of worms since there have > been a bunch of recent threads concerning the dispatch/lookup concept, I > would stay away from the LookupDispatchAction. There are other variants > out there MappingDispatchAction, SimpleDispatchA

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Rick Reumann
a bunch of recent threads concerning the dispatch/lookup concept, I would stay away from the LookupDispatchAction. There are other variants out there MappingDispatchAction, SimpleDispatchAction, and now SelectAction. Personally, I've just stuck with DispatchAction and like it. The other new fl

LookupDispatchAction or DispatchAction?

2005-07-24 Thread starki78
Hi, I've tested both types of actions but I really cannot say which action is better and I don't have the slightest feeling when which action to take. Can you give me a clue? Thanks Christian 6X velocizzare la tua navigazione a 56k? 6

Re: Validation while using LookupDispatchAction

2005-06-23 Thread Adam Hardy
so struts is dead? we must be haunting you, right? On 23/06/05 19:52 Mark Galbreath wrote: Your sure did: C#.NET makes stuff like this soo easy! Struts is dead. ~mark -Original Message- From: Vicky [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 2:48 PM But having differ

Re: Validation while using LookupDispatchAction

2005-06-23 Thread Andrew Tomaka
You might be interested in checking out ValidatorLookupDispatchAction (http://struts.whoisandy.com/archives/2005/05/27/validatorlookupdispatchaction.php). I stumbled across, but never actually used it. ~ Andrew Tomaka On 6/23/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Vicky" <[EMAIL PRO

  1   2   3   >