RE: html:submit

2003-12-17 Thread Ben Anderson
you can't specifiy a tag as the value of an attribute in another tag. There are a few different ways you could solve this problem. Here's one using jstl and struts-el: c:set var=messy bean:message key='csc.button.submit'/ /c:set html-el:submit property=physicianSubmit value=${messy}/ From:

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

2003-11-24 Thread Paul McCulloch
This is an html issue, rather than a struts one. Read up on how input type=submit/ works for an in depth explanation. Struts provides the LookupDispatchAction which is designed to deal with this issue. Paul -Original Message- From: Eric BELLARD [mailto:[EMAIL PROTECTED] Sent: 24

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 and

RE: html:submit and 2 buttons

2003-11-06 Thread Philip Mark Donaghy
Your action can read the value attribute of your submit tag. This is the label in your case. bean-el:message key=search.new/ Use the request.getParameter to find out which button was clicked. Give each of your submit buttons a different NAME. request.getParameter(NAME) will return the label of

RE: html:submit and 2 buttons

2003-11-06 Thread Greg Hess
: RE: html:submit and 2 buttons Your action can read the value attribute of your submit tag. This is the label in your case. bean-el:message key=search.new/ Use the request.getParameter to find out which button was clicked. Give each of your submit buttons a different NAME

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

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

2002-11-20 Thread Karr, David
I would guess it can't find the button.view property in your properties file. If that was nonexistent, the value would be null. (Note that there is no 1.02 beta version. There's versions 1.02 and 1.1b2 (and the nightly).) -Original Message- From: Linnea Ahlbeck [mailto:[EMAIL

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

2002-11-20 Thread Linnea Ahlbeck
, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 6:41 PM To: Struts Users Mailing List Subject: RE: html:submit value not found in request, version 1.02 beta I would guess it can't find the button.view property in your properties file. If that was nonexistent, the value would

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

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: html:submit problem need help

2002-09-04 Thread Aamir Majeed
if (signout.equalsIgnoreCase(request.getParameter(submit))){ //submit code } Regards Aamir - Original Message - From: Dan Walker [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 10:01 PM Subject: Re: html:submit problem need help I think

RE: html:submit and Image instead of button

2002-09-03 Thread Ravi Kora
Have a javascript function in the href tag like below. html:link href=javascript:submitAct(1) html:img src=your image.gif / /html:link The javascript function submitAct will have sth like below function submitAct(index){ if (index==0) {...} document.forms[0].submit(); }

Re: html:submit problem need help

2002-09-03 Thread Dan Walker
I think this link: http://husted.com/struts/tips/002.htm addresses that issue. -Dan On Tuesday 03 September 2002 11:53, you wrote: 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

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
One trick is to get the ActionForm to do the work: http://husted.com/struts/tips/001.html -Ted. Ashish Kulkarni wrote: 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

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

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.

Re: html:submit/

2002-02-27 Thread Eddie Bush
I believe html:image/ is used for that. - Original Message - From: "Dave Wellman" [EMAIL PROTECTED] To: "Struts Users Mailing List" [EMAIL PROTECTED] Sent: Wednesday, February 27, 2002 2:07 PM Subject: html:submit/ is there a way to use a graphic image in place of the standard button

RE: html:submit/

2002-02-27 Thread Bill Page
I may have some syntax problem, but I'm trying to get the text for a submit button from the message bundle so it can be localized. if I code something like input type=submit value="bean:message key="global.prompt.submit"/" it works I can't figure out how to convert this an

RE: html:submit/

2002-02-27 Thread Saeid Zoonematkermani
input is not working because it probably gets confused with the placements of in the tags. I am guessing that the value is set to 'bean:message key='. You might be able to use a different delimiter such as ' for the value tag. Better yet, use this: html:submit bean:message

Re: html:submit button

2002-02-21 Thread Konstantina Stamopoulou
10 lines of config parameters and two buttons under these. Thank you for your instant reply, Konstantina - Original Message - From: rob [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 12:32 PM Subject: Re: html:submit button You can

Re: html:submit button

2002-02-21 Thread SUPRIYA MISRA
was clicked //do whatever like forward to another actionpage } else { //neither was clicked } From: Konstantina Stamopoulou [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], rob [EMAIL PROTECTED] Subject: Re: html:submit button

RE: html:submit button

2002-02-21 Thread Mattos, John
Hi Konstantina, I don;t know if you have a solution yet, but I have two separate ones for you. The first is more struts oriented. If you have the following in your JSP: !-- JSP Snippet-- html:submit property=btnProcess bean:message key=button.processSuspends / /html:submit html:submit

Re: html:submit button

2002-02-21 Thread stak
] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 3:56 PM Subject: RE: html:submit button Hi Konstantina, I don;t know if you have a solution yet, but I have two separate ones for you. The first is more struts oriented. If you have the following in your JSP

RE: html:submit button

2002-02-21 Thread Christian Velez
Hi Konstantina, The html:submit is used to pass the parameters of the html:form it applies to. Whatever properties you include in your form, they are included in the request parameter. Here is an example: html:form action=/viewElementDesign.do bean:message key='mainMenu.viewDesignPatterns'/

RE: html:submit button

2002-02-21 Thread Maturo, Larry
Hi Konstantina, Since you haven't supplied enough details, I'll assume that you have a table, and each row contains info on one product, plus two buttons, one for displaying info and one for do something with the product. In this case you then make each button look like an array, in your form

Re: html:submit button

2002-02-21 Thread Konstantina Stamopoulou
' [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 5:30 PM Subject: RE: html:submit button Hi Konstantina, Since you haven't supplied enough details, I'll assume that you have a table, and each row contains info on one product, plus two buttons, one for displaying info and one for do something

Re: html:submit tag question

2001-04-05 Thread Jim Crossley
I *think* this is the struts equivalent: html:submit property="%=Constants.SEARCH%" bean:message key="searchResource.search"/ /html:submit You may be able to get by without the property attribute, though. "Nanduri, Amarnath" wrote: Hi all, Is it possible to convert the below HTML

RE: html:submit

2001-03-14 Thread Steve A Drake
On Wed, 14 Mar 2001, Kyle Robinson wrote: In the onchange event of your select I would make it look like onchange="javascript:submit();" Thanks for the idea, but I tried that and still get the Javascript error.