Re: submit form with anchor

2008-12-03 Thread Kibo
<s:form action="myAction/#p" > ... 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 su

submit form with anchor

2008-12-02 Thread Kibo
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 label "Save" and save values from form. It work correct. Sec

Problem Fileupload, submit form remote

2007-07-06 Thread Gessé
Hi, I am with a problem on fileupload. When the form is submited with theme="ajax", the class action is executed correctly, but the return is a [Object HTMLDocument]. When the form is submited when theme="simple", it functions perfectly. Anybody already it passed to this problem? Sorry for m

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Musachy -- I agree. It's just so frustrating when you have to fool around to get a feature in S2 to work. I am a Java Architect currently involved in a teaching engagement. Who would I contact to see about writing a Struts2 book? I see this as a venture that might be worthwhile. Scott On 3

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
I have heard that some books are on their way, but I don't know more than that. The wiki has a lot of information, you just have to browse around a little bit, and ask here when you don't find something :) regards musachy On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Don't get me wr

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Paul Saumets
blems like you're presently facing. Regards, Paul _ From: [EMAIL PROTECTED] To: Struts Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Thu, 08 Mar 2007 12:39:50 -0500 Subject: Re: AJAX Theme / submit form to new page? Don't get me wrong -- I think S2 is a giant step forward af

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Don't get me wrong -- I think S2 is a giant step forward after having used S1 for years. However, the hodge podge of limited "and simple" examples and no available courses or books, makes learning the framework quite a challenge. Do you know if anyone has a book in the works? Do you know of an

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
I'm not sure that I follow. This link: http://struts.apache.org/2.x/docs/ajax-tags.html has been posted here many times, there is a link to it int the documentation: http://struts.apache.org/2.x/docs/guides.html and the showcase has several examples. Could it be more confusing? oh yeah. If you

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread stanlick
Could this be any more confusing? Unless someone documents all the idiosyncracies, folks are going to give up on Struts2 and adopt RoR! I have read all the docs/wikis on the S2 site and even poured over the showcase code. I worked three evenings this week trying to figure out how to incorporate

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
Am Donnerstag, 8. März 2007 schrieb Piero Sartini: > But my form tag contains theme="ajax" because of the validation. is it > right to make the submit button theme="css_xhtml" to avoid the ajax-submit? it needs to be "xhtml" theme on the submit button. not very elegant in my oppinion - but it work

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
Yes musachy On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote: But my form tag contains theme="ajax" because of the validation. is it right to make the submit button theme="css_xhtml" to avoid the ajax-submit? Am Donnerstag, 8. März 2007 schrieb Musachy Barroso: > Just use the regular submi

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
But my form tag contains theme="ajax" because of the validation. is it right to make the submit button theme="css_xhtml" to avoid the ajax-submit? Am Donnerstag, 8. März 2007 schrieb Musachy Barroso: > Just use the regular submit tag. (no theme="ajax"). > > musachy > > On 3/8/07, Piero Sartini <

Re: AJAX Theme / submit form to new page?

2007-03-08 Thread Musachy Barroso
Just use the regular submit tag. (no theme="ajax"). musachy On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote: I am using the ajax theme mainly because of the validator and some features like tabbed pane etc. But if I submit a form, I want to submit that form and go to the result of the acti

AJAX Theme / submit form to new page?

2007-03-08 Thread Piero Sartini
I am using the ajax theme mainly because of the validator and some features like tabbed pane etc. But if I submit a form, I want to submit that form and go to the result of the action - not load it into a div. the result gets decorated again, and I do not want to force the users into activating

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

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

2006-06-05 Thread fea jabi
Want to submit the form when user clicks on a link before entering Action class. How to do this? Thanks. _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ---

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
erties of the object. When user selects a property and clicks the Add Property button, I call checkProp() to check if it already added to the object. If yes, I alert user and don't submit form; if no, I call form.submit(). I found that submitAction="" if the form is submitted this

Re: Submit form with and

2005-09-23 Thread Laurie Harper
ct. When user selects a property and clicks the Add Property button, I call checkProp() to check if it already added to the object. If yes, I alert user and don't submit form; if no, I call form.submit(). I found that submitAction="" if the form is submitted this way. I tried

Re: Submit form with and

2005-09-23 Thread Frank W. Zammetti
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 it already added to the object. If yes, I alert user and don't submit form; if

Re: Submit form with and

2005-09-23 Thread Laurie Harper
is 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 it already added to the object. If yes, I alert user and don't submit form;

Re: Submit form with and

2005-09-23 Thread Frank W. Zammetti
to check if it already added to the object. If yes, I alert user and don't submit form; if no, I call form.submit(). I found that submitAction="" if the form is submitted this way. I tried to do form.submitAction.value = "Add Property" before submit(), but that didn&#x

Re: Submit form with and

2005-09-23 Thread Laurie Harper
When user selects a property and clicks the Add Property button, I call checkProp() to check if it already added to the object. If yes, I alert user and don't submit form; if no, I call form.submit(). I found that submitAction="" if the form is submitted this way. I tried t

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

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

Submit form with and

2005-09-22 Thread Catherine
Hi, I defined a variable in my ActionForm as "submitAction". And I have serveral buttons in my form as below. This works and I get submitAction="Save". function show(url) { window.location.href = url } This also works since

Re[2]: submit form

