struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Vázquez Blázquez <pvazq...@denodo.com>
Subject Re: form + file problem
Date Wed, 19 Dec 2007 17:42:58 GMT
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 <pvazquez@denodo.com> 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: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message