Re: Struts nested and tags

2010-10-28 Thread Dave Westerman
Thanks to you too, Dave. The problem is that I'm a web app newbie, so I wasn't quite sure what you meant. Maurizio just happened to zero in on exactly what I needed to do! :-) > From: Dave Newton > To: Struts Users Mailing List > Date: 10/28/2010 09:05 AM > Subject:

Re: Struts nested and tags

2010-10-28 Thread Dave Newton
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 wrote: > 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

Re: Struts nested and tags

2010-10-28 Thread Dave Westerman
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? >

Re: Struts nested and tags

2010-10-28 Thread Mead Lai
Why not using the tag, I haven't use the 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 multipart/form-dat

Re: Struts nested and tags

2010-10-27 Thread Maurizio Cucchiara
The first form doesn't contains enctype attribute. Did you try to set it to multipart/form-data? 2010/10/28 Dave Westerman : > I am trying to use the tag to allow uploading a file to the > server. However, this tag has to be within a larger overall form. > > > ... >     >     action="%{siteId}/a

Re: Struts nested and tags

2010-10-27 Thread Dave Newton
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 differen

Struts nested and tags

2010-10-27 Thread Dave Westerman
I am trying to use the tag to allow uploading a file to the server. However, this tag has to be within a larger overall form. ... ... However, whenever I use the above code, I get the following error when I click on the 'Upload File' button: Invalid field value for field "up

nested and jstl iterate

2005-10-21 Thread Adam Hardy
Just curious before looking into it in a big way, but is there now a major amount of duplication between nested taglibs and jstl c:iterate, c:set, c:out with EL? I assume nested is considered 'finished' - does this mean that it will be replaced over time by JSTL? (I don't mean in the struts di

RE: nested and

2005-09-08 Thread Lombart Vincent \(DBB\)
:[EMAIL PROTECTED] Sent: jeudi 8 septembre 2005 15:49 To: Struts Users Mailing List Subject: RE: nested and If you're using Tomcat 5, a JSP 2.0 container, you shouldn't use Struts-EL. Just use the plain Struts jar, and make sure your web.xml uses the Servlet 2.4 schema. > -Ori

Re: nested and

2005-09-08 Thread Brandon Mercer
Lombart Vincent (DBB) wrote: >That's the kind of solution I was looking at, although using with >included might be more robust. But I would prefer to use the action >name rather than the direct url. > > Eh, good call! I was trying to quickly relay a point and I don't remeber the syntax

RE: nested and

2005-09-08 Thread Lombart Vincent \(DBB\)
15:35 To: Struts Users Mailing List Subject: Re: nested and Lombart Vincent (DBB) wrote: >Dear all, > >Does anybody know why the following JSP code does not work: > > > > > >

RE: nested and

2005-09-08 Thread Karr, David
If you're using Tomcat 5, a JSP 2.0 container, you shouldn't use Struts-EL. Just use the plain Struts jar, and make sure your web.xml uses the Servlet 2.4 schema. > -Original Message- > From: Lombart Vincent (DBB) [mailto:[EMAIL PROTECTED] > > Does anybody know why the following JSP cod

Re: nested and

2005-09-08 Thread Brandon Mercer
Lombart Vincent (DBB) wrote: >Dear all, > >Does anybody know why the following JSP code does not work: > > > > > > > paramName="icol"> > > > > > > > > ${icol.monitor} What abo

nested and

2005-09-08 Thread Lombart Vincent \(DBB\)
Dear all, Does anybody know why the following JSP code does not work: "monitorBean" contains rows, and each row contains columns (of type String). The JSP code should build a table from this bean, displaying one String in e

Re: Nested and javascript'

2005-01-13 Thread Hubert Rabago
This works for me in IE and FireFox: function tryMe() { var frm = document.myForm; var ctrl = frm['something[0].down.here'].value="Hello!"; } - Hubert On Thu, 13 Jan 2005 09:56:00 -0200, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Well, this is kinda off topic,

Re: Nested and javascript'

2005-01-13 Thread Radu Badita
Sure it is a way to access those: just assign an unique id - maybe same as the name, but without the dots. At 13:56 13.01.2005, you wrote: Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip

Re: Nested and javascript'

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Nested and javascript'

2005-01-13 Thread Vinicius Caldeira Carvalho
Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip.name I need to use a javascript function to get this value. But document.forms[0].destiny[0].airShip.name will not work, which seems logic