be relatively easy to use with non dispatch actions
with a few changes to the RequestProcessor.
HTH,
Paul
> -Original Message-
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: 23 March 2005 20:59
> To: user@struts.apache.org
> Subject: html: tag four buttons, one
.form ;
frm.action = sAction;
return true ;
}
Folashade Adeyosoye wrote:
I think with this, you would have multiple JS functions...
-Original Message-
From: Jason King [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 4:25 PM
To: Struts Users Mailing List
Subject: Re: html: tag four bu
I think with this, you would have multiple JS functions...
-Original Message-
From: Jason King [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 4:25 PM
To: Struts Users Mailing List
Subject: Re: html: tag four buttons, one action problem
Another thing you could do is use a js
Another thing you could do is use a js onclick handler to change the
element's action.
// I'm better
at the html/js end so you'll have to figure out how to html:submit this.
function edit_onclick( oBtn ) {
var frm = oBtn.form ; // reference to the html form the submit button
is in.
frm.
I am currently doing the same my project...
here is it...
it involves using javascript to change the buttonAction
1. must have a hidden field buttonAction
2. each (Button) submit button must have a property
3. when you click on the button the JS is involked and the hidden
filed buttonAction is
Hello,
I have a form, lets say that has a select list on it.
Under it I have the ability to
[edit], [delete], [modify] or [cancel].
Each of these buttons goes to a different
but the form page is set for just one of the actions. And to top this off, I
cannot do a href_link, I need to submit th
6 matches
Mail list logo