RE: No SesionManager provided for Seleector?

2002-09-06 Thread Carsten Ziegeler
Jan Bromberger wrote: No, sorry - it is not. Actions, Matchers and Selectors are executed during processing of the sitemap immediately - generators, transformers and serializers are executed after the complete xml pipeline is established. So, first your selector is tested and at that

Re: The dbAdd action not working

2002-09-06 Thread Christian Haul
On 05.Sep.2002 -- 09:20 PM, Antonio Gallardo Rivera wrote: What we can do with this problem? :( I need to end forms to the next thursday :( How I can help? Antonio Gallardo. Since this is not advocated officially, I respond off-list. 2.1 resources have a feature / bug, so they will

Re: global-parameters

2002-09-06 Thread Christian Haul
On 05.Sep.2002 -- 06:25 PM, Barbara Post wrote: Hello, evening here... In c2.1, do the global parameters respect the stack created by actions ? So, if I have pipeline 1 and 3 nested actions in it, in the latest one I want to access foo1 global-parameter, do I use {../../../foo1} ? In

Re: Expiration Attribute in Pipeline Efficient aggregation

2002-09-06 Thread Martin Lüthi
Ivelin Thank you for your hint. Do you mean something like map:generate type=xpathdirectory src=docs/myfiles#/Body map:parameter name=expires value=100/ /map:generate This seems not to be cached and the directory listing gets created every time. Martin Ivelin Ivanov [EMAIL PROTECTED]

Re: XMLForm wizard data storage

2002-09-06 Thread u13209
The Open Source Project castor is a very helpfull Tool for mapping data from a database into Java-Objects. Overwrite the getFormModel() Method in your Action to get a Bean from the Database and commit it somewhere in perform(). I use a special Bean which holds the Business-Model in a

Re: Xopus2 has been open sourced

2002-09-06 Thread Michael Wechner
Ivelin Ivanov wrote: Looks promising. Is there a more complex demo than the one in the download. No, that's it. I would be interested to see line items, images, nested tables. What do you mean by line items? Do you mean drag and drop images? As I know nested tables are possible

What is bad with this pipeline in 2.1?

2002-09-06 Thread Antonio Gallardo Rivera
I have the followin pipeline: map:match pattern=*-*.html map:act type=auth-protect map:parameter name=handler value=agshandler/ map:match pattern=*-*.html map:act set=process map:parameter

Re: global-parameters

2002-09-06 Thread Barbara Post
Hi Chris, nope, I have to use the right path... and have troubles with level 6. So... Barbara - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 06, 2002 8:39 AM Subject: Re: global-parameters On 05.Sep.2002 -- 06:25 PM, Barbara

Strange response time pattern + Cocoon performance

2002-09-06 Thread Leszek Gawron
I have noticed something very strange in cocoon log : /CocoonServlet: 'cdn/dataold/goods' Processed by Apache Cocoon 2.1-dev in 291 milliseconds. /CocoonServlet: 'cdn/dataold/goods' Processed by Apache Cocoon 2.1-dev in 511 milliseconds. /CocoonServlet: 'cdn/dataold/goods' Processed by Apache

Using parameters in a xsl

2002-09-06 Thread Johannes Wechsler
Hi, I have a radiobutton and want to give its value-parameter a dynamic value. My radiobutton in the xsl looks like this: input type=radio name=Project value=/ I want to use a dynamic value for the value-parameter. For example: input type=radio name=Project value=xsp-request:get-parameter

Re: Link creation problem

2002-09-06 Thread MTiffany71
try using xsp:attribute xsp:logic String my_link=//do your logic to generate the link here xsp:logic a xsp:attribute name="href"xsp:exprmy_link/xsp:expr/xsp:attribute xsp:exprmy_link/xsp:expr /a hope this helps

AW: Using parameters in a xsl

2002-09-06 Thread Andres, Judith
Hi Johannes, you should use the following syntax which is correct xml: input type=radio name=Project xsp:attribute name=valuexsp-request:get-parameter name=ProjectName//xsp:attribute /input Judith -Ursprüngliche Nachricht- Von: Johannes Wechsler [SMTP:[EMAIL PROTECTED]]

Re: Link creation problem

2002-09-06 Thread Ganael LAPLANCHE
This worked fine... Thank you :) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 06, 2002 12:04 PM Subject: Re: Link creation problem try using xsp:attributexsp:logicString my_link=//do your logic to generate the

Problems with my Cocoon database tutorial

2002-09-06 Thread Leigh Dodds
Hi all, I'd like to apologise for an error thats crept into my tutorial Cocoon 2: Build database-driven sites on IBM developerWorks thats obviously burnt a number of folks. In the text I've incorrectly shown esql:pool as a child of esql:execute-query rather than esql:connection. The correct

Re: Problems with my Cocoon database tutorial

2002-09-06 Thread Alan Hodgkinson
Dear Leigh, I'd like to apologise for an error thats crept into my tutorial Cocoon 2: Build database-driven sites on IBM developerWorks thats obviously burnt a number of folks. ..[snip].. Apologies again for causing some of you difficulties and much head scratching. To make the

RE: Problems with my Cocoon database tutorial

2002-09-06 Thread Leigh Dodds
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 12:42 To: [EMAIL PROTECTED] Subject: Re: Problems with my Cocoon database tutorial ... Apologies again for causing some of you difficulties and much head scratching. To make the

Re: Using parameters in a xsl

2002-09-06 Thread Christian Haul
On 06.Sep.2002 -- 12:00 PM, Johannes Wechsler wrote: input type=radio name=Project value=xsl:value-of select=projectName// since Judith answered the first one, xsl has similar elements: xsl:attribute name=valuexsl:value-of select=projectName//xsl:attribute Here projectName needs to be a

AW: Using parameters in a xsl

2002-09-06 Thread Andres, Judith
Don't forget the @ character (or $ if it refers to a variable) input type=radio name=Project value={@projectName}/ Judith -Ursprüngliche Nachricht- Von: Robert Koberg [SMTP:[EMAIL PROTECTED]] Gesendet am: Freitag, 6. September 2002 13:02 An: [EMAIL PROTECTED] Betreff: RE:

Re: Handling lousy HTML

2002-09-06 Thread John Moylan
You probably need to preprocess your HTML with tidy before you introduce it to Cocoon. John Ola Berg wrote: At work I have to handle really bad written HTML (they used some really bad HTML generator): html body h1Hello, world!/H1 Hi there. p This is plain wrong. p But it works in certain

Re: Expiration Attribute in Pipeline Efficient aggregation

2002-09-06 Thread Vadim Gritsenko
Ivelin Ivanov wrote: Cocoon 2.1 supports an extra attribute in the pipeline, which specifies the expiration header in the http response. It serves different purpose; other client won't get cached result, and refresh also won't get cached result. Martin, you still need to exted generator to

Re: Cocoon 2.0 and Content Aggregator Cacheability Troubles

2002-09-06 Thread Vadim Gritsenko
David LAGARDERE wrote: Hi. I'm using an aggregator within my sitemap which is aggregating pipelines. So, cocoon:/ protocol is used. All my parts taken one by one, are cacheable generators that produce XML events once when I request them and they are then stored in the cache (my CacheValidity

Re: Handling lousy HTML

2002-09-06 Thread Nicola Ken Barozzi
Ola Berg wrote: From: John Moylan [EMAIL PROTECTED] You probably need to preprocess your HTML with tidy before you introduce it to Cocoon. Well, according to the sitemap in the cocoon dist (2.0.2), jtidy is involved in the HTML generator. Yes, correct. Yes, preprocessing is a

Re: XSP Redirect in Cocoon 2

2002-09-06 Thread Vadim Gritsenko
Michael Edge wrote: Thanks Litrik, I have written my action and it works 95%. I have one small, simple problem. My sitemap entry is below, and below that is an abbreviated version of my XSP. The XSP constructs a URL dynamically and needs to pass this back to the XSP. How do I do this? It

Re: Converting html documents to plain text

2002-09-06 Thread Vadim Gritsenko
Piroumian Konstantin wrote: Cocoon allows to setup a pipeline that will retrieve remote HTML documents, transform them and write to the HD. I think you'll have to run Cocoon from command line and provide the list of all the documents you need. Though, I'm not so sure that Cocoon's

Re: Xsltc and 2.0.3

2002-09-06 Thread Vadim Gritsenko
Stephen Ng wrote: Is it possible to plug xsltc into 2.0.3? Try following this: http://xml.apache.org/cocoon/snippet/snippet-xslt-options.html Vadim I tried substituting in sitemap.xmap: map:transformer name=xslt src=org.apache.cocoon.transformation.TraxTransformer

Re: Again: Cocoon and Websphere 4. This time: AIX

2002-09-06 Thread Vadim Gritsenko
Moritz Petersen wrote: Cheers, Mates, deploying Cocoon2 on Websphere is no problem, as we have seen during our project; we run it on WSAD 4.0.3/Win2k (using the build in Websphere 4.0.2) all the time. The problem is now, to bring Cocoon2 to AIX. We use WAS 4.0.3 AE on IBM AIX (RS/6000) to

Re: Setting up a pipeline for cocoon2

2002-09-06 Thread Vadim Gritsenko
Manish Shah wrote: Hi guys, I am trying to get used to cocoon 2, and I'm not sure about how to do this. But I have a jsp file that references two other jsp files: main.jsp contains: framesrc=header.jsp framesrc=body.jsp To create two frames. header.jsp and body.jsp outputs into

Re: Fwd: tuning

2002-09-06 Thread Vadim Gritsenko
Stephen Ng wrote: Just found the answer to my first question: the improved http/1.1 connector is in Tomcat 4.04: [B2] Coyote: This release include a completely new HTTP/1.1 connector and connector API, called Coyote. This connector provides much improved performance and robustness over

Re: What is bad with this pipeline in 2.1?

2002-09-06 Thread Vadim Gritsenko
Antonio Gallardo Rivera wrote: I have the followin pipeline: map:match pattern=*-*.html map:act type=auth-protect map:parameter name=handler value=agshandler/ map:match pattern=*-*.html map:act set=process

Re: Handling lousy HTML

2002-09-06 Thread Ola Berg
From: Nicola Ken Barozzi [EMAIL PROTECTED] HTMLGenerator uses JTidy directly, without making assumptions itself. If you can use JTidy to work for you, it should work - or can be easily made to work - with HTMLGenerator too. What do you mean? I can use JTidy on my system, whether Cocoon

Re: Handling lousy HTML

2002-09-06 Thread Nicola Ken Barozzi
Ola Berg wrote: From: Nicola Ken Barozzi [EMAIL PROTECTED] HTMLGenerator uses JTidy directly, without making assumptions itself. If you can use JTidy to work for you, it should work - or can be easily made to work - with HTMLGenerator too. What do you mean? I can use JTidy on my system,

Re: Handling lousy HTML

2002-09-06 Thread Bertrand Delacretaz
On Friday 06 September 2002 16:30, Ola Berg wrote: . . . is it safe to believe that HTMLGenerator utilizes JTidy and that JTidy fails, As Nicola told you, HTMLGenerator *does* use JTidy, as is clearly visible from the source code. However, AFAIK JTidy offers many more options than what

Formatting strings in a xsl

2002-09-06 Thread Johannes Wechsler
Hi, I use a webservice to access the Xindice-database. The URL I access is: http://localhost:8004/glue/DBServer/xPathQuery?collectionName=johannes2quer yString=//projects The method xPathQuery returns the (nearly) the following string: projects projectNameTest 1/projectName

XMLForm data stored/retrieved via Session Transformer?

2002-09-06 Thread Alan Hodgkinson
Dear All, Is it possible to get the data into/out of an XMLForm in XML format, via the session transformer? My goal is to implement business objects stored in XML in the session rather than in JavaBeans. It seems to me that form data is just begging to be stored in XML format, because it

simple connection to MySQL

2002-09-06 Thread Vaskin Kissoyan
I've tried to follow the how-to's and tutorials on the net and in the docs. Someone plase let me know what step I'm missing: 0) * Built 2.0.3 with all the samples and libs, installed war file under Tomcat 4.04, under JDK 1.4 * Built same tables with given sql file in mysql on a default install

Re: Formatting strings in a xsl

2002-09-06 Thread Alan Hodgkinson
Dear Johannes Wechsler wrote: Check the return type the the start method. You declare it void and then return a String. That looks suspicious. Alan Hodgkinson. Hi, I use a webservice to access the Xindice-database. The URL I access is:

RE: Formatting strings in a xsl

2002-09-06 Thread Robert Koberg
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Dear Johannes Wechsler wrote: Check the return type the the start method. You declare it void and then return a String. That looks suspicious. You cannot send a string into the transformation and expect it

Re: simple connection to MySQL

2002-09-06 Thread Alan Hodgkinson
Dear Vaskin I've tried to follow the how-to's and tutorials on the net and in the docs. Yup.. I tried that to and basically, everything went wrong! Someone plase let me know what step I'm missing: There are a few things to check: 0) * Built 2.0.3 with all the samples and libs,

Re: XSP Redirect in Cocoon 2

2002-09-06 Thread Michael Edge
Thanks Vadim, it's now 100%. Michael To: [EMAIL PROTECTED] Subject: Re: XSP Redirect in Cocoon 2 Michael Edge wrote: Thanks

svg xsp java

2002-09-06 Thread Sanne de Roever
Hi, I've managed to make some svg's with xsp: which is pretty cool! But now I want to go further and try to make tables in svg. Basically what I would need is such a snippet: xsp:logicfor (int count=0;count lt; 25;count++){/xsp:logicg id="XMLID_1_" rect x="0" y="xsp:expr count*13+40

Re: svg xsp java

2002-09-06 Thread Boris Althaus
I think you should build the attribute using xsp:attribute name="y"xsp:expr... - Original Message - From: Sanne de Roever To: [EMAIL PROTECTED] Sent: Friday, September 06, 2002 7:23 PM Subject: svg xsp java Hi, I've managed to make some svg's with

Re: XMLForm wizard data storage

2002-09-06 Thread Bjoern Voigt
The Open Source Project castor is a very helpfull Tool for mapping data from a database into Java-Objects. Overwrite the getFormModel() Method in your Action to get a Bean from the Database and commit it somewhere in perform(). I use a special Bean which holds the Business-Model in a

Re: svg xsp java

2002-09-06 Thread Ilya A. Kriveshko
You are trying to use JSP approach to writing XSP document. Use the following syntax for dynamic attributes instead: xsp:logic for (int count=0;count lt; 25;count++){ /xsp:logic g id=XMLID_1_ rect x=0 width=500 height=12 fill=yellow xsp:attribute name=yxsp:expr count*13+40

Re: svg xsp java - solved!

2002-09-06 Thread Sanne de Roever
Thanks Boris and Ilya, I've got this thing working in no time thanks to you two! I still needed to do some thinking, but then it appeared to me: xsp:element name=rect xsp:attribute name=x0/xsp:attribute xsp:attribute name=yxsp:expr count*13+40 /xsp:expr/xsp:attribute

RE: Xsltc and 2.0.3

2002-09-06 Thread Stephen Ng
The magic words seem to be: xslt-processor class=org.apache.cocoon.components.xslt.XSLTProcessorImpl logger=core.xslt-processor parameter name=use-store value=true/ parameter name=incremental-processing value=true/ parameter name=transformer-factory

Re: Xsltc and 2.0.3

2002-09-06 Thread Vadim Gritsenko
Stephen Ng wrote: The magic words seem to be: xslt-processor class=org.apache.cocoon.components.xslt.XSLTProcessorImpl logger=core.xslt-processor parameter name=use-store value=true/ parameter name=incremental-processing value=true/ parameter name=transformer-factory

xalan exception

2002-09-06 Thread Manish Shah
Hi there, I'm getting the following xalan exception when using xalan 2.4.0: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1034) at

Re: xalan exception

2002-09-06 Thread Ilya A. Kriveshko
Can't be sure, but just recently I spent some time tracking down what was causing a similar NPE. Turned out I typed xsl:for-each test=something instead of xsl:for-each select=something. Clearly, it is an error on my part, but the NullPointerException isn't exactly what I would have expected

Re: xalan exception

2002-09-06 Thread Manish Shah
Hey Ilya, It all worked in cocoon 1.0, but I was getting a different problem. That's why I went to cocoon 2.0. So, the names are right.. What version of xalan are you using? On Fri, 2002-09-06 at 14:17, Ilya A. Kriveshko wrote: Can't be sure, but just recently I spent some time tracking down

my built-in logicsheet stopped working between 2.0 and 2.0.3

2002-09-06 Thread Rick
hi all, we're doing some XSP stuff, where the same XSP logic needs to be applied across source documents. one way to do it would be cut-and-paste (arg!), but we've chosen instead to implement our own built-in tags, where, say, fas:header-info/ calls in a whole slew of processing. (much of this

Stylesheet selection by doctype?

2002-09-06 Thread Ben Young
Is it possible to set up a sitemap that will select a different stylesheet according to the XML Schema or doctype used in the content file? I've found information on multiple forms of out put (i.e., doc2html or doc2pdf). I'd like to have style sheets more along the lines of doc2html, rss2html,

Re: Expiration Attribute in Pipeline Efficient aggregation

2002-09-06 Thread Ivelin Ivanov
AFAIK, If you front Cocoon with Apache (ProxyCache enabled) or if any other proxy server is between your browser and Cocoon, then the expires attribute is of significant help. Only I don't remember the syntax when used in the pipeline. Can someone point us to a document? However if the browser

Re: Expiration Attribute in Pipeline Efficient aggregation

2002-09-06 Thread Vadim Gritsenko
Ivelin Ivanov wrote: AFAIK, If you front Cocoon with Apache (ProxyCache enabled) or if any other proxy server is between your browser and Cocoon, then the expires attribute is of significant help. Only I don't remember the syntax when used in the pipeline. Can someone point us to a document?