Re: XSP page - dynamic link generation

2003-06-27 Thread Alexandre Victoor
Hello If think you should use xsp:attribute : a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href=insert linkLink to some

ThreadLocal with cocoon?

2003-06-23 Thread Alexandre Victoor
Hello I would like to know if it is safe to use threadlocal variables in actions and xsps. I don't know if the components called by the sitemap are always supposed to be executed inside the same thread. I have looked at the logs and the actions and the xsps seems to use the same thread for a

Re: Desperately need help with installing Cocoon on webLogic 7

2003-06-12 Thread Alexandre Victoor
Hello Anne I have tried by mistake to install Cocoon 2.0.4 compiled for the jdk1.4 on weblogic 7. I had the same error page you have. With cocoon compiled for the jdk1.3 there is no problem at all. Hope it helps Alex At 20:34 11/06/2003 -0700, you wrote: Dear all, I am really really stuck with

Re: problem with setting up cocoon in webLogic

2003-06-11 Thread Alexandre Victoor
What version of weblogic are you using? If I am not wrong, Cocoon2 works under weblogic 6.1 sp4 but not under weblogic 6.1 sp2... Alex Anne Kwong wrote: Dear all, I followed the instruction and is able to set up the CocoonServlet on weblogic. However, when I tried to bring up

Re: forwarding paremeter to xsp

2003-06-06 Thread Alexandre Victoor
Hi, you can pass the parameter explicitely in the sitemap : map:match pattern=**.info map:generate type=serverpages src=process.xsp map:parameter name=infoparam value={1}/ /map:generate map:serialixe type=xml/ /map:match and then you can use it process.xsp :

Re: empty html tags

2003-06-04 Thread Alexandre Victoor
versions script/ and style/ are serialized to script/script and style/style. Joerg Alexandre Victoor wrote: Hello Is there a simple solution to avoid unwanted transformations like DEFANGED_script/script - DEFANGED_script/ I tried to add cdata-section-elements parameters to the html serializer

empty html tags

2003-06-03 Thread Alexandre Victoor
Hello Is there a simple solution to avoid unwanted transformations like script/script - script/ I tried to add cdata-section-elements parameters to the html serializer but it doesn't work. I would rather like not to add comments or blank spaces inside my tags. Thanks for your help. Alex

Re: XSL question

2002-03-25 Thread Alexandre Victoor
Hi, you need to declare your parameter at the beginiing of the stylesheet : xsl:param name=yourparam/ xsl:template match=/ Then in the body of your stylesheet, $yourparam gives you the value of the parameter. Good luck Alex

Re: C2 too slow

2002-02-14 Thread Alexandre Victoor
Hi I think that some extra Mb of RAM on your system would be very useful. 64Mb are not enough. Regards Alex At 11:31 14/02/2002 +0200, you wrote: Hi everybody. I am a newbie. My problem is compiling and executing time. Compiling takes 30 min for the first time , and executing also takes 7-9

Re: Cocoon1 - Cocoon2

2002-02-13 Thread Alexandre Victoor
Hi Here is a dummy generator that parses a string and gives the sax events to cocoon. Hope that is what you need. From my experience I can tell that it is not the best thing to do with cocoon2... Regards Alex import org.apache.avalon.framework.parameters.Parameters; import

RE: Cocoon1 - Cocoon2

2002-02-13 Thread Alexandre Victoor
How can I do that ? Should I implement the Generator interface too in my servlet, or do the HTTP request thing what Jupin suggested ? Or is there any other way to do that ? I saw plenty of exapmles which use JSP, HTML, XSP and other thing as a generator, but nowhere a simple Java (servlet) code.

Re: c2: scales badly compared to c1

2002-02-11 Thread Alexandre Victoor
Thanks for your answers guys !! I look forward to test the next release of cocoon. Regards Alex - Please check that your question has not already been answered in the FAQ before posting.

Re: c2: scales badly compared to c1

2002-02-08 Thread Alexandre Victoor
Hi, I am also migrating from C1 to C2. I have tried to migrate changing as lessc ode as possible. I have noticed that if I use a very basic generator, which doesn't use the avalon framework, the amount of memory used by cocoonk eep increasing at each request. Well that's quite normal I guess

RE: Html generator question

2002-02-01 Thread Alexandre Victoor
Thanks a lot guys :-) Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Html generator question

2002-01-31 Thread Alexandre Victoor
Hello everyone Thanks Vadim for the response to my last question. I am using now the HTML generator to retrieve html from other sites. Since the html I get is not well formed, Jtidy logs a lot of warning. Is it possible to decrease the verbosity of Jtidy ? The second part of my question is : is

C1 - C2

2002-01-30 Thread Alexandre Victoor
Hello, I have a web site under Cocoon1 and I am willing to update to Cocoon2. Under Cocoon1, I use my own producer for all the requests. Because my boss doesn't want me to spend too much time on it, I have too change as less code as possible, even if the implementation is temporary and that

Re: find xml files in a directory, list them and render to html

2001-11-12 Thread Alexandre Victoor
Hi, I think Ant would be very useful for you. With Ant it is easy to launch your JUnit tests, copy/move files and launch other java programs. Regards Alex At 11:46 12/11/2001 +0100, you wrote: Hi, For our test framework we have this workaround: 1. Buildprocess 2. create junit test 3. create

newbie: repository folder

2001-09-21 Thread Alexandre Victoor
Hello I am using Cocoon 1.8 with Tomcat 3.2 In cocoon.properties, by default processor.xsp.repository = ./repository I have tried to write processor.xsp.repository = ${tomcat.home}/bin/repository so that the repository folder is always created at the same place. But that doesn't work... Is

Cocoon error page

2001-09-12 Thread Alexandre Victoor
Hello, I am a new tomcat-cocoon user. When the producer argument given to Cocoon is bad, Cocoon give an error page Error found handling the request. with the java stacktrace below. On my production site, I don't want the users to see the java stacktrace. How can I configure Cocoon to return a