cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: Exploring the Slide sample
Date Wed, 08 Sep 2004 13:50:27 GMT
Hmm... I use uploads in combination with CForms, and then it is required
to have the attribute enctype="multipart/form-data" added to the <form>
tag. Maybe that is missing?

> -----Original Message-----
> From: Jean-Claude Moissinac [mailto:moissinac@enst.fr]
> Sent: Wednesday, September 08, 2004 3:24 PM
> To: users@cocoon.apache.org
> 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:moissinac@enst.fr]
> >>Sent: Wednesday, September 08, 2004 3:18 PM
> >>To: users@cocoon.apache.org
> >>Subject: Exploring the Slide sample
> >>
> >>Hello
> >>
> >>I'm trying to explore the Slide sample and then to adapt it
> >>(http://localhost:8888/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://<myserver>:8888/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: moissinac@enst.fr
> >>Tel: (+33) 1.45.81.80.88
> >>Fax: (+33) 1.45.81.71.58
> >>
> >>http://shadok.enst.fr/jcm
> >>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> 
> 
> --
> Jean-Claude Moissinac
> Department of Computer Science and Networks
> ENST Paris
> FRANCE
> 
> E-mail: moissinac@enst.fr
> Tel: (+33) 1.45.81.80.88
> Fax: (+33) 1.45.81.71.58
> 
> http://shadok.enst.fr/jcm
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message