using the dojo plugin and an <sx:submit> inside an <sx:div>, executing the 
submit causes two requests to be generated
---------------------------------------------------------------------------------------------------------------------

                 Key: WW-2305
                 URL: https://issues.apache.org/struts/browse/WW-2305
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.x
         Environment: Browser = Firefox 2.0.0.9
Server = Ubuntu 6.06LTS, apache-tomcat-5.5.17

            Reporter: Jim Redfern
            Assignee: Musachy Barroso


<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<html>
<head>
        <link rel="stylesheet" href="style.css" type="text/css" />
        <sx:head cache="true" compressed="false"/>
</head>
<body>
<sx:div id="centreCellDiv" cssClass="centreCell">
        <s:form action="simpleSearch" validate="false">
                <s:textfield label="Embryo name" name="embryo_name" 
cssStyle="width:100%;" size="120" />
                <sx:datetimepicker label="Created on" 
name="record_creation_date" displayFormat="dd-MM-yyyy" />                       
                                  
                <sx:datetimepicker label="Dissection date" 
name="dissection_date" displayFormat="dd-MM-yyyy" />                            
                                     
                <s:textfield label="Comment" name="comment" 
cssStyle="width:100%;" size="120" />
                <s:textfield label="Any text field" name="any_text_field" 
cssStyle="width:100%;" size="120" />
                <sx:submit value="Search" targets="resultList1" />      
        </s:form>       
</sx:div>
        <s:div cssClass="resultList" id="resultList1">
        </s:div>
</body>
</html>

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

Reply via email to