Re: AW: Infantile Download page question...

2005-01-13 Thread Ugo Cei
Il giorno 13/gen/05, alle 00:01, beyaRecords ha scritto: Do any of you guys know how apple deliver music to customers via their iTunes store? Is it packaged into a zip folder or are the tracks downloaded individually? They don't do it with a web browser, they use iTunes. As long as you control

RE: AW: Infantile Download page question...

2005-01-13 Thread Matthew Langham
Do any of you guys know how apple deliver music to customers via their iTunes store? Is it packaged into a zip folder or are the tracks downloaded individually? They don't do it with a web browser, they use iTunes. As long as you control the user agent, you can do anything you

Getting a generator class to reload

2005-01-13 Thread Joachim Wackerow
I am writing a custom generator. It would be convenient to reload the class while Cocoon is running. How it is possible to reload just a generator class in Cocoon 2.1.6 running in Tomcat 5.x or 5.5, without reloading the whole Cocoon or without restarting Tomcat (ca. 30 sec)? The generator

Re: AW: Infantile Download page question...

2005-01-13 Thread Benedikt Heinen
I doubt that this would ever be possible to do in a pure HTTP environment, because you won't be able to send all the files at once. Instead, why not package the mp3's in a zip container, and transfer that one? Alternatively, you could simply generate a download page listing the file locations.

Re: set-encoding action does not exist anymore in main sitemap

2005-01-13 Thread Leszek Gawron
[EMAIL PROTECTED] wrote: hi people i have notice that the set-encoding action is not delceared any more in the root sitemap map:action name=set-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ btw the class exist and after declaration set-encoding action work fine. is there any

Re: Getting a generator class to reload

2005-01-13 Thread Leszek Gawron
Joachim Wackerow wrote: I am writing a custom generator. It would be convenient to reload the class while Cocoon is running. How it is possible to reload just a generator class in Cocoon 2.1.6 running in Tomcat 5.x or 5.5, without reloading the whole Cocoon or without restarting Tomcat (ca. 30

Re: [SPAM] cocoon migration

2005-01-13 Thread Leszek Gawron
Antonio Gallardo wrote: On Mie, 12 de Enero de 2005, 23:54, Jones A dijo: I have cocoon installed in a server which we are planning to migrate. So everything in the current server will go to a different server. (including cocoon2.1.3) Do i need to build cocoon again in the new server ? If you

Re: map:transform src=http??

2005-01-13 Thread Leszek Gawron
Mark Donnelly wrote: Can anyone tell me if it is possible to specify a http request instead of a file path as the value of the 'src' attribute? eg map:generate src=http://blah/blah/blah/ Mark - To unsubscribe, e-mail: [EMAIL

Re: HttpSessionListener and DataSourceComponent

2005-01-13 Thread Leszek Gawron
Grzegorz Taczyk wrote: Hello, I've lost in Cocoon/Servlet architecture. How can I access datasource defined in cocoon.xconf in my sessionlistener defined in web.xml? I would like to make some DB modifications if session expires. I don't see that SessionListener could be connected to any

RE: map:transform src=http??

2005-01-13 Thread Mark Donnelly
I hear you but I was having some trouble setting up an appropriate page that would work. The answer is: I got a response quicker than I could try it out for the first time. -Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED] Sent: 13 January 2005 10:41 To:

Re: [SPAM] cocoon migration

2005-01-13 Thread Antonio Gallardo
On Jue, 13 de Enero de 2005, 4:39, Leszek Gawron dijo: You can encounter endorsed libs problem I think. Nothing to be handled in few minutes really. If we copy the full tomcat, jetty or whatever AS directory. I don't see how we can get this problem. ;-) In any case, there was not enough info

sql-transformer output to pdf via xsl-fo doen't work

2005-01-13 Thread Philipp Rech
Hello Cocooners, [Cocoon Version 2.1.6] i have a xml file that comes from a sql-transformer that querries a db... here is the xml file: -- ?xml version=1.0 encoding=ISO-8859-1? page content

Re: Business-Process-Management with Cocoon?

2005-01-13 Thread Ben Anderson
we've actually been evaluating open source workflow engines. I focused on osworkflow for a while and was rather indifferent about it and have now (just the last day) started investigating enhydra shark. So far, it seems to be the best, but I haven't played with it too much yet. -Ben On Wed, 12

Re: sql-transformer output to pdf via xsl-fo doen't work

2005-01-13 Thread Derek Hohls
Phil Not a guru in this (FO) - but have you got XSL templates to match each of the different element tags in your original XML (even the ones that seem empty)? Derek [EMAIL PROTECTED] 2005/01/13 01:02:57 PM Hello Cocooners, [Cocoon Version 2.1.6] i have a xml file that comes from a

Re: AW: Infantile Download page question...

2005-01-13 Thread jiBeya
Hi, in regards to my earlier question I have come across the zip serializer: zip:archive xmlns:zip=http://apache.org/cocoon/zip-archive/1.0> zip:entry name=foo.html src=cocoon://dynFoo.html/> zip:entry name=images/bar.jpeg src=bar.jpeg/> zip:entry name=index.html serializer=html> html> head>

