Widget type Date, Calendrier et Locale

2005-12-19 Thread Xavier LECHNER
Bonjour, J'utilise les Widgets de type Date, et Cocoon pose à coté un petit calendrier bien pratique. Le seul hic c'est qu'il est en langue anglaise et que le site que je voudrais céer doit être totalement en français. Ma question est donc : Comment fait-on pour changer la locale par defaut

Re: Basique question de session et url rewrite

2005-12-19 Thread Philippe Guillard
J'ai encore besoin d'aide : Ok le navigateur positionne un cookie lors de la creation de session par rapport au hostname. Beaucoup de sites permettent de s'authentifier et de garder la meme session en naviguant sur des prefix differents, example http://chinese.meetup.com/12/. Vous pouvez changer

Re: Label Dynamique pour un Widget Submit

2005-12-19 Thread Sylvain Wallez
Xavier LECHNER wrote: Bonjour, J'ai un problème, je dois créer une widget de type Submit avec son label qui viendrait d'une autre widget de type Output. Le label de la widget Submit étant déclarer dans le model.xml je ne vois pas comment faire. En gros je voudrais un bouton de submit avec son

Re: fd:initial-value et Xinclude...

2005-12-19 Thread Sylvain Wallez
[EMAIL PROTECTED] wrote: Bonjour, Je mets en place un formulaire multipage, via CForm, et je n'arrive pas à initialiser mon textarea en utilsant un Xinclude... - fd:group id=page3 state=invisible - fd:widgets - !-- PMID -- - fd:field id=pmid required=true fd:datatype base=string / -

Re: variable java en parametre de template d'une logicsheet

2005-12-19 Thread Rémi Masson
Philippe LAPLANCHE wrote: Bonjour, Je débute en xsp et je ne sais pas passer une variable java en paramètre d'un appel de template d'une logicsheet. Je vous donne un exemple simple : esql:row-results tr xsp:logic

RE: java variables as parameters of logicsheet templates calls

2005-12-19 Thread Nathaniel Alfred
I'm afraid that is not quite possible. esql:get-string/@column must be a manifest column name or number. The ESQL logicsheet assumes that you know what the data in your table means. However, there is one tag which allows to output the metadata of a query. esql:get-columns writes for each result

David Duhme ist außer Haus. -Virus checked-

2005-12-19 Thread David Duhme
Ich werde ab 19.12.2005 nicht im Büro sein. Ich kehre zurück am 06.01.2006. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Ajax client library handling script tags

2005-12-19 Thread Freek Segers
Hi, I'm having a problem with the way Ajax handles script tags in the browser update XML. The way it is implemented in Cocoon 2.1.8 the scripts are evaluated before the HTML elements are replaced. Because my script calls document.getElementById() my script acts on the old element, that is

Re: Trying to implement two-phase authentication with flow

2005-12-19 Thread Antonio Fiol Bonnín
2005/12/15, Stan Dyck [EMAIL PROTECTED]: On Wed, 2005-12-14 at 15:52 +0100, Antonio Fiol Bonnín wrote: 2005/12/13, Stan Dyck [EMAIL PROTECTED]: The question is how to do a lookup for the content of the second page after the sendPageAndWait call in my flowscript. My script calls the

Easier indexing

2005-12-19 Thread Dan Nicolici
Hi! I am indexing my website with the LuceneIndexTransformer like this: map:match pattern=site/indexAll map:aggregate element=page map:part src=""> map:part src=""> map:part src="" /map:aggregate map:transform src=""> map:transform type=index/ map:serialize

Re: Easier indexing

2005-12-19 Thread Antonio Fiol Bonnín
You can try with xinclude or cinclude on a dynamically generated source plus some transformations. -- Antonio 2005/12/19, Dan Nicolici [EMAIL PROTECTED]: Hi! I am indexing my website with the LuceneIndexTransformer like this: map:match pattern=site/indexAll

Using xsl:include in stylesheet throwing error

2005-12-19 Thread duncan_mclean
Hi We are currently attempting to move applications from v2.0.4 to v2.1.7 and have noticed that stylesheets containing xsl:includes are failing where they functioned perfectly well pre-migration. The error we get is: Caused by: org.apache.cocoon.ProcessingException: Unable to get transformer

Cocoon portal info

