html:link vs. html:submit vs. input

2004-03-16 Thread Stuart McGrigor
The JSP code below prints out a nice list of company names, with links called Edit and Delete which call a suitable form with a pair of parameters, one being the action, the other being an identifying property of the company to played with. logic:iterate name=CompanyProfile

RE: html:link instead of html:submit

2004-02-13 Thread Paul McCulloch
2004 19:45 To: Struts Users Mailing List Subject: RE: html:link instead of html:submit Wouldn't query parameters work here? How abt using html:link page=/youraction?buttonName=testButton / HTH.. -jayash -Original Message- From: Dieter Mummenschanz [mailto:[EMAIL

RE: [SPAM] - RE: html:link instead of html:submit - Bayesian Filter detected spam

2004-02-13 Thread Gagné Jean-Christian
PROTECTED] Envoyé : vendredi 13 février 2004 11:36 À : 'Struts Users Mailing List' Objet : [SPAM] - RE: html:link instead of html:submit - Bayesian Filter detected spam I don't beleve this will submit the values in the form's input fields. I've achieved this functionality by having links

RE: html:link instead of html:submit

2004-02-13 Thread Samyukta Akunuru
Users Mailing List' Subject: RE: html:link instead of html:submit I don't beleve this will submit the values in the form's input fields. I've achieved this functionality by having links which use javascript to set the dispatch form value call submit. Paul -Original Message- From

Re: html:link instead of html:submit

2004-02-13 Thread Timothy Stone
: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 19:45 To: Struts Users Mailing List Subject: RE: html:link instead of html:submit Wouldn't query parameters work here? How abt using html:link page=/youraction?buttonName=testButton / HTH.. -jayash -Original Message- From

RE: RE: html:link instead of html:submit

2004-02-13 Thread Gagné Jean-Christian
be in sync with the script) JCG -Message d'origine- De : Voinea, Marina [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 février 2004 15:57 À : 'Struts Users Mailing List' Objet : [SPAM] - RE: html:link instead of html:submit - Bayesian Filter detected spam Paul, I have also been trying

RE: RE: html:link instead of html:submit