Fwd: Can't start Cocoon 2.0.4 on Tomcat 4.1

2005-01-13 Thread Oleg Konovalov
Hi, I am trying to learn Cocoon based on Lajos Moczar/Aston book. Installed Tomcat 4.1.31, downloaded Cocoon cocoon-2.0.4-vm14-bin.zip, unzipped it and put its cocoon.war into webapps directory and started Tomcat. Also copied 3 jars (xercesImpl-200.jar, xalan-231.jar, xml-apis.jar) from

Re: sql-transformer output to pdf via xsl-fo doen't work

2005-01-13 Thread Bertrand Delacretaz
Le 13 janv. 05, à 12:02, Philipp Rech a écrit : ...java.lang.RuntimeException: org.apache.fop.apps.FOPException: fo:flow must contain block-level children... Looks like this stays empty fo:flow flow-name=xsl-region-body xsl:apply-templates/ /fo:flow IIUC because your eventid

CLI Recursion Again

2005-01-13 Thread Alexander Schatten
Dear other CLI users maybe someone can give me a hint: after some configuration effort (blocks) the CLI with cli.xconf is *basically* working, but I am not able to solve one problem, which should be simple, I assume: I want to create an off line site *recursively*, meaning, that the links

Http referer value as parameter?

2005-01-13 Thread David
I need a way to capture the http Referer from the request, and inject it as a parameter to a transformer -- is there a way to do this? I currently do something like this to catpure a request parameter, and it's very clean, and works well with my current processing pattern. I'm familiar with the

[SOLVED] sql-transformer output to pdf via xsl-fo doen't work

2005-01-13 Thread Philipp Rech
thank you so much Bertrand - it works fine now when i use the namespace like xsl:template match=sql:eventid thank you! philipp ...java.lang.RuntimeException: org.apache.fop.apps.FOPException: fo:flow must contain block-level children... Looks like this stays empty

Re: Fwd: Can't start Cocoon 2.0.4 on Tomcat 4.1

2005-01-13 Thread Joachim Wackerow
Oleg Use the newest Cocoon 2.1.6 and Tomcat 5.0.x (Java 1.4.x) or 5.5.x (Java 1.5.x!). Cocoon must be build, see the INSTALL.TXT in the Cocoon distribution. These combinations are running without problems with Windows XP Professional. Achim Oleg Konovalov wrote: Hi, I am trying to learn

Re: Http referer value as parameter?

2005-01-13 Thread Tony Collen
David wrote: I need a way to capture the http Referer from the request, and inject it as a parameter to a transformer -- is there a way to do this? I currently do something like this to catpure a request parameter, and it's very clean, and works well with my current processing pattern. I'm

Re: jCaptcha Cocoon

2005-01-13 Thread Marc-Antoine Garrigue
Hi, I would be honored to help you to implement such a JCatpcha reader for cocoon. Best regards. Marc-Antoine Garrigue Jonothan Stribling wrote: Hello, I'm wondering if anyone has integrated jCaptcha (http://jcaptcha.sourceforge.net/) into Cocoon, and have some tips. Alternatively are

Re: Business-Process-Management with Cocoon?

2005-01-13 Thread oliver charlet
Hi Ben, at your evaluation, did you also take a look at the workflow patterns from van der Aalst? He too did some surveys about workflow specifications and it seems, that a lot are not really sufficiant, to solve all modelling problems. Resulting are implementations, that do only part of what

Re: Business-Process-Management with Cocoon?

2005-01-13 Thread Ben Anderson
Oliver, Thanks for the input... van der Aalst? actually I've got his paper open right now, but haven't finished it yet. there is *NO* standard BPM language My jury is still out on this (xpdl)... I haven't made my yet through the entire spec yet. Did you consider this in your search, or do

Re: Business-Process-Management with Cocoon?

2005-01-13 Thread Markus Heussen
Hi all, thanks for all your answers at this time. Meanwhile we analyse different Open Source implementations of the BPEL standard. We know that there are different specifications of business process languages. But from our point of view the only relevant to become a general standard ist BPEL

Re: Business-Process-Management with Cocoon?

2005-01-13 Thread oliver charlet
please let me know, what your jury tells you, ok? thanx :olli Ben Anderson schrieb: Oliver, Thanks for the input... van der Aalst? actually I've got his paper open right now, but haven't finished it yet. there is *NO* standard BPM language My jury

RE: AW: Infantile Download page question...

