Jason Wyatt wrote:
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the <s:file> tag.

The file uploading works OK if I view the action directly instead of inside
a tabbedpanel.

However, if I view the file upload page inside an ajax tabbedpanel and try
submitting, with or without a file attached, the relevant action doesn't
seem to get hit anymore, and the enigmatic message "undefined" is displayed
in the tab, with nothing else shown.
It also appears the interceptors are not being hit.

I've pored over the Nabble archives but haven't been able to find a solution
to this. Has anyone overcome this problem?

Thanks,

Jason

Hi Jason,
My guess is that the s:form/s:submit is accidentally inheriting the ajax theme when it's inside the tabbed panel/on that page and thus performing an XHR post without the multipart. Did you want to use XHR? If not, try placing a theme=simple explicitly on your form/form's submit button to see if that fixes it (or at least isolates it). I haven't tried a multipart XHR via dojo but it must be also possible.

regards,
Jeromy Evans


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

Reply via email to