Re: upload pdf

2005-04-12 Thread Sébastien Barathieu
Thank you, I want to download on the server and i have enabled upload in the config, could you say me what some logic in the request i must to do. Sebastien Barathieu Message du 11/04/05 22:48 De : Leszek Gawron [EMAIL PROTECTED] A : users@cocoon.apache.org Copie agrave; : Objet : Re:

Re: upload pdf

2005-04-12 Thread Leszek Gawron
S wrote: Thank you, I want to download on the server and i have enabled upload in the config, could you say me what some logic in the request i must to do. have a look at http://wiki.apache.org/cocoon/FileUploadsWithCocoon2.1 -- Leszek Gawron [EMAIL PROTECTED]

Re: AW: AW: AW: AW: AW: Design note - Building a template mechanism

2005-04-12 Thread gounis
yOn Mon, 11 Apr 2005, Messing, Elad wrote: Hello stavros Thanks for the fast reply, just seen it I understand that not all is implemented, this is why I thought about adding this functionality - and came to the problem of Xpath and namespaces. Also - I thought

AW: AW: AW: AW: AW: AW: Design note - Building a template mechanism

2005-04-12 Thread Messing, Elad
Hi stavros No, no - I completely understand your method. And it is solid too. I just happen to follow another method - going through the head title tag and than looking for content title. But than I stumbled across the namespace problem, and thought you or someone else might

Re: Starting with Cocoon Forms

2005-04-12 Thread Lionel Crine
Thanks, this is what I did. Lionel Crine wrote: Hi all, I need to make some Cocoon forms, and I want to use all the examples in from the distribution. Which directory should I add to my project to have all working ? Thanks - To

Re: upload pdf

2005-04-12 Thread suryanarayana . murthy
Hi Sebastien, You can define an action class in which you can set the Content-disposition header. In the action calss you define, you have to implement act() method which takes 4 arguments(Redirector redirector,SourceResolver resolver,Map objectModel,String source,Parameters parameters). From the

JXTemplate, Xpath and Namespace

2005-04-12 Thread Messing, Elad
Title: JXTemplate, Xpath and Namespace Hello all I have a newbie question related to Xpath _expression_ and Namspaces. Here goes : I have an XHTML page. It looks like this : ?xml version=1.0 encoding=ISO-8859-7? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

RE: [Fwd: New version of sunBow available]

2005-04-12 Thread Matthew Langham
Sorry, I've been away a few days. With Lepido [1] being introduced only a few days ago, i think Sunbow will quickly become irrelevant. Ah such harsh words :). Exactly. The people at SN (Carsten Ziegeler and Matthew Langham being the best known here) want to participate to Lepido

RE: [Fwd: New version of sunBow available]

2005-04-12 Thread Antonio Gallardo
On Mar, 12 de Abril de 2005, 7:21, Matthew Langham dijo: We will then be looking to reuse parts of sunBow with the Lepido project and helping Sylvain and crew build a single (and great) Cocoon IDE. Yep. Because currently there are 3 XML editors to choose from (not included others 3rd parties

Re: [Forms] validation mystery

2005-04-12 Thread Ben Anderson
if the field is disabled, then it isn't validated - go figure. I am correct in this assumption, right? Is there any way to specify that I want a field to be validated even if it's disabled? Thanks, Ben - To unsubscribe, e-mail:

sitemap parameters with javaflow

2005-04-12 Thread Michael Ebert
hi, i would like to use sitemap-parameters in my javaflow-script. i want to do something like map:call function=editNewsEntry map:parameter name=contentfile value={realpath:newsid.xml}/ /map:call Does anybody if this is possible and how to access the paramater in the javaflow file. i only

Re: sitemap parameters with javaflow

2005-04-12 Thread Peter Sparkes
Have you tried something like cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); function editNewsEntry(form) { var URI= cocoon.parameters[contentfile]; } Peter hi, i would like to use sitemap-parameters in my javaflow-script. i want to do something like map:call

Re[2]: sitemap parameters with javaflow

