Re: Flowscript class not found problem

2005-05-23 Thread Johannes Textor
Carlos M. S. Bento Nogueira schrieb: Hallo Johannes, Yes. They are both in the same directory WEB-INF/classes/hib. Here is the source code for both file. Hmm the sources look OK. From my limited Java knowledge, I would say the $1 at the end of the error message means that Java tries to acces

Not serializable exception

2005-05-23 Thread angeloimm
Hi all; i'm using cocoon 2.1.5 and 2.1.7 under JBoss 3.2.6; i'ld like to know why when i shutdown the server and i restart it i have the error java.io.NotSerializableException: org.apache.cocoon.components.CocoonComponentManager; the component CocoonComponentManager tries to store the session a

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. Thi

Re: JSPReader + JSTL import locking up Tomcat

2005-05-23 Thread Joerg Heinicke
On 12.08.2004 15:04, Morley Howell wrote: Hi all, I'm using the JSPReader to execute a JSP page that uses the JSTL. If I use a c:import tag in the JSP file with a relative URL, Tomcat spikes to 100% CPU usage, consumes all available memory, and never returns a page. The exact same page executed

Re: XMLReader question

2005-05-23 Thread Joerg Heinicke
On 01.10.2004 15:03, JACOB, ERIC wrote: Hi, I use the XMLReader class into a custom transformer to parse an XML string like the following: this.sendStartElementEvent( ROOT_ELEMENT ); XMLReader xmlReader = XMLReaderFactory.createXMLReader(); xmlReader.setContentHandler( super.xmlConsumer ); Inp

Re: i18n-transformer questions

2005-05-23 Thread Joerg Heinicke
On 04.08.2004 15:15, Gerald Aichholzer wrote: Hi all, I have just read much information about the i18n-transformer, but some things are still unclear: - I have two message catalogues named message.xml and message_fr.xml. Do I have to supply a translation for each key in message_fr.xml or

Re: Struts with cocoon problem

2005-05-23 Thread Joerg Heinicke
On 04.01.2005 07:42, Siva wrote: Hi , I am new to cocoon and I am using cocoon with struts using Struts- cocoon plugin.In this, i am getting XML output from the action class(making form bean,request and session objects as XML),now I want to process that XML with xsl using cocoon pipeline.I

Re: Creative Ideas on How to Cache Pipelines Containing Non-Cacheable Generator?

2005-05-23 Thread Joerg Heinicke
On 19.01.2005 16:19, David Swearingen wrote: I store all my content for a Cocoon site in xml files. This means I make a lot of use of the DirectoryGenerator. It works great, but I've got now some legacy .pdf files from another project, sometimes hundreds per directory, sometimes on another mac

Re: Redirector

2005-05-23 Thread Joerg Heinicke
On 06.01.2005 12:39, Ben Anderson wrote: The reason I wrote this is because I have a pipeline which I want to execute some db updates via the sqltransformer. But then I want to redirect that pipeline to another pipeline based on a hidden parameter I've kept in a form. The problem I'm having is

Re: CForms sharing definition files

2005-05-23 Thread Joerg Heinicke
On 23.02.2005 05:22, Marc Salvetti wrote: If you have access to the required data for the required fields, i think the easy way is to hide/disable theses fields in the template, if you don't, well, sharing the definition file seems to be paradoxal :-) No, it is not. It's exactly what the sepa

Re: Best practice for conditionally displaying widgets?

2005-05-23 Thread Joerg Heinicke
On 23.02.2005 23:04, Linden H van der (MI) wrote: Can anyone give ideas on the best practice for displaying/hiding widgets based on some external condition? I need to build an order form that needs extra widgets in the English version and the selection list of another widget has more options in

Nested transformations

2005-05-23 Thread Florent MIGNON
Hello there, Does someone of you know how to use the result of a xslt transformation as the source of another ? 1] xml1 + xsl1 ->xsl2 2] xml2 + xsl2 -> xml3 Thanks in advance ! Florent - To unsubscribe, e-mail: [EMAIL

Re: Nested transformations

2005-05-23 Thread Bertrand Delacretaz
Le 23 mai 05, à 11:39, Florent MIGNON a écrit : Does someone of you know how to use the result of a xslt transformation as the source of another ? You can have as many elements as you need inside a , so just chain several transforms in this way. -Bertrand smime.p7s Description: S/MIME c

RE: Nested transformations

2005-05-23 Thread Jon Tonberg
> Does someone of you know how to use the result of a xslt > transformation as the source of another ? > > 1] xml1 + xsl1 ->xsl2 > 2] xml2 + xsl2 -> xml3 If I understand you correctly (should xsl2 = xml2 in step 1] ?), it should be as simple as ...

