You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "xuxiankun (JIRA)" <ji...@apache.org> on 2009/10/02 03:45:55 UTC

[jira] Created: (WW-3270) sx:submit and s:file don't work together

sx:submit and s:file don't work together
----------------------------------------

                 Key: WW-3270
                 URL: https://issues.apache.org/struts/browse/WW-3270
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.1.6
         Environment: tomcat java6.0
            Reporter: xuxiankun
            Priority: Critical


This is a extrange behavior when using the file tag.... 
s:submit works but sx:submit does not. 
Actually sx:submit does nothing. does not even return error. nothing 
happens.(the button is pressed but nothing happens) 
Why the following does not work? (the code is short ) 

<s:form method="post" action="UploadFile" enctype="multipart/form-data" > 
        <s:file name="upload" label="File"/> 
        <s:submit value="normalSUBMIT"/>  <!-- THIS WORKS, I get SUCCESS and 
a new jsp rendered--> 
        <sx:submit value="ajaxSUBMIT" targets="showUploadFileForm_divId" /> 
<!-- THIS NOT WORKS --> 
</s:form> 

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


[jira] Resolved: (WW-3270) sx:submit and s:file don't work together

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

Musachy Barroso resolved WW-3270.
---------------------------------

    Resolution: Not A Problem

please search the user mailing list, there are many, many threads about this

> sx:submit and s:file don't work together
> ----------------------------------------
>
>                 Key: WW-3270
>                 URL: https://issues.apache.org/struts/browse/WW-3270
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.6
>         Environment: tomcat java6.0
>            Reporter: xuxiankun
>            Priority: Critical
>
> This is a extrange behavior when using the file tag.... 
> s:submit works but sx:submit does not. 
> Actually sx:submit does nothing. does not even return error. nothing 
> happens.(the button is pressed but nothing happens) 
> Why the following does not work? (the code is short ) 
> <s:form method="post" action="UploadFile" enctype="multipart/form-data" > 
>         <s:file name="upload" label="File"/> 
>         <s:submit value="normalSUBMIT"/>  <!-- THIS WORKS, I get SUCCESS and 
> a new jsp rendered--> 
>         <sx:submit value="ajaxSUBMIT" targets="showUploadFileForm_divId" /> 
> <!-- THIS NOT WORKS --> 
> </s:form> 

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