2004-02-13 Thread Voinea, Marina
(from struts config)? -Original Message- From: Gagné Jean-Christian [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 11:24 AM To: 'Struts Users Mailing List' Subject: RE: RE: html:link instead of html:submit It looks like my previous answer to this did't make its way to the list

Re: html:link instead of html:submit

2004-02-13 Thread Mark Lowe
- From: Gagné Jean-Christian [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 11:24 AM To: 'Struts Users Mailing List' Subject: RE: RE: html:link instead of html:submit It looks like my previous answer to this did't make its way to the list. Posting again... Works well

RE: html:link instead of html:submit

2004-02-13 Thread Samyukta Akunuru
my action class as to extend Dispatch action. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 1:07 PM To: Struts Users Mailing List Subject: Re: html:link instead of html:submit if you're saying what i think you are function submit(form

html:link instead of html:submit

2004-02-12 Thread Dieter Mummenschanz
Hello, I have a jsp page with some html:submit buttons. The servlet identifies the klicked button by invoking httpservletrequest.getParameter(...). Is there a way to use links in my .jsp page using html:link instead of html:submit? Thx for any help, Dieter -- GMX ProMail (250 MB Mailbox, 50

RE: html:link instead of html:submit

2004-02-12 Thread Samyukta Akunuru
Could you enclose this smaple please! Thanks! -Original Message- From: Dieter Mummenschanz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: html:link instead of html:submit Hello, I have a jsp page with some html:submit buttons

RE: html:link instead of html:submit

2004-02-12 Thread Gopalakrishnan, Jayesh
of html:submit Hello, I have a jsp page with some html:submit buttons. The servlet identifies the klicked button by invoking httpservletrequest.getParameter(...). Is there a way to use links in my .jsp page using html:link instead of html:submit? Thx for any help, Dieter -- GMX ProMail (250 MB

html:submit

2003-12-17 Thread Clark Kent
I am trying to use bean:message for internationalization within the html:submit button like this : html:submit property=physicianSubmit value=bean:message key='csc.button.submit'// There is a key-value pair in the resource bundle. But it seems to display the following error : Attribute

RE: html:submit

2003-12-17 Thread Ben Anderson
: Clark Kent [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: usergroup [EMAIL PROTECTED] Subject: html:submit Date: Wed, 17 Dec 2003 11:53:25 -0800 (PST) I am trying to use bean:message for internationalization within the html:submit button like this : html:submit

Iterate and onClick problem for html:submit

2003-12-12 Thread simon . j . faughnan
: logic:iterate id=item scope=session indexId=index collection='%=session.getAttribute(theList)%' tr TD class=body_textbean:write name=item property=section/ bean:define id=theCode name=item property=title/bean:define html:submit onclick=this.form.hiddenId.value='%=(String) theCode %'; value=Edit

RE: Iterate and onClick problem for html:submit

2003-12-12 Thread Ben Anderson
This is because you can't mix the value of an attribute of a custom tag with both string literal and run time expressions. Instead of this: html:submit onclick=this.form.hiddenId.value='%=(String) theCode %'; value=Edit / something like this should work: c_rt:set var=theCode value=%=(String

RE: Iterate and onClick problem for html:submit

2003-12-12 Thread Wendy Smoak
From: [EMAIL PROTECTED] html:submit onclick=this.form.hiddenId.value='%=(String) theCode %'; value=Edit / If Struts-EL is an option, I think it would look like this: html-el:submit property=someProp onclick=document.forms[0].hiddenId.value=${theCode}; / -- Wendy Smoak

html:submit and html:button componant : value and text label

2003-11-24 Thread Eric BELLARD
hi, i'm dispatch action addicted developper and I go a recurent problem with html:button and html:submit componant. With these componants it's impossible to separate their label and their submitted value. I managed with some javascript like this to invoke the dispatch method i want : // submit

RE: html:submit and html:button componant : value and text label

2003-11-24 Thread Paul McCulloch
November 2003 11:21 To: [EMAIL PROTECTED] Subject: html:submit and html:button componant : value and text label hi, i'm dispatch action addicted developper and I go a recurent problem with html:button and html:submit componant. With these componants it's impossible to separate

html:submit and 2 buttons

2003-11-06 Thread Frers Michael
Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know which button was hit? additionally i want that the buttons get there labels from a property file that works as shown below

RE: html:submit and 2 buttons

2003-11-06 Thread Arik Levin ( Tikal )
You can just use JavaScript passing some parameters You can also try this approach: http://husted.com/struts/tips/003.html -Original Message- From: Frers Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 6:54 PM To: Struts Users Mailing List Subject: html:submit

RE: html:submit and 2 buttons

2003-11-06 Thread Philip Mark Donaghy
] Sent: Wednesday, November 05, 2003 6:54 PM To: Struts Users Mailing List Subject: html:submit and 2 buttons Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know

RE: html:submit and 2 buttons

2003-11-06 Thread Greg Hess
I have often added form properties to represent flags for the different button actions to process. My ActionForm would have two properties update and new: setUpdate(boolean flag){} boolean isUpdate() For the submit buttons: html:submit property=update value=true / If I have to use an image

[Q] HTML:Submit and getter setter methods - can you help?

2003-10-16 Thread Rajesh M Vasudevan
Hi, How do I invoke the getter or setter method of a form bean directly using the html:submit tag? I managed to do this successfully using the html:img tag, but not with html:submit. Thanks Raj

html:submit

2003-10-07 Thread harm
Hi all, How can I name a submit button. I need a name for it, because I want to access it from Javascript. I render the submit button as follows: html:submit styleClass=button value=send! onclick=closing=false; document.correctionForm.action='/advertentieoverzicht/store_correction.do

html:submit - value

2003-09-29 Thread Amit Rana
Hi, How can I tell html:submit (or html:text etc) to pick the value= from the resources file? Am I missing something obvious in the docs? Regards, Amit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Simple html:submit question

2003-08-14 Thread Alex Shneyderman
Use html:image tag. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 6:26 PM To: 'Struts Users Mailing List' Subject: Simple html:submit question How do I use my own image in a html:submit/ or html:cancel/ tag

Re: Simple html:submit question

2003-08-14 Thread Mark Lowe
http://jakarta.apache.org/struts/userGuide/struts-html.html#image On Tuesday, August 12, 2003, at 04:04 PM, Norr, Peter wrote: Any reason why the struts html:submit/ tag does not support the src attribute? html:submit src=myimage.gif/ -Original Message- From: Ravi Kora [mailto:[EMAIL

RE: Simple html:submit question

2003-08-14 Thread Mark Galbreath
Probably because HTML doesn't. -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 11:05 AM To: 'Struts Users Mailing List' Subject: RE: Simple html:submit question Any reason why the struts html:submit/ tag does not support the src attribute

RE: Simple html:submit question

2003-08-14 Thread Norr, Peter
Should I use an onclick method handler to the image tag so I can submit the form?? -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 7:29 AM To: 'Struts Users Mailing List' Subject: RE: Simple html:submit question Use html:image tag

RE: Simple html:submit question

2003-08-14 Thread Alex Shneyderman
; there is more parameters that are submitted with this type of image button) Alex. -Original Message- From: Ravi Kora [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 10:43 AM To: 'Struts Users Mailing List' Subject: RE: Simple html:submit question Ya, u can do that or u can use

Re: Simple html:submit question

2003-08-14 Thread Mark Lowe
http://jakarta.apache.org/struts/userGuide/struts-html.html#submit On Tuesday, August 12, 2003, at 04:04 PM, Norr, Peter wrote: Any reason why the struts html:submit/ tag does not support the src attribute? html:submit src=myimage.gif/ -Original Message- From: Ravi Kora [mailto:[EMAIL

RE: Simple html:submit question

2003-08-14 Thread Ravi Kora
) -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 10:22 AM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: Simple html:submit question Should I use an onclick method handler to the image tag so I can submit the form

RE: Simple html:submit question

2003-08-12 Thread Norr, Peter
Any reason why the struts html:submit/ tag does not support the src attribute? html:submit src=myimage.gif/ -Original Message- From: Ravi Kora [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 10:43 AM To: 'Struts Users Mailing List' Subject: RE: Simple html:submit question Ya

Simple html:submit question

2003-08-11 Thread Norr, Peter
How do I use my own image in a html:submit/ or html:cancel/ tag? -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient

Validator using A href instead of html:submit

2003-07-07 Thread Poon, Johnny
Hi, I'm using trying to use ValidatorActionForm and tile, but the submit button is outside of the form on a different JSP, therefore, I need to submit my form indirectly using a link and javascript (see code below). Neither the client-side javascript nor the server-side validation get called.

Re: Validator using A href instead of html:submit

2003-07-07 Thread Sandeep Takhar
should it be a validatorForm? sandeep --- Poon, Johnny [EMAIL PROTECTED] wrote: Hi, I'm using trying to use ValidatorActionForm and tile, but the submit button is outside of the form on a different JSP, therefore, I need to submit my form indirectly using a link and javascript (see code

RE: Validator using A href instead of html:submit

2003-07-07 Thread Sandeep Takhar
[mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 10:48 AM To: Struts Users Mailing List Subject: Re: Validator using A href instead of html:submit should it be a validatorForm? sandeep --- Poon, Johnny [EMAIL PROTECTED] wrote: Hi, I'm using trying to use ValidatorActionForm

RE: Validator using A href instead of html:submit

2003-07-07 Thread Poon, Johnny
];)); } -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 11:29 AM To: Struts Users Mailing List Subject: RE: Validator using A href instead of html:submit What is the javascript created by the custom tag when looking at the source? I think

RE: Validator using A href instead of html:submit

2003-07-07 Thread Sandeep Takhar
of html:submit What is the javascript created by the custom tag when looking at the source? I think you shouldn't need to call: validateEnterAppInfo1(this) but what happens if you do? maybe there is more than one form? Is the form being submitted and the data is in the form

Re: logic:iterate and html:submit

2003-06-09 Thread Marco Tedone
, 2003 2:09 AM Subject: Re: logic:iterate and html:submit Sorry friend, but it doesnt work too. ServletException in:/common/partyCollection.jsp] Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 19 in the jsp file: /common/partyCollection.jsp

