Re: Making sweet music with Cocoon

2003-08-04 Thread Konstantin Piroumian
This sounds very interesting to me and I'd like to see the results of your work. I don't have any plans in the near future related to Music + Markup, so I can't be of any use for your project except that I have some musical education and quite a lot of experience with Cocoon and probably will be

Re: Bug in JSPReader?

2003-08-04 Thread Konstantin Piroumian
This method is available from the Request object which is already available in JSPReader/JSPGenerator (it is retrieved using ObjectModel.getRequest() or something like that). Regards, Konstantin From: Marc Baumgartner [EMAIL PROTECTED] Okay, I will try to provide a patch. But I don't know

Re: Input modules

2003-08-04 Thread Christian Haul
On 03.Aug.2003 -- 10:53 PM, Ralph Goers wrote: I'm trying to write an Input Module but am a little unclear on where and how they get used. Although I have seen several input modules that support wildcards, I can't find any examples that do that in the sitemap. These are AFAIR the

Re: Bug in JSPReader?

2003-08-04 Thread Joerg Heinicke
I have already fixed it and committed it a few minutes ago. Thanks, Marc, for spotting the error and, Konstantin, for the hints how to patch it. I tested it with the JSP samples, I moved those pipelines to the blocks sitemap, so that I have jsp/welcome.jsp or similar as sitemap URI. It seems to

Re: Bug in JSPReader?

2003-08-04 Thread Marc Baumgartner
Hello! The problem is in the way the JSPEngine is implemented. It simply gets an URI and calls the JSP servlet with it. Obviously the JSP servlet knows nothing about Cocoon's sitemaps or resolver and interprets all the requests either as an absolute path (but relative to the app context, e.g.

why is #cocoon irc channel dead?

2003-08-04 Thread scott
I've been lurking on #cocoon on irc.freenode.net - there is basically no-one there! I think cocoon could really benefit from some real-time information sharing, I don't understand why the channel is empty! Or am I silly and there is a channel on some other irc network? If not, get onto that

Problem with the Jispfilestore?

2003-08-04 Thread Matthias Stöckel
Hi list, has anybody experienced problems with the Jispfilestore? It seems that the store loses sometimes its content after a while. Calling a status page (Statusgenerator) produces the attached exception. I'm not able to reproduce the error. Cheers, Matthias Stöckel System Configuration: -

Re: Bug in JSPReader?

2003-08-04 Thread Konstantin Piroumian
From: Marc Baumgartner [EMAIL PROTECTED] Hello! The problem is in the way the JSPEngine is implemented. It simply gets an URI and calls the JSP servlet with it. Obviously the JSP servlet knows nothing about Cocoon's sitemaps or resolver and interprets all the requests either as an

Re: SourceWriter and Redirect problem

2003-08-04 Thread Geoff Howard
Dirk Reiss wrote: Just to add a little to that, it's been disallowed to encourage patterns that work better within Cocoon. Since you're using 2.1, I'd suggest using flow's processPipelineTo (or whatever it's called now) to replace the use of the source writing transformer. After that you'll be

Re: Caching of aggregate parts

2003-08-04 Thread Geoff Howard
Justin Makeig wrote: I have a table of contents (TOC) document that is being aggregated with an XML instance document for each page request. For example, when http://mysite.com/Instance is requested, the sitemap aggregator generates a document that looks like: Page TOC/ Instance/ /Page

Re: How do I add an optional component when building cocoon ?

2003-08-04 Thread Geoff Howard
Vincent De Groote wrote: Hello, I'm switching from 2.0.3 to 2.1rc1. The DatabaseReader has been moved out of the core configuration. How do I include it in the build process ? It was probably moved to the database block. see the README file for instructions on using a

Re: why is #cocoon irc channel dead?

2003-08-04 Thread Steven Noels
On 4/08/2003 11:48 scott wrote: I've been lurking on #cocoon on irc.freenode.net - there is basically no-one there! I think cocoon could really benefit from some real-time information sharing, I don't understand why the channel is empty! Or am I silly and there is a channel on some other irc

How to enumerate parameters values with xsp-request logicsheet

2003-08-04 Thread Mariusz Sieraczkiewicz
As in subject. There exists xsp-request:get-parameter-names that enumerates parameters names, but how to build pairs 'name - value'? _ Best regards, Mariusz Sieraczkiewicz - To unsubscribe, e-mail:

Re: Caching of aggregate parts

2003-08-04 Thread David Kavanagh
Here is how we do it. Just stash the DOM object for the XML into the sesssion. map:match pattern=assoc-list map:select type=sessionAttributeExists map:parameter name=attribute-name value=assoc-cache/ map:when test=true

Desperated about encoding issues

2003-08-04 Thread Mariusz Sieraczkiewicz
I'm really fond of using ISO-8859-2 encoding. I've set both xml i html serializer to this encoding. That's ok. Every generated paged is displayed properly (also data from database). But I can't get through proper encoding request parameters. The only way I was able to do it correctly was xsp page

Re: Desperated about encoding issues

2003-08-04 Thread Antonio Gallardo
Hi: please check this: http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterEncoding Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Desperated about encoding issues

2003-08-04 Thread Bruno Dumon
On Mon, 2003-08-04 at 15:13, Mariusz Sieraczkiewicz wrote: snip/ (Additional info: web.xml (of COcoon) form-encoding and container-encoding set to utf-8 !! - the only good working setting with the others I've described earlier.) container-encoding must be set to ISO-8859-1 form-encoding

Re: Desperated about encoding issues

2003-08-04 Thread Mariusz Sieraczkiewicz
Hello, container-encoding must be set to ISO-8859-1 form-encoding should be set to ISO-8859-2 Yes, that really helped!!! thank you so much, I'm your deptor. This is what I've been looking for. I may go on holiday now ;-) Best regards

Another music proposal

2003-08-04 Thread Mark Leicester
On 4/08/2003 14:41, Bertrand Delacretaz [EMAIL PROTECTED] wrote: I have a theory that music playing requires a similar kind of brain than computer programming - lots of chaos mixed with some amount of math are required for both ;-) Indeed. After starting work on a MIDI generator for Cocoon,

