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
ajax. >> >> instructs struts to include the dojo javascripts, >> and sets the default theme to ajax. >> instructs struts to include client-side >> javascript validation (or possibly ajax validation; I can't recall if >> that requires the theme on the

Re: Form submitted twice (no AJAX!)

2008-11-20 Thread Milan Milanovic
ll if > that requires the theme on the form itself or not). > > Viewing the source of your page would tell you this. Firefox with > Firebug will tell you what's happening. > > Clean it up and see how you go. > > > -------

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
l="User" >> >>>list="users" name = "user.id" >> >>> emptyOption="false" >> >>>listKey = "id" value = "user.id" >> >>>

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
rs" name = "user.id" >>>>> emptyOption="false" >>>>>listKey = "id" value = "user.id" >>>>>headerKey="None" multiple="false" >>>&g

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread diogo pontual
tiple="false" > >>> theme="simple"/> > >>> > >>> > >>> > >>> >>> theme="simple" /> > >>> >

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
t;id" value = "user.id" >>>>headerKey="None" multiple="false" >>>> theme="simple"/> >>>> >>>> >>>> >>>>

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Gianluca Musella
t;>>headerKey="None" multiple="false" >>> theme="simple"/> >>> >>> >>> >>> >> theme=&q

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
me="simple" /> >> >> >> >> And when user click submit button, this form get submitted twice, i.e. >> showReport form action method is called twice! I'm NOT USING AJA

Re: Form submitted twice (no AJAX!)

2008-11-19 Thread diogo pontual
en 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. > > In my struts.xml I have: > > &

Form submitted twice (no AJAX!)

2008-11-19 Thread Milan Milanovic
report.jsp /pages/reports/chooseReport.jsp What is the problem here ? -- View this message in context: http://www.nabble.com/Form-submitted-twice-%28no-AJAX%21%29-tp20584806p20584806.html Sent from the Struts - User mailing list archive at

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

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

form submitted twice

2006-01-06 Thread Faisal Shoukat
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 code in the JSP is as follows: Javascript function called when submitting form: funct

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
ion is called ONLY if the ActionForm (UserForm) validates (returns no ActionError objects). Makes sense? Martin- - Original Message - From: "Dom Incollingo" <[EMAIL PROTECTED]> To: "Struts User" Sent: Saturday, April 02, 2005 6:34 PM Subject: Form Submitted Twice Hell

Re: Form Submitted Twice

2005-04-03 Thread Martin Gainty
ot;Struts User" Sent: Saturday, April 02, 2005 6:34 PM Subject: Form Submitted Twice > Hello, > > I'm using Struts 1.2.4 (along with the validator framework), and I've > noticed that for my forms that do a Post, the action class is executed > twice. I put log stat

Form Submitted Twice

2005-04-02 Thread Dom Incollingo
Hello, I'm using Struts 1.2.4 (along with the validator framework), and I've noticed that for my forms that do a Post, the action class is executed twice. I put log statements in my Action class, in the validator classes, in the Struts ActionServlet, and in the JSP to try to figure out what is