2005-01-13 Thread Mark Lundquist
From: beyaRecords [mailto:[EMAIL PROTECTED] I did actually think about packaging the music files into a zip folder, which I know would be easy to do in cocoon, but thought that the actual size of the files (maybe 5 meg + each) would be a problem in terms of the time taken zipping them

Re: AW: Infantile Download page question...

2005-01-13 Thread beyaRecords
Any ideas anybody? On 13 Jan 2005, at 13:01, jiBeya wrote: Hi, in regards to my earlier question I have come across the zip serializer: zip:archive xmlns:zip=http://apache.org/cocoon/zip-archive/1.0> zip:entry name=foo.html src=cocoon://dynFoo.html/> zip:entry name=images/bar.jpeg

Re: jCaptcha Cocoon

2005-01-13 Thread Philippe Guillard
Marc-Antoine Garrigue wrote: Hi, I would be honored to help you to implement such a JCatpcha reader for cocoon. Best regards. Marc-Antoine Garrigue Jonothan Stribling wrote: Hello, I'm wondering if anyone has integrated jCaptcha (http://jcaptcha.sourceforge.net/) into Cocoon, and have some tips.

Re: Auth-Protect and wildcard matcher

2005-01-13 Thread Bhaskar Rathod
Thanks Adam. I appreciate it. I changed it accordingly, and it works. So conceptually, if we nest blocks (of action or resource calls or anything nestable?) in a pattern matcher, all the references to the pattern should be resolved with relative path from the actual level to the pattern. Ie if

Re: more intuitive place for Cocoon status page and clear-cache command.

2005-01-13 Thread Lars Huttar
Joerg Heinicke wrote: On 19.10.2004 19:11, Lars Huttar wrote: For a long time I didn't know about the cocoon/samples/clear-cache.html URL. I kept shutting down Tomcat and restarting it in order to clear the cache. :-/ Suggestion to make this and a couple of other things more intuitive: - Put a

RE: Auth-Protect and wildcard matcher

2005-01-13 Thread Mark Lundquist
From: Bhaskar Rathod [mailto:[EMAIL PROTECTED] So conceptually, if we nest blocks (of action or resource calls or anything nestable?) in a pattern matcher, all the references to the pattern should be resolved with relative path from the actual level to the pattern. Ie if I nest another

Long running requests and timeouts?

2005-01-13 Thread Andrzej Jan Taramina
I have a situation where some requests that get sent to Cocoon are very long running (basically batch operations). I've been testing with a request that takes just over 7 minutes to process and returns and XML document as a response. The problem I'm having is that the response gets truncated.

Re: AW: Infantile Download page question...

2005-01-13 Thread beyaRecords
All sorted.. thanks for your help ;-) On 13 Jan 2005, at 16:58, beyaRecords wrote: Any ideas anybody? On 13 Jan 2005, at 13:01, jiBeya wrote: Hi, in regards to my earlier question I have come across the zip serializer: zip:archive xmlns:zip=http://apache.org/cocoon/zip-archive/1.0>

Re: CLI Recursion Again

2005-01-13 Thread Simon Mieth
On Thu, 13 Jan 2005 15:10:59 +0100 Alexander Schatten [EMAIL PROTECTED] wrote: Dear other CLI users maybe someone can give me a hint: after some configuration effort (blocks) the CLI with cli.xconf is *basically* working, but I am not able to solve one problem, which should be simple, I

Re: CLI Recursion Again

2005-01-13 Thread Alexander Schatten
Simon Mieth wrote: the uri-element itself does not suüüpport follow-links only the uris-element. Simple enclose the uri with: uris follow-links=§true uri type=append src=buch/index.html dest=build/dest/ / /uris. actually I tried both; now I tried your

Using Cocoon's build system for my webapp

2005-01-13 Thread Justin Fagnani
Hello Cocoon'ers, It's been a long while since I've done any Cocoon work. I've been playing with the new (to me) build system and so far I like it. I've been able to easily pair down the build with the local blocks and build properties. Now I want to start setting up the sitemap and writing

Accessing the label of an element in a selection list ?

2005-01-13 Thread Marc Salvetti
Hello, does someone know if it's possible in flowscript to read the label of an option in a selection list ? regards, Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Using Cocoon's build system for my webapp

2005-01-13 Thread Adam Ratcliffe
Hi Justin The Cocoon wiki has some good resources on tailoring the Cocoon webapp and developing your project against it, see http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16 and http://wiki.apache.org/cocoon/ProjectBuilding The first doc has a link to an Ant build script that will help

Re: Using Cocoon's build system for my webappThanks Ada,

2005-01-13 Thread Justin Fagnani
Thanks Adam, You answered most of my questions. The only thing left (assuming I understand the wiki docs) is that the component I'm setting up need to be a singleton instantiated when Cocoon launches. I remember using a ComponentManager to get my components. I didn't use XSP much though, so

RE: Using Cocoon's build system for my webappThanks Ada,

2005-01-13 Thread Adam Ratcliffe
Hi Justin Your component doesn't need to be a singleton, unless you want it to be, in which case it should implement the Avalon org.apache.avalon.framework.thread.ThreadSafe interface. My understanding is that the container (ECM) pools component instances, with the pool parameters configurable

for each statement in fd:javascript

2005-01-13 Thread beyaRecords
Hi, I have the following code in my jx file: jx:forEach var=orderitem items=${neworder.getOrderItems()} tr td class=normaltext${orderitem.getStock().getItemTitle()}/td /tr /jx:forEach which I want to replicate in my form validation. how would I do a for each statement in javascript? What