[ https://issues.apache.org/struts/browse/WW-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Newton closed WW-2771. --------------------------- Resolution: Not A Problem Closing this issue for lack of further information. Please re-open or re-file if you can provide a description of what you're trying to accomplish and what, specifically, is broken. Thanks. > target div tag does not generate any response > --------------------------------------------- > > Key: WW-2771 > URL: https://issues.apache.org/struts/browse/WW-2771 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: s: form doesnt with submit does not generate response > content to div tag > Reporter: Martin Gainty > > s:form doesnt generate correct results > <%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %> > <%@ include file="/common/taglibs.jsp"%> > <script text="javascript>function doit { return "display_this" } </script> > <s:div id="traitDiv" cssstyle="width: 100%;" theme="ajax"> </s:div> > <s:form id="form_TraitPage" action="'javascript:doit()'" namespace="/" > method="post"> > <s:radio list="traits" listValue="getText(class.name)" > listKey="class.name" name="traitType"> > </s:radio> > <s:submit id="submitSelectTraitPage" theme="ajax" targets="traitDiv"> > </s:submit> > </s:form> > generates this > <script text="javascript>function doit { return "display_this" } </script> > <s:div id="traitDiv" cssstyle="width: 100%;" theme="ajax"> </s:div> > <s:form id="form_TraitPage" method="post" namespace="/" > action="'javascript:doit()'"> > <s:radio name="traitType" listkey="class.name" > listvalue="getText(class.name)" list="traits"> </s:radio> > <s:submit id="submitSelectTraitPage" targets="traitDiv" theme="ajax"> > </s:submit> > </s:form> > but the response does not display the response text in the div tag defined in > targets > ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.