2005-07-20 Thread Sergey Livanov
Jeff, The target is to define functional buttons because the staff used to such combinations. There are not sumbit buttons in my application. It is controlled by images. In whole it is necessary to create windows interface which is usual with control buttons ( CTRL+S-save, CRTL-C - copy, CTRL-F fi

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

submit form

2005-07-18 Thread Sergey Livanov
How can I submit html:form by pressing CTRL+S ? -- regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:28 To: user@struts.apache.org Subject: RE: using html link to submit form and params The href="javascript:document.{Form Name}.submit();" will allow me to submit the form but how would I send the request parameter through which t

RE: using html link to submit form and params

2005-05-12 Thread Faisal.Shoukat
al Message- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:23 To: 'Struts Users Mailing List' Subject: RE: using html link to submit form and params Get rid of the forward, I tend to use just HTML tags for this, but it should work if you lop off the forward,

RE: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
to submit form and params Would I use the href tag in addition to using the forward tag within the link? -Original Message- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:16 To: 'Struts Users Mailing List' Subject: RE: using html link to s

RE: using html link to submit form and params

2005-05-12 Thread Faisal.Shoukat
Would I use the href tag in addition to using the forward tag within the link? -Original Message- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:16 To: 'Struts Users Mailing List' Subject: RE: using html link to submit form and params If set

RE: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
D] [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:12 To: user@struts.apache.org Subject: using html link to submit form and params I have a search page which allows the user to perform multiple actions. i.e The user can select a returned row and then he can edit or delete via a link. However if

using html link to submit form and params

2005-05-12 Thread Faisal.Shoukat
I have a search page which allows the user to perform multiple actions. i.e The user can select a returned row and then he can edit or delete via a link. However if I use the following link tag in my jsp: This is encompassed within a form tag. The struts config has the following: and:

RE: Return key pressed and default submit form

2005-03-20 Thread Mili Aggarwal, Noida
immediately by return e-mail and delete it from your computer. -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 10:48 PM To: Struts Users Mailing List Subject: Re: Return key pressed and default submit form Nobody knows about this simple question

RE: Return key pressed and default submit form

2005-03-17 Thread Glenn Wilson
t should disable the functionality (assuming that button doesn't get focus at some point): Hope that helps, Glenn -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 9:18 AM To: Struts Users Mailing List Subject: Re: Return key pressed and default submit

RE: Return key pressed and default submit form

2005-03-17 Thread Schuster Joel M Contr ESC/NDC
Google is your friend :) http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html > -Original Message- > From: Gaet [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 17, 2005 10:18 AM > To: Struts Users Mailing List > Subject: Re: Return key pressed and defa

Re: Return key pressed and default submit form

2005-03-17 Thread Gaet
Nobody knows about this simple question? TIA - Original Message - From: "Gaet" <[EMAIL PROTECTED]> To: "Mailing List Struts" Sent: Thursday, March 17, 2005 9:03 AM Subject: Return key pressed and default submit form Hi, I a have a page with a form and when

Return key pressed and default submit form

2005-03-17 Thread Gaet
Hi, I a have a page with a form and when I click the return button of my keyboard it submits the first button of my form... how to change the default button or disable the return key action? Thanks

Auto-Submit Form when loading JSP page

2004-09-06 Thread Tom Holmes Jr.
I am a Struts newbie, and I have made great strides with the book: "Jarkarta Struts for Dummies" by Mike Robinson and Ellen Finklestein. They have an application called MusicListCollection and I have been using that to help me figure out Struts. One of the pages is called musiclist.jsp, this is a

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
- 243 ] [EMAIL PROTECTED] -Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 5:42 PM To: 'Struts Users Mailing List' Subject: RE: NEWBIE - How to submit form and display results in popup window with no browser decorations. Thanks Anirudh

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
g List' Subject: RE: NEWBIE - How to submit form and display results in popup window with no browser decorations. You could use a javascript function to achieve this.. function Help(document,val) { window.open('Action.do&_contextId='+val,'win','toolbar=no,location=n

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
--Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 5:16 PM To: 'Struts Users Mailing List' Subject: NEWBIE - How to submit form and display results in popup window with no browser decorations. Folks, >From browsing the list archive I can s

NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Folks, >From browsing the list archive I can see that this sort of questions gets asked frequently. I looked at the solutions but none seem, to fit my case: I am trying to implement a popup window context-sensitive help system for a struts app. My solution so far is to have a help button in it

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
code so I cant remember all the other options I looked at at the time, so maybe there is a better way to achieve it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 14 May 2004 13:44 To: Struts Users Mailing List Subject: submit form question Hi experts

submit form question

2004-05-13 Thread subramaniam . o
Hi experts,         How to submit the form when the user closes the browser window, before closing the browser window i want to submit the form. Which _javascript_ event should i  use. i tried using onBeforeUnload(), the problem is that this event gets fired even when the user goes to another pag

RE: Using GET method to submit form in Struts

2004-04-13 Thread Andrew Hill
transparently switch from a post to a get without needing to change that code in your action. :-) -Original Message- From: Shyamal Shah [mailto:[EMAIL PROTECTED] Sent: Tuesday, 13 April 2004 22:29 To: [EMAIL PROTECTED] Subject: Using GET method to submit form in Struts Can I submit form using

Using GET method to submit form in Struts

2004-04-13 Thread Shyamal Shah
Can I submit form using GET method? I want to do following: http://mywebsite.com/actionmapping.do?serviceid=M12221 My question is, if I set action type as GET and then submit it, how will my action class read the serviceid value? Thanks