RE: Exploring the Slide sample
Is the property "enable-uploads" in WEB-INF/web.xml enabled? If not, the uploaded part will be null. > -Original Message- > From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 3:18 PM > To: [EMAIL PROTECTED] > Subject: Exploring the Slide sample > > Hello > > I'm trying to explore the Slide sample and then to adapt it > (http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev) > > On my development system (Windows), an attempt to upload a file works > fine with the form. > On my exploitation system (FreeBsd), after filing the form and a click > on the 'Upload File' button, I get an error on the URL > http://:/samples/blocks/slide/uploadsource.do > The error is: > "file:/usr/local/cocoon/cocoon- > 2.1/build/webapp/samples/blocks/slide/flow.js", > line 120: uncaught JavaScript exception: at uploadsource > (file:/usr/local/cocoon/cocoon- > 2.1/build/webapp/samples/blocks/slide/flow.js, > Line 120): org.apache.excalibur.source.SourceException: Request object > uploadFile is not an uploaded Part > > I don't find a way for debuging that. > > Can someone help me? > > -- > Jean-Claude Moissinac > Department of Computer Science and Networks > ENST Paris > FRANCE > > E-mail: [EMAIL PROTECTED] > Tel: (+33) 1.45.81.80.88 > Fax: (+33) 1.45.81.71.58 > > http://shadok.enst.fr/jcm > > - > 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]
Re: Exploring the Slide sample
Yes It is set to true on both systems. Bart Molenkamp wrote: Is the property "enable-uploads" in WEB-INF/web.xml enabled? If not, the uploaded part will be null. -Original Message- From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: Exploring the Slide sample Hello I'm trying to explore the Slide sample and then to adapt it (http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev) On my development system (Windows), an attempt to upload a file works fine with the form. On my exploitation system (FreeBsd), after filing the form and a click on the 'Upload File' button, I get an error on the URL http://:/samples/blocks/slide/uploadsource.do The error is: "file:/usr/local/cocoon/cocoon- 2.1/build/webapp/samples/blocks/slide/flow.js", line 120: uncaught JavaScript exception: at uploadsource (file:/usr/local/cocoon/cocoon- 2.1/build/webapp/samples/blocks/slide/flow.js, Line 120): org.apache.excalibur.source.SourceException: Request object uploadFile is not an uploaded Part I don't find a way for debuging that. Can someone help me? -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm - 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] -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Exploring the Slide sample
Hmm... I use uploads in combination with CForms, and then it is required to have the attribute enctype="multipart/form-data" added to the tag. Maybe that is missing? > -Original Message- > From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 3:24 PM > To: [EMAIL PROTECTED] > Subject: Re: Exploring the Slide sample > > Yes > It is set to true on both systems. > > Bart Molenkamp wrote: > > > Is the property "enable-uploads" in WEB-INF/web.xml enabled? If not, the > > uploaded part will be null. > > > > > >>-Original Message- > >>From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, September 08, 2004 3:18 PM > >>To: [EMAIL PROTECTED] > >>Subject: Exploring the Slide sample > >> > >>Hello > >> > >>I'm trying to explore the Slide sample and then to adapt it > >>(http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev) > >> > >>On my development system (Windows), an attempt to upload a file works > >>fine with the form. > >>On my exploitation system (FreeBsd), after filing the form and a click > >>on the 'Upload File' button, I get an error on the URL > >>http://:/samples/blocks/slide/uploadsource.do > >>The error is: > >>"file:/usr/local/cocoon/cocoon- > >>2.1/build/webapp/samples/blocks/slide/flow.js", > >>line 120: uncaught JavaScript exception: at uploadsource > >>(file:/usr/local/cocoon/cocoon- > >>2.1/build/webapp/samples/blocks/slide/flow.js, > >>Line 120): org.apache.excalibur.source.SourceException: Request object > >>uploadFile is not an uploaded Part > >> > >>I don't find a way for debuging that. > >> > >>Can someone help me? > >> > >>-- > >>Jean-Claude Moissinac > >>Department of Computer Science and Networks > >>ENST Paris > >>FRANCE > >> > >>E-mail: [EMAIL PROTECTED] > >>Tel: (+33) 1.45.81.80.88 > >>Fax: (+33) 1.45.81.71.58 > >> > >>http://shadok.enst.fr/jcm > >> > >>- > >>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] > > > > > > > -- > Jean-Claude Moissinac > Department of Computer Science and Networks > ENST Paris > FRANCE > > E-mail: [EMAIL PROTECTED] > Tel: (+33) 1.45.81.80.88 > Fax: (+33) 1.45.81.71.58 > > http://shadok.enst.fr/jcm > > - > 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]
Re: Exploring the Slide sample
I use the slide reference sample; so, I assume it is well writed. And, it works on Windows. In the content.jx file, from the sample, there is the line with the suggested enctype. I suspect the problem comes from a configuration issue with my cocoon/freebsd install, but how to find it? Could you point me to a good sample which combine upload and CForms? Perhaps it could be a way to turn the problem. Jean-Claude Bart Molenkamp wrote: Hmm... I use uploads in combination with CForms, and then it is required to have the attribute enctype="multipart/form-data" added to the tag. Maybe that is missing? -Original Message- From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 3:24 PM To: [EMAIL PROTECTED] Subject: Re: Exploring the Slide sample Yes It is set to true on both systems. Bart Molenkamp wrote: Is the property "enable-uploads" in WEB-INF/web.xml enabled? If not, the uploaded part will be null. -Original Message- From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: Exploring the Slide sample Hello I'm trying to explore the Slide sample and then to adapt it (http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev) On my development system (Windows), an attempt to upload a file works fine with the form. On my exploitation system (FreeBsd), after filing the form and a click on the 'Upload File' button, I get an error on the URL http://:/samples/blocks/slide/uploadsource.do The error is: "file:/usr/local/cocoon/cocoon- 2.1/build/webapp/samples/blocks/slide/flow.js", line 120: uncaught JavaScript exception: at uploadsource (file:/usr/local/cocoon/cocoon- 2.1/build/webapp/samples/blocks/slide/flow.js, Line 120): org.apache.excalibur.source.SourceException: Request object uploadFile is not an uploaded Part I don't find a way for debuging that. Can someone help me? -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm - 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] -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm - 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] -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Exploring the Slide sample
In the forms block, look at samples/forms/upload*.xml > -Original Message- > From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 8:36 AM > To: [EMAIL PROTECTED] > Subject: Re: Exploring the Slide sample > > I use the slide reference sample; so, I assume it is well writed. And, > it works on Windows. In the content.jx file, from the sample, there is > the line > > with the suggested enctype. > I suspect the problem comes from a configuration issue with my > cocoon/freebsd install, but how to find it? > > Could you point me to a good sample which combine upload and CForms? > Perhaps it could be a way to turn the problem. > > Jean-Claude > > Bart Molenkamp wrote: > > > Hmm... I use uploads in combination with CForms, and then it is required > > to have the attribute enctype="multipart/form-data" added to the > > tag. Maybe that is missing? > > > > > >>-Original Message- > >>From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, September 08, 2004 3:24 PM > >>To: [EMAIL PROTECTED] > >>Subject: Re: Exploring the Slide sample > >> > >>Yes > >>It is set to true on both systems. > >> > >>Bart Molenkamp wrote: > >> > >> > >>>Is the property "enable-uploads" in WEB-INF/web.xml enabled? If not, > > > > the > > > >>>uploaded part will be null. > >>> > >>> > >>> > >>>>-Original Message- > >>>>From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED] > >>>>Sent: Wednesday, September 08, 2004 3:18 PM > >>>>To: [EMAIL PROTECTED] > >>>>Subject: Exploring the Slide sample > >>>> > >>>>Hello > >>>> > >>>>I'm trying to explore the Slide sample and then to adapt it > >>>>(http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev) > >>>> > >>>>On my development system (Windows), an attempt to upload a file > > > > works > > > >>>>fine with the form. > >>>>On my exploitation system (FreeBsd), after filing the form and a > > > > click > > > >>>>on the 'Upload File' button, I get an error on the URL > >>>>http://:/samples/blocks/slide/uploadsource.do > >>>>The error is: > >>>>"file:/usr/local/cocoon/cocoon- > >>>>2.1/build/webapp/samples/blocks/slide/flow.js", > >>>>line 120: uncaught JavaScript exception: at uploadsource > >>>>(file:/usr/local/cocoon/cocoon- > >>>>2.1/build/webapp/samples/blocks/slide/flow.js, > >>>>Line 120): org.apache.excalibur.source.SourceException: Request > > > > object > > > >>>>uploadFile is not an uploaded Part > >>>> > >>>>I don't find a way for debuging that. > >>>> > >>>>Can someone help me? > >>>> > >>>>-- > >>>>Jean-Claude Moissinac > >>>>Department of Computer Science and Networks > >>>>ENST Paris > >>>>FRANCE > >>>> > >>>>E-mail: [EMAIL PROTECTED] > >>>>Tel: (+33) 1.45.81.80.88 > >>>>Fax: (+33) 1.45.81.71.58 > >>>> > >>>>http://shadok.enst.fr/jcm > >>>> > >> > >>>- > >>> > >>>>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] > >>> > >>> > >> > >> > >>-- > >>Jean-Claude Moissinac > >>Department of Computer Science and Networks > >>ENST Paris > >>FRANCE > >> > >>E-mail: [EMAIL PROTECTED] > >>Tel: (+33) 1.45.81.80.88 > >>Fax: (+33) 1.45.81.71.58 > >> > >>http://shadok.enst.fr/jcm > >> > >>- > >>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] > > > > > > > -- > Jean-Claude Moissinac > Department of Computer Science and Networks > ENST Paris > FRANCE > > E-mail: [EMAIL PROTECTED] > Tel: (+33) 1.45.81.80.88 > Fax: (+33) 1.45.81.71.58 > > http://shadok.enst.fr/jcm > > - > 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]