Re: submit form with anchor

2008-12-03 Thread Kibo
... Kibo wrote: > > Hi konference > > I use Struts 2.0. I need submit form with anchor. I know that stuts tag > form dont support atribute anchor, but how do I do it? > > describe: > I have long form. I have two submit buttons inside. > First button has lab

Re: submit form on click of a link before Action class is executed

2006-06-05 Thread Scott Van Wart
fea jabi wrote: Want to submit the form when user clicks on a link before entering Action class. How to do this? Thanks. If I understand you right, you could use JavaScript: function onClickLink() { document.myForm.submit(); } <%-- Associated with myForm --%> <%-- ... --%> Link

Re: Submit form with and

2005-09-24 Thread Jason Lea
I like the tag due to the ability to have markup inside the button, except that it is no use because IE doesn't follow the standard. You can use with fancy html in here like bold for example which makes nice buttons with mark-up and stuff. You can have several of these type="submit" bu

Re: Submit form with and

2005-09-23 Thread Frank W. Zammetti
Ah, gotcha :) No worries... I agree, I would have expected them to be equivalent too. I frankly have never used the element, so I guess it never came up. Not sure why, just have always done it the other way out of habit. Oh well, just one of a million details to keep straight! Frank Lau

Re: Submit form with and

2005-09-23 Thread Laurie Harper
No, *I* confused us both I think... I was talking about the HTML element, not the element... Seems odd they wouldn't be equivalent, but still! L. Frank W. Zammetti wrote: You almost had me convinced Laurie :) http://www.google.com/search";> Clicking on the button DOES NOT submit

Re: Submit form with and

2005-09-23 Thread Frank W. Zammetti
You almost had me convinced Laurie :) http://www.google.com/search";> Clicking on the button DOES NOT submit the form. Interestingly though, and I don't think I was aware of this actually, hitting return DOES submit it. This seems wrong to me... To my way of thinking a "button" sho

Re: Submit form with and

2005-09-23 Thread Laurie Harper
Sorry, but this just isn't true... At least when there's no Javascript involved, a button acts just like a 'submit'-type input: clicking it submits the form, and a request parameter is submitted corresponding to the button that was clicked (and only the one that was clicked). Buttons may inter

Re: Submit form with and

2005-09-23 Thread Frank W. Zammetti
Laurie Harper wrote: Catherine wrote: 3. onclick="javascript:checkProp()"> This is my real problem. I have a single selection dropdown menu which contains the allowed properties of the object. When user selects a property and clicks the Add Property button, I call checkProp() to check if i

Re: Submit form with and

2005-09-23 Thread Laurie Harper
Catherine wrote: Hi, I am posting from roomity. Somehow my origainal post was truncated. Here is my question. I have several buttons in my form. 1. This is fine, I get submitAction="Save" when action is invoked. 2. Function show(url) is defined as in my first post. I found that the

Re: Submit form with and

2005-09-23 Thread Michael Jouravlev
1. At most one submit element is submitted in a form. 2. If you submit form without activating a particular submit element, a form may be submitted with no submit elements sent to server. 3. If you do default submit, some browsers send submit element which was defined first. 3. I don't know what is

Re: Submit form with and

2005-09-22 Thread Frank W. Zammetti
Nope, setting href won't submit a form. In fact, I'm almost completely certain it results in a GET, not a POST Frank Dave Newton wrote: Catherine wrote: function show(url) { window.location.href = url } Does setting the href of the window's location actually submit a form? What happ

Re: Submit form with and

2005-09-22 Thread Dave Newton
Catherine wrote: function show(url) { window.location.href = url } Does setting the href of the window's location actually submit a form? What happens if you actually call submit on the form? Dave - To unsubscribe, e

Re: submit form

2005-07-19 Thread Glen Mazza
Thanks for the information! Glen Jeff Beal wrote: Mnemonics are onlly non-standard because most people don't use them! Our application uses them all over the place, and our users love us for it. W3C accessibility guidelines strongly recommend heavy usage of mnemonics, also. That said, the s

Re: submit form

2005-07-19 Thread Jeff Beal
Mnemonics are onlly non-standard because most people don't use them! Our application uses them all over the place, and our users love us for it. W3C accessibility guidelines strongly recommend heavy usage of mnemonics, also. That said, the standard modifier key for mnemonics is Alt, not Ctrl, an

Re: submit form

2005-07-18 Thread Glen Mazza
Still, mnemonics are non-standard for web applications, no? This doesn't seem right. Glen Niall Pemberton escribió: The short and not v.helpful response is you can't submit - its just a JSP tag that renders a HTML element and has nothing to do with the submit process. Some of the Struts ta

Re: submit form

2005-07-18 Thread Martin Gainty
Sergey try "javascript:testKeyCode(evt)" onclick = "javascript:testKeyCode(evt)" />

Re: submit form

2005-07-18 Thread Niall Pemberton
The short and not v.helpful response is you can't submit - its just a JSP tag that renders a HTML element and has nothing to do with the submit process. Some of the Struts tags have the "accesskey" attribute which defines a key that can be used with the accelerator key (usually ALT) to invoke a

RE: submit form question

2004-05-14 Thread Yves Sy
-Yves- > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 2:03 PM > To: Struts Users Mailing List > Subject: RE: submit form question > > Yes, its a difficult one this. > > (Afaik) Your only hope is onBeforeUnload(), but

RE: submit form question

2004-05-13 Thread Andrew Hill
Yes, its a difficult one this. (Afaik) Your only hope is onBeforeUnload(), but in most browsers I have tried, getting the browser to submit the form at this point in time simply didnt work properly for me (ie: it didnt submit!). Does submit() work for you from inside a beforeUnload handler? If so