Re: Bug in JSPReader?

2003-08-04 Thread Marc Baumgartner
Hello There was something like a JSPFilter or so some time ago in Cocoon that could be configured to be run on *.jsp requests (it is called at the end of Cocoon processing), this can solve the problems with includes/forwards, but you will be a little bit limiting compared to the current

Newbie: substring searching for /

2003-08-04 Thread Grange, John
Title: Newbie: substring searching for / Hi, I have the following node in my sitemap.xmap file: map:generate type=file src=''/ The idea is that I should be able to get the http or https from the user's request. Cocoon returns to me with the error below, however and I'm at a loss as to why.

Re: regex transformer

2003-08-04 Thread Joose Vettenranta
On ma, 2003-08-04 at 18:53, Jorg Heymans wrote: Hi, Then I would like to replace all occurrences of myparam with a value of my own. How would this fit into cocoon? Should I be looking at creating my own transformer eg: are you sure you want to do that? there is something in xslt-which you

RE: JSR 168

2003-08-04 Thread Carsten Ziegeler
One of the goals of the new Cocoon Portal framework is to also run JSR 168 compliant portlets inside the portal view. There will hopefully a portal container impl. called pluto at apache and hopefully we can simply integrate it. Carsten -Original Message- From: Ralph Goers

Re: Bug in JSPReader?

2003-08-04 Thread Joerg Heinicke
Anyone is always the first ;-) Maybe the others port their code to Cocoon processing instead of reusing legacy JSP. But the HttpServletRequest implementation is only minimalistic in the JSPEngineImpl:

Re: Topic for discussion...

2003-08-04 Thread Sonny Sukumar
Hi, I can speak to 3 and 4, but I'll leave 1 and 2 to the more experienced list members. I'd *really* appreciate the input of those experienced list members, if they can perhaps make a couple of minutes to enlighten me. My original email is below... 3.) Has anybody come across affordable

Uses for Cocoon

2003-08-04 Thread Shawn Church
I've developed a web-basedengineeringchange-managementapplication which gathers various information from users across the organization. One of it's purposes is to provide a summary page of all the pertinent information and to present it online in generally the same format as an

Re: Another music proposal

2003-08-04 Thread Bertrand Delacretaz
Le Lundi, 4 aoû 2003, à 16:12 Europe/Zurich, Mark Leicester a écrit : ...it entered my head that we could commission a Cocoon signature tune... To me most or all recognizable signature tunes usually become boring once you hear them repeatedly. But a demo track for your MIDI stuff is certainly

Re: Caching of aggregate parts

2003-08-04 Thread Geoff Howard
Justin Makeig wrote: map:match pattern=initiatives/*/ map:aggregate element=Page map:part src=xml/toc.xml/ map:part src=xml/site/initiatives/{1}.xml/ /map:aggregate map:transform src=xsl/xhtml/initiatives/initiative.xsl map:parameter name=requesturi value=/initiatives/{1}//

Database Reader exception

2003-08-04 Thread Vincent De Groote
Hello, I cannot make the databaseReader work correctly: In Cocoon-2.1rc1, source file DatabaseReader.java, a java.lang.ClassCastException is raised in the 'service' function, when the value returned by the manager.lookup function is assigned to the dbselector variable. The value returned is

Re: why is #cocoon irc channel dead?

2003-08-04 Thread Ryan Hoegg
Hi, whenever I am on freenode I sit in #cocoon. I use the nick Spline, for reasons lost in the mists of time. -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net scott wrote: I've been lurking on #cocoon on irc.freenode.net - there is basically no-one there! I think cocoon could really