You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dariusz Wojtas (JIRA)" <ji...@apache.org> on 2007/01/06 16:14:17 UTC

[jira] Created: (WW-1598) Ajax forms do not get submitted

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

        

[jira] Reopened: (WW-1598) Ajax forms do not get submitted

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted reopened WW-1598:
----------------------------


To me as well, it looks like only the first example is working.

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

        

[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Dariusz Wojtas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39772 ] 

Dariusz Wojtas commented on WW-1598:
------------------------------------

I have just fetched the latest sources of S2,

    mvn clean -Pextras,plugins,apps
    mvn -Dmaven.test.skip=true -Pextras,plugins,apps

And i have executed the JSP page that comes with showcase
    ajax/remoteforms/index.jsp

I have it modified a bit to compile in my own app - before there were problems with it.
I will attach the file JSP file.

I submit all forms in IE 6,
  1st - passes param
  2 - failure
  3 - failure
  4 - failure
  5 - failure
  6 - failure

Firefox 2
  1st - passes param
  2 - failure
  3 - passes param
  4 - failure
  5 - failure
  6 - failure

In addition to that I get lots of 404 responses for various scripts.
tested with a filter in my app that pronts all requests and their params (GET/POST)

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

        

[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Patrick J. Maloney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40884 ] 

Patrick J. Maloney commented on WW-1598:
----------------------------------------

I still have the problem where the form will not submit when theme is 'ajax', however.

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


[jira] Updated: (WW-1598) Ajax forms do not get submitted

Posted by "Dariusz Wojtas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Wojtas updated WW-1598:
-------------------------------

    Attachment: index.jsp

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

        

[jira] Updated: (WW-1598) Ajax forms do not get submitted

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1598:
---------------------------

    Fix Version/s: 2.0.3

> 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
>             Fix For: 2.0.3
>
>
> 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

        

[jira] Updated: (WW-1598) Ajax forms do not get submitted

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1598:
---------------------------

    Fix Version/s:     (was: 2.0.3)
                   2.0.x

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

        

[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40289 ] 

Ted Husted commented on WW-1598:
--------------------------------

Is this resolved in 2.0.6? 


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


[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Patrick J. Maloney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40883 ] 

Patrick J. Maloney commented on WW-1598:
----------------------------------------

In 2.0.6, I was always getting "Could not load 'dojo.widget.html.Tooltip'; last tried '__package__.js' " error.  I updated the two form-close.ftl files in the core jar, replacing 'dojo.widget.html.Tooltip' with 'dojo.widgetTooltip' and this error went away.  Was this the correct solution?

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


[jira] Resolved: (WW-1598) Ajax forms do not get submitted

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-1598.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.7)
                   2.0.6

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


[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (WW-1598) Ajax forms do not get submitted

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-1598.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

This has been fixed by updating the dojoRequire.js file.  Please reopen if it is still a problem

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

        

[jira] Commented: (WW-1598) Ajax forms do not get submitted

Posted by "Edward He (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41363 ] 

Edward He commented on WW-1598:
-------------------------------

I get an 404 on /struts/dojo/dojo.js today, but it was fine earlier. Because I changed filter url-pattern in web.xml, dojo js files requests which matches the pattern "/struts/dojo/*" will not go through struts FilterDispatcher. So check your web.xml and make sure all dojo js file requests are going through struts filter. Hope this information is helpful.

> 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
>            Assignee: Don Brown
>            Priority: Critical
>             Fix For: 2.0.6
>
>         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.


[jira] Updated: (WW-1598) Ajax forms do not get submitted

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1598:
---------------------------

    Fix Version/s:     (was: 2.0.x)
                   2.0.7

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