Re: Buttons in Struts

2003-10-31 Thread Takis Diakoumis
there is a style tag in the dtd.

use as you have in your example.





- Original Message - 
From: "Caroline Jen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 01, 2003 10:31 AM
Subject: Buttons in Struts


> We have  for the submit buttion in
> struts.  I am trying to add some additional features
> to the submit button:
>
>  STYLE="font: 10pt Arial Black; background:Teal
> width:75px; height:25px">Read/Send Mails
>
> I wonder if there is something like it in struts.
>
> __
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Buttons in Struts

2003-10-31 Thread Caroline Jen
We have  for the submit buttion in
struts.  I am trying to add some additional features
to the submit button:

Read/Send Mails

I wonder if there is something like it in struts.

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: buttons in struts.

2003-06-22 Thread Brandon Goodin
You can use the LookupDispatchAction to accomplish what you want.

Basically, your form will submit to the same ActionForm and will go to the
same Action. But, depending on which button you click you can set the
LookupDispatchAction to call different methods in your LookupDispatchAction.
It is good practice to pass ALL requests through an Action when going from
page to page, even if it is a simple page to page navigation with no biz
layer interaction.

In your case you could set one button to call a method in you
LookupDispatchAction that simply calls mapping.findForward("gohere"). The
other method could contain the code you need the process your form and
forward to it's next view.

Here is a link to more info:
http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatc
hAction.html

Brandon Goodin


-Original Message-
From: imran ali [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 22, 2003 5:47 AM
To: [EMAIL PROTECTED]
Subject: buttons in struts.


Hello
   I am having two buttons in my jsp. On clicking one i shud submit  form
and on clicking another i should go to another jsp and get data there and
upon hitting submit in that jsp I should come to my first jsp.
 how can i achive it. Presently i have make both the buttons as submit type.
but i don't know how i can pass the information which will help me in doing
two different tasks using these two different buttons.

thanks.




Imran


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



buttons in struts.

2003-06-22 Thread imran ali
Hello 
   I am having two buttons in my jsp. On clicking one i shud submit  form and on 
clicking another i should go to another jsp and get data there and upon hitting submit 
in that jsp I should come to my first jsp.
 how can i achive it. Presently i have make both the buttons as submit type. but i 
don't know how i can pass the information which will help me in doing two different 
tasks using these two different buttons.

thanks.




Imran

Re: Mouse over images on buttons in Struts

2002-01-17 Thread jwas

Server -side JavaScript ?  or Client side ??





"Michael Mehrle" <[EMAIL PROTECTED]>
01/17/02 11:42 AM
Please respond to "Struts Users Mailing List"

 
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc: 
    Subject:    Re: Mouse over images on buttons in Struts


Use an image and Javascript - it's just plain old server-side 
JavaScript


- Original Message -
From: "Tony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 6:02 PM
Subject: Mouse over images on buttons in Struts


> Hi
>
> I want to have a mouseover effect on a button.  When the mouse is not 
over
the button the button should display graphic A, when the mouse is over the
button the graphic should be graphic B.  What is the best way to do this
with struts.
> I have had a look at the
> 
>
> tag but am not having much luck getting it to work for me.  Should I use
Struts for this, or plain javascript?
>
>
>
> --
>
>
> Cheers
>
> Tony
> -
>
>
>
> _
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





Re: Mouse over images on buttons in Struts

2002-01-16 Thread Michael Mehrle

Use an image and Javascript - it's just plain old server-side JavaScript


- Original Message -
From: "Tony" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 6:02 PM
Subject: Mouse over images on buttons in Struts


> Hi
>
> I want to have a mouseover effect on a button.  When the mouse is not over
the button the button should display graphic A, when the mouse is over the
button the graphic should be graphic B.  What is the best way to do this
with struts.
> I have had a look at the
> 
>
> tag but am not having much luck getting it to work for me.  Should I use
Struts for this, or plain javascript?
>
>
>
> --
>
>
> Cheers
>
> Tony
> -
>
>
>
> _
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Mouse over images on buttons in Struts

2002-01-16 Thread David M. Karr

> "s45652001" == s45652001   writes:

s45652001> Hi
s45652001> I want to have a mouseover effect on a button.  When the mouse is not 
over the button the button should display graphic A, when the mouse is over the button 
the graphic should be graphic B.  What is the best way to do this with struts.
s45652001> I have had a look at the
s45652001>   

s45652001> tag but am not having much luck getting it to work for me.  Should I 
use Struts for this, or plain javascript?

The "html:button" tag has a "onmouseover" attribute, which can be used to
specify the javascript to execute on the "mouseover" event.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; BrainBench CJ12P (#12004)


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Mouse over images on buttons in Struts

2002-01-16 Thread Tony

Hi

I want to have a mouseover effect on a button.  When the mouse is not over the button 
the button should display graphic A, when the mouse is over the button the graphic 
should be graphic B.  What is the best way to do this with struts.
I have had a look at the
  

tag but am not having much luck getting it to work for me.  Should I use Struts for 
this, or plain javascript?



-- 


Cheers

Tony
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: