; 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 <
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
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
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
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
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
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
>> > /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
/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 ?
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
>
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
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.
>
>
> -------
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
can you post the html generated from your action and jsp?
l="User"
>> >>>list="users" name = "user.id"
>> >>> emptyOption="false"
>> >>>listKey = "id" value = "user.id"
>> >>>
rs" name = "user.id"
>>>>> emptyOption="false"
>>>>>listKey = "id" value = "user.id"
>>>>>headerKey="None" multiple="false"
>>>&g
tiple="false"
> >>> theme="simple"/>
> >>>
> >>>
> >>>
> >>> >>> theme="simple" />
> >>>
>
t;id" value = "user.id"
>>>>headerKey="None" multiple="false"
>>>> theme="simple"/>
>>>>
>>>>
>>>>
>>>>
t;>>headerKey="None" multiple="false"
>>> theme="simple"/>
>>>
>>>
>>>
>>> >> theme=&q
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
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:
>
>
&
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
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
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
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
"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
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
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
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
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
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
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
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
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
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
35 matches
Mail list logo