You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jim Redfern (JIRA)" <ji...@apache.org> on 2007/11/08 13:56:36 UTC

[jira] Created: (WW-2305) using the dojo plugin and an inside an , executing the submit causes two requests to be generated

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.


[jira] Resolved: (WW-2305) using the dojo plugin and an inside an , executing the submit causes two requests to be generated

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

Musachy Barroso resolved WW-2305.
---------------------------------

    Resolution: Won't Fix

See user list for many emails related to this problem. Tip: mixing ajax div with ajax submit is not a good idea.

> 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
>         Environment: Browser = Firefox 2.0.0.9
> Server = Ubuntu 6.06LTS, apache-tomcat-5.5.17
>            Reporter: Jim Redfern
>            Assignee: Musachy Barroso
>             Fix For: Future
>
>
> <%@ 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.