Re: LookupDispatchAction default

2004-03-25 Thread Brian Sayatovic/AMIG
class. Or, maybe I missed something and didn't implement correctly? Regards, Brian. Mark Lowe [EMAIL PROTECTED] 03/24/2004 09:21 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re

Re: LookupDispatchAction default

2004-03-25 Thread Mark Shifman
Mailing List [EMAIL PROTECTED] cc: Subject:Re: LookupDispatchAction default unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use

Re: LookupDispatchAction default

2004-03-25 Thread Brian Sayatovic/AMIG
/2004 08:51 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re: LookupDispatchAction default Look at the sourc for LookupDispatchAction snippet below: public ActionForward execute( ActionMapping

Re: LookupDispatchAction default

2004-03-25 Thread Mark Lowe
PROTECTED] cc: Subject:Re: LookupDispatchAction default unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. On 24 Mar 2004

RE: LookupDispatchAction default

2004-03-25 Thread Wendy Smoak
From: Brian Sayatovic/AMIG [mailto:[EMAIL PROTECTED] That's exactly my point. If there is no submit=xxx parameter/value to the action, then it throws a NullPointerException. So my action works like this: /admin/list.do?submit=Refresh But not like this: /admin/list.do

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. On 24 Mar 2004, at 15:16, Brian Sayatovic/AMIG wrote: I'd like to be able to have someone

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
From: Brian Sayatovic/AMIG [mailto:[EMAIL PROTECTED] I'd like to be able to have someone hit my action, /admin/list.do, without having to specify a submit paramater. Is there another way to do this? Is it worth suggesting that LookupDispatchAction support a default or null mapping? I'm

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
From: Mark Lowe [mailto:[EMAIL PROTECTED] unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. I agree about not using submit, if you end up

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
I agree about not using submit, if you end up needing to use JavaScript to change the value, you run into problems since submit() is already function. Calling either document.forms[0].submit.value=something or document.forms[0].submit() gives an error, I can't remember which. Bad idea, avoid it.

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
From: Mark Lowe [mailto:[EMAIL PROTECTED] It was you post on the thread last week where i pick it up. Sorry, I'm apparently repeating myself! I can't remember last week this early in the morning. Good to know that its been addressed, but I'm on whatever the stable release of 1.1 is. I'd

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
On 24 Mar 2004, at 16:13, Wendy Smoak wrote: From: Mark Lowe [mailto:[EMAIL PROTECTED] It was you post on the thread last week where i pick it up. Sorry, I'm apparently repeating myself! I can't remember last week this early in the morning. Good to know that its been addressed, but I'm on

RE: LookupDispatchAction with html:image?

2004-03-18 Thread Dixit, Shashank (Cognizant)
Search for ImageButtonDispatchAction in struts previous messages. It is devoloped by somebody and have put it there. Shashank Dixit jpmc ib , cognizant technology solutions pvt. ltd. Tel: +91 20 2931100 Ext : 2354 Vnet : 22362 Mobile : 98904 25400 An Obstacle is something you see when you

Re: LookupDispatchAction with html:image?

2004-03-18 Thread Mark Lowe
Will this not work then? html:image property=method value=Save page=/image/buttons/en/save.gif / assuming the value is set by nesting bean:message html:image property=method page=/image/buttons/en/save.gif bean:message key=button.save / /html:image

Re: LookupDispatchAction with html:image?

2004-03-18 Thread dilip
try ImageButtonBeanManager from Mitranosoft - Original Message - From: Stefan Burkard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:48 PM Subject: LookupDispatchAction with html:image? hi struts-users is it possible to use the LookupDispatchAction with

RE: LookupDispatchAction problem

2004-03-18 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Request[/uploadDocument] does not contain handler parameter named submit i really don't know why this error appears. [I'm currently trying to convince the spam filter to cough up all the messages it quarantined since 3pm yesterday, so this

RE: LookupDispatchAction problem

2004-02-10 Thread Yee, Richard K,,DMDCWEST
Søren, The error message indicates that you are missing a button.search entry in your Application Resources file. -Richard -Original Message- From: Søren Hjarlvig [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 2:13 PM To: [EMAIL PROTECTED] Subject: LookupDispatchAction

RE: LookupDispatchAction problem

2004-02-10 Thread Wendy Smoak
From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] The error message indicates that you are missing a button.search entry in your Application Resources file. Earlier, Søren wrote: http://localhost:8080/fonde/administrator.do?myaction=button.search In addition, the 'myaction'

Re: LookupDispatchAction problem

2004-02-10 Thread Søren Hjarlvig
Wendy Smoak wrote: In addition, the 'myaction' request parameter should be set to whatever the value of button.search is in ApplicationResources.properties. ApplicationResources.properties: button.search=ClickHere Thank you. This solved my problem :-) The entry was missing from my

Re: LookupDispatchAction

2004-02-03 Thread Jason Lea
Well, LookUpDispatchAction doesn't call the unspecified action when it is no parameter is supplied. One way would be to override the method that does the lookup and when no action parameter is supplied, call the unspecified() parameter. Another way is to make your initial call to the action

Re: LookupDispatchAction

2004-02-03 Thread Guilherme Barile
Hi I just found out that unspecified() is called, but the parameter you specified on struts-config must exist, so if you access something like http://mysite/MyAction.do?action= it will call unspecified(), because that action does not exist. Interesting uh ? On Tue, 2004-02-03 at 23:38,

RE: LookupDispatchAction - ActionForward - ActionForm (after successfull insert not empty).

2003-12-22 Thread Wendy Smoak
From: Ronald Rotteveel [mailto:[EMAIL PROTECTED] I WOULD LOVE lose the name of the customer that I just inserted. If I come back to the customer form now, the field where someone can type a name is already filled with the name I just inserted. Sounds like your form bean is in session

Re: LookupDispatchAction - ActionForward - ActionForm (after successfull insert not empty).

2003-12-22 Thread Ronald Rotteveel
Dear Wendy, thanks for your submission, I also have a reset function in my and it looks like this: public void reset(ActionMapping mapping, HttpServletRequest request) { customerId = null; name = null; resources = null; } I don't see any function in ActionForm that looks like

RE: LookupDispatchAction - ActionForward - ActionForm (after successfull insert not empty).

2003-12-22 Thread Wendy Smoak
From: Ronald Rotteveel [mailto:[EMAIL PROTECTED] I don't see any function in ActionForm that looks like initialize(mapping); I presume you have written your own? Sorry... I use dynamic forms. The initialize method comes from DynaActionForm. It just sets the values back to the initial

Re: LookupDispatchAction, theory behind it

2003-10-08 Thread Craig R. McClanahan
Adam Hardy wrote: I thought I might just raise this here because I see struts has obviously no qualms about submit button functionality, but it bugs me. I'm not using LookupDispatchAction, but I would like to if it wasn't for the annoying browser behaviour on submit of the HTML-input submit

Re: LookupDispatchAction, theory behind it

2003-10-08 Thread Jason Lea
The HTML/4.01 spec does have something that addresses this, the button tag. The problem is browser support. You can supply the 'type' (eg submit, reset, button), a 'value' that is returned as the name/value pair, and the button label is the body of the tag (meaning you can mix images, text,

Re: LookupDispatchAction, theory behind it

2003-10-08 Thread Adam Hardy
On 10/08/2003 11:01 PM Craig R. McClanahan wrote: Adam Hardy wrote: LookupDispatchAction is great for sorting out the appropriate action according to which submit button was clicked, even if those submit buttons have got localized text. But surely it's just pandering to the poor design of HTML?

Re: LookupDispatchAction and submit

2003-09-26 Thread Jan Van Stalle
Hello, did you try putting a hidden input in your form with the name actionType and a default value (which would map to one of your methods). Jan Lars Bergström [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone, I have a html:form in which i have several buttons like

Re: LookupDispatchAction vs Unicode-utf8

2003-08-28 Thread Jason Lea
Maurice Wijtten wrote: I have a multilangual form handled by a LookupDispatchAction. When we recently added a spanish language, our action throwed an exception because it could not find the corresponding key of the submit button. It seemed that a non asci character was handled as UTF8 and not

RE: LookupDispatchAction error

2003-08-14 Thread Wendy Smoak
Colm wrote: I am getting the following error on , which I can't figure out: HTTP ERROR: 500 Request[/test] does not contain handler parameter named updateMethod RequestURI=/clientdb/test.do If you're getting to that Action with a link, the link should include: ?updateMethod=something at the

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
if I can change it. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:01 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction error I think you could do it a couple different ways... 1. JSP: bean:define id

RE: LookupDispatchAction

2003-08-14 Thread Wendy Smoak
Nalini wrote: Alongside the 'school address' field I have a submit button, 'Find School' that allows a user to enter part of the school name or address and hit this 'FindSchool' button which then goes off to another page (selectSchool.jsp) that displays a list of matching schools. The user

Re: LookupDispatchAction

2003-08-14 Thread Jing Zhou
- Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, August 11, 2003 10:49 AM Subject: RE: LookupDispatchAction Nalini wrote: Alongside the 'school address' field I have a submit button, 'Find School' that allows

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
I think you could do it a couple different ways... 1. JSP: bean:define id=lookupName value=whateverLookupYouWantToGoto/ html:link forward=test paramId=updateMethod paramName=lookupName ... /html:link 2. JSP: html:link forward=gtest .../html:link struts config: global-forwards

RE: LookupDispatchAction error

2003-08-14 Thread Bailey, Shane C.
it. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:01 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction error I think you could do it a couple different ways... 1. JSP: bean:define id=lookupName value

Re: LookupDispatchAction

2003-08-14 Thread Jing Zhou
The LookupDispatchAction allows you to specify several JSP pages or buttons on one page to use single action mapping to achieve CRUD operations. An example of such action mapping would look like the following: action path=/FooCRUDOperation type=com.myco.editors.FooAction name=FooForm

Re: LookupDispatchAction

2003-08-14 Thread Susan Bradeen
On 08/11/2003 10:15:14 AM Nalini Pal wrote: Not sure how best to set this up and indeed, if it is possible so any advice would be appreciated. I have a an ActionForm called RegisterForm where a new user to enter their details (name, email, school name and school address) or an

Re: LookupDispatchAction

2003-08-12 Thread Juan Alvarado
I would suggest you look at Ted Husted's tips on http://www.husted.com When you read the tip you should have an idea of how to set your scenario up. --- Nalini Pal [EMAIL PROTECTED] wrote: Not sure how best to set this up and indeed, if it is possible so any advice would be appreciated.

Re: LookupDispatchAction

2003-08-11 Thread Pramod . P
The JSP html:form action=/Add table width=100% border=0 cellspacing=0 cellpadding=2 class=graynoborder tr td nowrap html:submit property=actionbean:message key=button.add//html:submit nbsp;nbsp;nbsp; html:submit property=actionbean:message key=button.cancel//html:submit

RE: LookupDispatchAction

2003-08-11 Thread Shashank Dixit
HI Nalini There is a fantastic example given in Programming Jakarta Struts from Orielly. Shashank S. Dixit Software Analyst. Datamatics Ltd. Contact: 28291253 ext 146 Mobile: 9820930075 Be brave against all odds. Never give up. -Original Message- From: Nalini Pal [mailto:[EMAIL

Re: LookupDispatchAction error

2003-08-10 Thread OFlaherty, Colm
List' Subject:RE: LookupDispatchAction error Yes, you can do it without the .do and it is safer to do so. You can even do this which is nice: html:link action=/test?updateMethod=nameOfYourDispatchLookup ... /html:link Note the /test? instead of /test.do? I remember looking at the source

Re: LookupDispatchAction problem

2003-07-23 Thread Rick Reumann
On Wed, Jul 23,'03 (03:44 PM GMT-0400), Tim wrote: I am getting the following exception: SupportOrgDispatchAction] does not contain handler parameter named method For this actionmapping: action path=/SupportOrgDispatchAction

Re: LookupDispatchAction problem

2003-07-23 Thread Aleksander . Matijara
Hi Tim, I am not super-experienced in this, but it seems to me, that your line: html:submit property=method value=Query should actualy be: html:submit property=method value=some.key.value and then, in your .properties file for internationalization etc. some.key.value= Query and

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
-Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:01 PM To: Struts Users Mailing List Subject: Re: LookupDispatchAction problem On Wed, Jul 23,'03 (03:44 PM GMT-0400), Tim wrote: I am getting the following exception: SupportOrgDispatchAction

Re: LookupDispatchAction problem

2003-07-23 Thread Rick Reumann
On Wed, Jul 23,'03 (04:03 PM GMT-0400), [EMAIL PROTECTED] wrote: I am not super-experienced in this, but it seems to me, that your line: html:submit property=method value=Query Oh sorry, I missed that... I doubt the above would ever work. The method had to match an actual method

Re: LookupDispatchAction problem

2003-07-23 Thread Rick Reumann
On Wed, Jul 23,'03 (04:19 PM GMT-0400), Suzette wrote: With LookupDispatch you don't have to use a hidden tag. I think the problem might be in your action itself. Yea, I'll shut up now:) I forgot also Tim mentioned he wanted to use LookupDispatchAction. I'm giving messed up advice answering

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
(ApplicationFilt erChain.java:193)...blah...blah -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:19 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem With LookupDispatch you don't have to use a hidden tag. I

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem Thanks to all earnest responses. I still have a problem, but it has evolved a little. I have simplified the syntax (using husted tip 003), so that my jsp has: html:submit bean:message key=button.selectOrgs/ /html:submit

RE: LookupDispatchAction problem

2003-07-23 Thread Aleksander . Matijara
Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: LookupDispatchAction problem Thanks to all earnest responses. I still have a problem, but it has evolved a little. I have simplified the syntax (using husted tip 003), so that my jsp has: html:submit bean:message key

RE: LookupDispatchAction problem

2003-07-23 Thread Aleksander . Matijara
04:43 PM Please respond to Struts Users Mailing List To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE: LookupDispatchAction problem I received the same error, so I switched to using my own property method and if fixed that error. JSP

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
.). thanks. Sorry for this going on-and-on. Who knew... -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:43 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem I received the same error, so I switched

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
] Sent: Wednesday, July 23, 2003 5:00 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem Thanks, but I switch it to method, and same error occurs. Again, I wonder if my problem is related to my resource bundle, not being able to find it, etc. How can I simply diagnose

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
Thanks for all help. It is fixed now. God bless you, one and all. -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 5:01 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem No prob, here you go

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem Thanks for all help. It is fixed now. God bless you, one and all. -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 5:01 PM To: 'Struts Users Mailing List

RE: LookupDispatchAction problem

2003-07-23 Thread Michael Ruppin
Message- From: Tim Clotworthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 5:07 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem Thanks for all help. It is fixed now. God bless you, one and all. -Original Message- From

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
, July 23, 2003 5:53 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: LookupDispatchAction problem Great question. You don't, which is why I did my own dispatch Action which works off the existence of a parameters in the request, not their value. In other words, I made a different

Re: LookupDispatchAction problem

2003-07-23 Thread Jason Lea
To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem Thanks for all help. It is fixed now. God bless you, one and all. -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 5:01 PM To: 'Struts Users Mailing List' Subject: RE

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
Thanks. -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 6:07 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction problem You could try using an image button: html:image property=method pageKey=image.submit

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
Ok. Thanks. -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 5:53 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: LookupDispatchAction problem Great question. You don't, which is why I did my own dispatch Action

RE: LookupDispatchAction problem

2003-07-23 Thread Tim Clotworthy
thanks -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 6:14 PM To: Struts Users Mailing List Subject: Re: LookupDispatchAction problem Tim Clotworthy wrote: This is really a simple aside, but is there a way to have the text (label

Re: LookupDispatchAction question part2

2003-06-26 Thread Jason Lea
Frances Aleah Z. de Guzman wrote: i had posted a question i think 3 days ago about submitting a form to a LookupDispatchAction without hitting any button and still having a default value of the parameter handler. someone advised me (im sorry i forgot your name) that i should have a hidden

Re: LookupDispatchAction question part2

2003-06-26 Thread Frances Aleah Z. de Guzman
im sorry but im having the same exception On Thursday 26 June 2003 05:01 pm, Jason Lea wrote: Frances Aleah Z. de Guzman wrote: i had posted a question i think 3 days ago about submitting a form to a LookupDispatchAction without hitting any button and still having a default value of the

Re: LookupDispatchAction question part2

2003-06-26 Thread Jason Lea
Hi Frances, Frances Aleah Z. de Guzman wrote: im sorry but im having the same exception What does your html:link tag look like? What was the HTML output it produced? What do you have in your getKeyMethodMap()? What are the matching entries in your application.properties file? If you post those

Re: LookupDispatchAction question part2

2003-06-26 Thread Frances Aleah Z. de Guzman
thanks jason, i double checked my application.properties and i found out that the value of my action should be Edit with the capital E but what im putting a while ago is ehehehemy mistake! thanks again. On Thursday 26 June 2003 06:58 pm, Jason Lea wrote: Hi Frances, Frances Aleah Z.

Re: LookupDispatchAction and getParameter

2003-05-29 Thread Gregory F. March
On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote: |or try getParameter(action) in your execute method. The URL for the |request looks like http://...?action=doSave; internally. Hmm... I printed out request.getParameter(action), and the value is always the label of the submit button, i.e.

Re: LookupDispatchAction and getParameter

2003-05-29 Thread Gregory F. March
On May 27, 2003, Gregory F. March [EMAIL PROTECTED] wrote: |I have a form with multiple submit buttons. I'm trying to set up a |LookupDispatchAction. It seems that | |request.getParameter(mapping.getParameter()) | |is always returning null so I can't get to my actions. Arg. I'm

Re: LookupDispatchAction and getParameter

2003-05-29 Thread Eric Miles
--- In [EMAIL PROTECTED], Gregory F. March [EMAIL PROTECTED] wrote: On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote: |or try getParameter(action) in your execute method. The URL for the |request looks like http://...?action=doSave; internally. Hmm... I printed out

Re: LookupDispatchAction and getParameter

2003-05-28 Thread Gregory F. March
On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote: |Don't override the execute method, the LookupDispatchAction will call |'doSave' automatically. Simply comment out your execute method. Eric, I was originally doing exactly what you say, but I was getting an exception. I searched the

Re: LookupDispatchAction and getParameter

2003-05-27 Thread Eric Miles
Don't override the execute method, the LookupDispatchAction will call 'doSave' automatically. Simply comment out your execute method. -Eric --- In [EMAIL PROTECTED], Gregory F. March [EMAIL PROTECTED] wrote: Hi all. Typical standard disclaimers apply... I'm new to struts, I'm having

Re: LookupDispatchAction and getParameter

2003-05-27 Thread Eric Miles
or try getParameter(action) in your execute method. The URL for the request looks like http://...?action=doSave; internally. -Eric --- In [EMAIL PROTECTED], Eric Miles [EMAIL PROTECTED] wrote: Don't override the execute method, the LookupDispatchAction will call 'doSave' automatically.

RE: LookupDispatchAction + Paging with form submit

2003-03-25 Thread Andrew Hill
Looks like the action parameter isnt getting through. Hmm. Heres why: snip document.forms[0].submit.value = /myLookupDispatchAction.do?action=pagingpager.offset= + offset; /snip You seem to be setting the wrong attribute. Try: document.forms[0].action =

Re: LookupDispatchAction w/ Buttons Images

2003-02-24 Thread Vic Cekvenich
By searching the mail archive for you for other times this question was asked: http://www.mail-archive.com/[EMAIL PROTECTED]/msg48962.html Vic, a nice guy. Art Vandalay wrote: I have a page that has 7 text buttons, an HTML table with repeating rows of data, and 2 images. The images, Previous

RE: LookupDispatchAction w/ Buttons Images

2003-02-24 Thread James Mitchell
To: [EMAIL PROTECTED] Subject: Re: LookupDispatchAction w/ Buttons Images By searching the mail archive for you for other times this question was asked: http://www.mail-archive.com/[EMAIL PROTECTED]/msg 48962.html Vic, a nice guy. Art Vandalay wrote: I have a page that has 7

Re: LookupDispatchAction w/ Buttons Images

2003-02-24 Thread Art Vandalay
Thanks, but that older post from the archives does not answer my question. I had searched the archive, like I always do and found no previous answer to my question. Maybe instead of being a nice guy you should concentrate on being an effective guy. --- Vic Cekvenich [EMAIL PROTECTED] wrote: By

Re: LookupDispatchAction w/ Buttons Images

2003-02-24 Thread Vic Cekvenich
I read your post that said: I wants an example of images to submit. You got a link to a working example, and how it works. Please don't call me in-effective. I promise I will try to concentrate. See what nice gets you. Vic, aka not nice anymore, nor effective. Art Vandalay wrote: Thanks, but

RE: LookupDispatchAction

2003-02-13 Thread Wendy Smoak
Ok, here goes... I've definately defined the internationalization Stuff in ApplicationResources. Note the struts config bit below And the fact that I've specified the scope as session, does this make a difference? It shouldn't... my LookupDispatchForm is also in session scope and it works

RE: LookupDispatchAction

2003-02-13 Thread Wendy Smoak
I wrote: It shouldn't... my LookupDispatchForm is also in session scope Obviously it's way too early to be typing. That's LookupDispatchAction, not Form! -- Wendy

Re: LookupDispatchAction

2003-02-12 Thread David Graham
The key method map should contain resource keys not actual message text. David From: JONATHAN PHILIP HOLLOWAY [EMAIL PROTECTED] Reply-To: JONATHAN PHILIP HOLLOWAY [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: LookupDispatchAction Date: Wed, 12 Feb 2003 17:03:57

RE: LookupDispatchAction

2003-02-12 Thread Rob Kischuk
The keys in your KeyMethodMap should correspond to messages in your message bundle used to render the button. So you would have in your jsp: html:submit bean:message key=button.add.banana/ /html:submit in your action: protected Map getKeyMethodMap(ActionMapping mapping, ActionForm form,

RE: LookupDispatchAction

2003-02-12 Thread Wendy Smoak
The problem is that the execute method ALWAYS gets executed and not the intended method. Does anybody know why EXECUTE is called but the intended ADDBANANA method is not called? You've effectively undone the use of LookupDispatchAction by overriding the execute method without calling

RE: LookupDispatchAction

2003-02-12 Thread Brandon Goodin
Mailing List' Subject: RE: LookupDispatchAction The problem is that the execute method ALWAYS gets executed and not the intended method. Does anybody know why EXECUTE is called but the intended ADDBANANA method is not called? You've effectively undone the use of LookupDispatchAction

RE: LookupDispatchAction

2003-02-12 Thread Wendy Smoak
Ok the reason I had just put strings in the Map was because of Lack of internationalisation, I've now done this but still I get The same error that of a NullPointerException. I'm assuming this Is because of a method not found error from my ServletException Output in Tomcat... (See attached)

RE: LookupDispatchAction

2003-02-12 Thread Jonathan
=bean:message key=button.banana.add/ /html:submit Finally application resources contains... button.banana.add=Add Banana Many thanks, Jon. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: 13 February 2003 00:28 To: 'Struts Users Mailing List' Subject: RE

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
I would suggest you read up on the usage of the LookupDispatchAction again. It was not designed to to be used in the way you are trying to use them. Take a look at this site http://husted.com/struts/index.html. It has some good suggestions on the correct usage of the action classes that come with

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
I looked at that site. That is where I found out about LookupDispatchAction. But there is nothing that I can find that tells me how to initially display a page that will subsequently use a dispatch action. In fact, I can't figure out how to do it in Struts at all without either having a plain

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Okay can you please tell me what exactly it is you're trying to accomplish??? I don't quite get what your ultimate goal is. Thanks -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:01 PM To: Struts Users Mailing List Subject: RE

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:54 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:01 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question I looked at that site. That is where I found out about LookupDispatchAction. But there is nothing that I can find that tells me how to initially display

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:11 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question After the user

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:54 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction Question I would suggest you read up on the usage

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
] http://www.phase.ws -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:11 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question After the user logs on they are supposed to go to a lookup page. This page

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:01 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question I looked at that site. That is where I found out about LookupDispatchAction. But there is nothing that I can find that tells me

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
Mailing List Subject: RE: LookupDispatchAction Question OK, so if I don't have a value for the dispatch parameter I can simply do the following?: return unspecified(actionMapping, actionForm, httpServletRequest, httpServletResponse); Brandon Goodin [EMAIL PROTECTED] wrote: U, I'm

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
the submit buttons. Assuming everything else is configured properly, your JSP should then display properly. -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:11 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
Can you show me the snippet of code you are using to forward to the JSP from the login action. -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:25 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question My

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:20 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction Question Okay

RE: LookupDispatchAction Question

2003-02-11 Thread Brandon Goodin
: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:33 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction Question Can you show me the snippet of code you are using to forward to the JSP from the login action. -Original Message- From: Avexus

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
]] Sent: Tuesday, February 11, 2003 1:20 PM To: 'Struts Users Mailing List' Subject: RE: LookupDispatchAction Question Okay this is one way of doing this: Your login action in this case should not be a LookupDispatchAction. It should be a sub-class of the struts Action class. LookupDispatchAction has

RE: LookupDispatchAction Question

2003-02-11 Thread Avexus Incorporated
Users Mailing List' Subject: RE: LookupDispatchAction Question Can you show me the snippet of code you are using to forward to the JSP from the login action. -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:25 PM To: Struts Users

RE: LookupDispatchAction Question

2003-02-11 Thread Alvarado, Juan (c)
solve your problem. -Original Message- From: Avexus Incorporated [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:48 PM To: Struts Users Mailing List Subject: RE: LookupDispatchAction Question should be nothing wrong with that. i do that all the time, except this is the first

RE: LookupDispatchAction Question

2003-02-11 Thread Chen, Gin
Okay from what I got: Login - Lookup Login is an Action. Lookup is a LookupDispatchAction. The problem is that it is forwarding to ur LookupDispatchAction class and not to you lookup page. If this is wrong then stop reading ur wasting ur time and I've already wasted mine. So I'm assuming that

  1   2   >