Re: logic:iterate and html:submit

2003-06-09 Thread Rodrigo di Lorenzo Lopes
Thanx very much... I am using another solution now. Actually, to use bean in value, I should use bean:write within html:submit /html:submit Anyway the button would have rendered the hashCode as label when I would like to have passed this value as argument. Marco Tedone writes: Try my code

logic:iterate and html:submit

2003-06-08 Thread Rodrigo di Lorenzo Lopes
Friendly developers, I am substituting html:link to html:submit, to populate the actionForm before to change the action. I would like use html:submit button to edit items of a collection. When I ws using html:link I had specified a property of this item to find its. So... how could I substitute

Re: logic:iterate and html:submit

2003-06-08 Thread Marco Tedone
- Original Message - From: Rodrigo di Lorenzo Lopes [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:34 PM Subject: logic:iterate and html:submit Friendly developers, I am substituting html:link to html:submit, to populate

Re: logic:iterate and html:submit

2003-06-08 Thread Rodrigo di Lorenzo Lopes
Marco Tedone writes: - Original Message - From: Rodrigo di Lorenzo Lopes [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:34 PM Subject: logic:iterate and html:submit Friendly developers, I am substituting html:link

Re: logic:iterate and html:submit

2003-06-08 Thread Marco Tedone
So if this is java code, you should use: html:submit property='%= buttonAddress(address.hash).name%' Edit /html:submit Am I wrong? In any case, if it's a name that you need, have you tried bean:message key=foo? Hope it will help, Marco - Original Message - From: Rodrigo di Lorenzo

Re: logic:iterate and html:submit

2003-06-08 Thread Rodrigo di Lorenzo Lopes
: /td /tr logic:iterate name=valueObjectproperty=addressesid=address tr td /td td html:submit property=editAddress value='%=address.getHash()%' title=Alterar/Alterar/html:submit /td /tr /logic:iterate My real problem

Re: logic:iterate and html:submit

2003-06-08 Thread Marco Tedone
Try: logic:iterate name=valueObjectproperty=addressesid=address bean:define id=buttonName name=address property=hash / tr td /td td html:submit property=editAddress value='%= buttonName %' title=Alterar/Alterar/html:submit /td /tr /logic:iterate - Original Message

Re: logic:iterate and html:submit

2003-06-08 Thread Rodrigo di Lorenzo Lopes
bean:write but nothing works... : ( Marco Tedone writes: Try: logic:iterate name=valueObjectproperty=addressesid=address bean:define id=buttonName name=address property=hash / tr td /td td html:submit property=editAddress value='%= buttonName %' title=Alterar/Alterar

Re: logic:iterate and html:submit

2003-06-08 Thread Rick Reumann
html:submit property=editAddress value='%= buttonName %' title=Alterar/Alterar/html:submit Try % out.print( buttonName.toString() ); % You'd think %= would call the toString() method and everything should be fine, but I've run into this before and forget the reason why just using the scriplet

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-25 Thread Shabbir Khadir Mohammed
in the forms for html:submit tag ? Good morning Shabbir! try this: html:image page=/images/enter.gif property=submit value=Enter/ Regards, Bernhard -Ursprüngliche Nachricht- Von: Shabbir Khadir Mohammed [mailto:[EMAIL PROTECTED] Gesendet: Montag, 24. Februar 2003 09:15 An: Struts Users

How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Shabbir Khadir Mohammed
Hi All Hope all are doing well. I am using following code for form submit in one of the JSP. html:submit property=submit value=Save/ It is displaying normal html button. On clicking this button form will be submitted to corresponding action. Now my question is, Instead of normal html

AW: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Hirschmann, Bernhard
gif image instead of html button in the forms for html:submit tag ? Hi All Hope all are doing well. I am using following code for form submit in one of the JSP. html:submit property=submit value=Save/ It is displaying normal html button. On clicking this button form will be submitted

Re: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Nicolas De Loof
of html button in the forms for html:submit tag ? Hi All Hope all are doing well. I am using following code for form submit in one of the JSP. html:submit property=submit value=Save/ It is displaying normal html button. On clicking this button form will be submitted to corresponding action. Now my

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Mouratidis, Georg
09:28 To: Struts Users Mailing List Subject: Re: How to Show gif image instead of html button in the forms for html:submit tag ? use html:image http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#image Nico. - Original Message - From: Shabbir Khadir Mohammed [EMAIL PROTECTED

Re: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Nicolas De Loof
This should work too : bean:define id=localImage type=String bean:message key=images.buttons.url/ /bean:define html:image page=%= localImage % property=submit/ and this is browser-indepentend. as far as i know input type=image... is IE-specific. input type=image is HTML 3.2, not browser

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Mouratidis, Georg
html:image page=%= localImage % property=submit/ -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003 10:07 To: Struts Users Mailing List Subject: Re: How to Show gif image instead of html button in the forms for html:submit tag ? This should

Re: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Nicolas De Loof
bean:define id=localImage type=String bean:message key=images.buttons.url/ /bean:define html:image page=%= localImage % property=submit/ 1. Might be. dont know. but you should avoid using scriptlets in your code. and this is scriptlet. Not scriplet ! JSP scriptlet is : %

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Mouratidis, Georg
11:38 To: Struts Users Mailing List Subject: Re: How to Show gif image instead of html button in the forms for html:submit tag ? you should, you should... don't forget... philosophical purity should always yield to pragmatism Nicolas De Loof wrote: 1. Might be. dont know. but you should

Re: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Nicolas De Loof
struts came into life. and now i wnat to stop further discussions about this theme. -Original Message- From: Guido [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003 11:38 To: Struts Users Mailing List Subject: Re: How to Show gif image instead of html button in the forms for html:submit

RE: How to Show gif image instead of html button in the forms for html:submit tag ?

2003-02-24 Thread Mouratidis, Georg
Users Mailing List Subject: Re: How to Show gif image instead of html button in the forms for html:submit tag ? Don't feel it as an agression Georg, I agree with you it's a good practice to avoid scriplet in JSP, and myself I never use it and suggest never using it. They're is alway a way to do

html:submit question

2002-12-03 Thread Kevin HaleBoyes
I have a couple of html:submit elements on one html:form. How do I distinguish between the different buttons? Specifically, I have html:submit property=operationEdit Loan/html:submit html:submit property=operationReject Loan/html:submit The form bean has a setOpereration(String) setter method

Re: html:submit question

2002-12-03 Thread Gemes Tibor
2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad: The way it works now, I have to compare the value of the operation property of the form bean against the string that is displayed to the user. That seems a bit fragile - suppose the customer wants the Reject Loan to be Cancel Loan

Re: html:submit question

2002-12-03 Thread Kevin HaleBoyes
--- Gemes Tibor [EMAIL PROTECTED] wrote: 2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad: The way it works now, I have to compare the value of the operation property of the form bean against the string that is displayed to the user. That seems a bit fragile - suppose the

html:submit value not found in request, version 1.02 beta

2002-11-20 Thread Linnea Ahlbeck
Hi! On my jsp pages I have the following code: td align=left valign=bottom width=90% html:submit styleClass=button bean:message key=button.view/ /html:submit /td (On my jsp page I only have one html:form tag) In my SaveAction class I collect the submit value from the request, like

RE: html:submit value not found in request, version 1.02 beta

2002-11-20 Thread Karr, David
PROTECTED]] Hi! On my jsp pages I have the following code: td align=left valign=bottom width=90% html:submit styleClass=button bean:message key=button.view/ /html:submit /td (On my jsp page I only have one html:form tag) In my SaveAction class I collect the submit value

RE: html:submit value not found in request, found a solution

2002-11-20 Thread Linnea Ahlbeck
Hi David! Thanks for your tip. The button.view property in your properties file has been found all the time but I'm not used to add the property attribute to the html:submit tag. When I did that the request parameter was found (and probably created to begin with) and therby able to reach from my

RE: html:submit -- DispatchAction

2002-11-18 Thread Míguel Ángel Mulero Martínez
You can use the html:image tag. Regards, Miguel -Mensaje original- De: Murray, Christopher [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de noviembre de 2002 12:28 Para: 'Struts Users Mailing List' Asunto: html:submit -- DispatchAction How do you customize html:submit tags to use

RE: html:submit -- DispatchAction

2002-11-18 Thread Murray, Christopher
html:image doesn't submit a form to an action ? -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: 18 November 2002 11:51 To: Struts Users Mailing List Subject: RE: html:submit -- DispatchAction You can use the html:image tag. Regards, Miguel

RE: html:submit -- DispatchAction

2002-11-18 Thread Murray, Christopher
Mailing List' Subject: RE: html:submit -- DispatchAction html:image doesn't submit a form to an action ? -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: 18 November 2002 11:51 To: Struts Users Mailing List Subject: RE: html:submit -- DispatchAction

html:submit with an onclick

2002-10-16 Thread Wendy Smoak
was hoping it would evaluate before calling the function. But it doesn't even compile as is. (Then again, I'm looking at the nightly build docs, but using 1.1. Has the RTExpr functionality been added recently?) html:submit property=submit onclick=setAction('Delete Staff

RE: html:submit with an onclick

2002-10-16 Thread Karr, David
Response at end. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:39 AM To: 'Struts Users Mailing List' Subject: html:submit with an onclick I need to set two form properties when a button is clicked. The following works

RE: html:submit with an onclick

2002-10-16 Thread Wendy Smoak
David wrote: And the somewhat more radical position: Use the Struts-EL library. Then, this would look like this: html-el:submit property=submit onclick=setAction('Delete Staff');setKeyToDelete('${staffMember}'); styleClass=deleteButton

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-06 Thread Jerry Jalenak
Martin, Thanks for the confirmation. I have open bugzilla #12360 on this issue Jerry -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 6:13 PM To: 'Struts Users Mailing List' Subject: RE: [BUG] html:submit disabled= requires

[BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Jerry Jalenak
I'm setting the value of the disabled= parameter on a html:submit tag, and I'm getting the following error: Incompatible type for method. Can't convert java.lang.String to boolean. _jspx_th_html_submit_2.setDisabled(buttonStatus); The code in the .JSP looks like

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Jerry Jalenak
the right way to do this? Jerry -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 2:45 PM To: '[EMAIL PROTECTED]' Subject: [BUG] html:submit disabled= requires boolean value? I'm setting the value of the disabled= parameter

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Martin Cooper
From the docs for the html:submit 'disabled' attribute: Set to true if this input field should be disabled. The field in the tag is a boolean, so the value you supply must be convertable to a boolean. The conversion of the string you supply to a boolean is performed

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Jerry Jalenak
) session.getAttribute(buttonStatus); % html:submit property=action value=Update disabled=%=buttonStatus% / (when using a bean) bean:define id=buttonStatus name=myBean property=buttonStatus / html:submit property=action value=Update disabled=%=buttonStatus% / Either way I get

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Martin Cooper
that - unless both Tomcat and Resin suffer from the same bug - we'll need to modify the html:submit tag to take a string value, and deal with the conversion in Struts. If you could submit a bug report to Bugzilla, that will ensure that this issue doesn't get lost. -- Martin Cooper -Original Message

RE: [BUG] html:submit disabled= requires boolean value?

2002-09-05 Thread Martin Cooper
' Subject: RE: [BUG] html:submit disabled= requires boolean value? Hmm. First of all, disregard what I said before about BooleanConverter - that only applies when the form is being submitted, not when it is being rendered. My bad. However, you're right, there is definitely a problem. I've

Re: html:submit problem need help

2002-09-04 Thread Aamir Majeed
I think ur code will work if u just write different value of ur sumit button means html:submit value =login/ html:submit value =signout/ and take value of parameter from request within ur Action class means if (login.equalsIgnoreCase(request.getParameter(submit))){ // login code } else

html:submit and Image instead of button

2002-09-03 Thread Ashish Kulkarni
Hi, I have 4 buttons on an jsp page, but what if i have to use image instead of buttons, like html:submitAdd/html:submit will have a button with Add Text, and then in my Action class i can find out which button has been pressed, but what if i have to use Image instead of a button, like how

RE: html:submit and Image instead of button

2002-09-03 Thread Ravi Kora
Mailing List Subject: html:submit and Image instead of button Hi, I have 4 buttons on an jsp page, but what if i have to use image instead of buttons, like html:submitAdd/html:submit will have a button with Add Text, and then in my Action class i can find out which button has been pressed

html:submit problem need help

2002-09-03 Thread Ashish Kulkarni
Hi, I have 2 buttons on my jsp and i want to find out which button is pressed in my Action class, but i m not getting the submit parameter in request, my code is as below I am 2 buttons on my jsp as below html:form action=/pages/test html:submitLogin/html:submit html:submitsignout

Re: html:submit problem need help

2002-09-03 Thread Dan Walker
is as below I am 2 buttons on my jsp as below html:form action=/pages/test html:submitLogin/html:submit html:submitsignout/html:submit /html:form my struts-config.xml is as below form-bean name=test dynamic=true type=org.apache.struts.validator.DynaValidatorForm form-property name

RE: html:submit and Image instead of button

2002-09-03 Thread Ravi Kora
, 2002 12:21 PM To: Struts Users Mailing List Subject: RE: html:submit and Image instead of button hi But cant i do it in my action class instead in javascript,?? Ravi Kora wrote:Have a javascript function in the href tag like below. The javascript function submitAct will have sth like

Re: html:submit and Image instead of button

2002-09-03 Thread Ted Husted
]] Sent: Tuesday, September 03, 2002 11:50 AM To: Struts Users Mailing List Subject: html:submit and Image instead of button Hi, I have 4 buttons on an jsp page, but what if i have to use image instead of buttons, like Add will have a button with Add Text, and then in my Action class

i18n on html:submit tag

2002-07-08 Thread Lisa van Gelder
Hi all Can anybody tell me how to use i18n with a html:submit tag, so the value of the input is internationalised? It should be a simple thing, but I can't find an attribute in the tag reference that will let me do it. value isn't internationalised, and titleKey just gives it a title

RE: i18n on html:submit tag

2002-07-08 Thread Lisa van Gelder
Don't worry. Worked it out. :) You can put the i18n key in the middle of the tag. html:submitbean:message key=my.key//html:submit That wasn't obvious to me from the user guide! Lisa

Is there a good way to achive a html:submit?

2002-07-03 Thread Hemanth Setty
Is there a good way to achive a html:submit using a href rather than a button? I checked out the attributes for html:link..but could not find any? -h -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Is there a good way to achive a html:submit?

2002-07-03 Thread Joe Germuska
At 11:17 AM -0500 2002/07/03, Hemanth Setty wrote: Is there a good way to achive a html:submit using a href rather than a button? I checked out the attributes for html:link..but could not find any? You'd have to have an onclick handler which used JavaScript to submit the form. It's

html:submit causes errors with javascript form submit

2002-05-22 Thread Gary Bartlett
Just curious - does anybody use the html:submit tag, or do folks generally just use the standard input type=submit tag. The reason I ask is that html:submit does not allow you to specify the name of the button - and as a result all buttons generated with that tag are named 'submit

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Sri Sankaran
Whatever you set the 'property' attribute of the html:submit is translated to the 'name' attribute of the resulting input type=submit tag. Sri -Original Message- From: Gary Bartlett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 3:17 PM To: StrutsUser Maillist Subject

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Gary Bartlett
Thanks, I didn't realize that property translated into the name attribute. GB --- Sri Sankaran [EMAIL PROTECTED] wrote: Whatever you set the 'property' attribute of the html:submit is translated to the 'name' attribute of the resulting input type=submit tag. Sri -Original Message

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Steel, Toby
I think this is a result of browser confusion between an element named 'submit' (the element produced by an html:submit without a property attribute) and the function form.submit(); When using html:submit always specify a property. Then you can have a named request parameter to process

Internationalization and html:submit

2002-04-19 Thread Diego Parrilla
Hi, we are developing an application that uses the i18n capabilities of Struts, and we have found a problem trying to use this capability with the html:submit For instance, if we use in our JSP pages: html:submit property=action value=Accept html:submit property=action value=Cancel

RE: Internationalization and html:submit

2002-04-19 Thread James Mitchell
I can think of 4 ways I might approach this: 1. Have you thought about using different actions to determine which button was pushed? Example: html:form action=/terms/accept html:submit bean:message key=terms.accept/ /html:submit /html:form html:form action=/terms/cancel html:cancel

Re: Internationalization and html:submit

2002-04-19 Thread Chuck Cavaness
Although I'm not real found of this action, I would look at the org.apache.struts.actons.LookupDispatchAction. This is a pre-built action that can be used exactly for what you are trying to do. Chuck At 04:30 PM 4/19/2002 +0200, you wrote: Hi, we are developing an application that uses the

RE: I'm stuck on the html:submit

2002-04-03 Thread theron . kousek
: Subject: RE: I'm stuck on the html:submit 04/02/02 08:52 PM

RE: I'm stuck on the html:submit

2002-04-03 Thread Leonardo Maciel
stuck on the html:submit Hi James: But what if you have multiple html:submit's in your jsp... And supposing only 1 of those submit button's need to have this javascript confirm() popup. How does the onSubmit() at the form level know which submit button-property was set?It would need to do

  1   2   >