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 (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 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
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 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 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 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 Steven Yang
can you post the html generated from your action and jsp?

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-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-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 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-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-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
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 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 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 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
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
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 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 <