SQL Transformer or ESQL Stylesheet?

2003-03-17 Thread Konlin
Hello Cocoon! Can you write me any clues when to use sql transformer and when esql stylesheet? What is more flexible, easier, more professional etc? I'm going to write simple news portal with Xindice or MySQL as DBMS and I'm wondering what solution is better. Greetz, Konrad Inglot -- [EMAIL

XMLForm: how to display arrays

2003-03-17 Thread Sylvain.Thevoz
Hello, I'm using XMLForm to allow user to query a database. How can I display results data in an array like this: RESULTS: NameTypeOwner OS -- U1 Desktop Mob Wnt U2 Laptop

Re: Auth-protect action problem

2003-03-17 Thread Lionel Crine
Hi, Here is the sunshine part from my sitemap. I use cocoon-2.0.4. 1/ in the map:components element !-- === SunShine === -- map:actions map:action name=sunRise_login src=org.apache.cocoon.sunshine.sunrise.acting.LoginAction/ map:action

mail function

2003-03-17 Thread boessem
Title: Nachricht hi, i am quite new to cocoon, and try to write a registration using xsp. my question is, if there is a funktion like within php to automatically send a mail to me, with the registration informations. any comment would be helpfull. i searched for comments on this within

Re: style sheet WML - XML

2003-03-17 Thread Björn Voigt
zze-MORY Nicolas FTRD/DMI/REN schrieb: can anyone give me the URL or the file of the official XSL style sheet wich can transform WML in XML ? Thanks Hi Nicolas, WML is an XML application. Do u want to transform it into another xml-application like xhtml or fo? Björn

RE: style sheet WML - XML

2003-03-17 Thread zze-MORY Nicolas FTRD/DMI/REN
yeah exactly ! do you have a solution for xhtml mobile profile for example ? -Original Message- From: Björn Voigt [mailto:[EMAIL PROTECTED] Sent: lundi 17 mars 2003 12:09 To: [EMAIL PROTECTED] Subject: Re: style sheet WML - XML zze-MORY Nicolas FTRD/DMI/REN schrieb: can anyone give me

Re: Auth-protect action problem

2003-03-17 Thread tdawber
Hi, I have just been experimenting with the authentication system, below is the pipelines section of my sitemap, which is now working, but this is a 2.1system. Check carefully the documentation you have been using, I believe the authentication system as evolved between 2.0.4 and 2.1 and some of

RE: Auth-protect action problem

2003-03-17 Thread Carsten Ziegeler
To clarify versioninng issues of the authentication and portal frameworks: 2.0.4 contains these parts in the scratchpad area as sunrise and sunspot. So, if you use 2.0.4, there is no auth-protect action but an sunrise-... action. 2.0.5-dev (cvs) contains the authentication and portal

Get a sitemap parameter for an xsl page

2003-03-17 Thread Lionel Crine
Is it possible to get a sitemap parameter and using it into an xsl page. Here is my pipeline: map:match pattern=search map:generate type=Request/ map:transform type=Query map:parameter name=interval value=50/ /map:transform map:transform type=xslt src=proto/xsl/documents.xsl/

RE: Auth-protect action problem

2003-03-17 Thread Lionel Crine
You're right, I use the scratchpad. Be careful to my code, I only use sunrise actions and not auth-protect. By the way, is there a pre compiled version of 2.1 ? At 13:10 17/03/2003 +0100, you wrote: To clarify versioninng issues of the authentication and portal frameworks: 2.0.4 contains these

RE: Auth-protect action problem

2003-03-17 Thread Carsten Ziegeler
-Original Message- From: Lionel Crine [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: RE: Auth-protect action problem You're right, I use the scratchpad. Be careful to my code, I only use sunrise actions and not auth-protect. By

Creating an aggregation from a list of files

2003-03-17 Thread David Balch
Hi, I'm trying to get Cocoon working with IMS Content Packages[IMS-CP], to help my development process, and could do with some help. Short version: Can Cocoon accept an XML file listing several other files, and make an aggregate from the files listed? If so, how? Long version: A bit of

Re: Get a sitemap parameter for an xsl page

2003-03-17 Thread Yves Vindevogel
You don't have to declare it again. This is an extract of my sitemap. Notice the parameter relpath. map:match pattern=xsp/*/*.html map:generate src=xsp/{1}/{2}.xsp type=xsp/ map:transform

Re: Get a sitemap parameter for an xsl page

2003-03-17 Thread Lionel Crine
I think there is a confusion. I only want to use a parameter which have the same value in all the pipelines without declare it in each pipeline. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Get a sitemap parameter for an xsl page

2003-03-17 Thread Yves Vindevogel
You can't do that ... (In my humble opinion) Unless ... you declare it in an XML file, and use the aggregation (or include) with that file in each pipeline. Or, you can use the document() function in XSL to read the content of that single XML file, to avoid the aggregation. I think there is a

xerces version in j2sdk_1.4.1

2003-03-17 Thread Yury Mikhienko
Hi all! Does anyone know the xerces version in j2sdk_1.4.1 ? And also: can I set another xerces for using (if I use java1.4)? -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL

Re: xsp resulting in empty xml doc and the error ComponentSelector could not find the component for hint [serverpages] in core.log

2003-03-17 Thread Stephan Kassanke
Delis, Christopher E. wrote: why don't you logically split up the queries? you can always aggregate the results of many into one resulting xml file... Dear Christopher, may be that is the soltuion, the problem is that I am not very familiar at this level of modeling with XSP. If I got that

RE: Creating an aggregation from a list of files

2003-03-17 Thread David Balch
Hi Yves, thanks for the reply. -Original Message- From: Yves Vindevogel 17 March 2003 12:50 Something like this map:match pattern=sxw/*/*.html map:aggregate element=document map:part

control flow inside an xmlform application

2003-03-17 Thread Stoeckel, Matthias
Hi all, I have got a question regarding the control flow inside an xmlform application. I have the following use case: A form with more than a 'forward' and 'back' button. E.g. a button wich adds an extra input field to the form. The user should be sent to the actual form again. form1 (start)

Re: mail function

2003-03-17 Thread Christopher Painter-Wakefield
There is a sendmail logicsheet, not documented on the website. To use it is pretty simple, here's an example of what you might do with a POST from a message form: xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:sendmail=http://apache.org/cocoon/sendmail/1.0; page xsp:logic

Re: Creating an aggregation from a list of files

2003-03-17 Thread Darren Petrie
You have 3 fairly straight forward options whereby you can process your manifest to aggregate your files. 1) Use document() function within an XSL transformation 2) Transform your manifest, create XInclude statements and run through the XInclude transformer. 3) Transform your manifest, create

manage the sessions ?

2003-03-17 Thread Lionel Crine
What actions should I use ? How does they act between the pipeline ? Is there any documentation, besides besides these on the cocoon site ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: manage the sessions ?

2003-03-17 Thread Yves Vindevogel
You can use xsp-session for this. Docs: the website under XSP / Session Two good books: Cocoon, Building XML applications (Langham / Ziegeler) Cocoon, Developer's handbook (Moczar / Aston) What actions should I use ? How does they act between the pipeline ? Is there any documentation,

Re: manage the sessions ?

2003-03-17 Thread Lionel Crine
I have these two books. I want to manage the sessions in the pipeline. At 14:55 17/03/2003 +0100, you wrote: You can use xsp-session for this. Docs: the website under XSP / Session Two good books: Cocoon, Building XML applications (Langham / Ziegeler) Cocoon, Developer's handbook (Moczar /

RE: Creating an aggregation from a list of files

2003-03-17 Thread David Balch
Hi Darren, Cool, CInclude looks like the ideal approach :-) I'm hoping to get a good set of tools together for working with IMSCP and Cocoon, and I'll post details when I've got something presentable. Many thanks, Dave. -Original Message- From: Darren Petrie [mailto:[EMAIL PROTECTED]

Re: XMLForm: how to display arrays

2003-03-17 Thread ivelin
the repeat tag should help. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 17, 2003 3:37 AM Subject: XMLForm: how to display arrays Hello, I'm using XMLForm to allow user to query a database. How can I display results data in an

RE: XMLForm: how to display arrays

2003-03-17 Thread Sylvain.Thevoz
Hi Ivelin, How do you create columns with repeat tag? Have you an example? Thanks Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: lundi, 17. mars 2003 15:27 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to display arrays the repeat tag should help. -=Ivelin=-

Generating XSP from XSL fails with namespace error

2003-03-17 Thread Yves Vindevogel
Hi, I try to generate an XSP page by using an XSL file. I get an error when I try to use the generated page. The error is: message The namespace prefix xsp-request was not declared. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

RE: ???ESQL update table???

2003-03-17 Thread Delis, Christopher E.
on a slightly different note, is there place-holder functionality in esql stylesheet language? e.g., insert into atable (field1, field2) values (?, ?) select * from atable where field1 = ? limit ? ... TIA, chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: calling Cocoon servlet from a external one

2003-03-17 Thread Josema Alonso
Vadim, result of the Cocoon processing in my JSP + Response already committed -- you are trying to call Cocoon too late in the game; it must be before you commit your response, i.e., call Cocoon before you have any other content generated by JSP. I thought so. I tried it at the beginning and

Press Release

2003-03-17 Thread karthikeyan.balasubramanian
Hi All, I want to develop a press release using Cocoon. I have setup Cocoon in My system no problems. Are there already pre-existing News or Press Release Program running on cocoon which I can make use of. I don't want to re-invent the wheel :). Let me know your thoughts. Have a

Re: sitemap parameter for esq connection-pool in xsp

2003-03-17 Thread Stefan Klein
Is there a xsp-tag / logicsheet to do this, as well? Just as you can do: xsp-request:get-parameter as=xml name=fruit/? Thanks in advance Stefan - Original Message - From: Andres, Judith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 14, 2003 2:59 PM Subject: AW: sitemap

Newbie Sitemap Help

2003-03-17 Thread amsmith
Hello All, I am really new to working with Cocoon platform, and was trying to read and understand all that I could before posting for help. have been having trouble setting up a sitemap for a test application that I am currently developing. First off, I am just trying to get a working

Re: xerces version in j2sdk_1.4.1

2003-03-17 Thread Charles Yates
Yury Mikhienko wrote: Hi all! Does anyone know the xerces version in j2sdk_1.4.1 ? j2sdk_1.4.1 does not use xerces. And also: can I set another xerces for using (if I use java1.4)? http://java.sun.com/xml/jaxp/faq.html -

WritableSource output Cocoon 2.0.4

2003-03-17 Thread Eric di Domenico
Hello, I have implemented a basic Email WritableSource. Is there a way for me to add information to the outputted page? Thank you Ciao Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Generated XSP page cannot be used as input in generator

2003-03-17 Thread Yves Vindevogel
Repost Hi, I try to generate an XSP page by using an XSL file. I get an error when I try to use the generated page. The error is: message The namespace prefix xsp-request was not declared. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Yves Vindevogel
Sorry everybody, This is not a repost, but might be a bug in cocoon. I found a solution to my other problem, but I wanted to inform this group. Consider this line in the sitemap map:generate src=http://web/implements/db/{1}/{2}.xsp; type=xsp/ This works, whereas the line map:generate

Re: XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Joerg Heinicke
Hello Yves, that's more than strange and definitively a bug. It's a parsing exception as you can read. It's very clear and means, that a namespace declaration is missing. ou can check, whether your xsp has a namespace declaration for xsp-request. But independent of a possible bug in your XSP

SQL Transformer or ESQL Stylesheet?

2003-03-17 Thread Konlin
Hello Cocoon! Can you write me any clues when to use sql transformer and when esql stylesheet? What is more flexible, easier, more professional etc? I'm going to write simple news portal with Xindice or MySQL as DBMS and I'm wondering what solution is better. Greetz, Konrad Inglot -- [EMAIL

control flow inside an xmlform application

2003-03-17 Thread Stoeckel, Matthias
Hi all, I have got a question regarding the control flow inside an xmlform application. I have the following use case: A form with more than a 'forward' and 'back' button. E.g. a button wich adds an extra input field to the form. The user should be sent to the actual form again. form1 (start)

Re: XSP generated, problem with cocoon:/ prefix

2003-03-17 Thread Yves Vindevogel
I'm willing to help find this one, so ask anything you need to know if you want to solve this ... Unfortunately, my XSL contains this declaration, as you can see in my code and otherwise, the generation throught http:// would not work. My XSL file is this one, containing the declarations

Re: WritableSource output Cocoon 2.0.4

2003-03-17 Thread Upayavira
I have implemented a basic Email WritableSource. Is there a way for me to add information to the outputted page? Do you mean that, once the source has been written to, you want to present something back to the browser? If so, you just do an XSLT transformation on the output of your

Re: WritableSource output Cocoon 2.0.4

2003-03-17 Thread Eric di Domenico
Not exacly, That is fine, what I would like is to be able to change the result I get from the SourceWritingTransformer. For exemple, if the email cannot be sent because of a bad address, I would like to be able to insert, in the resulting XML, my own error message...(something that I can

Graphics in XSL:FO?

2003-03-17 Thread Colin W. Kingsbury
I am trying to get cocoon to render an instance to PDF which includes a graphic reference. I have used the fo:external-graphic src=file:///c:/stuff/foo.jpg/ tag and have my cocoon running in say c:\tomcat\webapps\cocoon. If I run the FO output through Fop on the command line I see my graphic; if

Passing parameters from xsp to xsp

2003-03-17 Thread Yves Vindevogel
Hi, I need to pass request parameters from one XSP to another This is my sitemap map:match pattern=db/*/*.xsp map:generate src=db/{1}/{2}.xsp type=xsp/ map:transform src=xsl/db.generatexsp.xsl/

Cocoon.war file not getting generated for Cocoon-2.1build...??

2003-03-17 Thread Gautam Ganguly
hi all, I recently downloaded the Cocoon-2.1 using the CVS Head tag from the code repository. After running build -Dinclude.webapp.libs=yes webapp...i also got a Build successfull message.But when i try to look for cococoon.war file in the /build/cocoon-2.1-dev directory thats getting created

Re: Cocoon.war file not getting generated for Cocoon-2.1 build...??

2003-03-17 Thread Mark Eggers
Gautam, The build proceedure has been changed fairly recently. It's briefly documented in the INSTALL document that is located in the root directory of the CVS checkout. To build the war, type build war from the command line. All options (including webapp libs, scratchpad libs, samples,

RE: Creating an aggregation from a list of files

2003-03-17 Thread Conal Tuohy
2) Transform your manifest, create XInclude statements and run through the XInclude transformer. 3) Transform your manifest, create CInclude statements and run through the CInclude transformer. CInclude allows you to call Cocoon pipelines so it is very powerful. I would

RE: Creating an aggregation from a list of files

2003-03-17 Thread Conal Tuohy
Hi David Note that you can use the Zip Archive Serializer to generate the entire IMS package - you don't need to generate static files and zip them in some later stage; it can all be done in Cocoon. http://xml.apache.org/cocoon/userdocs/serializers/ziparchive-serializer.html You can use the

SQLTransformer

2003-03-17 Thread David Kavanagh
I'm using the SQLTransformer to insert somewhat large data sets into an Oracle database. I generate XML from a spreadsheet input. Each row gets its own execute-queryqueryblah, blah.../query/execute-query block. I am hitting the database over an SSH port-mapped link, so it is kind of slow.

Re: Cocoon.war file not being created for Cocoon-2.1 dev

2003-03-17 Thread Gautam Ganguly
hi there, it worked!!!and yup these is a better way to do it..much easier than typing evrything next to build in dos prompt in case of windows user like me!!I missed the war option because i don't think it being mentioned anywhere.Even in the wiki where i looked for helped i did find a link

Re: Press Release

2003-03-17 Thread Michael Wechner
karthikeyan.balasubramanian wrote: Hi All, I want to develop a press release using Cocoon. I have setup Cocoon in My system no problems. Are there already pre-existing News or Press Release Program running on cocoon which I can make use of. I don't want to re-invent the wheel :). Let me

Re: WritableSource output Cocoon 2.0.4

2003-03-17 Thread Upayavira
Well, right now the way I have it setup is pretty simple, I have an xsp page that generates an email message(I made up some simili-MIME xml tags) then this goes thru an XSL file that transforms the output into a mime complient mail message, this is the input my MailSource receives, it

sql transformer question; *not* esql... (was RE: ???ESQL update table???)

2003-03-17 Thread Delis, Christopher E.
i replied to the wrong topic. sorry... what i meant to ask was: is there a place-holder mechanism available using the sql transformer? --chris -Original Message- From: Delis, Christopher E. To: '[EMAIL PROTECTED]' Sent: 3/17/03 9:48 AM Subject: RE: ???ESQL update table??? on a

Re: WritableSource output Cocoon 2.0.4

2003-03-17 Thread Eric di Domenico
I think I will download the source to 2.1 and see if I can integrate it. Thanks for the help! The sourceWritingTransformer in 2.1 is quite different to the one in 2.0.4. I don't know whether it is 'back-compatible', or whether you'd have to upgrade your app to 2.1. You could at least give it a

Cant get an exception

2003-03-17 Thread Lee Pollington
Hi, I have built my own generator, using the tutorials. I can get it to work in a test harness and it produces a well-formed set of SAX events. However once inside cocoon, I get nothing, just an empty HTML page. I have recreated the cocoon libraries environment on the command line and it works. A

Re: xerces version in j2sdk_1.4.1

2003-03-17 Thread Yury Mikhienko
On Mon, 17 Mar 2003 10:07:51 -0800 Charles Yates [EMAIL PROTECTED] wrote: Yury Mikhienko wrote: Hi all! Does anyone know the xerces version in j2sdk_1.4.1 ? j2sdk_1.4.1 does not use xerces. And also: can I set another xerces for using (if I use java1.4)?

RE: sql transformer question; *not* esql... (was RE: ???ESQL update table???)

2003-03-17 Thread Luca Morandini
Christopher, IIUC, you need substitution: go to http://xml.apache.org/cocoon/userdocs/transformers/sql-transformer.html and look for the Substitution topic Regards, - Luca Morandini GIS Consultant [EMAIL

[ANNOUNCEMENT] Fins 0.1.0 released (aka ChartTransformer)

2003-03-17 Thread Luca Morandini
Folks, we are pleased to introduce you the FINS Project (aka ChartTransformer). The aim of this project is to equip the Cocoon community with a set of sitemap components able to generate professional charts in different formats (SVG, PNG, JPEG) using the JFreeChart library. The long-term goal is