Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
; newton.dave wrote: >> >> Those aren't links. They're text. That's why I asked if everything came >> through okay. >> >> >> --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> >>> From: Milan Milanovic <

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
an Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: Form submitted twice (no AJAX!) >> To: user@struts.apache.org >> Date: Friday, November 21, 2008, 10:19 AM >> There is no menu code, just those two li

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Dave Newton
The point is that I didn't (and still don't) believe the text is being rendered appropriately, which is why I said try using pastebin or a similar service. --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > Yes, you are right. They are not copied well. This is exact code: > > /m

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
wrote: > > Those aren't links. They're text. That's why I asked if everything came > through okay. > > > --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: Form

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Dave Newton
Those aren't links. They're text. That's why I asked if everything came through okay. --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: Form submitted twice (no AJAX!) > To: u

RE: Form submitted twice (no AJAX!)

2008-11-21 Thread Martin Gainty
v.writeIncludes(true); Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender doe

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: Form submitted twice (no AJAX!) >> To: user@struts.apache.org >> Date: Friday, November 21, 2008, 9:39 AM >> Dear Dave, >> >> I don't understan

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Dave Newton
>> > /myApp/index.jsp Main >>   |  >> > /myApp/j_acegi_logout Logout Is your menu not implemented yet? --- On Fri, 11/21/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: Form submitted twi

Re: Form submitted twice (no AJAX!)

2008-11-21 Thread Milan Milanovic
/20/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > >> From: Milan Milanovic <[EMAIL PROTECTED]> >> Subject: Re: Form submitted twice (no AJAX!) >> To: user@struts.apache.org >> Date: Thursday, November 20, 2008, 3:33 PM >> Why is this form submitte twice ?

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Dave Newton
I don't think that came through properly; perhaps try pastebin or similar. Dave --- On Thu, 11/20/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL PROTECTED]> > Subject: Re: Form submitted twice (no AJAX!) > To: user@struts.apache.org >

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Milan Milanovic
Why is this form submitte twice ? Milan Milanovic wrote: > > Yes, but it is the same when I remove ajax with simple. Here is my jsp > page, there is no AJAX word there and I still get submited twice: > > http://www.w3.org/1999/xhtml"; xml:lang="en"> > > > // Dojo configuration > djCo

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Milan Milanovic
Yes, but it is the same when I remove ajax with simple. Here is my jsp page, there is no AJAX word there and I still get submited twice: http://www.w3.org/1999/xhtml"; xml:lang="en"> // Dojo configuration djConfig = { baseRelativePath: "/myApp/struts/dojo", isDebug: true

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Jeromy Evans
Milan Milanovic wrote: Hi, I have a simple jsp form: And when user click submit button, this form get submitted twice, i.e. showReport form action method is called twice! I'm NOT USING AJAX here, I DON'T HAVE ANY Javascript functions in this page. You D

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Steven Yang
can you post the html generated from your action and jsp?

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
It is defined as "prototype"! diogo pontual wrote: > > Well, some time ago I was faced to the same problem. The workaround was: > define all Action's and Interceptor's scope as prototype in my > applicationContext.xml. > > I hope this help you. > > Diogo Pontual > > On Wed, Nov 19, 2008 at

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
mmm... I don't know. Times ago I've a similar problem. The problem was that ffx3 loads pages two times if there are with empty or null src attribute. Hope this helps. Gianluca 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: > > It is Eclipse integrated browser, I supose that it use IE 7. I tr

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread diogo pontual
Well, some time ago I was faced to the same problem. The workaround was: define all Action's and Interceptor's scope as prototype in my applicationContext.xml. I hope this help you. Diogo Pontual On Wed, Nov 19, 2008 at 3:41 PM, Gianluca Musella < [EMAIL PROTECTED]> wrote: > Do you use ffx or i

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
It is Eclipse integrated browser, I supose that it use IE 7. I tried also with ffx3, and it is the same! Gianluca Musella wrote: > > Do you use ffx or ie or something other? > > 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: >> >> Yes, just like here: >> http://struts.apache.org/2.0.12/docs/s

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
Do you use ffx or ie or something other? 2008/11/19 Milan Milanovic <[EMAIL PROTECTED]>: > > Yes, just like here: > http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html > http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html > > -- > Milan > > > diogo pontual wrote:

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
Yes, just like here: http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html http://struts.apache.org/2.0.12/docs/struts-2-spring-2-jpa-ajax.html -- Milan diogo pontual wrote: > > Are you using Spring with Struts2??? > > > > On Wed, Nov 19, 2008 at 3:32 PM, Milan Milanovic >

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread diogo pontual
Are you using Spring with Struts2??? On Wed, Nov 19, 2008 at 3:32 PM, Milan Milanovic <[EMAIL PROTECTED]>wrote: > > Hi, > > I have a simple jsp form: > > > > > > >From date: displayFormat="dd.MM." > type="date" name="fromDate" label="Od datuma" theme="simple"/> >

