Action - DatabaseSelectAction and XSP + ESQL

2002-07-31 Thread Richard
Hi Guys Between Action - DatabaseSelectAction and XSP + ESQL Which is better? Which is easier to code? How am I suppose to get the results on the Action - DatabaseSelectAction? Thanks Richard

Re: Action - DatabaseSelectAction and XSP + ESQL

2002-07-31 Thread Christian Haul
On 31.Jul.2002 -- 03:48 PM, Richard wrote: Hi Guys Between Action - DatabaseSelectAction and XSP + ESQL Which is better? They target different use cases. To output the values, esql is easier and leaner. You might want to consider the SQLTransformer as well. If you use XSP, I would still

Re: Action - DatabaseSelectAction and XSP + ESQL

2002-07-31 Thread Richard
Thanks. - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Richard [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 4:00 PM Subject: Re: Action - DatabaseSelectAction and XSP + ESQL On 31.Jul.2002 -- 03:48 PM, Richard wrote: Hi Guys Between Action

Re: pb with http request

2002-07-31 Thread cyril vidal
OK thanks! It was because of spurious whitespaces before the xml declaration. It runs well now...;-) Cyril. - Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 3:15 AM Subject: Re: pb with http request This has

Re: esql - oracle stored procedure returns resultset

2002-07-31 Thread Frank Taffelt
- Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 30, 2002 7:42 PM Subject: Re: esql - oracle stored procedure returns resultset I'm certain that others do use oracle sps the way described. Actually, the esql sp support started that

R: Multiple map:resource calls

2002-07-31 Thread Lorenzo De Sio
Hi Vadim, I tried several possibilities, and I found a few points regarding my webapp (I'm sure they're not C2 issues:-)): 1) A resource which contains no serializer stops the pipeline, returning no output. Such a sitemap fragment: [...] map:resource name=crea-form-dati map:transform

support non-english characters in HTML serializer

2002-07-31 Thread yuryx
Hi all! Can anyone help me with following problem: I place russian text into attributes in my tags (for example: a href=ÔÅÓÔ/). And I see unicode encoding text in the attribute in output HTML :( Any way for solve this problem? Thanx. Yury.

RE: esql - oracle stored procedure returns resultset

2002-07-31 Thread Luca Morandini
Frank, just for the record: I use SQLTransformer, which runs smoothly even with multiple cursors returned by SPs. I used this method for a couple of projects and for some dozens SPs... not a glitch. Best regards, - Luca Morandini

LinkSerializer not seeing links (href, src)

2002-07-31 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a second problem with LinkSerializer. Sometimes I can only see href's (no src), sometimes I can't see any links. The cocoon examples work without problems. The xhtml output validates against the DTD. If this helps you, DOCTYPE isn't

xalan and request generator

2002-07-31 Thread Barbara Post
Since the root of the document returned by map:generate type=request/ contains xmlns declaration, my xpath query against this document does not work. Using xalan 2.3.1. Any workaround ? or would need to have another stylesheet to move xmlns declaration ? ?xml version=1.0 encoding=UTF-8? request

New sunBow Preview

2002-07-31 Thread Matthew Langham
The newest preview version of our Cocoon IDE plugin for eclipse - sunBow - is now available. More information here: http://radio.weblogs.com/0108489/2002/07/31.html#a6 Matthew -- Open Source Group Cocoon { Consulting, Training, Projects }

Re : xalan and request generator

2002-07-31 Thread Barbara Post
OK I have the solution : in the xsl declare rg namespace as http://xml.apache.org/cocoon/requestgenerator/2.0 and then prefix every element in xpath queries by it... Learned something ! Barbara - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

AW: multiple checkboxes and request parameters passed to an xsl

2002-07-31 Thread Sternath Elmar
Hi Barbara, I already spent a couple of time about this problem and found the following, suboptimal solution: I created an XSP, called the xsp-request:get-parameter-values name=foo/ and filled all the parameter name/value pairs in a loop into an XML element. Then I used the aggregate tag in

creating new file with SWT

2002-07-31 Thread Bert Van Kets
Hi all, I am trying to get the SourceWritingTransformer to create a new XML file. Is this possible at all? All the samples I find write to existing files. The portal is the only sample that writes new files, but it's using session:target to create the new files. Anyway, here's my code snip

Re: multiple checkboxes and request parameters passed to an xsl

2002-07-31 Thread Barbara Post
Hi Elmar, I found a close solution : use request generator to get all the parameters, then apply an xsl to get only the family of parameters I want (name starting with a special word) then I can use the resulting xml by aggregation too.. Thanks Babs - Original Message - From: Sternath

Controlling the flow based on users role

2002-07-31 Thread Tuomo Lesonen
Hi, Is there a way to protect resources in a way that only certain roles have access to them? Already tried Session Selector, but I wasn't able to access the session context that the auth-login action creates. I'd also like to know if it's possible for a user to have multiple roles defined (for

[docs] Installation on resin 2.1.1 (was R: resin 2.1.x problems)

2002-07-31 Thread Lorenzo De Sio
Robert, it worked perfectly on a fresh Resin installation. Since it's by far much easier and cleaner than the procedure for previous versions, I suggest it be added to the documentation. How can we achieve this? L. -Messaggio originale- Da: Robert S. Koberg [mailto:[EMAIL

RE: using request selector to choose xsl

2002-07-31 Thread Jo Bourne
thanks so much for explaining! I had not understood that the serialise would always terminate the sitemap processing. At 9:49 AM -0400 30/7/02, Vadim Gritsenko wrote: From: Jo Bourne [mailto:[EMAIL PROTECTED]] Hi Vadim, I am confused by your example, the way it reads to me the default xsl

RE: Error handling in xsp:element...

2002-07-31 Thread Vadim Gritsenko
From: Per Kreipke [mailto:[EMAIL PROTECTED]] If I do the following in an XSP, the CInclude transformer doesn't recognize the cinclude:include element because it has no namespace associated with it. xsp:element name=cinclude:include This is incorrect. Of course. I

advice on a simple architecture for xml versioning

2002-07-31 Thread Giuseppe Bonelli
Hi all, I need advice on the various options available for building a simple versioning system for xml files. I went through the list archives looking for pointers, but I did not find much (apart from some very interesting, but old, conversation about cms implementation issues). Very

Redirecting

2002-07-31 Thread michael_hampel
Hello, I have two question and hope somebody can help me: 1.) Are there any examples how to redirect with an Action that inherits from AbstractXMLFormAction - how do I get the Redirector there - if this is the right object to redirect? 2.) How do I access the

