cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Claude Moissinac <moissi...@enst.fr>
Subject Re: Exploring the Slide sample
Date Thu, 09 Sep 2004 06:35:33 GMT
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
<form action="uploadsource.do" method="post" enctype="multipart/form-data">
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 <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
> 
> 


-- 
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


Mime
View raw message