struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dariusz Wojtas (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-1598) Ajax forms do not get submitted
Date Sat, 06 Jan 2007 15:14:17 GMT
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
            Priority: Critical


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message