Re: Using javascript with html:link

2003-02-19 Thread Gemes Tibor
2003. február 19. 12:47 dátummal Carl-Jakob Rundberg ezt írtad: Hi I want to generate a popupwindow when a user clicks on a html:link I tried the onclick property. The problem is to get mapping to the action in the javascript or the other way around If you just want to open a new window, try

Re: using javascript

2003-01-13 Thread Brian Lee
I think the problem here is that there is a built-in javascript reset() method that's overriding your custom reset(). Try calling your method doReset() or something else. BAL From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '

RE: using javascript

2003-01-13 Thread LUCERO,DENNIS (HP-Boise,ex1)
Thanks Brian, the only stupid question, is the one you ask without knowing the api -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 11:04 AM To: [EMAIL PROTECTED] Subject: Re: using javascript I think the problem here

RE: using javascript

2003-01-13 Thread Mark Galbreath
Good quote! http://developer.netscape.com/docs/manuals/ Mark -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:35 PM the only stupid question, is the one you ask without knowing the api -- To unsubscribe, e-mail:

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-15 Thread Jörgen Lundberg
: Using Javascript submit(), how can I tell what did the submit in an action? I see several strategies for this: 1. Design your page and your Action so you don't need to know. Your request parameters will indicate the current settings. This will allow your page to work even if javascript is disabled

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-15 Thread Jörgen Lundberg
To: [EMAIL PROTECTED] Subject: RE: Using Javascript submit(), how can I tell what did the submit in an action? You can make the onChange call a JS-function. Maybe this is what David suggested in 3) below... Anyway, attached is an example. / Jörgen -Original Message- From: Karr, David

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-14 Thread Karr, David
I see several strategies for this: 1. Design your page and your Action so you don't need to know. Your request parameters will indicate the current settings. This will allow your page to work even if javascript is disabled (an unfortunate consideration). 2. Put each drop down into its own

RE: Using JavaScript in the JSP Pages

2002-02-08 Thread Mattos, John
Satish, Are you just using garden variety client side JavaScript for validation, calling a method in the onSubmit of your form tag? If so.. return false; in your JS method will prevent the form from being submitted. An alternative you might consider is to check out the Struts Validator

Re: Using JavaScript in the JSP Pages

2002-02-08 Thread Mark Woon
Also check if you actually set validate=true in the appropriate action tag. Mattos, John wrote: Satish, Are you just using garden variety client side JavaScript for validation, calling a method in the onSubmit of your form tag? If so.. return false; in your JS method will prevent the

Re: Using Javascript to cancel submit?

2001-06-01 Thread Ted Husted
If you want the JavaScript to cancel the submit, you need to return false somewhere. Struts can also watch for these in the Action, either using the isCancel() method, or by looking at the label of the button pressed. Struts doesn't write the HTML for tables, and could not affect the sizes of

Re: Using Javascript to cancel submit?

2001-05-31 Thread Spencer Smith
That is because you do not have a "return" specified on the javascript line. - Original Message - From: Steven Leija To: Struts Sent: Thursday, May 31, 2001 8:46 PM Subject: Using Javascript to cancel submit? Hello All, Currently I'm working on a form,

Re: Using Javascript to cancel submit?

2001-05-31 Thread Steven Leija
ally high, and I haven't set the size. Thanks for your help! Steven - Original Message - From: Spencer Smith To: [EMAIL PROTECTED] ; Steven Leija Sent: Thursday, May 31, 2001 11:06 PM Subject: Re: Using Javascript to cancel submit? That is