ServletContext

2004-11-11 Thread angeloimm
Hi all :-) How can i have the servlet context? I mean... in the HttpServletRequest object i can use methods like 1) getPathInfo() 2) getServletPath() 3) getContextPath() well in the cocoon.request what are the equivalent methods? I need to have information about the servlet path. how

Re: [OT] This is quite disappointing...

2004-11-11 Thread beyaNet
Chaps, I have asked this question before, and i'm going to again, if we have flow/jxt why xsp? If I was a new user what I would wanted see is fir direction as to which architecture to use within cocoon and why. When I first started using cocoon i used xsp as that was what I saw in all the

Re: action + jxgenerator

2004-11-11 Thread Joose Vettenranta
Good morning Jorg, replacing xsp-request:set-parameter to set-attribute does not make any difference. Output is the same: empty elements. Thanks, Joose 11.11.2004 kello 09:30, Jorg Heymans kirjoitti: dunno it's early morning here but, shouldn't you set it as a request attribute or session

Re: action + jxgenerator

2004-11-11 Thread Leszek Gawron
Joose Vettenranta wrote: Good morning Jorg, replacing xsp-request:set-parameter to set-attribute does not make any difference. Output is the same: empty elements. you MUST replace set-parameter with set-attribute. Request parameters are immutable. This does not work for you because this :

Re: JX-Template with repeater data... how to?

2004-11-11 Thread Leszek Gawron
Philipp Rech wrote: hello Cocooner's! i have a problem: want to display data from a repetar widget in a JX-Template. So data is passed to the template via a Flow: --- form2.showForm(goods); var model2 = form2.getModel();

Re: [OT] This is quite disappointing...

2004-11-11 Thread Derek Hohls
Well, strictly speaking there is no absolute need for XSP; you can either use JXTemplate and/or FlowScript plus the various transformers and generators with which Cocoon is so well-endowed (!) or, if those do not handle it, then write some Plain Ol' Java. However, bear in mind that XSP allows,

lookupWidget method

2004-11-11 Thread angeloimm
Hi; let's imagine i have a form. well i don't know form fields name so i can't use form.lookupWidget( name ); in my flow script file how can i have a kind of field collection form the form? I.E. i'ld like to have a similar thing: var NItem1Form = new Form(forms/NItemstep1.xml);

Re: unrolling the form loop (was Re: Repeater insert-node does not bind??)

2004-11-11 Thread Joerg Heinicke
On 11.11.2004 11:28, Jorg Heymans wrote: var form = new Form(...); form.createBinding(...); form.load(mybean); while(true){ cocoon.sendPageAndWait(uri, {CocoonFormsInstance : form.form}); print(submitted); form.save(mybean); } but ofcourse it doesn't exit the while loop. The function

Re: URGENT Error during deseralization

2004-11-11 Thread Jorg Heymans
Did you notice the (Too many open files) in your stacktrace? Corey Keith wrote: I've been running cocoon 2.0.4 for about a 1.5 years in production. In the last few days we've been having problems after running cocoon after a couple hours. We get the following exception in the error.log file.

Re: unrolling the form loop (was Re: Repeater insert-node does not bind??)

2004-11-11 Thread Jorg Heymans
snipped what=perfectly fine code I have public get and set methods for the ArrayList participants in mybean with a binding that used to work before well i meant here before i messed with it and forgot all about it. Bean is now updating fine during repeater add/remove actions. Thanks a lot for

Re: [OT] This is quite disappointing...

2004-11-11 Thread beyaNet
Derek, I hear what you are saying, but what I was trying to say was that for a new user wishing to learn cocoon I would advise them to get to grips with jxt/flow/sitemaps first and once they have mastered that then to investigate xsp should they require it use. regards Andrew On 11 Nov 2004, at

[SOLVED] Re: xupdate and xalan, xerces, xml-apis

2004-11-11 Thread Timur Izhbulatov
XUpdate works fine with xalan from xindice CVS placed in the tomcat/common/endorsed/ directory. http://cvs.apache.org/viewcvs.cgi/xml-xindice/java/lib/ Timur Izhbulatov (): Hi all! I got a problem with updating a resource. The problem seems similar to the one discussed in this

