Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-22 Thread Derek Hohls
Chris Thanks for the reply - the form validation is used elsewhere in the sitemap, as part of user authentication in fact. However, I need to access the {username} again for display in certain pages. Do you know how to access this value? Thanks Derek On 22.Sep.2003 -- 02:36 PM, Derek Hohls w

Re: strange delays in pipeline on Unix machine

2003-09-22 Thread Niclas Hedhman
On Tuesday 23 September 2003 14:20, Conal Tuohy wrote: > Does anyone have any idea? Can you make a suggestion as to where to look? > I'm tearing my hair out here!!! Since the delay is so substantial, can you determine if the delay is prior or after the servlet request has been passed to Cocoon?

strange delays in pipeline on Unix machine

2003-09-22 Thread Conal Tuohy
Hello fellow Cocooners! I have a strange problem which makes my Cocoon site run very slowly on a Tru64 Unix box. I've attached an extract of the core.log file which shows the problem (which does not occur on my Windows2k box). There is a strange delay of a few seconds between getting a JaxpPars

Strange DTD directives...

2003-09-22 Thread Niclas Hedhman
Hi, I'm not very good in DTD syntax, but normally gets by just fine, until Does any know what the INCLUDE and IGNORE means? Niclas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: EJB + Cocoon, "Best Practices"

2003-09-22 Thread Niclas Hedhman
On Monday 22 September 2003 06:29, Joerg Heinicke wrote: > We used EJB + Cocoon 2.0.4 for our project ConWeb. Is this a Internet site where you con, scam, cheat and defraud people? ;o) - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: EJB + Cocoon, "Best Practices"

2003-09-22 Thread Christopher Oliver
Tim Olson wrote: to get EJBs into cocoon, we have a custom Action / Generator pair. the action can be configured to make any EJB call (uses reflection) and stuff the results into a HashMap. the custom generator then sends that hashmap through Castor to generate SAX events. it's very nice, since

Re: JXPath usage problem

2003-09-22 Thread Christopher Oliver
Try this: #{Dt_Type} #{Dt_Type} JXPath doesn't support the text() function on Be

Re: Problem with reading parameters from sitemap in flowscript