Re: Nested transformations

2005-05-23 Thread Bertrand Delacretaz
Le 23 mai 05, à 11:39, Florent MIGNON a écrit : 1] xml1 + xsl1 ->xsl2 2] xml2 + xsl2 -> xml3 oops sorry I was too quick, what you need is something like -Bertrand smime.p7s Description: S/MIME cryptographic signature

Not serializable exception

2005-05-23 Thread angeloimm
Hi all; i'm using cocoon 2.1.5 and 2.1.7 under JBoss 3.2.6; i'ld like to know why when i shutdown the server and i restart it i have the error java.io.NotSerializableException: org.apache.cocoon.components.CocoonComponentManager; the component CocoonComponentManager tries to store the session a

Re: Nested transformations

2005-05-23 Thread Florent MIGNON
Hello Bertrand, Thank you. That's exactly what I was trying to do. Cheers Florent On 5/23/05, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Le 23 mai 05, à 11:39, Florent MIGNON a écrit : > > > 1] xml1 + xsl1 ->xsl2 > > 2] xml2 + xsl2 -> xml3 > > oops sorry I was too quick, what yo

Mid-pipeline SOAP requests

2005-05-23 Thread Holt, David
Hi all, I am working on a project that takes a news story template in XML, looks up a number of data points using one or more SOAP requests, then publishes the completed story on a news wire (or in HTML if in preview mode). Does Cocoon sound like a suitable framework for this? I have checked ou

Re: Mid-pipeline SOAP requests

2005-05-23 Thread Derek Hohls
David Not sure exactly what you want to achieve but, as always, there are a number of ways to accomplish things in Cocoon. Bear in mid that you can, for example, assemble a document from a number of calls to one or more (depending on how 'generic' your data generation is) Cocoon pipelines (each p

RE: Mid-pipeline SOAP requests

2005-05-23 Thread Holt, David
Thanks Derek, Let me give you a simple example of what I am trying to achieve. I have to take an existing XML document that is posted to me via HTTP, something like this (simplified)... IBM The last price for IBM is My output needs to be this XML file

DirectoryGenerator +mapped drive

2005-05-23 Thread Jo Brooks
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

I18n-Message in validation message

2005-05-23 Thread Michel Erard
Hello, I've a form with validatet fields like this: 00011 i18n:catalogue="errors">ERROR_RESTRICTION_LENGTH

Retrieve and parse an XML document available on a FTP server ?

2005-05-23 Thread Laurent Perez
Hello I need to retrieve a customer's well-formed XML document hosted on it's own server, FTP protocol being the only available communication channel. After being retrieved, I need to parse it, and store a few nodes values into my database. Is there any builtin cocoon component or flow snippet to

Selection list populated from Hibernate POJO

2005-05-23 Thread Messing, Elad
Title: Selection list populated from Hibernate POJO Hi all     It looks like a simple question, but I couldn't find the answer for it.     I have a Hibernate POJO class - for a restaurant type. It is actually a mapping of a look-up table from my DB. An ID, and Name members. That's i

Re: Conditional branching

2005-05-23 Thread Reinhard Poetz
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 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

Re: Selection list populated from Hibernate POJO

2005-05-23 Thread Ugo Cei
Il giorno 23/mag/05, alle 13:39, Messing, Elad ha scritto:     I have a Hibernate POJO class - for a restaurant type. It is actually a mapping of a look-up table from my DB. An ID, and Name members. That's it. Two possibilities come to mind: A) use the src attribute and make it point to

Re: Not serializable exception

2005-05-23 Thread Reinhard Poetz
angeloimm wrote: Hi all; i'm using cocoon 2.1.5 and 2.1.7 under JBoss 3.2.6; i'ld like to know why when i shutdown the server and i restart it i have the error java.io.NotSerializableException: org.apache.cocoon.components.CocoonComponentManager; the component CocoonComponentManager tries to

Re: Retrieve and parse an XML document available on a FTP server ?

2005-05-23 Thread Reinhard Poetz
Laurent Perez wrote: Hello I need to retrieve a customer's well-formed XML document hosted on it's own server, FTP protocol being the only available communication channel. After being retrieved, I need to parse it, and store a few nodes values into my database. Is there any builtin cocoon compon

Re: Retrieve and parse an XML document available on a FTP server ?

2005-05-23 Thread Upayavira
Reinhard Poetz wrote: Laurent Perez wrote: Hello I need to retrieve a customer's well-formed XML document hosted on it's own server, FTP protocol being the only available communication channel. After being retrieved, I need to parse it, and store a few nodes values into my database. Is there a

Re: For-loop and recursion in XSLT

2005-05-23 Thread Gerald Aichholzer
J.Pietschmann wrote: Oleg Konovalov wrote: I am new to XSLT, XSLT questions are best asked on the Mulberry XSL list: http://www.mulberrytech.com/xsl/xsl-list/ if you don't mind newsgroups you can give comp.text.xml a try, too. HTH, Gerald ---

AW: Selection list populated from Hibernate POJO

2005-05-23 Thread Messing, Elad
Hello Ugo ! Thanks, Option B) is just what I was looking for ! However - is it possible to use this declaration in the form XML ? : Type And in the flowscript - just collect the "restTypeList" list, built from my hibernate PO