2005-04-12 Thread Michael Ebert
hi peter, i use javaflow and not javascript. so your suggestion is not useful for me. thanks michel PS Have you tried something like PS cocoon.load(resource://org/apache/cocoon/forms/flow/javascript/Form.js); PS function editNewsEntry(form) { PS var URI=

How can I upload multiple files at same time ?

2005-04-12 Thread Jarry Liu
Hi, everyone. I want to use checkbox to selelct multiple files and upload them at the same time? But if I use input type =file., it can only support one file. Do you have any idea? Thanks. Jarry - To unsubscribe, e-mail:

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Aurélien DEHAY
Hi. Le mardi 12 avril 2005 10:54 -0400, Jarry Liu a crit : Hi, everyone. I want to use checkbox to selelct multiple files and upload them at the same time? But if I use input type =file., it can only Add a name parameter. support one file. Do you have any idea? Thanks. Jarry

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Jarry Liu
Yes, if I put as input type=file name=addfilename /, in the file browser, I can only chooser one file to upload. Do you have any solution to choose multilple files at the same time. On Apr 12, 2005 10:59 AM, Aurélien DEHAY [EMAIL PROTECTED] wrote: Hi. Le mardi 12 avril 2005 à 10:54 -0400,

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Jorg Heymans
I don't think this is possible using standard HTML controls. There are applet solutions however that allow you to do this (jupload.biz for example), maybe this helps your case. Regards Jorg Jarry Liu wrote: Yes, if I put as input type=file name=addfilename /, in the file browser, I can only

Re: How can I upload multiple files at same time ?

2005-04-12 Thread Jarry Liu
Thanks. I will try it. On Apr 12, 2005 11:35 AM, Jorg Heymans [EMAIL PROTECTED] wrote: I don't think this is possible using standard HTML controls. There are applet solutions however that allow you to do this (jupload.biz for example), maybe this helps your case. Regards Jorg Jarry

State of the documentation effort

2005-04-12 Thread Nicolas Maisonneuve
Hy, I would like to know the state of the documentation effort. Actually I'm afraid that after the development the new documentation system (another excuse for not beginning the documentation ;-)) , there won't be a real effort to build a new documentation (= all committers will stop to code et

Re: State of the documentation effort

2005-04-12 Thread Sebastien Arbogast
As a Cocoon newbie, I totally share your concerns but I'm not sure that it is necessary to stop coding while writing documentation. But it would be great if there were two teams, one for coding the next version and one for writing the documentation, with a few Cocoon experts (the ones who know the

Re: State of the documentation effort

2005-04-12 Thread Reinhard Poetz
Nicolas Maisonneuve wrote: Hy, I would like to know the state of the documentation effort. Actually I'm afraid that after the development the new documentation system (another excuse for not beginning the documentation ;-)) , there won't be a real effort to build a new documentation (= all

Re: sitemap parameters with javaflow

2005-04-12 Thread Gregor J. Rothfuss
Michael Ebert wrote: hi, i would like to use sitemap-parameters in my javaflow-script. i want to do something like map:call function=editNewsEntry map:parameter name=contentfile value={realpath:newsid.xml}/ /map:call this currently does not work in 2.1 javaflow, but does on trunk. it is a bug

Re: State of the documentation effort

2005-04-12 Thread Sebastien Arbogast
It's always the same paradox : the people who need documentation the most, are the ones that are less qualified to participate in its writing, otherwise they wouldn't need documentation. For Cocoon experts, it's a matter of realizing that you can code marvelous features, if nobody can understand

Re: State of the documentation effort

2005-04-12 Thread Bertrand Delacretaz
Le 12 avr. 05, à 19:44, Nicolas Maisonneuve a écrit : ...I would like to know the state of the documentation effort... There's some info at http://wiki.apache.org/cocoon/22NewDocuments, including a how can you help section. The existing 2.1 docs are being moved to a legacy tab in the new docs

Re: State of the documentation effort

2005-04-12 Thread Upayavira
Sebastien Arbogast wrote: It's always the same paradox : the people who need documentation the most, are the ones that are less qualified to participate in its writing, otherwise they wouldn't need documentation. For Cocoon experts, it's a matter of realizing that you can code marvelous features,

CHS with Cocoon 2.1.7

2005-04-12 Thread Jonny Becker
Hi, I'm trying to get CHS running with Cocoon 2.1.7 on Jetty. Compiles, but cannot start Cocoon then. I get following error on startup: org.mortbay.util.MultiException[org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,servlet-name,display-name?,... On Tomcat

Re: CHS with Cocoon 2.1.7

2005-04-12 Thread Jorg Heymans
I would say that your web.xml in tomcat is correct and the one in jetty has an error in it. Diff them to spot where it's gone wrong. Jonny Becker wrote: Hi, I'm trying to get CHS running with Cocoon 2.1.7 on Jetty. Compiles, but cannot start Cocoon then. I get following error on startup:

Something I don't understand in i18n sample

2005-04-12 Thread Sebastien Arbogast
Hi, In the i18n sample sitemap there is a resource declaration like this : map:resource name=composite map:aggregate element=root map:part src=cocoon:/menu/{../0}/ map:part src=cocoon:/content/{../0} label=content/ /map:aggregate map:transform

Re: State of the documentation effort

2005-04-12 Thread David Crossley
Sebastien Arbogast wrote: And this is a debate that would fit both dev and doc mail lists as it's a matter of coordinating both kinds of efforts. We don't discuss on the docs mailing lists. Its purpose is supposed to be for the Wiki diff autmoted notifications. The docs discussion is

Re: State of the documentation effort

2005-04-12 Thread Sebastien Arbogast
Ok thanks for the information I didn't know that. I supposed that docs mailing list was for discussion regarding documentation effort and so I just wanted to explain why it was worth discussing that out of this list. But obviously I was wrong. Anyway I've subscribed to all Cocoon lists to see if I

RE: JXTemplate, Xpath and Namespace

2005-04-12 Thread Conal Tuohy
Hi Elad In XSLT 1.0 you cannot match a namespaced element UNLESS you use a namespace prefix. If the input document uses a default namespace (i.e. with no prefix), you can still match it, but your template/@match expressions MUST use a prefix. In your XSLT, bind the XHTML namespace to a

Re: State of the documentation effort

2005-04-12 Thread Bertrand Delacretaz
Le 13 avr. 05, à 05:15, Sebastien Arbogast a écrit : Ok thanks for the information I didn't know that. I supposed that docs mailing list was for discussion regarding documentation effort... It was when it was created, but we felt that separating the (mostly inexistent) docs team from the rest

Factory is not set on the JXPathContext when adding to a bound collection

2005-04-12 Thread Corin Moss
Hi all, I'm currently trying to bind a fairly simple object collection (set) using a repeater. The set originates from Hibernate, the set consists of x number of objects. The loading binding works perfectly,and I can save the bean back, however when I try to create a new one I get the following