RE: xalan and request generator

2002-07-31 Thread Vadim Gritsenko
From: Barbara Post [mailto:[EMAIL PROTECTED]] Since the root of the document returned by map:generate type=request/ contains xmlns declaration, my xpath query against this document does not work. Using xalan 2.3.1. Any workaround ? or would need to have another stylesheet to move xmlns

RE: LinkSerializer not seeing links (href, src)

2002-07-31 Thread Vadim Gritsenko
From: Torsten Knodt [mailto:[EMAIL PROTECTED]] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a second problem with LinkSerializer. Sometimes I can only see href's (no src), Give an example (reproducible). sometimes I can't see any links. Same here. Vadim The

xsp problem

2002-07-31 Thread cyril vidal
hy, In the last message, I've asked a question about a small factorial program, dynamically written with a recursive XSLT named-template call and getting a parameter via HTTP request. xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

RE: Multiple map:resource calls

2002-07-31 Thread Vadim Gritsenko
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]] Hi Vadim, I tried several possibilities, and I found a few points regarding my webapp (I'm sure they're not C2 issues:-)): ... So it seems like: a) A resource needs a serializer; Yes, I looked into the code and I can confirm this. At

xsl and http request header

2002-07-31 Thread Barbara Post
Hello, can an xsl directly access http request header (like http request parameters) or should I use request generator ? I want a text field to have a size specified by the kind of browser... Maybe rather use browser selector to pass a parameter to my xsl...? Babs

RE: Redirecting

2002-07-31 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] Hello, I have two question and hope somebody can help me: 1.) Are there any examples how to redirect with an Action that inherits from AbstractXMLFormAction - how do I get the Redirector there - if this is the right object to redirect?

RE: xsl and http request header

2002-07-31 Thread ROSSEL Olivier
I think that you can do that using a xsl document() pointing to a cocoon url with http generator and xml serializer. This is a VERY powerful option of Cocoon. -Message d'origine- De: Barbara Post [mailto:[EMAIL PROTECTED]] Date: mercredi 31 juillet 2002 15:51 À: [EMAIL PROTECTED]

Re: xsl and http request header

2002-07-31 Thread Barbara Post
Thank you, it does work : xsl:when test=document('cocoon://httprequest')/rg:request/rg:requestHeaders/rg:heade r[@name='user-agent' and contains(., 'MSIE')]80/xsl:when - Original Message - From: ROSSEL Olivier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 3:56