2005-12-19 Thread Angelo Immediata
Hi all. I have an ear where i have my portal application. Now i have tried this application on my local pc; my pc configuration is: JVM: 1.4.2_08 OS: Windows XP Home Edition SP2 Cocoon: 2.1.7 AS: JBoss 3.2.6 With this configuration all works very fine. I have tried this ear on a linux pc;

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Geert Josten
Are you sure that there is no syntax error in the XSLT that was not spotted by an earlier version of Xalan, but is with a later one? Try applying the stylesheet to itself on a command-line to get a syntax check. Cheers, Geert [EMAIL PROTECTED] wrote: Hi We are currently attempting to move

Re: [Solved]Session-Context Input Module

2005-12-19 Thread Peter Sparkes
I found the answer in: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/components/ContextInputModule.html Peter Sparkes wrote: Hi, Help Please - I want to use the Session-Context Input Module to get data out of the authentication session context and use it in a

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Derek Hohls
FWIW, I also migrated to 2.1.7 (but not from 2.0.4); I have: map:transformers default=xslt/ in the map:components section, and map:transform src=filename.xsl i.e. no type= as an attribute... what leads you to think the xsl:include s are the source of the problem? [EMAIL PROTECTED]

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Duncan McLean
Hi We commented out the offending xsl:include and the page rendered. Thanks FWIW, I also migrated to 2.1.7 (but not from 2.0.4); I have: map:transformers default=xslt/ in the map:components section, and map:transform src=filename.xsl i.e. no type= as an attribute... what leads you

Re: Question about serializers

2005-12-19 Thread Fawzib Rojas
Can anyone help me to make this work? Fawzib Rojas wrote: Mark Lundquist wrote: On Dec 15, 2005, at 7:45 AM, Fawzib Rojas wrote: Is there a way to create a thread in flowscript and have the cocoon.processPipeline run in it? Yes, definitely... Well I tried it but it isnt working, If I

Two XML files and one XSL file in Cocoon

2005-12-19 Thread kavitha ramesh
Hi,I havetwo xml files,,book.xml and author.xml and one xsl file,,author's book.xsl. How can I process these two xml files with one xsl file in cocoon?how should my pipeline in the sitemap look like? Please suggest me,,,Kavitha__Do You

Re: Two XML files and one XSL file in Cocoon

