Hello,
I am attempting to use the html:file tag within a Dojo dialog box.
The dojo part seems to work fine but I have a <html:submit> button that
when pressed does nothing. My page submits to a LookupDispatchAction
and the other <html:submit> buttons on the page submit to the action
correctly. The contained in the dialog div does not seem to submit the
form at all. Any help is appreciated.
Here is the div containing the <html:file> and <html:submit> buttons.
<div dojoType="dialog" id="DialogContent" bgColor="white"
bgOpacity="0.5" toggle="fade" toggleDuration="250">
<table>
<tr>
<td>Location:</td>
<td><html:file name="AdjustmentsForm" property="adjFile"
size="100px"></html:file></td>
</tr>
<tr>
<td align="center" colspan="2">
<html:submit property="submit1">
<bean:message key="button.addReplaceAdjustmentDoc" />
</html:submit>
<td>
<td colspan="1" align="right"><input type="button" id="hider"
value="Cancel"></td>
</tr>
</table>
</div>
Thanks
SB
Manish Pandit - 21 Nov 2006 00:48 GMT
Hi,
Given the div that you pasted, it doesnt seem to have a <html:form>
tag. Is this tag really missing, or its not just pasted, because I
believe <html:file> and <html:submit> will not work unless inside a
<html:form>.
-cheers,
Manish