You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Patrick J. Maloney (JIRA)" <ji...@apache.org> on 2007/04/24 22:34:43 UTC

[jira] Created: (WW-1896) Ajax forms do not submit

Ajax forms do not submit
------------------------

                 Key: WW-1896
                 URL: https://issues.apache.org/struts/browse/WW-1896
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.6
         Environment: FF 1.5, IE6
            Reporter: Patrick J. Maloney
            Priority: Critical


See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).

Simple file to recreate issue:
<html>
  <head>
    <title>Login</title>
    <s:head debug="true" theme="ajax"/>
  </head>
  <body>
    <s:form action="Logon" method="POST">
      <s:textfield label="User Name" name="username"/>
      <s:password label="Password" name="password"/>
      <s:submit title="Submit" showLoadingText="false"/>
    </s:form>
  </body>
</html>


Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1896) Ajax forms do not submit

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

Musachy Barroso commented on WW-1896:
-------------------------------------

You need to set theme="ajax" on the submit tag, otherwise it will be a regular submit.

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1896) Ajax forms do not submit

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

Musachy Barroso commented on WW-1896:
-------------------------------------

No problem. Thanks for reporting it anyway :)

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1896) Ajax forms do not submit

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

Musachy Barroso commented on WW-1896:
-------------------------------------

I think you should try asking in the mailing list, so it is a reference for other people with the same problem (I will answer your questions there)

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1896) Ajax forms do not submit

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

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

Sure, I didn't mean to waste your time here.  I found that if I put an id in the body tag and then put that in targets on the submit tag, it worked as it did under the xhtml scheme.

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WW-1896) Ajax forms do not submit

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

Musachy Barroso reassigned WW-1896:
-----------------------------------

    Assignee: Musachy Barroso

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1896) Ajax forms do not submit

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

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

No, setting the theme on the submit tag does not work.  I have theme set to ajax in struts.properties anyway.

I poked into this further and, it appears, the submit is actually working.  Note that I am using the basic tutorial and just adding things to it (yes, a newb) to experiment.  I put some logging into the execute method of my action, which IS getting executed provided I put data into both form fields.  If I leave one of them empty, it does not because my validation xml file identifies them as both being required.  Okay, so it's working as expected...so far.  The actual issue is...why doesn't  my redirect-action for "success" get acted upon when the execute() method returns success?  If I change the theme back to xhtml in struts.properties, it works as explained in the tutorial.

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-1896) Ajax forms do not submit

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

Musachy Barroso closed WW-1896.
-------------------------------

    Resolution: Not A Problem

> Ajax forms do not submit
> ------------------------
>
>                 Key: WW-1896
>                 URL: https://issues.apache.org/struts/browse/WW-1896
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: FF 1.5, IE6
>            Reporter: Patrick J. Maloney
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> See issue WW-1598.  It's not resolved in 2.0.6.  Ajax forms do not submit even when I put 'showLoadingText="false"' on s:submit tag (per WW-1779).
> Simple file to recreate issue:
> <html>
>   <head>
>     <title>Login</title>
>     <s:head debug="true" theme="ajax"/>
>   </head>
>   <body>
>     <s:form action="Logon" method="POST">
>       <s:textfield label="User Name" name="username"/>
>       <s:password label="Password" name="password"/>
>       <s:submit title="Submit" showLoadingText="false"/>
>     </s:form>
>   </body>
> </html>
> Note: I created a new issue since I could not see how to reopen WW-1598 (I'm not the reporter on that one, so maybe that's why).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.