cinclude transformer - select attribute

2003-05-27 Thread Martin Heink
i want to include the content of a subelement from an xml-file using the cinclude-transformer with the select attribute rather than including the whole file with the element-attribute. but while: cinclude:include src=pathtofile.xml element=included/ works as expected, cinclude:include

Re: [SOLUTION]Re: Need to use getInputStream() from HttpRequest !!!

2003-05-27 Thread Geoff Howard
The example at the wiki assumes you are working with FilePartFile - the example in the book probably doesn't make that assumption. At 09:30 AM 5/27/2003, you wrote: Ok, I find the error. The example is not worinkg for me. The example is either false or it's only me. I used the example on the

jsp:forward tag failure

2003-05-27 Thread Orson Davis
I am running cocoon2.0.4 on tomcat/jboss 3.0.4 with jdk1.4.0 ona windows 2000 server. My generator isthe jsp generator and the problem I am running into is in calling jsp:forward page="getnewxml.jsp"/ from the original jsp called. It actually runs through the jspgenerator, traxtransformer

How to access sourceResolver in action configure() method

2003-05-27 Thread DURDINA Michal
Hello! I am using own ConfigurableComposerAction and I have problem with loading configuration from external file (from filesystem). In act() method, I would use SourceResolver parameter passed to this method, but in configure() method I do not know where should I get the source resolver from. I

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread David Kavanagh
Michal, The action has access to the SourceResolver in the act() method, but not the compose() method. In cocoon2.1, I hear you can get access to the SourceResolver via the ServiceManager (or will it still be the ComponentManager?). David DURDINA Michal wrote: Hello! I am using own

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread Charles Yates
Can you put the configuration stuff into cocoon.xconf? Then it would be available in configure(). If not you could implement Contextualizable and get the HttpContext like this: public void contextualize(Context aContext) throws ContextException { myContext = (HttpContext)

XSP generating CDDATA section?

2003-05-27 Thread Mark H
Is there anyway for XSP to insert a generated CDDATA section into the SAX stream? I'm trying to modify the esql logicsheet so it outputs a string unescaped (there are HTML entities in the field's content). Mark - To

Error setting up cocoon

2003-05-27 Thread Eugene Kaganovich
Hi, I'm trying to install cocoon 2.1M2 under Tomcat Apache Tomcat/4.1.24-LE-jdk14 running with j2sdk1.4.1_02. I have xml-apis.jar and xercesImpl-2.4.0.jar in the common\endorsed directory under Tomcat, and I tried to put both xalan-2.5.0.jar and xalan-20030506.jar there too, but I keep running

Re: Proxy Redirect and sunshine module authentication

2003-05-27 Thread Rajasekhar Atchutuni
Hello all, We have a web site and it is redirected by Apache using mod proxy which works fine. ProxyPass /mysite/ http://webserver.com:8080/cocoon/mysite/ ProxyPassReverse /mysite/ http://webserver:8080/cocoon/mysite/ But under mysite we have another module which uses the sunshine

Re: How to access sourceResolver in action configure() method

2003-05-27 Thread Charles Yates
oops, I mean sitemap.xmap, not cocoon.xconf. Charles Yates wrote: Can you put the configuration stuff into cocoon.xconf? Then it would be available in configure(). If not you could implement Contextualizable and get the HttpContext like this: public void contextualize(Context aContext)

Re: Error setting up cocoon

2003-05-27 Thread Geoff Howard
That root cause: java.lang.IllegalAccessError: class org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its superclass is 99.9% sure to be the endorsed dir issue that you think you've fixed. I'm pretty sure this is what happens when two different versions of the jars are in

background task manager

2003-05-27 Thread David Kavanagh
I'm seeking a committer to help review the stuff I've written. I know it works for what we've been using it for and will probably help a bunch of other people out. I have the OK from our management for donating the code, but need a committer to make sure I haven't done anything taboo in the

Re: background task manager

2003-05-27 Thread Geoff Howard
Best way to do that is to submit a bug to bugzilla - be sure to add [PATCH] to the beginning of the summary. That way it won't get lost in the shuffle and all committers will get nagged until it's acted on. Probably someone more knowledgeable about the Excalibur projects you used will look at

RE: Cocoon Stammtisch in Vienna, Austria

2003-05-27 Thread Reinhard Pötz
Hallo Alex, Wäre für dich der 25. oder 26.6. auch okay? Den Termin werde ich dann falls er sich aus den div. Antwortmails automatisch ergibt nächsten Dienstag festlegen bzw. darüber abstimmen lassen. Liebe Grüße Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

