The value is only submitted in Netscape-based-Browsers like Mozilla. Internet Explorer doesnīt submit this value-Tag in http-post.
Cheers, Manuel |---------+----------------------------> | | | | | | | | | | |[EMAIL PROTECTED] | | |05.06.2003 11:04 | | |Bitte antworten an "Struts | | |Users Mailing List" | | | | |---------+----------------------------> >----------------------------------------------------------------------------------------------------------------------------| | | | An: [EMAIL PROTECTED] | | Kopie: | | Thema: RE: RE: Submitting value with Graphical Buttons | >----------------------------------------------------------------------------------------------------------------------------| try this one ... <input src="path to image " type="image" name="somename" value="somevalue"> Regards guru -----Original Message----- From: Vijay Pawar [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 10:05 To: Struts Users Mailing List Subject: RE: RE: Submitting value with Graphical Buttons Hi, why does ur following code contain DEFANGED_ Is this in ur actual code also? if it is then scripts will not work. try removing all instances of DEFANGED_ cheers ! Vijay > > Hi, > I have seen some examples like the one below, > but no one works with struts. I donīt know how to address the form beans > field. And I habe to specify the paramīs name Iīd like to save. > I tried this code, but it doesnīt work: > > <a href="#" DEFANGED_STYLE="text-decoration:none;" > DEFANGED_OnClick="DEFANGED_javascript:document.testForm.fieldname.value > ='page.jsp'; > document.testForm.submit()"> > > Where is the error? > How do I save a value in an FormBean by clicking a button? > > Manuel > > > > |---------+----------------------------> > | | | > | | | > | | | > | |"Rochak Sethi" | > | |<[EMAIL PROTECTED]> | > | |05.06.2003 08:56 | > | |Bitte antworten an "Struts | > | |Users Mailing List" | > | | | > |---------+----------------------------> > > --------------------------------------------------------------------------- -------------------------------------------------| > | > | > | An: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > | > | Kopie: > | > | Thema: RE: Submitting value with Graphical Buttons > | > > --------------------------------------------------------------------------- -------------------------------------------------| > > > > > > hi , > a graphical button can be put inside a hyperlink tag and > DEFANGED_Onclick() function can be called > eg. > <a href="something" ><img src="something" > DEFANGED_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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]