Hi All,
I would appreciate your IMMEDIATE help on this.
Ajax form submission does NOT occur if it contains a struts2-file tag
(the form gets submitted and expected content correctly shows up in the
target div IFF the file tag is removed). Code snippet below (struts
2.1.8,struts2-dojo-plugin-2.1.6.jar).
----------------------------
<s:form theme="simple" method="post" id="f2"
enctype="multipart/form-data" >
<table>
<tr>
<td>
<s:select name="dummyDay" list="%{DummyDays}"
cssClass="tdfont"
onchange="javascript:dojo.event.topic.publish('showVendorDetail')" />
</td>
<td>
<s:file id="xx" name="yy" cssClass="tdfont" />
</td>
</tr>
</table>
<s:url id="d_url" action="loadvndrwebsite" />
<sx:div id="vendorDetails" href="%{d_url}" autoStart="false"
listenTopics="showVendorDetail" updateFreq="100" highlightColor="#ddaaba"
formId="f2">
</sx:div>
</s:form>
----------------------------
Thanks much,
Sayan