Why not using the div tag, I haven't use the form tag like that, which a
form nested another form.
Regards,
Mead
On Thu, Oct 28, 2010 at 7:51 AM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
The first form doesn't contains enctype attribute. Did you try to set
it to
Thanks, Maurizio! That was my problem, I never even noticed that.
The first form doesn't contains enctype attribute. Did you try to set
it to multipart/form-data?
I wrote:
If you're not, the entire form needs to reflect it'll be uploading a file.
...
On Thu, Oct 28, 2010 at 8:53 AM, Dave Westerman dlwes...@us.ibm.com wrote:
Thanks, Maurizio! That was my problem, I never even noticed that.
The first form doesn't contains enctype attribute. Did you try
: Struts nested s:form and s:file tags
I wrote:
If you're not, the entire form needs to reflect it'll be uploading a
file.
...
On Thu, Oct 28, 2010 at 8:53 AM, Dave Westerman dlwes...@us.ibm.com
wrote:
Thanks, Maurizio! That was my problem, I never even noticed that.
The first form
I am trying to use the s:file tag to allow uploading a file to the
server. However, this tag has to be within a larger overall form.
s:form
...
s:file name=uploadCustomImageFile /
s:submit type=button
action=%{siteId}/appearance/uploadCustomImage name=Upload File/
...
s:submit
It's not legal to nest form tags; that's bogus HTML.
I don't understand what you mean by the rest of the page doesn't
work; a file tag is part of a form. You don't submit just part of a
form, you submit all of it. If you're trying to do something like an
Ajax upload, you'd need to do it
The first form doesn't contains enctype attribute. Did you try to set
it to multipart/form-data?
2010/10/28 Dave Westerman dlwes...@us.ibm.com:
I am trying to use the s:file tag to allow uploading a file to the
server. However, this tag has to be within a larger overall form.
s:form
...
Hey all
Is there a way to nest s:form elements in S2? I have a nested form which
won't reach the specified action, even though it is correctly mapped. If I
move it outside of the first form it automagically starts working.
The action is mapped like:
action name=deleteMovie/*/
Nested forms are not valid HTML.
--
James Mitchell
On Apr 28, 2007, at 12:44 PM, meeboo wrote:
Hey all
Is there a way to nest s:form elements in S2? I have a nested form
which
won't reach the specified action, even though it is correctly
mapped. If I
move it outside of the first
9 matches
Mail list logo