Re: Form encoding problem in cocoon 2.0.4

2003-07-07 Thread Joerg Heinicke
-Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 1:42 PM To: [EMAIL PROTECTED] Subject: Re: Form encoding problem in cocoon 2.0.4 Sorry, but: please don't do this!! Even if ISO-8859-1 is the correct encoding, you shall not add the META tag by hand

Re: Custom Logic Sheets: Request Parameters in Nested tags

2003-07-07 Thread Joerg Heinicke
Remove the apostrophes: xsl:variable name=id request:get-parameter name=template-id/ /xsl:variable Joerg Chintalapaty, Sreedhar wrote: Hi, I am trying to develop a tag that would - Get a parameter called template-id from the request - Fetch the template with that template-id from an XML

Re: sql transform

2003-07-07 Thread Joerg Heinicke
There are 2 independent technologies: 1. SQLTransformer http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html 2. ESQL Logicsheet (the XSP) http://cocoon.apache.org/2.1/userdocs/xsp/esql.html They are completely independent and it's possible (I don't know, I never used one of

Re: Custom Logic Sheets: Request Parameters in Nested tags

2003-07-07 Thread Joerg Heinicke
Can you provide more details? Sitemap, XML, queries.xml, ... Joerg Chintalapaty, Sreedhar wrote: Joerg, Thanks for your response. I had it without the apostrophes earlier; in both cases, however, the results are identical... :( Sreedhar -Original Message- From: Joerg Heinicke

Re: Handle errors with cocoon

2003-07-11 Thread Joerg Heinicke
What about map:handle-errors/? Joerg Lionel Crine wrote: Hi, I'd like to handle the Java errors (null pointer, etc ...) with Cocoon Web Application. Is there a way to send the errors on the screen? Is already there a class doing that (like the getlogger class)? Lionel

Re: AW: AbstractDatabaseAction: Tiny bug? (Fix included)

2003-07-11 Thread Joerg Heinicke
Integer is okay: CHAR in SQL means one character. At the moment unicode is preserved for 65536 (four digits, hexadecimal = 16 ^ 4) different characters (http://www.unicode.org/charts/charindex.html). These are mapped to numbers, e.g. #x20ac for the euro sign. For Java it's similar

Re: Cocoon 2.1 'block samples' breaks under Websphere5 /WSAD5

2003-07-16 Thread Joerg Heinicke
Hello, can you try another (simpler) block that does not depend on servlet container specific stuff like JSP, the POI block for example. Furthermore the links to the block samples look like samples/blockname/, the sitemap redirects this URL to samples/blockname/welcome or

Re: logicsheet problem - cocoon bug in xsp-request ?

2003-07-16 Thread Joerg Heinicke
Hello Christian, seems to be a standard XSLT error in your logicsheet: xsl:template match=xsp:page xsl:copy xsp-request:get-parameter name=user.name default=r as=string/ xsl:apply-templates select=@*/ You can't add attributes to an element that already has a child node. So simply change

Re: Link Livesites

2003-07-17 Thread Joerg Heinicke
Torsten Schlabach wrote: Dear Cocoon Website maintainers, fist of all: Congratulations for the updated website. This will really help the project to get more public exposure and attract more people to use and support Cocoon. Thanks. The URL: http://www.bildung-fuer-afghanistan.de/ The Title:

Re: Command Line Interface

2003-07-17 Thread Joerg Heinicke
Hello Steven, this was a bug in the CocoonBean. The logger was used before it was initialized. I have fixed it in the CVS. This happened only if you should get an error before initializing the logger. In your case (line 178) you should have seen this error: Please, specify at least one

Re: Command Line Interface

2003-07-19 Thread Joerg Heinicke
Upayavira wrote: ./cocoon.sh cli -x cli.xconf build/webapp/welcome.xml I got ERROR: Unexpected children of logging node That one's strange. That is triggered if the logging node has children (other than attributes). Not only :) You logged NODE_LOGGING where you need NODE_BROKEN_LINKS or

Re: How to redirect XSL output to more than one file?

2003-07-19 Thread Joerg Heinicke
Hello Marco, I can't recommend to transform big documents like you DocBook book with huge stylesheets like DocBook XSL. The transformation will take too much time for a user. But it's not impossible. You can for example use the chunk.xsl in the DocBook XSL for chunking a document in different

Re: troubles installing cocoon

2003-07-23 Thread Joerg Heinicke
Alessio Sangalli wrote: Joerg Heinicke wrote: What was your JDK and Cocoon version with the last install? the last install? I wrote all the versions I've used this time: Hmm, ok. Many people only update the current install and have then a problem with the compatibility of the XML libraries

Re: subsitemaps in a WAR

2003-07-23 Thread Joerg Heinicke
map:mount seems to be ok. For me the url of the subsitemap seemed to be wrong: cocoon_vdab18653.war!/sitemap.xmapextractie/algemeen/sitemap.xmap. It looks like a path resolving bug to me. We know of different ones of them already (see bugzilla for them). The path resolving is too much

Re: dynamic node selection

2003-07-23 Thread Joerg Heinicke
Hello Adam, My apologies for the lack of clarity. I was trying to use the value I have calcualted for the $targetNode variable to select a node in my XML document. If I had an xml source like the following, I would like to be able to 'dynamically' select nodes for processing. ... The xslt

Re: map:serialize type={1}/

2003-07-25 Thread Joerg Heinicke
In short: no. Selector is the right way to go. Joerg Ramsés Morales wrote: Hi. I would like to do sitemap substitution to the type attribute of the serializer from the wildcard matcher. I get this error: Type '{1}' is not defined for 'serialize' That means I can't select dynamically the

Re: map:serialize type={1}/

2003-07-26 Thread Joerg Heinicke
= Joerg Heinicke wrote: In short: no. Selector is the right way to go. Joerg Ramsés Morales wrote: Hi. I would like to do sitemap substitution to the type attribute of the serializer from the wildcard matcher. I get this error: Type '{1}' is not defined for 'serialize' That means I can't select

processing flow for map:call resource=/ (was: map:serializetype={1}/)

2003-07-26 Thread Joerg Heinicke
(Moving this discussion to dev list because it implies an more or less important change - wanted or not.) The problem: Does the processing return to a calling pipeline after map:call resource=/? The docu at http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#Calling+resources and

Re: Strange .txt Linebreak Issue

2003-07-29 Thread Joerg Heinicke
Does it work if you add the mime-type info?? map:read src=../uploads/attachments/{1} mime-type=text/plain/ Joerg Jacob Arnold wrote: I'm using the following pipeline to serve text documents via Cocoon: map:match pattern=calls/attachments/** map:read src=../uploads/attachments/{1}/ /map:match

Re: XML on the browser

2003-07-30 Thread Joerg Heinicke
No, you only need the matches for the XML and the XSL files with the mime-type text/xml applied to the XML and text/xsl to the stylesheet (text/xsl is not an official one, but without it, IE won't transform your XML and Mozilla has no problems with text/xsl). Joerg Galia Angelova wrote: So I

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 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: Getting Error when trying to use JSDK1.42 + Tomcat 4.1.27 + Cocoon2.02 or 2.04

2003-08-09 Thread Joerg Heinicke
It's the endorsed libs problem: http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError Regards, Joerg Jasper Michalczik wrote: Hello, Im getting the following Error when trying to use Cocoon 2.02 or 2.04 on JSDK1.42 + Tomcat

Re: [newbie][2.1rc1] LinkageError: SerializationHandler violatesloader constraints

2003-08-09 Thread Joerg Heinicke
Seems to be not a problem of XMLForm but of Cocoon deployment in general. What's your environment? Do you get any generated page? Joerg [EMAIL PROTECTED] wrote: Hi Everyone, I've just pulled down cocoon 2.1 rc1 and am trying to get the XMLForm Wizard's How-To running. I've followed the steps

Re: [HELP]Could not find component (key [org.apache.cocoon.webapps.portal.components.PortalManager])

2003-08-09 Thread Joerg Heinicke
The role and so the key is org.apache.cocoon.portal.PortalManager in Cocoon 2.1. Where is the ComponentException thrown? Maybe Carsten can jump in? Joerg Jonathan Brazil wrote: Hi All, I am trying to modify the portal demo that comes with the latest release of Cocoon. I have noticed that

Re: Fwd: Strange behavior with transform using xsl:choose, xsl:when

2003-08-09 Thread Joerg Heinicke
Samuel Bruce wrote: Hello, I have a xsl file which sets an xsl:variable at the start of the file (before the match:template) from either a request parameter or a session parameter. The variable is defined as: xsl:variable name=var1 xsl:value-of select=parm/ /xsl:variable Hello Samuel, try to

Re: Cocoon Confusion/Logging Error

2003-08-10 Thread Joerg Heinicke
Could you try it without the XSPs, so maybe only the standard samples. Do you get the same error? Have you started with a clean Cocoon 2.0.4 porting your code or the other way around replaced parts of 1.8 with parts of 2.0.4? Joerg Raman Jankiram wrote: I am porting few XSPs written in

Re: [newbie][2.1rc1] LinkageError: SerializationHandler violatesloader constraints

2003-08-10 Thread Joerg Heinicke
, and xmlapis jars in the tomcat endorsed directories, but still get this error and end up with a blank page. I tried it with Jetty tho and it works fine, so I guess it's a classloader issue with Tomcat? Thanks, Adam On Sun, 2003-08-10 at 08:04, Joerg Heinicke wrote: Seems to be not a problem of XMLForm

Re: html serializer problem

2003-08-10 Thread Joerg Heinicke
serialized!! If I could just prevent the html serializer from introducing this whitespace, this problem would be solved (I manually edited the resulting file, taking out the whitespace, and it displays correctly in IE). From: Joerg Heinicke [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL

Re: Xpath limitations in 2.0rc2

2003-08-11 Thread Joerg Heinicke
2.0rc2 (a bit too old, why not 2.0.4?) or 2.1rc? Do you use JDK 1.4 (endorsed libs problem)? Do simple stylesheets work? Xalan has 270 open bugs in bugzilla at the moment. Don't know if one matches your problems. In general it works quite well. Joerg Miguel Carvalho wrote: Hi, i'm working

Re: conflicting batik versions in cocoon-2.1rc1 and its version offop

2003-08-12 Thread Joerg Heinicke
Carsten, is it already to late? Joerg neil wrote: Hi, Before the final cocoon-2.1 release is it possible to get the same version of batik used in cocoon and in its version of fop? Details... I've been trying out cocoon/fins/jfreechart/fop/batik to produce charts using scalable pdf drawing

Re: Cocoon not able to read external URLs.

2003-08-14 Thread Joerg Heinicke
What happen's when doing this? What's your Cocoon setup esp. Cocoon version? Someone else already mentioned some days ago problems with proxy. Joerg Kieran Kirwan wrote: My setup of cocoon doesn't appear able to read external URLs. This is the first time I've tried to do this on our network.

Re: Link Hosting:From ViSolve.com. Please remove our link.

2003-08-14 Thread Joerg Heinicke
This is not the official Cocoon Website, anyone else only put the Cocoon documentation online. We don't have any influence on the page, you have to ask there. The official Cocoon page is at http://cocoon.apache.org/link/livesites-1.x.html and does not include your page anymore. Regards,

Re: css loading

2003-08-14 Thread Joerg Heinicke
I guess it's simply the other base. If you have http://www.yourserver.com/impact.html and change it to http://www.yourserver.com/anydir/impact.html, the css link is also resolved to http://www.yourserver.com/anydir/style.css. You can change the css link's href to ../style.css or maybe

Re: Link Livesites: www.globalcrossing.com

2003-08-14 Thread Joerg Heinicke
I was impressed: such a big company using Cocoon for its website and we don't have it on the list! Fixed that (though it's not updated on the website yet). May I ask if you used Cocoon again for any other project? Joerg Bernard Ong - Optimum wrote: Global Crossing's www.globalcrossing.com

Re: How to save uploaded files?

2003-08-14 Thread Joerg Heinicke
Siraj Shakil wrote: By the way, is there any way i can donate this code to cocoon project? i need some guidelines since i am no good with CVS. http://cocoon.apache.org/community/contrib.html I hope it's not too much to read :-) Joerg

Re: Special chars

2003-08-14 Thread Joerg Heinicke
Strange, an application reading XML files but not understanding entities? There is not much that can be done I guess. It's the task of serializer (Xalan by default), so you should ask there if an option exists. IIRC for Saxon such an option exists. Joerg Nicolas SANDRI wrote: Hello, I'm

Re: serving css and images

2003-08-14 Thread Joerg Heinicke
Hello Ben, Cocoon has a so called XHTML serializer, which is in fact a XML serializer, but adds the correct mime-type and the DOCTYPE, so that Mozilla correctly recognizes the page as XHTML. So you should use map:serialize type=xhtml/ The XSL FO namespace declaration comes from your

Re: Excel: Unable to apply formula SUM

2003-08-14 Thread Joerg Heinicke
Why don't you use the Gnumeric file format instead of writing Java code? Joerg Mehra, Vishal wrote: Created Excel worksheet using POI. All the cell values are formatted as string. cell = currentRow.createCell( (short) i); cell.setCellType(HSSFCell.CELL_TYPE_STRING);

Re: Link Livesites: www.geozeta.pl

2003-08-14 Thread Joerg Heinicke
Added to the CVS, not online yet. Joerg Tomasz Nowak wrote: Geozeta is a polish geographic travel portal. We have already over 120 articles about trips to different places of whole world. http://www.geozeta.pl/ Besides forum Geozeta is entirely build on top of Apache Cocoon 2.0.4 and

Re: Request Parameter based Stylesheet selection

2003-08-14 Thread Joerg Heinicke
Hello Raman, I don't know the RequestParameterMatcher, but from your code I wonder how it should work. At http://wiki.cocoondev.org/Wiki.jsp?page=WildcardRequestParameterMatcher there is an example and from it I think it should be something like the following: !-- only a better name to make

Re: XML Modification Transformer

2003-08-14 Thread Joerg Heinicke
What about XSLT? Joerg Scott Warren wrote: Is there a 'generic' XML modification transformer? I need a transformer like the XConfToolTask tool used to build Cocoon (2.1rc1 atleast). The sunrise components seem to have the basic idea with (InsertTransformer) but this only does inserts. Not

Re: Problem with large file-download served by Cocoon 2

2003-08-14 Thread Joerg Heinicke
Hello Luke, the caching is a good hint I think. What about trying it with a non-caching pipeline for such big files? IMO caching makes no sense for such big files. If this does not help, try to go on on the developers list. Maybe there is a bug or at least an improvement like non-caching for big

Re: conflicting batik versions in cocoon-2.1rc1 and its version offop

2003-08-14 Thread Joerg Heinicke
Done (before relese). Thanks for spotting it. Joerg neil wrote: Hi, Before the final cocoon-2.1 release is it possible to get the same version of batik used in cocoon and in its version of fop? Details... I've been trying out cocoon/fins/jfreechart/fop/batik to produce charts using scalable

Re: build problem

2003-08-14 Thread Joerg Heinicke
Can't you use the build scripts of Cocoon as they are? Cocoon comes with all needed libraries and the build script already sets classpath correctly. Joerg Bill French wrote: hi, i'm on mac os 10.2.6: Darwin 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003;

Re: parameters

2003-08-14 Thread Joerg Heinicke
Andrzej Radzki wrote: Hello! I want to add to the all links (a href=.../) in my site Where does the code come from? additional parameter (eg. ?param=value), without changing all files... is it possible do this in the sitemap? How does the sitemap look like? It's possible using an additional

Re: Link Livesites: Cocoon 2.1

2003-08-14 Thread Joerg Heinicke
All 3 pages are served by Cocoon 2.1 M3. Do you want to upgrade to 2.1 release? The pages are really fast!! Joerg Christoph Gaffga wrote: http://www.urlaubstage.de http://www.unterkunft.de http://www.apartments.de The sites are all powered by a Tomcat-Cluster with cocoon 2.1 (release). All

Re: SVG Serializer error

2003-08-14 Thread Joerg Heinicke
Yesterday a bug was fixed in Cocoon 2.1, I guess it's the same in 2.0.4. Can you try it: http://marc.theaimsgroup.com/?l=xml-cocoon-cvsm=106076435708268w=2. Regards, Joerg Gustavo Nalle Fernandes wrote: Hi, I am obtaining the following error when trying to tranform a XML to SVG applying a

Re: build problem

2003-08-14 Thread Joerg Heinicke
script. ant is complaining that it can't find a class -- org.apache.tools.ant.taskdefs.optional.TraXLiaison -- that's packaged in optional.jar. On Wednesday, August 13, 2003, at 02:50 PM, Joerg Heinicke wrote: Can't you use the build scripts of Cocoon as they are? Cocoon comes with all needed

Re: reg exp matchers

2003-08-14 Thread Joerg Heinicke
http://jakarta.apache.org/regexp/index.html vs. http://jakarta.apache.org/oro/index.html I guess you have to implement your own Matcher using Oro. Regards, Joerg Gould, Troy (ELS) wrote: Does the regexp project used by Cocoon allow for Perl5 extended regular expressions? I'm trying to use a

Re: XMLForms and validation

2003-08-14 Thread Joerg Heinicke
From the package structure (http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/validation/) I guess Schematron is the default validation schame language, but you can implement another one. Joerg g[R]eK wrote: . Hi cocoon users! . I'm

Re: cocoon 2.1 - possible to build a war deployable to both 1.3 and1.4 jre environment?

2003-08-15 Thread Joerg Heinicke
Build the war with JDK 1.3 (build war). There is no longer a JDK dependency with the database jar. So you can deploy it both in a 1.3 and a 1.4 environment. Java 1.4 is backward compatible, so 1.3 compiled stuff works in a 1.4 environment. The problem with endorsed XML libraries exists for

Re: need help with strange 2.1 problems...

2003-08-16 Thread Joerg Heinicke
A click on [show] should show you the stacktrace. Otherwise you have a strange browser :-) If it really does not work, can you tell us what browser you are using. The stacktrace is contained in the HTML code, so even if it is difficult to read you can at least see it. Joerg Sonny Sukumar

Re: Running the latest CVS snapshot - should it be this hard?

2003-08-16 Thread Joerg Heinicke
Sorry, but if you use build webapp, these things are donw for you by the build system. Joerg John Williams wrote: In order to test a recent fix I downloaded a CVS snapshot . My expectation was that once I had done a build all and copied all the necessary jars into WEB-INF I could use the

Re: best browsers for viewing xml?

2003-08-18 Thread Joerg Heinicke
You can't use the IE XSLT because it's based on IE's implementation of the XSLT working draft. The xslt in Cocoon is (or was at least) based on this file as you can read in the comments in the file. Joerg Upayavira wrote: Jay Freeman (saurik) wrote: One such XSL/T comes with Cocoon:

Re: JavaDoc not in Build 2.1Final

2003-08-20 Thread Joerg Heinicke
Which build target did you call? build webapp (the default one) includes the creation of JavaDoc, if you have not switched it off in the build.properties. Joerg Scott Warren wrote: I have downloaded and build the Final 2.1 release and there is no JavaDoc. Has anyone else had this problem ?

Re: JavaDoc not in Build 2.1Final

2003-08-20 Thread Joerg Heinicke
rufio wrote: I have downloaded and build the Final 2.1 release and there is no JavaDoc. Has anyone else had this problem ? Same problem, I copied them by hand. What do you mean with copied them by hand? After build webapp they have to be in $COCOON_HOME/build/webapp/api. I guess you have to

Re: how to create object of an external class ?

2003-08-20 Thread Joerg Heinicke
Additionaly you need to import your class: xsp:structure xsp:includepackage.Test/xsp:include /xsp:structure Joerg Reuben Christie wrote: hi all.. i m a newbie to cocoon. i m writing an xsp page..in that page i have a lines like this. xsp:logic Test t=new Test(); .. .. /xsp:logic and

Re: build fails

2003-08-20 Thread Joerg Heinicke
Remove the crimson.jar from your classpath or enforce the earlier load of xalan.jar. Joerg PS: Please don't remove the complete thread from your replies, otherwise we have to search in the archives what exactly your problem was. Steen Grønlund wrote: I am in fact running jdk1.3.1_01, so I

Re: Problem with build

2003-08-20 Thread Joerg Heinicke
Can you do a build clean webapp? The target compile-core does not start with the compiling, but with some copying and mock classes. Couldn't see anything strange in the diagnostics. Joerg Marcin Stefaniuk wrote: Hello! I tried to compile latest Cocoon 2.1. I prepared environment as described

Re: Special chars

2003-08-20 Thread Joerg Heinicke
interpreted when they're UTF-8 simple chars.) Any ideas on a Xalan parameter ? Any script to replace all chars ? Nicolas Le samedi, 9 ao 2003, 23:41 Europe/Paris, Joerg Heinicke a crit : Strange, an application reading XML files but not understanding entities? There is not much that can be done I guess

Re: Acrobat Control ActiveX error

2003-08-20 Thread Joerg Heinicke
Can you save the file to disk without using Acrobat (the typical save link target as ...) and try to open this file with Acrobat, so that you circumvent the Acrobat browser plugin? Joerg Upayavira wrote: Dear All, I've just done my first FO page, basing my FO on the FOP sample. When I try

Re: JavaDoc not in Build 2.1Final

2003-08-20 Thread Joerg Heinicke
What happens if you call build javadocs by hand? Joerg Scott Warren wrote: Yes I did a build webapp and this was from a clean still hot from downloading copy of the dist. I didn't change anything. Regards Scott Warren -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED

Re: Encoding of web.xml

2003-08-20 Thread Joerg Heinicke
Wow, what a /hymn/ on UTF-8 :-) I know the advantages of UTF-8 and even if there is currently no need for switching I did it. The conversion was done hopefully correctly by jEdit. Joerg Antonio Gallardo wrote: Joerg Heinicke dijo: Is there any problem with ISO-8859-1 or do you think switching

Re: Where is build.sh in 2.1 cvs

2003-08-21 Thread Joerg Heinicke
No, I did a clean checkout today on work. It included a build.sh. Joerg Keith Goettert wrote: Just got the 2.1 HEAD from CVS. No build.sh in the root. Anybody else observe this? - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Problem with build

2003-08-21 Thread Joerg Heinicke
. Mock classes and copying is passed (look into build log I attached). It stops at symbol AbstractJavaCompiler. Classpath looks ok. Whats wrong? Marcin - Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:15 PM Subject: Re: Problem

Re: [POI] defining Print Orientation to landscape

2003-08-21 Thread Joerg Heinicke
=/ gmr:paperUS-Legal/gmr:paper /gmr:PrintInformation Please tell me what we are doing wrong. Best Regards, Antonio Gallardo Joerg Heinicke dijo: Hello Antonio, the best resource is the The Gnumeric File Format guide linked twice from http://wiki.cocoondev.org/Wiki.jsp?page=XLSSerializer

TraxTransformer Caching (was: basic form tutorial)

2003-08-21 Thread Joerg Heinicke
The benefit of this is that all parameters are available to your stylesheet automatically, but there is a side-effect with respect to caching to consider. With use-request-parameters, the pipeline is cached for every combination of all your request parameters which you may not want. Say you

Re: Running the latest CVS snapshot - should it be this hard?

2003-08-21 Thread Joerg Heinicke
but intuitively (and a C make background) all sounds like the big one. John Joerg Heinicke wrote: Sorry, but if you use build webapp, these things are donw for you by the build system. In order to test a recent fix I downloaded a CVS snapshot . My expectation was that once I had done a build all

Re: Writing my own Producer to generate dynamic XML

2003-08-21 Thread Joerg Heinicke
The component you search for is generator (http://cocoon.apache.org/2.1/userdocs/generators/generators.html). There are already different technologies generating XML from DB (http://cocoon.apache.org/2.1/userdocs/concepts/databases.html). Also search on http://wiki.cocoondev.org/ for more

Re: XML Modification Transformer

2003-08-21 Thread Joerg Heinicke
A bit late but ... It should not be that difficult to create a template for each xa:*/. What exactly is the update? Moving the nodes from action.xml into the sitemap? You only must no which has higher priority. If you need help, don't hesitate to ask - maybe offlist, because it's a bit off

Re: throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Joerg Heinicke
What about extending ProcessingException? Joerg Sonny Sukumar wrote: Hi guys, Is it possible to declare additional exception types to be thrown from the generate() method generated from an XSP? The generate code throws SAXException, IOException, ProcessingException by default. I thought

Re: throwing non-ProcessingExceptions from XSPs

2003-08-22 Thread Joerg Heinicke
are inflexible. From: Joerg Heinicke [EMAIL PROTECTED] What about extending ProcessingException? Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URLs being encoded WITH cookies enabled

2003-08-25 Thread Joerg Heinicke
I wonder why you don't abstain from cookies completely? If you use URL encoding for some users why not for all? We disregard cookies in our company completely because can potentially have switched them off. Joerg Sonny Sukumar wrote: Hi guys, I sent the below message a few days ago but didn't

Re: URLs being encoded WITH cookies enabled

2003-08-26 Thread Joerg Heinicke
Sonny Sukumar wrote: Anyhow, 2 other reasons I'd prefer URL/link rewriting not to occur when cookies are enabled: 1.) It takes up precious time to parse a document and rewrite links. IMO this can be ignored. The second reason is much more important. We do the link rewriting ourself in a XSLT

Re: EXSLT from exslt.org not working in 2.1

2003-08-26 Thread Joerg Heinicke
AFAIK it does not work with XSLTC in general, so you must at least use Xalan. We switched to Xalan as default XSLT processor just before the release, so I guess this is not the problem? Until now I have never been using EXSLT extensions with Cocoon. I sometimes used Xalan Redirect Extension

Re: Performance Question

2003-08-27 Thread Joerg Heinicke
Bertrand Delacretaz wrote: Many big sites are running Cocoon today, there's a list at http://cocoon.apache.org/link/livesites.html (containing only sites that want to be listed, there are some serious installations that are not listed there). This link is no longer correct but this old page is

Re: Eine Nachricht von Bastian Breithaupt

2003-09-09 Thread Joerg Heinicke
You don't need to. The mail we received from him is sent by web.de (a German mail provider) if you add an address to your contacts (here the Cocoon list) and if you don't deactivate a checkbox: It's a service of web.de, where the added person can add personal details like address or phone

Re: encoding german http query parameters

2003-09-09 Thread Joerg Heinicke
I guess you build URLs using request parameters with German letters (something like a href=test.html?myname=Jörg/). This URL is encoded using UTF-8, while you have your documents encoded in ISO-8859-1 (configured at the serializer). If all these guesses are true you have different

Re: Porting Cocoon Logging to Log4j - Proposal and Discussion

2003-09-10 Thread Joerg Heinicke
Ralph Goers wrote: While I don't agree with the proposal to move from logkit to log4j, I'm not sure why CocoonServlet has DefaultLogKitManager hardcoded in it - especially since that class is deprecated. Normal evolution, once upon the time the DefaultLogKitManager was not deprecated ... It

Re: Resource Not Found Message

2003-09-10 Thread Joerg Heinicke
Sam Chance wrote: By the way, Can I use the latest Xerces/Xalan libs, or must I use the versions shipped with Cocoon? Thank you! Sam The Xerces/Xalan libs in Tomcat's endorsed directory should correspond to the ones used in Cocoon. So if you want to use latest Xerces/Xalan, you should update

Re: directory listing

2003-09-11 Thread Joerg Heinicke
I wonder if this is pure Cocoon behaviour. Don't you have an Apache in front of the servlet container? What's your servlet container? Joerg Mustafa Yalniz wrote: Hi, We have a cocoon application and the URL is http://localhost:8080/cocoon/application and with this url we can see our

Re: Compiling Woes

2003-09-12 Thread Joerg Heinicke
AFAIK the Rhino version delivered with 2.1.1 has a bug, but should not prevent you from compiling Cocoon. You can download the fixed version of the Rhino Jar from CVS. Where did you get your Cocoon from? I don't know of any compile error and have compiled Cocoon 2.1.1 successfully. Joerg

Re: ServletException

2003-09-14 Thread Joerg Heinicke
Hello Gary, it's difficult to say because we don't know what Borland has done to integrate Cocoon, what they changed in the configuration or whether they changed something in the sources. So for example the ParanoidCocoonServlet is not the default servlet class, but I guess they use it to be

Re: [ANN] Apache Forrest 0.5 released

2003-09-14 Thread Joerg Heinicke
Congrats from here too, you are also mentioned on the docbook apps list because of the new DocBook capabilities. Joerg PS: They also noticed the many broken links on http://xml.apache.org/forrest/upgrading_05.html ;-) Steven Noels wrote: Jeff Turner wrote: The Forrest team is pleased to

Re: CLI and HTMLGenerator

2003-09-15 Thread Joerg Heinicke
The HTMLGnerator in 2.1 depends heavily on a servlet environment. Carsten has removed some of them on September 3rd (so after 2.1). You can try 2.1.1, hopefully this works. As I know the last one who had a problem with it was satisfied by Carsten's change. Joerg arturl wrote: How to ensure th

Re: Screen Resolution / BrowserSelector?

2003-09-15 Thread Joerg Heinicke
You can get the screen resolution via JavaScript. If you want to use it server side you have to send it via request parameters to the server. You don't need the browser selector. Joerg g4 wrote: Hi list, Is it possible to do a screen resolution detect through eh browser selector or another

Re: AW: AW: File existence

2003-09-16 Thread Joerg Heinicke
Try to pass the value of {request-param:ID} to the stylesheet or debug it in another way and tell us if this works correctly. Joerg Mustafa Ali, Halgurt wrote: But I am using different stylesheets, I made a mistake, I corrected my pipeline and now the Otherwise part will be taken, never mind if

Re: utf-8-form-encoding.xweb

2003-09-16 Thread Joerg Heinicke
It's no node there, it's only escaped text. You have to add it this section to your local xconf and add it via xpatch. Joerg Tomasz Nowak wrote: Tim Olson [EMAIL PROTECTED] wrote: since the block is commented, it's not in the xml tree, so how would there be an xpath to it? Since a comment is

Re: installing cocoon 2.1 from source code

2003-09-16 Thread Joerg Heinicke
Geoff Howard wrote: alpana wrote: please use *build war *to create the war file I am trying to install Cocoon version 2.1 from source code by compiling the source using Jakarta Ant with the commands: .\build.bat Dinclude.webapp.libs=yes webapp. The cocoon website documentation states very

Re: installing cocoon 2.1 from source code

2003-09-16 Thread Joerg Heinicke
the complete cocoon.xconf by hand. I changed the build.xml and the install docs that time, the website was only not updated. Joerg Geoff Howard wrote: Joerg Heinicke wrote: I am trying to install Cocoon version 2.1 from source code by compiling the source using Jakarta Ant with the commands: .\build.bat

Re: GUI for editing sitemap.xmap?

2003-09-17 Thread Joerg Heinicke
SN already announced a new version of SunBow, that will be first presented on Cocoon GetTogether. I don't know if this fixes everything, but at least I guess the DTD/Schema should be updated. Joerg Chris Wilkes wrote: Hi, I'm currently using sunBow http://radio.weblogs.com/0108489/, an

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

2003-09-18 Thread Joerg Heinicke
Yes, should be possible by writing your own simple generator. Where do you get the JDOM object from? Joerg jonathan wong wrote: Dear All , Hello ! I am a beginner of Cocoon . I find Cocoon can generate XLSs and PDFs through a pair of XML and XSLT . However , can I generate XLSs and PDFs

Re: Store Soap results in Session variables

2003-09-18 Thread Joerg Heinicke
It's not possible with XSP, because they can only be used on the generator stage. Actions are also not possible, because they are executed before pipeline execution. You have to do the storing after SOAP, so a transformer is the only possibility. For writing your own transformer take a simple

Re: RES: RES: XSP in XSL

2003-09-21 Thread Joerg Heinicke
Yes, you can generate the XSP first: map:match pattern=test.xsp map:generate src=xspbase.xml/ map:transform src=xspbase2customizedxsp.xsl/ map:serialize type=xml/ /map:match map:match pattern=test.html map:generate type=serverpages src=cocoon:/test.xsp/ map:transform

Re: A stupid Question on Portal Framework

2003-09-21 Thread Joerg Heinicke
There are almost no stupid questions :-) As you can see it's the transformation step. It's difficult to see, what's the reason for this, but I guess (because it normally works) that you don't use a newer Xalan version through the endorsed libs problem. Can you please check the Xalan version

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

2003-09-21 Thread Joerg Heinicke
No, in Cocoon 2.1 you can also use itext to produce PDF, but this needs another XML structure and this one is no standard. So I prefer the XSL Fo way even this is a bit complex. I don't know of any Gnumeric2PDF processor. The two file formats are also for different purposes, so I guess there

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: EJB + Cocoon, Best Practices

2003-09-23 Thread Joerg Heinicke
Niclas Hedhman wrote: 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) Such a negative word! But of course not: http://conweb.virbus.de (XUL application

Re: What happened to formerly informative status page?

2003-09-23 Thread Joerg Heinicke
Mike Klein wrote: I have downloaded the latest cocoon distribution and noticed the status page is pretty dang sparse. Used to be it was super-informative...did the url to it change? thanks in advance... http://127.0.0.1:/samples/status.html What are you missing? Joerg

  1   2   3   4   5   6   7   8   9   10   >