fea jabi wrote:
may I know what the javascript will be?
add an onclick on the button that adds the parameter you want.
Or just set a name on the submit button so that "Add+Employee" will be
sent if that button is pressed, and teach the action to decipher all the
i18n versions of that string.
may I know what the javascript will be?
> Date: Tue, 15 Sep 2009 11:59:20 -0400
> From: d...@newfield.org
> To: user@struts.apache.org
> Subject: Re: submit button
>
> fea jabi wrote:
> > have a submit button which has the value of "Add Employee"
&
fea jabi wrote:
have a submit button which has the value of "Add Employee"
Add Employee
but when submitted I want the property to be set to another value "add" in the
request
action="add"
How can this be done?
Without javascript it cannot.
-Dale
--
another alternative would be to use a normal anchor tag and via CSS to make
it look like a button..
On Wed, Sep 10, 2008 at 3:47 PM, Dan <[EMAIL PROTECTED]> wrote:
> Lukasz Lenart escribió:
>
>> As Don said, implement small form, only with submit button and you
>> wouldn't have to use JavaScript.
Lukasz Lenart escribió:
As Don said, implement small form, only with submit button and you
wouldn't have to use JavaScript.
Regards
OK, I´ll try to do it
Regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
As Don said, implement small form, only with submit button and you
wouldn't have to use JavaScript.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Dan wrote:
Is there any other option instead of using Javascript? I have googled
but didnt find any answers.
flash ? maybe some applet trickery? what's wrong with a form?
--paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Lukasz Lenart escribió:
Hi,
You can use JavaScript and onclick event:
Regards
Hi,
Is there any other option instead of using Javascript? I have googled
but didnt find any answers.
Thanks in advance,
-
To unsubscrib
Hi,
You can use JavaScript and onclick event:
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Fixed on 2.1:
https://issues.apache.org/struts/browse/WW-1930
musachy
On 11/1/07, Vinicius Medeiros Peretti <[EMAIL PROTECTED]> wrote:
> Thanks very much, this is the way!
> But I think that the property of submit button should be posted.
>
> Thanks,
>
> Vinicius
>
> Jeromy Evans wrote:
> > I've
Thanks very much, this is the way!
But I think that the property of submit button should be posted.
Thanks,
Vinicius
Jeromy Evans wrote:
I've read somewhere, but can't find the reference, that you're correct
that dojo doesn't post the value of the submit button with XHR.
Instead, I always po
I've read somewhere, but can't find the reference, that you're correct
that dojo doesn't post the value of the submit button with XHR.
Instead, I always post to different methods in the action - one for each
submit button.
eg.
action="SomeActionMethodA" value="some"/>
action="SomeActionMethod
The problem is a little more fundamental than that :-) the onclick
attribute would need to be specified as
onclick="<%="hilightButton2('"+myval+"')"%>"
or something equally ganky.
L.
Paul Benedict wrote:
myval must be a server side Java variable. Do you have this value
declared and with a va
myval must be a server side Java variable. Do you have this value
declared and with a value? Check by printing it out onto the JSP
normally, it should be there; if it is not, you have another problem.
chamal desilva wrote:
Hi,
Can we pass an expression to onclick handler of struts
html:submit
ROFL
Niall
- Original Message -
From: "Jakota Dack" <[EMAIL PROTECTED]>
To:
Sent: Saturday, January 21, 2006 9:06 PM
Subject: Re: submit button value vs displayed text
> > McGrady uses a processes that automatically makes gif buttons and is
both
> > capabl
> McGrady uses a processes that automatically makes gif buttons and is both
> capable of i18n and change of font and color. He has a special taglib for
> doing
> that. Ask him and he might give it to you.
Might He? Why are you talking about yourself in the third person? Does that
creep out you
Checkout www.michaelmcgrady.com and click on the button ideas link. All the
code for each option is there. I would suggest the so-called "(new) LOOKUP
DISPATCH ACTION SOLUTION". With this solution internationalizing your
button is easy. McGrady uses a processes that automatically makes gif
butt
On 1/20/06, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
> When I create a button I would like for the value="add" to always have the
> text add - for my programming that uses that value to determine which button
> was pressed.
>
> However, I want the displayed text to come from a resource so i
Check: http://www.michaelmcgrady.com/button/
On Sat, 12 Feb 2005 00:22:41 -0800, Sab <[EMAIL PROTECTED]> wrote:
> I have a jsp with 2 buttons. (Update and Cancel buttons.)
> When 1 is clicked I want to check which button is clicked. If Update is
> clicked I want to forward to another jsp.
> How d
19 matches
Mail list logo