>
The problem could be that you aren't returning anything.
Try doing something like this:
onclick="return validate();"
Then:
function validate() {
if (...) // fails
return false;
}
// else
return true;
}
So, you return a Boolean from the validate fun
In a way, Nadia, your problem is not a problem. If you want to "make
sure one of the radio buttons [you] have on the page is clicked", then
all you really want is to make sure the value of that button is
available in the processing of the request. You can do that without
the radio button even bei
Thanks. Will the button work with dispatch action?
NK
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 12:16 PM
To: Struts Users Mailing List
Subject: Re: Dispatch action and java script?
I usually just use a button instead of a
Try the lookupDispatchAction
There's an example in the javadocs
Regards
ITG
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 10:59 AM
To: Struts help (E-mail)
Subject: Dispatch action and java script?
Hi,
I implemented DispatchAction and
I usually just use a button instead of a html:submit, and have it do
the form.submit().
Simple, and flexible - plus you can prevent the double-click submitters. :-)
Larry
On Tue, 11 Jan 2005 11:58:37 -0500, Nadia Kunkov
<[EMAIL PROTECTED]> wrote:
> Hi,
> I implemented DispatchAction and I have
5 matches
Mail list logo