SV: Proxy Redirect and sunshine module authentication

2003-05-27 Thread Askild Aaberg Olsen
Hello Raj! If you use cookies to maintain session state, you lose the session with mod_proxy/mod_rewrite in Apache, as long as you *don't* map the Apache httpd's path exactly as the servlet's. Since /mysite/ != /cocoon/mysite/ in your case, this seems to be the problem. In

RE: Cocoon Stammtisch in Vienna, Austria

2003-05-27 Thread Reinhard Pötz
Uuups, wrong adress :-( Reinhard -Original Message- From: Reinhard Pötz [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 10:21 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon Stammtisch in Vienna, Austria Hallo Alex, Wäre für dich der 25. oder 26.6. auch okay? Den

Did Something happen to the sessiontransformer?

2003-05-27 Thread JD Daniels
map:transformer name=session pool-grow=4 pool-max=32 pool-min=8 src=org.apache.cocoon.webapps.session.transformation.SessionTransformer/ map:match pattern=mgr-menu.xml map:generate src=context:/resources/docs/menus/menu.xml/ map:transform type=session/

Re: Did Something happen to the sessiontransformer?

2003-05-27 Thread Alex Romayev
Session transformer's namespace has been changed to: http://apache.org/cocoon/session/1.0. So at the moment it's ignoring the old namespace. Would be nice for it to give you a warning, wouldn't it ;) -Alex --- JD Daniels [EMAIL PROTECTED] wrote: Whoops.. Cocoon2.1M2 - Original

Why fo:wrapper tag does not work in fo:block

2003-05-27 Thread Yan, Charlene
I am using XSL formatting objects. I'm trying to specify different font weight to some text in one block. fo:blockfo:wrapper font-weight=boldSolution Name: /fo:wrapperxsl:value-of select=name / /fo:block Somehow after I add the wrapper tag, the text inside the wrapper is not displayed.

Re: new namespaces in 2.1

2003-05-27 Thread Alex Romayev
FYI: There was apparently a discussion on the dev list: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105158638805039w=2 -Alex --- Stavros Kounis [EMAIL PROTECTED] wrote: hi people reading the last thread in this list about session transformer i have notice that some namespacer have

using XML String in XSP

2003-05-27 Thread Gould, Troy (ELS)
I'm using cocoon 2.0.4 and having difficulties with the xsp-util:include-expr and xsp:expr tags. I have a method in a class that returns a XML Document as a String which I want to utilize within an xsp page. However, I don't want the string to come back as text because the '' tag (and others)

RE: jsp:forward tag failure

2003-05-27 Thread Orson Davis
Thanks everyone, I got this figured out. I needed a site component that read dealt with the jsp:forward page="whatever.jsp"/ tag. This is what worked for me. map:match pattern="redirect/*.jsp"map:generate src="" type="jsp"/ map:serialize type="xml"//map:match Now all is just fine.

No output generated by HSSFSerializer

2003-05-27 Thread Martyn Wilson
I am trying to generate Excel from a cocoon pipeline. The XML generated in the pipeline when serializes as XML appears to be valid. If imports into Gnumeric without errors, then if I export as an Excel file this imports into Excel without problems. So, why doesn't HSSFSerializer like it? The

RE: 2.0.4 scheduler

2003-05-27 Thread scottwarren
I am in Melbourne and have used Cocoon successfully as reporting engine. XSP in the Back, HTML and Excel in the Front. Regards Scott Warren Ocom Software ... Exceeding Quality. Phone : +61 419 102063 Email : mailto:[EMAIL PROTECTED] Web: ocom.com.au -Original Message- From:

RE: [solution] Re: Error setting up cocoon

2003-05-27 Thread Eugene Kaganovich
It looks like tomcat doesn't like spaces in the installation directory. I moved everything from C:\apache group\tomcat 4.1 to c:\tomcat, and now things seem to be working. Thanks everyone for reassurances that what I was doing was supposed to work. I'll probably have more app-specific questions

Re: FOP/HSSFSerializer's and non-english characters

2003-05-27 Thread Yury Mikhienko
On Tue, 27 May 2003 11:44:48 +0400 Yury Mikhienko [EMAIL PROTECTED] wrote: On Mon, 26 May 2003 21:35:18 +0200 J.Pietschmann [EMAIL PROTECTED] wrote: Yury Mikhienko wrote: Cocoon's FOP/HSSFSerializer still does not support non-english characters, can I solve this problem? I