R: Multiple map:resource calls

2002-07-31 Thread Lorenzo De Sio
OK :-)) -Messaggio originale- Da: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Inviato: mercoledì 31 luglio 2002 15.45 A: [EMAIL PROTECTED] Oggetto: RE: Multiple map:resource calls From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]] Hi Vadim, I tried several possibilities, and I found

Antwort: RE: Redirecting

2002-07-31 Thread michael_hampel
Hello, I already tried Context context = ObjectModelHelper.getContext(objectModel); String param = context.getInitParameter(param_one); but also there my String is null. Is there another way? Thanx again for any help, miHam

RE: [docs] Installation on resin 2.1.1 (was R: resin 2.1.x problems)

2002-07-31 Thread Vadim Gritsenko
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]] Robert, it worked perfectly on a fresh Resin installation. You mean no modifications to resin? No, it does not work. Have you tried http://localhost:8080/cocoon/xscript/soap-getquote1 sample? However,

Re: esql - oracle stored procedure returns resultset

2002-07-31 Thread Frank Taffelt
- Original Message - From: Luca Morandini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 11:36 AM Subject: RE: esql - oracle stored procedure returns resultset just for the record: I use SQLTransformer, which runs smoothly even with multiple cursors returned by

Re: advice on a simple architecture for xml versioning

2002-07-31 Thread Bertrand Delacretaz
On Wednesday 31 July 2002 14:51, Giuseppe Bonelli wrote: . . . 3. I have the impression that a CVS like system could be an option, but I don't know the details of the system, so I cannot tell for sure and I am not able to evaluate the implications of using it as a xml document based (vs. a

Re: LinkSerializer not seeing links (href, src)

2002-07-31 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Vadim, I have a second problem with LinkSerializer. Sometimes I can only see href's (no src), Give an example (reproducible). sometimes I can't see any links. Same here. I wasn't able to reproduce the version, where only href's where

own generator

2002-07-31 Thread Istvan Beszteri
Hi All, I'd like to write my own generator. I have written the following generator according to the documents on the Cocoon 2 site, by extending an example. I can start the generator properly, but I can not pass any parameter to it. Somehow I'd like to reach the HTTP request itself (requested

RE: own generator

2002-07-31 Thread Vadim Gritsenko
From: Istvan Beszteri [mailto:[EMAIL PROTECTED]] Hi All, I'd like to write my own generator. I have written the following generator according to the documents on the Cocoon 2 site, by extending an example. I can start the generator properly, but I can not pass any parameter to it.

Accessing SVG's in Cocoon via SVG Serializer

2002-07-31 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I've a question regarding href's in the image tag of SVG's. Is there a way to access the actual sitemap context from an svg? Example Sitemap: map:pipeline map:match pattern=resources/** map:mount check-reload=yes

RE: own generator

2002-07-31 Thread Geoff Howard
How about this? If I read you right, what you're really going for is not getting the sitemap parameters but the request parameters. There's a difference between doing that from within the sitemap and within java code like this. I'm not positive this will compile, and I'm not 100% positive that

object rexx script within xslt

2002-07-31 Thread Gerald Michalitz
im trying to use the objectrexx script within an xsltransformation my xsl-file has this: lxslt:component prefix=my-ext elements=timelapse functions=calc lxslt:script lang=ObjectRexx ![CDATA[ /* calc rexx - Object Rexx, ---rgf, 2002-07-30, 03:03, wuw */ parse arg mon +3 . day , year /* parse date

RE: [docs] Installation on resin 2.1.1 (was R: resin 2.1.x problems)

2002-07-31 Thread Vadim Gritsenko
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] ... Since it's by far much easier and cleaner than the procedure for previous versions, I suggest it be added to the documentation. How can we achieve this? Please check it out:

cocoon 2.0.3 on tomcat 3.2.4

2002-07-31 Thread Crispin Murphy
Hello there. I am trying to get cocoon up and running in tomcat 3.2.4. I have done the following: 1. Installed tomcat. 2. Loaded the cocoon.war file into $tomcat_home/webapps. 3. Removed the jaxp.jar file from tomcat/lib. I would remove parser.jar but parser.jar does not exist. 4.

Forms

2002-07-31 Thread Richard
Hi Guys, Good Day! On http://xml.apache.org/cocoon/tutorial/tutorial-develop-webapp.html It is written that... The website specification is missing the tags for form building, we will provide an example here: Where can I find the "tags for form building" syntax and description? in the