Re: i18n-transformer questions

2005-05-23 Thread Gerald Aichholzer
Hi Joerg, Joerg Heinicke wrote: On 04.08.2004 15:15, Gerald Aichholzer wrote: ^^ I'm quite surprised to read an answer for this today ;) nevertheless, thanx for your opinion Gerald - To unsubscribe, e-mail: [EMA

RE: Mid-pipeline SOAP requests

2005-05-23 Thread Derek Hohls
David Do you have an example of what the SOAP call will look like? I assume it will use values based on the "field" attr attributes.. Don't be too fixated on the "middle of the pipeline" approach - you can call out to other Cocoon pipelines with the cinclude transformer if your tags are set up co

AW: Binding to target xml produces -unknown- tag

2005-05-23 Thread Lutz Thomas
Found the solution:   It was a problem in the flowscript, I displayed form.getXML() instead of the modified document… the binding worked well.       Von: Lutz Thomas [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 20. Mai 2005 17:01 An: users@cocoon.apache.org Betreff: Binding t

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 t

changes are not reflected in the XML resources

2005-05-23 Thread fadi qutaishat
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 that cocoon always keeps the old version of my XML files, some times I do need to make some changes in some XML resources

Re: Retrieve and parse an XML document available on a FTP server ?

2005-05-23 Thread Sylvain Wallez
Laurent Perez wrote: Hello I need to retrieve a customer's well-formed XML document hosted on it's own server, FTP protocol being the only available communication channel. After being retrieved, I need to parse it, and store a few nodes values into my database. Is there any builtin cocoon compo

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 that

AW: Selection list populated from Hibernate POJO

2005-05-23 Thread Messing, Elad
Hello again Ugo It doesnt seem to work for me, I get java.lang.ClassCastException: * org.apache.cocoon.ProcessingException: Error executing pipeline.: org.apache.cocoon.ProcessingException: Error executing pipeline.: java.lang.ClassCastException at org.apache.

RE: Logicsheet transformation happening but XSP not running

2005-05-23 Thread Nathaniel Alfred
Title: Message Could be a manifestation of http://issues.apache.org/bugzilla/show_bug.cgi?id=32934. Otherwise try to run your JVM in "client" mode.  (We had a similar weirdo behaviour with an earlier JDK1.4 version in "server" mode.  Since then we are using "client" mode also

Re: Not serializable exception

2005-05-23 Thread angeloimm
Hi; first of all thanks for your answer. > angeloimm wrote: > > Hi all; i'm using cocoon 2.1.5 and 2.1.7 under JBoss 3.2.6; i'ld like to > > know why when i shutdown the server and i restart it i have the error > > java.io.NotSerializableException: > > org.apache.cocoon.components.CocoonComponen

TeeTransformer

2005-05-23 Thread Ugo Cei
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 my input does not c

Re: Selection list populated from Hibernate POJO

2005-05-23 Thread Ugo Cei
Il giorno 23/mag/05, alle 14:26, Messing, Elad ha scritto: However - is it possible to use this declaration in the form XML ? : Type value-path="id" label-path="name"/> Yes, it is possible but is not recommended. At the moment, I cannot fin

Cocoon Forms

2005-05-23 Thread Garvin Riensche
Hi there, I am working on a simple cocoon form where it is possible to add more fields when the form is shown in the browser. It is similar to the sample at http://localhost:/samples/blocks/forms/form1, where you can add more fields when clicking at "Add contact". My problem is that I don'

Re: AW: Selection list populated from Hibernate POJO

2005-05-23 Thread Ugo Cei
Il giorno 23/mag/05, alle 15:32, Messing, Elad ha scritto: Hello again Ugo It doesnt seem to work for me, I get java.lang.ClassCastException: Here is my flowscript : function callRestaurantMainSearch() { var restTypes = new Array(4); restTypes[0] = new Packages.de.e

Re: [CForms] Getting selectedValues from a multivaluefield ?

2005-05-23 Thread Sebastien Arbogast
2005/5/22, Sebastien Arbogast <[EMAIL PROTECTED]>: > I should... and I did but it doesn't work as expected. > Here is my flowscript method : > > function createUser(){ > getSchaman(); > var form = new Form("forms/create_user_d.xml"); > var user; > var model; > > var roles = sc

AW: AW: Selection list populated from Hibernate POJO

2005-05-23 Thread Messing, Elad
Hello Ugo You are right. I changed the array to ArrayList and all began to work. I will also look for the discussion you mentioned. Thank you !! Elad -Ursprüngliche Nachricht- Von: Ugo Cei [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 16:19 An: users

RE: Mid-pipeline SOAP requests

2005-05-23 Thread Holt, David
Thanks for the reply Derek, Our SOAP call for the previous example looks something like this (namespaces removed)... S1 IBM last_price I didn't realise we could use Cinclude to call out other pipelines from our main pipeline. This sounds like j

Re: TeeTransformer

2005-05-23 Thread Jorg Heymans
Ugo Cei wrote: > 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,

Re: i18n-transformer questions

2005-05-23 Thread Joerg Heinicke
Hello Gerald, the explanation is quite easy: Because of my diploma thesis I stopped reading the Cocoon mails with the beginning of August. Since mid of April I catch up on reading (most) and answering (few, that are interesting in topic or good to have in archive) the mails. And becuase I hav

Re: 2.1.5.1 build oddity, 2.0.4 war fails

2005-05-23 Thread Joerg Heinicke
On 08.09.2004 17:41, Peter Flynn wrote: I had the same problem and was because Fedora Core 2 had installed another versión of Ant, i dont remember which is, i uninstall that version and install Ant 1.6.2. Thanks. That's odd: the docs say that Cocoon ignores any setting of $ANT_HOME, so it s

Re: changes are not reflected in the XML resources [problem not solved]

2005-05-23 Thread fadi qutaishat
Hi David, I have tried your suggestion it has worked at first and the changes have been reflected then it has stopped reflecting the changes! Many thanks, Fadi Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html -

RE: Logicsheet transformation happening but XSP not running

2005-05-23 Thread Phil
Title: Message many thanks for your feedback. I don't think it is a manifestation of that bug you mentioned. I've done some comparisons of the two .java files, one created from the xsp page when it does run and the other when it doesn't and there are just bits missing eg    import org.apache

Re: [CForms] Getting selectedValues from a multivaluefield ?

2005-05-23 Thread Johannes Textor
Please help ! I tried to find a solution in samples but the only multivaluefield I found was not used from flowscript. The whole form is just forwarded to some XSP logicsheet as a request parameter. Maybe you cannot pass the model.userRoles directly. Keep in mind that the flowscript form bi

Re: [CForms] Getting selectedValues from a multivaluefield ?

2005-05-23 Thread Sebastien Arbogast
2005/5/23, Johannes Textor <[EMAIL PROTECTED]>: > > >Please help ! I tried to find a solution in samples but the only > >multivaluefield I found was not used from flowscript. The whole form > >is just forwarded to some XSP logicsheet as a request parameter. > > > > > > > Maybe you cannot pass the

Cooking up a new recipe (was: Retrieve and parse an XML document available on a FTP server ?)

2005-05-23 Thread Mark Leicester
Hello, Here is a recipe for configuring and using the FTP Source, stitched together from the emails in this thread: http://www.planetcocoon.com/node/1960 I'd like to draw your attention to a few features of this post: - folksonomy tagging: this node is tagged with "sitemap", "ftp", "sources"

Re: Mid-pipeline SOAP requests

2005-05-23 Thread Bertrand Delacretaz
Le 23 mai 05, à 16:20, Holt, David a écrit : ...I didn't realise we could use Cinclude to call out other pipelines from our main pipeline. This sounds like just what I need. Are there some examples I can refer to? The CInclude docs are at http://cocoon.apache.org/2.1/userdocs/transformers

RE: Logicsheet transformation happening but XSP not running

2005-05-23 Thread Nathaniel Alfred
Title: Message java.exe can be started with the options -server or -client.  Client mode (default if neither option is specified) is supposed to startup faster while server mode is doing more aggresive and time consuming hotspot compilation for better long-term speed.  However, on Sun Solaris

Cascading the cinclude transformer

2005-05-23 Thread Michael Schlotfeldt
Hello everyone, I'm currently working on a project that being able to process cascaded cincludes would be helpful. They would then be processed from the deepest depth to the lowest. Here is a generic example: http://apache.org/cocoon/include/1.0";> cocoon:/firstOne.xml