2005-12-19 Thread Geert Josten
How about: map:match pattern=make-book/** map:generate type=file src={1}/ map:transform type=xslt src=book.xsl / map:serialize type=xml / /map:match Cheers, Geert kavitha ramesh wrote: Hi, I have two xml files,,book.xml and author.xml and one xsl file,,author's book.xsl. How can

RE: Easier indexing

2005-12-19 Thread Dan Nicolici
Thanks for the reply, Antonio. But hey, doesn't this mean I'd have to manually code those url's one way or another? Cause if it means that, I think it would be clearer if I stick with the original pipeline (the one with the aggregation). Would that be so wrong (like a never do this for a best

Re: Two XML files and one XSL file in Cocoon

2005-12-19 Thread Markus Vaterlaus
Hello there, there are several solutions I can think of: 1. Define internal pipelines (for each file one) process the files (maybe you want to do that) and later on use an aggregation as the final generator which is transformed by authorsbook.xsl 2. Use a directory generator an

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Derek Hohls
In case, is it not more likely that stylesheet itself was the source of the problem - in which case Geert's suggestion of a command line test should help you pin down the cause in more detail. [EMAIL PROTECTED] 2005/12/19 02:53 PM Hi We commented out the offending xsl:include and the page

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Duncan McLean
Hi Thanks for this, can someone explain how to run the command line check please as I am not sure how to manually check. Thanks again. In case, is it not more likely that stylesheet itself was the source of the problem - in which case Geert's suggestion of a command line test should help

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Geert Josten
Put a xalan.jar next to the xsl and call: java -Xbootclasspath/p:xalan.jar -jar xalan.jar -in in.xml -xsl book.xsl -out out.xml where you can replace in.xml with book.xsl if you have no input xml at hand.. :-) Cheers PS: the bootclasspath parameter makes sure that you are using the

RE: Two XML files and one XSL file in Cocoon

2005-12-19 Thread Ard Schrijvers
Think Kavitha wants both xml files available for the same xsl, so what he needs is map:match pattern=make-book/** map:aggregate element=book map:part element=bookcontent src=cocoon://bookcontent/{1}/ map:part element=bookauthor src=cocoon://bookauthor/{1}/

RE: JMS Listener invokes Cocoon pipeline (RE: How do I create a context from a background task in cocoon?)

2005-12-19 Thread Ard Schrijvers
Hi, I eventually also got it running with a BackgroundEnvironment. I have not yet experienced the java.lang.OutOfMemory but this may merely be a result that it is not yet in production. At least I know to test it now :-) The way it now works for me, is to create a BackgroundEnvironment, then

RE: how to pass request-parametrs to read-component?

2005-12-19 Thread Ard Schrijvers
Don't know if it solves your problem, but can't you just use the {request:queryString} So someting like: map:read src=http://intra/{1}?{request:queryString}; / Don't know if it also works for post... Hi, I'm trying to do following: map:match pattern=intra/** map:read

RE: Easier indexing

2005-12-19 Thread Martijn C. Vos
Dan Nicolici [mailto:[EMAIL PROTECTED] wrote: Thanks for the reply, Antonio. But hey, doesn't this mean I'd have to manually code those url's one way or another? Do you have some automatic way of getting those urls? An automatically generated menu or something? If so, you can use

Re: Two XML files and one XSL file in Cocoon(Summary)

2005-12-19 Thread kavitha ramesh
Ard Schrijvers,Markus Vaterlaus and Geert Josten,,,Many Thanks for your suggestions,,,I tried the following way and it works,,map:match pattern="one" map:generate src=""/ map:serialize type="xml"/ /map:match map:match pattern="two" map:generate src=""/ map:serialize type="xml"/

Hivemind integration - how to access cocoon context?

2005-12-19 Thread David Legg
I would like to organize a Cocoon app as a set of Hivemind components (as recommended by the Bricks CMS demo). I've very quickly run into a problem... one of the components needs to read some data from a file and therefore needs access to the Cocoon context so it can look for this file

RE: Hivemind integration - how to access cocoon context?

2005-12-19 Thread Ard Schrijvers
Think you more or less run into the same problems described in recent emails: Subjects: RE: JMS Listener invokes Cocoon pipeline (RE: How do I create a context from a background task in cocoon?) How do I create a context from a background task in cocoon? I suppose you are also having

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Duncan McLean
Hi Thanks for all your help; think we found the problem - is it a case that later versions of xalan are more strict in what they allow then? (Basically the problem seems to be an included stylesheet conditionally referencing a template which may or may not appear in the outer stylesheet if

Problem with XMLFile input module when using Saxon8 as default XSLT processor

2005-12-19 Thread Fred Vos
Hello, Last week I got the XMLFile input module working for a project at work. Since we want to use XPath 2.0 in our XSLT transformations, I wanted to use Saxon8 as the default XSLT processor in Cocoon. Using Cocoon 2.1.8 under Tomcat 5. To use Saxon I used the following steps: 1. Downloaded

Re: Hivemind integration - how to access cocoon context?

2005-12-19 Thread David Legg
Thanks for the response. but I suppose not having a context is your problem isn't? Actually, the context does exist... I just need to access it somehow from a Hivemind component. In the past I've used the Avalon component manager built into Cocoon and getting the context is

RE: Problem with XMLFile input module when using Saxon8 as default XSLT processor

2005-12-19 Thread Ard Schrijvers
Hello Fred, Though I am not familiar with the TraxTransformer, I know that the TraxTransformer is used for an incoming SAX stream, which does not enable DOM. It does not seem to be parameterizable either. Take a look at the DeliTransformer, that seems to be able to transform with

I18n problem - need some help : urgent

2005-12-19 Thread Hugo Marcelino
Hi users ! My name is Hugo Marcelino and i'm having problems in using i18n. I'm getting crazy with a problem that i'm having with internacionalization. Im building a web portal in two languages. I set the catalogues and i've defined the action and transformer like it was in the samples, and i

Re: Using xsl:include in stylesheet throwing error

2005-12-19 Thread Derek Hohls
Duncan This sounds like one of the deeper mysteries of XSL; best to take this up with the XSL mailing list - where there are a number of very clued-up people who could give you much more insight into the specifics of this problem. See: http://www.mulberrytech.com/xsl/xsl-list/index.html