Passing a parameter from custome generator to transformer

2004-11-11 Thread Bent André Solheim
Hi Cocoon users. I'm developing an application where we keep thousands of gzipped xml documents in some 20 different formats in a legacy relational database. These documents can be accessed using a document id. I have written a custom generator that retrieves a gzipped document from the database

Re: character escaping in Cocoon

2004-11-11 Thread Norman Barker
Ignore this post, I was wrong, sorry! The protocol in cocoon is of course very well behaved, my error. Norman Norman Barker wrote: Hi, using the zip archiver I have an entry like entry name=041103_1113_modis_1km2004-11-03T11:13:33.jpeg

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Jorg Heymans
you can make your generator set a request attribute, and retrieve it in the sitemap via the request-attr module . Note that you cannot make the transformer *type* dynamic. If you want to execute a different pipeline depending on parameters then i think you could selectors for this (i've never

Subclipse + Eclipse

2004-11-11 Thread Jonny Pony
Hi, I finally installed Subclipse on my Eclipse 3. I was able to uncheck almost all the files from http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/. I got all the files in the folders but not the files from the root (files like cocoon.bat, starup.bat, etc.). How would I manage to

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Bent André Solheim
First of all, thank you for your answer Jorg! I'm having a bit trouble with your suggestion. It appears the transformer is configured after MyGenerator.compose(ComponentManager), but before MyGenerator.generate(). It is in generate() I look up the transformation id and put it in the Request, so

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Jorg Heymans
Are you using a custom transformer ? Post your pipeline snippet + relevant code if possible so we have something more to work with. BTW there is also a setup() method you can override. This is called during pipeline setup - before any components are executed. Regards Jorg Heymans Bent André

RE: Passing a parameter from custome generator to transformer

2004-11-11 Thread Hance, Greg (ELS)
Hi Bent - One word of caution on the approach you are taking if you plan to turn caching on at some point. If you pass info. in the request from the Generator to the Transformer, if the Generator output is cached (in which case generate() doesn't get invoked) then your request attribute won't

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Joerg Heinicke
On 11.11.2004 16:41, Bent André Solheim wrote: First of all, thank you for your answer Jorg! I'm having a bit trouble with your suggestion. It appears the transformer is configured after MyGenerator.compose(ComponentManager), but before MyGenerator.generate(). It is in generate() I look up the

Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread beyaNet
Hi, I have both eclipse and cocoon and wish to edit cocoon within eclipse. Can anybody point me to a step-by-step guide of how to do this? regards Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Exception in thread main java.lang.NoClassDefFoundError: Loader

2004-11-11 Thread Brian McGovern
Title: Exception in thread main java.lang.NoClassDefFoundError: Loader Im very new to cocoon. and im trying to start it via ./cocoon.sh servlet and get the following error Exception in thread main java.lang.NoClassDefFoundError: Loader My Env is jakarta-tomcat-5.0.28 cocoon-2.1.5.1

org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists

2004-11-11 Thread Jonny Pony
Hi, this was asked before, but never answered. I'm running Apache 2.x, Tomcat 5.x, jdk 1.4.2.x on a Windows machine. Now I installed cocoon 2.1.6. (dev) on tomcat. When I try to retrieve the cocoon I get the following error: org.quartz.SchedulerException: Scheduler with name 'Cocoon' already

Re: action + jxgenerator

2004-11-11 Thread Joose Vettenranta
Yesss, that works. Thanks! - Joose 11.11.2004 kello 12:29, Leszek Gawron kirjoitti: Joose Vettenranta wrote: Good morning Jorg, replacing xsp-request:set-parameter to set-attribute does not make any difference. Output is the same: empty elements. you MUST replace set-parameter with

RE: Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread Jonny Pony
Hi, at the wiki: http://wiki.apache.org/cocoon/LoadInEclipse But since cocoon changed from CVS to SubversionMigration you should better have a look at this site too: http://wiki.apache.org/cocoon/SubversionMigration. How to load it from SubversionMigration? I have no clue. If you know how,

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Jorg Heymans
Thanks for setting things crispy clear Joerg :=) Jorg (going back to read the cocoon internals manual) Joerg Heinicke wrote: On 11.11.2004 16:41, Bent André Solheim wrote: First of all, thank you for your answer Jorg! I'm having a bit trouble with your suggestion. It appears the transformer is

Re: Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread Jorg Heymans
Make an eclipse update site to http://www.anyware-tech.com/eclipse/update-site , it has a few nice (both free and commercial) plugins to get you going with cocoon development under eclipse. There is also the sunbow plugin but i don't know if it still works or maintained ATM regards Jorg

Re: Exception in thread main java.lang.NoClassDefFoundError: Loader

2004-11-11 Thread Joerg Heinicke
RedHat/Fedora? This OS lets jump in its own Ant which breaks Cocoon's Ant. Some days ago I read the Cocoon scripts themselves load this Ant by loading an ant.conf from the wrong place: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109968742807688w=4 You probably just have to remove this

RE: Exception in thread main java.lang.NoClassDefFoundError: Lo ader

2004-11-11 Thread Brian McGovern
Title: RE: Exception in thread main java.lang.NoClassDefFoundError: Loader Yes redhat enterprise. But the article you provided was about building the platform, not starting it. I may have missed something. My ant is located in /usr/bin/ and version is Apache Ant version 1.5.2-20

Re: Exception in thread main java.lang.NoClassDefFoundError: Lo ader

2004-11-11 Thread Ralph Goers
I've seen various techniques posted on how to fix this. The one I used was to uninstall the ant that comes with RedHat. I then downloaded the current version from ant.apache.org and installed it. Ralph Brian McGovern wrote: Yes redhat enterprise. But the article you provided was about

Re: Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread beyaNet
Yes, sunbow is still being developed. http://www.s-und-n.de/sunshine/allg/de/search/find type: sunbow and the download as required regards Andrew On 11 Nov 2004, at 16:46, Jorg Heymans wrote: Make an eclipse update site to http://www.anyware-tech.com/eclipse/update-site , it has a few nice

Re: JX-Template with repeater data... how to?

2004-11-11 Thread Philipp Rech
Instead of FormTemplateTransformer use template.jx macro library for CForms. uhh, i have no idea what that is or how to use the template.jx macro library. Could someone explane please? Is the way i've tried it wrong? (see below)thanks a lot for your help and a great weekend to all of you!

Re: oracle Database question

2004-11-11 Thread Thor Heinrichs-Wolpert
Access to the database : The requests to the database can only be done with esql or there another transformer or generator, etc ...? You could also use the XDB for Oracle. I use this for my reporting and viewing items as the request comes back in XML already for me. Cache : I will use the

RE: JX-Template with repeater data... how to?

2004-11-11 Thread Bart Molenkamp
It is a JX template. It contains various macro's, that you can call from your JX template. See it like a set of procedures that, in this case, help you with transforming a CForm into HTML. The file is placed inside the cforms jar, so it is available on your classpath. That means that you can load

error handling and subsitemaps (not easy case like in doc)

2004-11-11 Thread Grzegorz Sikora
Hello ml users, Consider this code: = root sitemap: map:match pattern=*/** map:mount uri-prefix={1} check-reload=yes src={1}/sitemap.xmap reload-method=synchron/ /map:match map:match pattern=*/**.html [...] map:redirect-to uri=cocoon:/{1}/{2} session=yes/ /map:match

Re: error handling and subsitemaps (not easy case like in doc)

2004-11-11 Thread Grzegorz Sikora
Hello ml users, Thursday, November 11, 2004, 8:34:53 PM, you wrote: GS It seems little stupid handling sub sitemap specific errors in GS root sitemapt ...but I need to preserve such root and sub sm construction (*/**.html in GS root, and specific pipelines in subsitemaps). GS Any walkarounds to

Re: xsp-session-fw:setxml - Tried to write it myself, but failed

2004-11-11 Thread Antonio Gallardo
Hi Jonny: I will try to see at that on the weekend. ;-) Best Regards, Antonio Gallardo Jonny Pony dijo: Hi there, so I tried to write the xsp-session-fw:setxml - Method. I failed. Here my code so far (the complete java and xsl-files are in the attachement). XSPSessionFwHelper: …

Re: Generating JavaDoc excecution build failed

2004-11-11 Thread Antonio Gallardo
Jonny Pony dijo: Hi, I'm having the same problem somebody asked this July ( http://www.mail-archive.com/users@cocoon.apache.org/msg17807.html ). But it wasn't answered. Maybe someone knows a solution now. I modified this post for my needs. _ Hi, I am

Re: Intermediate page in between request and response

2004-11-11 Thread Anna Bikkina
Can anyone please answer this question? On Wed, 2004-11-10 at 12:44, Anna Bikkina wrote: Hi, I have a cocoon program that display huge now of rows when a user request for search for some information. When the user enters data in page1 and clicks GO I have a xsp to search information in the

RE: Intermediate page in between request and response

2004-11-11 Thread Conal Tuohy
Hi Anna You should have a pipeline which takes the search parameters and generates an HTML page with your please wait notice, and an HTTP refresh META tag in the HTML head, which would contain a URL pointing at the real search results pipeline. So this first HTML page would return to the

Re: Link Livesites: Cocoon 2.1

2004-11-11 Thread Antonio Gallardo
Hi Lars! I added the site to Cocoon 2.1.2 live sites. Thanks for the link! ;-) Best Regards, Antonio Gallardo Lars Huttar dijo: Hi all, Another live Cocoon site to put on the Live Sites Powered by Apache Cocoon 2.1 page: a href=http://www.sil.org/silebr;SIL Electronic Book Reviews/a

Re: Link Hosting: PROKMU Swiss Hosting (prokmu.com)

2004-11-11 Thread Antonio Gallardo
Hi Ian: I already added the site to the cocoon hosting provider. It will be showed on the next site update. Best Regards, Antonio Gallardo PROKMU Hosting dijo: Dear Cocoon ! We are PROKMU Hosting company and really would like to be listed in your catalog:

Re: The code of method generate() is exceeding the 65535 bytes limit

2004-11-11 Thread Antonio Gallardo
David Merrilees dijo: I have a problem using xsp with large files. Is there any I increase the 65535 bytes limit? You should try the other compilers (pizza, javac or jikes). Best Regards, Antonio Gallardo - To unsubscribe,

Re: Tracking changes made to XML docs

2004-11-11 Thread Antonio Gallardo
Derek Hohls dijo: I am presently using CForms to allow users to update XML documents... the client has recently requested a feature to allow for changes to be tracked to these documents (who, when and what). Has anyone implemented such a scheme and, if so, could they provide some details of

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Bent André Solheim
Thank you guys. This really helps! I'll look at how to build an action that will do the xml lookup and unzip, and put the extracted xml in the request first thing in the morning. Really appreciate your help! Best regards Bent. On Thu, 11 Nov 2004 17:40:33 +0100, Jorg Heymans [EMAIL PROTECTED]

re:cocoon and axisblock

2004-11-11 Thread sven morales
The method is setOperationName(). Your code re-written: public class TestTheWebservice { public static void main(String [] args) throws Exception { Service cocoonService = new Service(new QName(Version)); Call cocoonCall = (Call)cocoonService.createCall();

How to load Cocoon in Eclipse

2004-11-11 Thread beyaNet
Hi, further to the earlier thread about using Eclipse IDE with cocoon, I went to the article that was mentioned http://wiki.apache.org/cocoon/LoadinEclipse, and did the following: 1. ./build.sh eclipse-project The document then goes on to say that 'tx-tad-biggerhis creates the

Re: Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread beyaNet
Jonny, there is a plugin for eclipse that handles subversion which you can get from x-tad-smallerhttp://subclipse.tigris.org/update regards/x-tad-smaller Andrew On 11 Nov 2004, at 16:36, Jonny Pony wrote: Hi, at the wiki: http://wiki.apache.org/cocoon/LoadInEclipse But since cocoon changed

Re: Link Livesites: Cocoon 1.x

2004-11-11 Thread Antonio Gallardo
Hi: How I can know if this site was done using Cocoon 1.8.2? Best Regards, Antonio Gallardo S.Fiebiger / softclick:net dijo: URL: http://www.naanoo.com http://www.naanoo.com/ Cocoon Version: 1.8.2 Description: A german language entertainment news community Keep the good work up! Greez

Re: Link Livesites: Cocoon 2.1.5

2004-11-11 Thread Antonio Gallardo
Hi John: Can you provide the cocoon version are you using? Best Regards, Antonio Gallardo John Sheridan dijo: http://www.fenc.org.uk A consortium of Further Education Colleges in the UK, using Cocoon to power both the website and to generate standards compliant xml-based learning

RE: Eclipse + Cocoon 2.1.5.1

2004-11-11 Thread Connell, Robert (SAPOL)
Andrew,  We are using Eclipse 2.1.0 and Cocoon 2.1.1 and CVS.  We are not using any Cocoon plugin in Eclipse ? What do the plugins give you ? Regards, Robert -Original Message- From: beyaNet [mailto:[EMAIL PROTECTED] Sent: Friday, 12 November 2004 10:51 AM To:

Re: Link Livesites: Cocoon 2.1.5

2004-11-11 Thread Antonio Gallardo
Hi Adam: The site was added, will be live on the next cocoon site update. Best Regards, Antonio Gallardo Adam Walsh dijo: Hi everyone, here's another site to add to the live sites list: http://www.travelthere.com The site uses Cocoon 2.1.5 and handles travel bookings for flights,

Re: Tracking changes made to XML docs

2004-11-11 Thread Derek Hohls
Antonio, As I said, I do not want the overhead of having to deal with a CMS, but its good to know that Lenya can handle this... maybe next time. [EMAIL PROTECTED] 2004/11/12 12:58:31 AM Derek Hohls dijo: I am presently using CForms to allow users to update XML documents... the client has

Re: [OT] This is quite disappointing...

2004-11-11 Thread Derek Hohls
Agreed. There have been a number of suggestions over the years about what a good learning track is for Cocoon... and the Hypersonic Tour is meant to be a working example of how one can use and apply jxt/flow/cforms. I am sure its possible to create docs that match such a track by assembling

XML error.

2004-11-11 Thread Adriano Smith
Title: xx.com News I have an XSL to generate an XML. However the following error wasseen. What does this error mean?? Only one top level element isallowed in an XML document. Line 6, Position 6 -^ The XSL i used is

Breadcrumb trail creation?

2004-11-11 Thread Derek Hohls
Does anyone know of a relative simple mechanism for creating a breadcrumb trail for a website i.e. a way to track which pages a user has selected and display them (say, the last 10) - typically in a row at the top of the page : page1 page2 page3 Any hints or pointers also welcome! Thanks.

Re: XML error.

2004-11-11 Thread Derek Hohls
This error typically occurs when you have an XML doc that looks like: ?xml version=1.0? page /page other /other ie. there is not one root tag for the page. [EMAIL PROTECTED] 2004/11/12 09:39:28 AM I have an XSL to generate an XML. However the following error was seen. What does this error

Re: How to load Cocoon in Eclipse

2004-11-11 Thread Leszek Gawron
beyaNet wrote: Hi, further to the earlier thread about using Eclipse IDE with cocoon, I went to the article that was mentioned http://wiki.apache.org/cocoon/LoadinEclipse, and did the following: 1. ./build.sh eclipse-project The document then goes on to say that 'this creates the .project and

Re: XML error.

2004-11-11 Thread Morus Walter
Adriano Smith writes: I have an XSL to generate an XML. However the following error was seen. What does this error mean?? Only one top level element is allowed in an XML document. Line 6, Position 6 It means what it says. The result of an xslt trafo can only be an xml document, if there

RE: JX-Template with repeater data... how to?

2004-11-11 Thread Bart Molenkamp
It should be resource://org/apache/cocoon/forms/generation/template.jx. jx:import uri=resource:org/apache/cocoon/forms/generation/template.jx/ (I'm not sure if you'll need a '/' between resource: and 'org...', but try it...)