Re: conception pipe/sitemap ?

2007-10-11 Thread Sébastien Geindre
Jean-Baptiste Quenot a écrit : Pourquoi ne pas écrire un Transformer? http://cocoon.apache.org/2.2/core-modules/pipeline-api/1.0/org/apache/cocoon/transformation/Transformer.html et oui pourquoi pas ? à ce propos, entre un transformer dédié et une feuille de style + appel à une fonction

problem creating generator - parameters

2007-10-11 Thread Lieven Doclo
Hi, I'm trying to build a generator that does the following: call a remote method on a server (using spring remoting) drag the result through an XML mapper (currently XMLBeans) deliver XML SAX events to cocoon All in all not a big issue, were it not for the fact that I can't seem to find

Re: Problem with my Wiki-Account

2007-10-11 Thread Marc Gorzala
Hi Joerg, The default place for maintaining Cocoon documentation (which is more official than the wiki) is Daisy at http://cocoon.zones.apache.org/daisy/. What the better place is is hard to say and depends much on the kind of your addition. I think, the wiki is the place for all new docs,

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Hugh Sparks
From: Joerg Heinicke [EMAIL PROTECTED] I didn't know it but I saw today the thread about mounting a block at root level. So in case you missed it: http://marc.info/?t=11920255864r=1w=4 The information at that link is no longer accurate for Cocoon 2.2, but it was close enough to help me

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Hanne Moa
Hugh Sparks wrote: From: Joerg Heinicke [EMAIL PROTECTED] I didn't know it but I saw today the thread about mounting a block at root level. So in case you missed it: http://marc.info/?t=11920255864r=1w=4 The information at that link ... which is the bottom of

Re: problem creating generator - parameters

2007-10-11 Thread Joerg Heinicke
On 10.10.2007 10:23 Uhr, Lieven Doclo wrote: I'd like to define the generator as this: map:generator name=remoteGenerator src=x.y.RemoteSpringGenerator spring-config/x/y/remote-spring-config.xml/spring-config /map:generator where the xml file contains my remote servicebeans, like: bean

Re: SendMail smart host (was sendmail)

2007-10-11 Thread Peter Sparkes
Hi, I can't connect to the default SMTP port number 25, but have to use a Smart host, smtp.bytemark.co.uk. Please is it possible to use a Smart Host with sendmail and if so how. thanks Peter Hi Tobia, I have a MTA but I am now not sure that I am connecting to it properly Thanks Peter

Re: Cocoon 2.1 environment objects from a Java XSLT extension

2007-10-11 Thread Tobia Conforto
[EMAIL PROTECTED] wrote: XSLT Extensions assist formatting. Data collection belongs in the XML generation phase. Using XSLT Extensions to generate data is a very bad practice. What are the requirements? Let me explain better. I need to translate URIs in a XML document, in the middle of a

Re: SendMail smart host (was sendmail)

2007-10-11 Thread Tobia Conforto
Peter Sparkes wrote: I have to use a Smart host, smtp.bytemark.co.uk. Please is it possible to use a Smart Host with sendmail and if so how. You didn't say whether you're using the Sendmail Transformer, the Sendmail Action, or another thing entirely. Here is how you can configure for the

Re: SendMail smart host (was sendmail)

2007-10-11 Thread Peter Sparkes
Thanks Tobia, It's the transformer. Thanks to your help it is now working Peter Peter Sparkes wrote: I have to use a Smart host, smtp.bytemark.co.uk. Please is it possible to use a Smart Host with sendmail and if so how. You didn't say whether you're using the Sendmail Transformer,

Re: Cocoon 2.1 environment objects from a Java XSLT extension

2007-10-11 Thread Grzegorz Kossakowski
Tobia Conforto pisze: [EMAIL PROTECTED] wrote: XSLT Extensions assist formatting. Data collection belongs in the XML generation phase. Using XSLT Extensions to generate data is a very bad practice. What are the requirements? Let me explain better. I need to translate URIs in a XML

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Grzegorz Kossakowski
Hugh Sparks pisze: This is a 2.1 to 2.2 migration issue. I created a simple c2 block using: mvn archetype:create \ -DarchetypeGroupId=org.apache.cocoon \ -DarchetypeArtifactId=cocoon-22-archetype-block \ -DarchetypeVersion=1.0.0-RC3-SNAPSHOT \

Re: Cocoon 2.2 - Block name required in file path?

2007-10-11 Thread Grzegorz Kossakowski
Grzegorz Kossakowski pisze: Hugh Sparks pisze: This is a 2.1 to 2.2 migration issue. I created a simple c2 block using: mvn archetype:create \ -DarchetypeGroupId=org.apache.cocoon \ -DarchetypeArtifactId=cocoon-22-archetype-block \

Re: updating css class in ajax form

2007-10-11 Thread Grzegorz Kossakowski
Binkley, Peter pisze: I've got a form in which a repeater generates cells of a table. Within each cell there is a select element. I want the css class of the td element to be set to the value of the select whenever the select changes. I've done this in the template like this: ft:repeater

Re: Cocoon 2.1 environment objects from a Java XSLT extension

2007-10-11 Thread Tobia Conforto
Grzegorz Kossakowski wrote: I'm not sure if it's going to fit in your case but I would suggest to take a look at Cocoon's quite powerful LinkRewriterTransformer[1]. Very interesting, thanks. It seems to fit my case perfectly! Basically all you would need to do is to implement your own input