You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Christian Egli <ch...@wyona.com> on 2003/07/03 09:49:40 UTC

Re: Files Upload

Laurent PEQUIN <lp...@archypel.com> writes:

> I have two issues : how can i delete an article via wyona (lenya)

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21262

> is there a way to include documents while editing pages (an external
> link, but with a file upload, like pictures)

Yes, there is. Check the unipublic publication. It has red dots
in between paragraphs which are clickable and invoke a file upload
screen and upload your image and insert it in place of the red dot.

Currently however something seems to be broken (Cocoon-2.1m2, Lenya
from CVS). There were some problems in the usecase sitemap and with
the util logicsheet which I fixed, but now I'm stuck trying to find
out why my request params are lost with POST requests (all is fine
with GET). This is before it even invokes the actual file upload, the
problem is simply to hit the right matcher in the usecase sitemap. The
POST request (with enctype="multipart/form-data") doesn't seem to pass
the request params correctly.

-- 
Christian Egli       christian.egli@wyona.com   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com 

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


Re: Files Upload

Posted by Laurent PEQUIN <la...@laposte.net>.
I've never tried to do this, and it seems to works as the file has been
uploaded in the right directory. Now, I have to declare a download area
in the cocoon's sitemap.
Thanks,

--
Laurent PEQUIN

Ainsi parlait Christian Egli [christian.egli@wyona.com] :
> Laurent PEQUIN <lp...@archypel.com> writes:
> 
> > I have two issues : how can i delete an article via wyona (lenya)
> 
> See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21262
> 
> > is there a way to include documents while editing pages (an external
> > link, but with a file upload, like pictures)
> 
> Yes, there is. Check the unipublic publication. It has red dots
> in between paragraphs which are clickable and invoke a file upload
> screen and upload your image and insert it in place of the red dot.
> 
> Currently however something seems to be broken (Cocoon-2.1m2, Lenya
> from CVS). There were some problems in the usecase sitemap and with
> the util logicsheet which I fixed, but now I'm stuck trying to find
> out why my request params are lost with POST requests (all is fine
> with GET). This is before it even invokes the actual file upload, the
> problem is simply to hit the right matcher in the usecase sitemap. The
> POST request (with enctype="multipart/form-data") doesn't seem to pass
> the request params correctly.
> 
> -- 
> Christian Egli       christian.egli@wyona.com   +41 1 272 9161
>                      Wyona AG, Hardstrasse 219, CH-8005 Zurich
> Open Source CMS      http://www.wyona.org http://www.wyona.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org

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