2003-09-22 Thread Geoff Howard
Chris Wilkes wrote: Hi All, I'm trying to read in a parameter set in my sitemap in a flowscript: SITEMAP FLOWSCRIPT function displayuid() { var e = cocoon.parameters; for ( var i in e) { cocoon.log.debug("MYPARAM name: '" + i +

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: From: Tony Collen [mailto:[EMAIL PROTECTED] Jeff, Could you try the following test and tell me if you get search results? Worked great! Thanks! Yes, but I've re-opened the bug, because it really isn't re-encoding the request parameters correctly. The WSProxy, along with

Problem with reading parameters from sitemap in flowscript

2003-09-22 Thread Chris Wilkes
Hi All, I'm trying to read in a parameter set in my sitemap in a flowscript: SITEMAP FLOWSCRIPT function displayuid() { var e = cocoon.parameters; for ( var i in e) { cocoon.log.debug("MYPARAM name: '" + i + "' value: '" + coc

RE: wsproxy and request parameters

2003-09-22 Thread Jeff Ramsdale
> From: Tony Collen [mailto:[EMAIL PROTECTED] > > It hadn't occured to me that this was a problem with wsproxy. I > just thought > > I needed to do something to convert the format. But then I > realized that I > > had to manually change my all my "&"s to "&"s. Which format > should the > > user be

Re: File does not begin with '%PDF-'

2003-09-22 Thread Joerg Heinicke
Howard, Gary wrote: I changed the transform type to html, and it dump out what I wanted. I changed it back to fo2pdf and I get this error. I will try to dump it to a file. The "transform type" or the "serializer type"? I guess it's the serializer. This means you feed the fo2pdf serializer with

RE: File does not begin with '%PDF-'

2003-09-22 Thread Howard, Gary
I changed the transform type to html, and it dump out what I wanted. I changed it back to fo2pdf and I get this error. I will try to dump it to a file. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 3:15 PM To: [EMAIL PROTECTED] Subject:

Re: File does not begin with '%PDF-'

2003-09-22 Thread J.Pietschmann
Howard, Gary wrote: I keep getting this message box error when trying to generate a pdf using xsl-fo. I have tried everything. I increased my memory on my JVM to 512. I stripped the stylesheet down to the simplest example. I am using an XML generator to turn my session object into xml for the s

File does not begin with '%PDF-'

2003-09-22 Thread Howard, Gary
I keep getting this message box error when trying to generate a pdf using xsl-fo. I have tried everything. I increased my memory on my JVM to 512. I stripped the stylesheet down to the simplest example. I am using an XML generator to turn my session object into xml for the stylesheet. Everythin

Re: Cocoon Classpath

2003-09-22 Thread Joerg Heinicke
Tomcat uses the WEB-INF/classes and WEB-INF/lib directory of one webapp when searching for classes (besides the common directories). I don't know if one of the above is configurable, but even if it would not really help - or you need a directory where everybody has write access. Another possibi

Re: web services in cocoon

2003-09-22 Thread Michael McConnell
Fernando,   Take a look at some of the web services examples in the samples directory, esp 'Hello World'. Also, the 'Cocoon Developers Handbook' (Moczar, Aston) provide some tutorials.   -Michael   Michael McConnellPerficient, Inc. - Advanced Technology ServicesSRS Extension: 785-296-4854Per

Re: new request namespace?

2003-09-22 Thread Joerg Heinicke
Hello Roman, the namespace uri has changed from http://xml.apache.org/cocoon/requestgenerator/2.0 to http://apache.org/cocoon/request/2.0 because of the move of Cocoon to an Apache top project. The namespace prefix has no influence on the orking of the stylesheet, you only must bind your reque

Re: Transformation not working

2003-09-22 Thread Joerg Heinicke
Hello Joel, it seems to be a problem with the SAX events. The working of the solution with the intermediate file points on that. Can you add the log transformer before the WFSmap transformer and after the transformation step with "cocoon:/gmltosvg.xsl". Joerg Joel P W Pitt wrote: Hi all, I'm

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: It hadn't occured to me that this was a problem with wsproxy. I just thought I needed to do something to convert the format. But then I realized that I had to manually change my all my "&"s to "&"s. Which format should the user be expected to use for the src attribute of the

RE: Hello ! Can Cocoon be used with Struts ?

2003-09-22 Thread robert_hitchins
Jonathan, Hi...from what I've been able to discover, they can work together, but it's not a very happy marriage. I have a defined pipeline in Cocoon that is called to take some data from an XML file (after the file is built from a set of data retrievals) and turn it into a PDF to be sent back

Pagination inside an aggregated page

2003-09-22 Thread g4
Hi there list, I'm trying to use the Paginator inside an aggregated page. In my sitemap I have something like this:

Re: web services in cocoon

2003-09-22 Thread Bertrand Delacretaz
Le Lundi, 22 sep 2003, à 16:29 Europe/Zurich, Wermus Fernando a écrit : My name is Fernando. I'm new at this list. I wanna know how to make a web service through cocoon. Have a look at the axis block samples (from the "block with samples" page). Note that they were updated this morning to be mor

Hello ! Can Cocoon be used with Struts ?

2003-09-22 Thread jonathan wong
Dear All , Hello ! I want to know how to use Cocoon and Struts in the same web app ? I tried Struts-Cocoon plug-in . However , it seems not work . Thank you ! = Jonathan (Wong Yat Sing) Jonathan Studio M.P (852) - 91235947 NetMeeting : [EMAIL PROTECTED] ICQ# 57646152 ___

Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-22 Thread Christian Haul
On 22.Sep.2003 -- 02:36 PM, Derek Hohls wrote: > Working with Cocoon 2.0.4 and JDK 1.3... > > I am trying to get the value of parameters used in > a FormValidatorAction, to pass as new parameters > further on in the sitemap. > > According to the Cocoon API docs, if I have : > > > >

RE: EJB + Cocoon, "Best Practices"

2003-09-22 Thread Tim Olson
Joerg! we implemented a similar system to bind to our EJBs. it makes me wonder whether this kind of system should be present in the standard cocoon package. i'd really like to see a a selector which can also generate sax events, so you can trigger a sequence of backend actions which give output.

web services in cocoon

2003-09-22 Thread Wermus Fernando
My name is Fernando. I'm new at this list. I wanna know how to make a web service through cocoon. Ps: If we can also make a web service with cocoon it's almost sure we will use it for our current project. Thanks! - To unsubscrib

Re: XML2HTML

2003-09-22 Thread Alexander Schatten
Christian Haul wrote: On 18.Sep.2003 -- 03:36 PM, Christoph Strehl wrote: Hello there, I am new to Cocoon and I am already having problems with my first example. I am trying to convert a XML file to HTML. My XML-file looks - simplified - like this: Text with picture source.jpg and some text

Cocoon Classpath

2003-09-22 Thread Harald Wehr
Imagine following situation: One server with a tomcat and _one_ cocoon.war deployed at this tomcat. Different user can place their content in their home directory and any incoming request goes through the global sitemap of the deployed cocoon app: Of course the users should be able to deve

Re: Hello ! Can I generate PDFs and XLS through a document object and Cocoon ?

2003-09-22 Thread Joerg Heinicke
Sorry, but I don't understand your question now. The "default" serializer to produce PDF is the FOPSerializer from the FOP block. It consumes XSL FO Sax events and outputs PDF. Itext is only an alternative. It consumes its own XML format. Answers this your question? Joerg jonathan wong wrote:

Accessing FormValidatorAction parameters in the sitemap

2003-09-22 Thread Derek Hohls
Working with Cocoon 2.0.4 and JDK 1.3... I am trying to get the value of parameters used in a FormValidatorAction, to pass as new parameters further on in the sitemap. According to the Cocoon API docs, if I have : then: "This action returns null when validation fails,

Re: Using Saxon 7.6 with cocoon2.1

2003-09-22 Thread Vadim Gritsenko
Joerg Heinicke wrote: Hmm, I can't remember any change between 2.1m1 and 2.1 that should have influence on the working of Saxon. But as I already said, the problem does not look like a problem with Saxon but a maybe more strict validation handling in Saxon 7.6. As far as I know Vadim uses Saxo

new request namespace?

2003-09-22 Thread Fleischer Roman
Hello, with cocoon 2.1M1 i used the entry "request:request/@target" to check the location in my xsl. With the new namespace in cocoon 2.1 i get no result. When calling the request generator i got in c2.1M1 this result: http://xml.apache.org/cocoon/requestgenerator/2.0"; target="/cocoon/OCIpreloa

Re: Hello ! Can I generate PDFs and XLS through a document object and Cocoon ?

2003-09-22 Thread jonathan wong
Dear Joerg , Hello ! I am pleased to have your nice help . Can I use any PDF Serializer other than itext in Cocoon 2.1 ? Can I still use a standard XML with XSL FO ? Thank you ! --- Joerg Heinicke <[EMAIL PROTECTED]> wrote: > No, in Cocoon 2.1 you can also use itext to produce > PDF, but this

inject Document object into pipeline

2003-09-22 Thread Jorg Heymans
Hi, I want to inject an XML document i receive (via SOAP) into the cocoon pipeline. So far i have seen two ways of doing this 1. setup streamgenerator, then post the XML in the bodytext back to cocoon 2. create a custom generator Solution one needs an extra http call to localhost/pathtostreamge

JXPath usage problem

2003-09-22 Thread Leszek Gawron
How can I map this functionality that uses JEXL (which works): ${type.Dt_Type} ${type.Dt_Type} to JXPath ? This does not work:

AW: A stupid Question on Portal Framework

2003-09-22 Thread Hauke Ernst
Thanx, I removed that comment in login-html.xsl and it worked. The comment was The endorses dir should be correct, since the rest of cocoon works fine. It contains xalan-2.5.1.jar etc. The problem was probably caused by the '"'. I just wonder why this normally works... Greetings and thanks

Re: EJB + Cocoon, "Best Practices"

2003-09-22 Thread Christopher Oliver
See http://cocoon.apache.org/2.1/userdocs/flow/index.html Also please look at the Flowscript samples in the core and in the Petstore block rather than in Woody. Other than for Woody, Flowscript should be stable, usable, and documented. Regards, Chris - Original Message - I checked wha

RE: RES: RES: XSP in XSL

2003-09-22 Thread Kai Bruns
Hi, what you could do is using one matcher to generate your XSP and use a second one to get this generated XSP executed. Something like should work. But you should be aware of generating XSP (especially dynamica