[
https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40305
]
Musachy Barroso commented on WW-1598:
-------------------------------------
The problem here was when the "target" of the submit was a parent element, on
which a message ("Loading...") is displayed on the target, deleting the form,
which never got submitted. I added the "showLoadingText" attribute which can be
set to "false" to prevent this situation. By the way I think there was another
ticket for this.
> Ajax forms do not get submitted
> -------------------------------
>
> Key: WW-1598
> URL: https://issues.apache.org/struts/browse/WW-1598
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.2
> Environment: Windows xp, IE 6
> Custom build from S2 trunk as of today
> Reporter: Dariusz Wojtas
> Assigned To: Don Brown
> Priority: Critical
> Fix For: 2.0.7
>
> Attachments: index.jsp
>
>
> Simplef page:
> <html>
> <head>
> <s:head theme="ajax"/>
> </head>
> <body>
> <s:form id="szukajOsobeWniosek" action="/my/index" theme="ajax"
> method="POST">
> <s:hidden name="showSearchForm"/>
> <s:textfield name="aaaaa" label="Aaaaa"/>
> <s:textfield name="name" label="Name"/>
> <s:submit cssClass="btn" value="Szukaj"/>
> </s:form>
> </body>
> </html>
> It renders simple HTML with a form and a button.
> Pressing the button does not submit the page.
> When I submit it under FF I can see that some scripts could not be fetched
> (404):
> GET http://localhost:8080/esu/struts/dojo/struts/widget/DatePicker.js
> GET http://localhost:8080/esu/struts/dojo/struts/widget.js
> GET http://localhost:8080/esu/struts/dojo/struts/__package__.js
> GET http://localhost:8080/esu/struts/dojo/struts.js
> GET http://localhost:8080/esu/struts/dojo/__package__.js
> GET http://localhost:8080/esu/struts/dojo/src/widget/html/Tooltip.js
> GET http://localhost:8080/esu/struts/dojo/src/widget/html.js
> GET http://localhost:8080/esu/struts/dojo/src/widget.js
> GET http://localhost:8080/esu/struts/dojo/src/__package__.js
> GET http://localhost:8080/esu/struts/dojo/src.js
> GET http://localhost:8080/esu/struts/dojo/__package__.js
> Could not load 'dojo.widget.html.Tooltip'; last tried '__package__.js'
> [Break on this error] throw _13||Error(_12);
> dojo.js (line 94)
> Could not load 'struts.widget.DatePicker'; last tried '__package__.js'
> [Break on this error] null
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.