I suppose so, as the rest of the form works OK when there is no file field.

The form loads part of its content via AJAX. When the loaded content includes a <s:file> takes place the problem.

Regards.


Dave Newton escribió:
Do you have the appropriate tag lib declarations in the included JSP file?

--- Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:

I have the following form:

<jsp:root xmlns="http://www.w3.org/1999/xhtml";
    xmlns:jsp="http://java.sun.com/JSP/Page";
    xmlns:fmt="http://java.sun.com/jsp/jstl/fmt";
    xmlns:c="http://java.sun.com/jsp/jstl/core";
    xmlns:s="/struts-tags"
    version="2.0">

<s:form id="editJobForm" name="editJobForm" theme="ajax"
        action="AddJobVDP" enctype="multipart/form-data" method="post">
<jsp:directive.include file="JobVDPDetails.jspf"/>

</s:form>
</jsp:root>

Why, if I have a <s:file> field inside JobVDPDetails.jspf I recieve a "s.match is not a function" in dojo.js and the server action is not fired, and if I don´t have this file field everything works OK?

Note JobVDPDetails.jspf has a s:tabbedpanel and, inside it, here is the s:file field.

Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to