Re: Custom class that runs when cocoon starts up

2006-08-08 Thread David Perez
Sanket Pattekar schrieb: Hi Is it possible to have a custom class that runs when cocoon starts up. Using this class I need to run call a pipeline at startup. This feature I need is similar to that of overriding the init() method of any servlet. Sanket

Re: Sitemap brace escaping

2006-04-28 Thread David Perez
Jason Johnston schrieb: Hi, I have a little problem. I want to set a parameter in the sitemap whose value contains braces: map:parameter name=myparameter value={inside brackets}/ How can I escape these braces withouth being interpreted as a variable reference? I have looked at the wiki

Re: Sitemap brace escaping

2006-04-28 Thread David Perez
Jason Johnston schrieb: Hi, I have a little problem. I want to set a parameter in the sitemap whose value contains braces: map:parameter name=myparameter value={inside brackets}/ How can I escape these braces withouth being interpreted as a variable reference? I have looked at the wiki

Sitemap brace escaping

2006-04-27 Thread David Perez
Hi, I have a little problem. I want to set a parameter in the sitemap whose value contains braces: map:parameter name=myparameter value={inside brackets}/ How can I escape these braces withouth being interpreted as a variable reference? I have looked at the wiki

Changes page of Cocoon site doesn't work

2006-03-28 Thread David Perez
http://cocoon.apache.org/2.1/changes.html This is the error message If you see this file outside of Daisy then something went wrong :-( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Where's the best place to run code at Cocoon startup?

2005-10-14 Thread David Perez
Sylvain Wallez schrieb: David Legg wrote: I've got some singleton Java classes that I'd rather configure and init at Cocoon init time instead of the first time a page is requested. Where's the best place to do this? I've looked at the xconf file but I'm not sure if this is what I need.

Re: Pass a parameter from generator/transformer to the sitemap

2005-08-30 Thread David Perez
Why do you need a parameter? You have all this information in the SAX pipeline! You can access any info generated from a generator within a transformer. Irv Salisbury schrieb: I think the other problem you are going to have in getting a solution to this is that the parameters, actions, etc are

[ANN] ValidationTransformer updated

2005-08-26 Thread David Perez
Hi all, I have updated the ValidationTransformer. It now reports better the location of error messages, even if no document locator has been provided. More info here: http://wiki.apache.org/cocoon/ValidationTransformer - To

Re: Passing Java Objects from FlowScript to pipeline components?

2005-08-23 Thread David Perez
Hi You can also use a request attribute to hold any Java object, not just strings. ObjectModelHelper.getRequest(objectModel).setAttribute(mykey, myDictionary) HTH. David Sandor Spruit schrieb: Hello, I am using Cocoon 2.1.7 to create a front-end for a home-made XML search engine. I

Re: Can anyone verify a bug with 2.1.6 resource reader?

2005-08-10 Thread David Perez
Hi David, Look at the Cocoon change log, all solved bugs are there. What I also would do is to download the latest ResourceReader.java from CVS and compare with the one I have. Hope this helps. David Swearingen schrieb: Having a problem with serving out .pdf files to IE under 2.1.6 using

Re: Existing Cocoon IDE

2005-08-09 Thread David Perez
Hi Oleg, I use Eclipse + Oxygen (plugin for XSTL and XML editing) + the Relax NG schema for editing the sitemap. Look also at the Lepido project (search it by using Google), they have recently have made Milestone 1.. Oleg Konovalov schrieb: Hi, I am looking for an existing

Re: TeeTransformer

2005-05-24 Thread David Perez
Ugo Cei schrieb: Hi, I need something like the SourceWritingTransformer that would allow me to log, for debugging purposes, the contents of an XML document that is output by a generator. The problem with the SWT is that it expects its input to contain extra tags to direct its behavior, but

Conditional branching

2005-05-23 Thread David Perez
Hi all, I need branching depending on the current contents of some tag in the XML at a given pipeline step. So the first thing comes up to my mind is to use a matcher. I've found the WildcardParameterMatcher that allows me to use sitemap variable and an input module called XmlFileModule.

Re: Conditional branching

2005-05-23 Thread David Perez
Reinhard Poetz schrieb: Thanks Reinhard, Please, any good keyword for searching the archives? I've tried branching and xml stream with no luck. David Perez wrote: Hi all, I need branching depending on the current contents of some tag in the XML at a given pipeline step. So the first

Re: DirectoryGenerator +mapped drive

2005-05-23 Thread David Perez
Jo Brooks schrieb: Has anyone ever tried using a ImageDirectoryGenerator to view files and folders on remote machines (either by mapped drives or UNC pathnames)? If so how do you go about achieving this? Many thanks Jo and Neil Jo, Have you really tried this? The

Re: changes are not reflected in the XML resources

2005-05-23 Thread David Perez
Fadi, It looks like a problem with caching. Try also deleting temporary web server files fadi qutaishat schrieb: Hi all, I have posted a question few days ago but I have got no response. Anyway, I have attached it again in case if anyone has had the same problem: I have got a problem in