RE: form submitted twice

2006-01-06 Thread Garner, Shawn
Use the tag instead of Read here for the difference: http://struts.apache.org/struts-taglib/tagreference-struts-html.html -Original Message- From: Faisal Shoukat [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 10:47 AM To: user@struts.apache.org Subject: form submitted twice H

Re: form submitted twice

2006-01-06 Thread Mark Lowe
I reckon the form is being submitted with the form.submit() and the input type=submit remove this document.pendingRecordForm.submit(); and see if it works for you. Mark On 1/6/06, Faisal Shoukat <[EMAIL PROTECTED]> wrote: > Hi, > > > > I have a problem where for some unknown reason my form is

Re: form submitted twice

2006-01-06 Thread Wendy Smoak
On 1/6/06, Faisal Shoukat <[EMAIL PROTECTED]> wrote: > I have a problem where for some unknown reason my form is submitted > twice. I have a action class which calls a delegate which calls a DAO > class. > To submit the form the following image: > > onclick="setAction('approve')"/> Try onclick

Re: form submitted twice

2006-01-06 Thread gramani
"Faisal Shoukat" <[EMAIL PROTECTED]> wrote on 01/06/2006 11:46:51 AM: > Hi, > > > > I have a problem where for some unknown reason my form is submitted > twice. I have a action class which calls a delegate which calls a DAO > class. > > > > When I press submit the form is submitted. My c

Re: form submitted twice

2006-01-06 Thread atta-ur rehman
any anchors, on the page? any chance the image is within a submit tag/button? how/where your action is forwarding after processing? ATTA On 1/6/06, Faisal Shoukat <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have a problem where for some unknown reason my form is submitted > twice. I have a

Re: Form Submitted Twice

2005-04-03 Thread Dom Incollingo
s null you will pass to Action.execute HTH, Martin- - Original Message - From: "Dom Incollingo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, April 03, 2005 7:30 PM Subject: Re: Form Submitted Twice Martin, My ActionForm subclasses the str

Re: Form Submitted Twice

2005-04-03 Thread Martin Gainty
returned by ActionError Keep in mind if your validate method returns null you will pass to Action.execute HTH, Martin- - Original Message - From: "Dom Incollingo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, April 03, 2005 7:30 PM Subject: Re: Form

Re: Form Submitted Twice

2005-04-03 Thread Dom Incollingo
ssage - From: "Dom Incollingo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, April 03, 2005 4:25 PM Subject: Re: Form Submitted Twice Martin, Thanks very much for the info. I've tried to follow this pattern, both in the servlet-mapping in

Re: Form Submitted Twice

2005-04-03 Thread Martin Gainty
April 03, 2005 4:25 PM Subject: Re: Form Submitted Twice > Martin, > > Thanks very much for the info. > > I've tried to follow this pattern, both in the servlet-mapping in the > web.xml: > > > > pets > /action/* > > > and in the a

Re: Form Submitted Twice

2005-04-03 Thread Dom Incollingo
Martin, Thanks very much for the info. I've tried to follow this pattern, both in the servlet-mapping in the web.xml: pets /action/* and in the action element in the struts-config: Evidently, something is not set up correctly, but it's not obvious

Re: Form Submitted Twice

2005-04-03 Thread Martin Gainty
Dom Apparently the action tag was not setup properly to ensure validation before posting to RequestProcessor To quote James Goodwill and Rick Hightower For the purposes of simplicity, our sample legacy Web resource will be a servlet. Essentially, you want the servlet's doGet method to be called onl