struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2305) using the dojo plugin and an <sx:submit> inside an <sx:div>, executing the submit causes two requests to be generated
Date Mon, 01 Dec 2008 22:55:37 GMT

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


Mime
View raw message