struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rochak Sethi" <Rochak_Se...@infosys.com>
Subject RE: Submitting value with Graphical Buttons
Date Thu, 05 Jun 2003 06:56:02 GMT

hi ,
	a graphical button can be put inside a hyperlink tag and onclick() function can be called

eg.
	<a href="something" ><img src="something" onclick=fnSubmitForm()></a>

and in javascript u can make this function :

	fnSubmitForm()
{
 		document.formname.submit();
}
i am not too sure if i am tellng u something u dont know but i guess this shud work.


tc

 


-----Original Message-----
From: Manuel Lenz [mailto:LzM@viessmann.com]
Sent: Thursday, June 05, 2003 12:20 PM
To: Struts Users Mailing List
Subject: Submitting value with Graphical Buttons




Hi to all,
I still have problems with submitting values by clicking graphical buttons.
By using javascript there must be an function named "on click ...." which
sets a value into a FormBean by pressing a graphical button.
To get a forwarding page a submit must be initialized too. A link to this
page might also work.
The value must be a constant one to identiy the page from which the user
has submitted.

Has anybody an idea how this works?

Greetings,
Manuel



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message