Encoding in HSSF Serializer

2002-04-02 Thread Sozonnik Andrew
Hello all ! Does anybody have experience in using national characters in HSSF Serializer ? I have a problem with Russian symbols in UTF-8. With respect, Sozonnik Andrew. - Please check that your question has not already been a

Livesites

2002-04-02 Thread Montier Patrick
The web site http://www.bethe1.com "the worldwide employment specialist in FASHION, BEAUTY and selective RETAIL." has been developped with cocoon 2 / Postgresql in French, English and Japanese languages. Patrick Montier - Easance.com -

Urgent: Error in SunRise authentication logout Action

2002-04-02 Thread Chitharanjan Das
Hello,     Whwn the logout action is activated a NullPointer exception is thrown. Upon investigation the error occurs in the following line of code in SunRise.java   (SessionContextImpl)this.getSunShineComponent().getContext(Constants.SESSION_CONTEXT_NAME)).cleanParametersCache(l

Re: fo2pdf serializer

2002-04-02 Thread cyril vidal
HI! Thanks a lot for all your tips! That's the result of my experiments: first, I've done what Stijn told to me: so remplace fop 0.20.3rc.jar by fop.jar of FOP 0.20.3 It's running by calling the URL http:/localhost:8080/essai/CinemaFO.xml only with Netscape6 (with IE6, I still have a white page!)

Re: fo2pdf serializer

2002-04-02 Thread Andrew Russell
Hi I saw that your request ends with .xml, That can be a problem with pdfs in IE. (Not my own experience, but an advantage of being a lurker here)   So the problem should be fixed by you by using the url http://localhost:8080/essai/CinemaFO.xml&t=.pdf Or changing your pattern to   Andrew

Livesites

2002-04-02 Thread Wes Morgan
The Christian Classics Ethereal Library is now using Cocoon 2 to transform ThML (an XML application) documents into HTML, PDF, plain text and OEB. Check it out at http://www.ccel.org Wes Morgan XML Developer - ccel.org - Plea

Re: fo2pdf serializer

2002-04-02 Thread Stijn Van Vreckem
I had a similar problem, my stylesheet was running from command line and produced the pdf. Within cocoon it gave some errors and produced no output. I changed the fop jar from cocoon (version 0.20.3rc with the latest version 0.20.3 ) and everything was running again ! On Tue, 2 Apr 20

RE: Using self written user components with cocoon2

2002-04-02 Thread Vadim Gritsenko
Take a look at the web.xml: Might be of help to you. Vadim > From: Pierre-Alexandre Losson [mailto:[EMAIL PROTECTED]] > > Hi folks, > > Since Cocoon2 is based on Avalon & Excalibur, how do I use > cocoon's component manager in the custom java classes used in a web-app. > > I saw that a

Re: fo2pdf serializer

2002-04-02 Thread cyril vidal
Sorry, but what is SSL? I think the answer is no... - Original Message - From: "Nicola Ken Barozzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 8:25 PM Subject: Re: fo2pdf serializer > I've had your same problem using SSL on Tomcat, and it goes away with the

RE: XSLT and international characters in parameters

2002-04-02 Thread Vadim Gritsenko
> From: Tomasz Bech [mailto:[EMAIL PROTECTED]] > > Hi all, > I found some request about this problem, but no answer. > Problem is: when form is in utf8, parameters are encoded as utf8. But > server always wants to treat them as iso-something. > In XSP remedy is: > >

RE: Is it possible to use the logicsheet as well within stylesheets?

2002-04-02 Thread Vadim Gritsenko
Harald (a000), Short answer: No. Long answer: Take a look at the samples, in particular in sub/xsl-cocoon for sample of dynamically generated XSLT (that's what you are looking for). One note: Your XSLT is not valid, greeting prefix is not defined. PS It is assumed that you know well XML, XML n

Re: fo2pdf serializer

2002-04-02 Thread Nicola Ken Barozzi
I've had your same problem using SSL on Tomcat, and it goes away with the normal connector. The really strange thing, though, is that the test svg from the Cocoon webapp *works* under SSL! Are you using SSL? -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, sc

fo2pdf serializer

2002-04-02 Thread cyril vidal
Good evening,   I've got problems with transforming an xml document (CinemaFO.xml) into a pdf one (CinemaFO.pdf) via an xslt transformation (CinemaFO.xsl). I'm sure CinemaFO.xml and Cinema.xsl are valid because I've tested them by command line with fop 0.20.3   To test my samples with Cocoon2

RE: XSLT - processing XML from a database field problem

2002-04-02 Thread vgritsenko
Florent, I hope you understand that your solution (btw this is FAQ of the week - several other people on the list also using util logichsheet) has some overhead of extra parsing step(s) - especially if you have a lot of If you need to produce just one tag, it would be *much* more faster if yo

Using self written user components with cocoon2

2002-04-02 Thread Pierre-Alexandre Losson
Hi folks, Since Cocoon2 is based on Avalon & Excalibur, how do I use cocoon's component manager in the custom java classes used in a web-app. I saw that a "manager" handle was available in an XSP, but how do I access the component manager from a pure java class I wrote myself ? I think I can mo

XSLT and international characters in parameters

2002-04-02 Thread Tomasz Bech
Hi all, I found some request about this problem, but no answer. Problem is: when form is in utf8, parameters are encoded as utf8. But server always wants to treat them as iso-something. In XSP remedy is: ^^^ But p

Re: XSLT - processing XML from a database field problem

2002-04-02 Thread Florent Soulière
And more: notice that when you replace by , the tags are still unescaped, unlike with apply-templates. The problem seems to be in this apply-templates stuff, but who/where/when??? Florent. At 13:01 02/04/02 +0200, you wrote: >Florent > >I cannot get this to work - when I try and apply the f

Re: XSLT - processing XML from a database field problem

2002-04-02 Thread Florent Soulière
At 13:01 02/04/02 +0200, you wrote: >Florent > >I cannot get this to work - when I try and apply the first sheet >to the results of the database query (via the XSP page), then >it works great! e.g. a in the database field is kept as such >in the generated XML. However, as soon as I apply the fi

Is it possible to use the logicsheet as well within stylesheets?

2002-04-02 Thread a000
Hello! I'm new using cocoon and I just got running the example 'greeting3.xml' using 'logicsheet.greeting.xsl' as taglib transformed with the stylesheet 'greeting.xsl'. I was using cocoon 2. (http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html) This example uses the logicsheet within the x

RE: XInclude - optimization/alternatives to

2002-04-02 Thread Sreedhar Chintalapaty
Thanks, that's pretty much what I ended up doing the day before yesterday. I include the stuff only once, then use the site map to pass it through a final transformation which handles the precise placement of display elements. One more lesson learnt in XSL! :) Sreedhar -Original Message

RE: Session attribute change within aggregation

2002-04-02 Thread Vadim Gritsenko
Roman, Aggregation is being executed linearly, which means that first part is executed before second. If first part contains an XSP and that XSP is not cached, it could change session attribute which will be visible in the second part's XSP (if it is not cached) XSPs are not cacheable by default

RE: Placing markup in xsp:logic code

2002-04-02 Thread Vadim Gritsenko
Please constraint from using html mail. My comments below start with '---' Vadim -Original Message- From: von Schwerdtner, Thomas (GXS, FPI) Hello all,   I am trying to put some markup inside my xsp:logic, somewhat as follows: String foo = "FOO"; Problem is, if I leave it as abo

Session attribute change within aggregation

2002-04-02 Thread KOZLOV Roman
Hi, Is it possible in Cocoon 2.01 to set session attribute within aggregation so that the change would be in a first part (xsp) and next part could use the new value of the changed attribute. It seems that the new value is not available for the rest parts of aggregation within the same request. I

RE: XInclude - optimization/alternatives to

2002-04-02 Thread Axel Honfi
Hi! I would first generate the data(featured article) and then format it with xslt. Another way would be to generate the content-page, then include the data one time, and then format it with xslt. I have pipelines with up to four xslt-transformations, because I think that's faster(especially if y

Placing markup in xsp:logic code

2002-04-02 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: Placing markup in xsp:logic code Hello all,   I am trying to put some markup inside my xsp:logic, somewhat as follows: String foo = "FOO"; Problem is, if I leave it as above, I get "content of elements must consist of well-formed character data or markup" errors, if I use use an

Re: XSLT - processing XML from a database field problem

2002-04-02 Thread Florent Soulière
My final answer!!! Finally, after 3 days of work, I found a replacement solution for the unescaping problem. The tip is to put SQL Transformer away, and to take the advantage of both the ESQL Logicsheet and the Util Logicsheet in the generating XSP page. Here is how the XSP page looks like:

form-validator and UTF-8 ???

2002-04-02 Thread Montier Patrick
When i use the form-validator section with an UTF-8 sql table having a login and password (Mysql) , the cocoon process reject all non ascii records. For example, all japanese fields are correctly managed in all xsp / xsl pages but when registering, all french or japanese caracters are rejected. I

redirection and parameters

2002-04-02 Thread Jerzy Kut
Hi all! I know that similar questions has got on this list, but I can't found resolve of my trouble. I need to: 1. make redirection from one pipeline to another. 2. add a few parameters to new pipeline request. Is it possible? I try:

Cocoon 1.8.2

2002-04-02 Thread Martin Mauri
Hi, I'm having the following error trying to access one .xml file, what could be the problem? Error found handling the request. java.lang.RuntimeException: Cannot access non-file/war resources at org.apache.cocoon.Utils.getBasename(Utils.java:277) at org.apache.cocoon.producer.ProducerFromFile.

RE: Minimal Requirements

2002-04-02 Thread Vadim Gritsenko
> From: Peter Robins [mailto:[EMAIL PROTECTED]] > > Just tried this with 2.0.2: my docs etc plus core cocoon. However, it tries > to generate the cocoon documentation and the scratchpad as well, which I > don't want in my production environment. Is there a way to produce the webapp > without thes

RE: Minimal Requirements

2002-04-02 Thread Vadim Gritsenko
> From: Peter Davis [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Davis > > On Saturday 23 March 2002 19:07, Vadim Gritsenko wrote: > > (consult > > installing/jars.xml document on the disk or on the xml.apache.org site) > > The following packages in that file are listed as "not required" for th

RE: XSP multiple value processing [Was Re: Is it possible toprocess multiple value parameter in XSL?]

2002-04-02 Thread Vadim Gritsenko
> From: Derek Hohls [mailto:[EMAIL PROTECTED]] > > On a similar vein - is it possible to process multiple-values > (say from a form) in an XSP page and, if yes, how? This one sounds like basic question on Servlet API. Use either request.getParameterValues or > (examples would be very useful ;

error building schecoon

2002-04-02 Thread Bert Van Kets
My platform Win2k Tomcat 4.0.1 Cocoon CVS 2.0.3 (latest build of april 2nd 2002) When I build the schecoon app I get [java] Expanding and compiling D:\cvs\xml-cocoon2\src\scratchpad\schecoon/. /scheme/sitemap.scm... [java] Error during expand: Error in load: exception during nested c

Re: XSLT - processing XML from a database field problem

2002-04-02 Thread Florent Soulière
At 13:01 02/04/02 +0200, you wrote: >Florent > >I cannot get this to work - when I try and apply the first sheet >to the results of the database query (via the XSP page), then >it works great! e.g. a in the database field is kept as such >in the generated XML. However, as soon as I apply the fi

jaxp.properties HELP

2002-04-02 Thread sergi
HI! I know this is not right place to ask, but I need example of jaxp.properties file or some kind of explanation... - Please check that your question has not already been answered in the FAQ before posting.

Re: XSLT - processing XML from a database field problem

2002-04-02 Thread Derek Hohls
Florent I cannot get this to work - when I try and apply the first sheet to the results of the database query (via the XSP page), then it works great! e.g. a in the database field is kept as such in the generated XML. However, as soon as I apply the final sheet (to generate the HTML), then the

Re: newbie: convert http POST to XML

2002-04-02 Thread KOZLOV Roman
Hi Charles, You can use request generator: Best regards Roman charles gebhard wrote: > greetings, > > i would like to convert a bunch of http POST params into an XML document > (or stream) and pass the XML on to another server. is this something that > cocoon can accomplish? there are

Re: Transformation comma-point

2002-04-02 Thread KOZLOV Roman
Hello, It is also possible to use translate function like this: Best regards Roman Luca Morandini wrote: > Ferran, > > one elegant way could be: > > 1) Define your format for numbers > > name="italy" > decimal-separator="," > grouping-separator="." > NaN="vuoto" > /> > > 1) Ap

Re: Transformation comma-point

2002-04-02 Thread Ferran Urgell
There are some function in xsl to transform commas into points ? - Original Message - From: Nader S. Henein To: [EMAIL PROTECTED] Sent: Tuesday, April 02, 2002 11:25 AM Subject: RE: Transformation comma-point you can use a regular expression witch changes

RE: Transformation comma-point

2002-04-02 Thread Luca Morandini
Ferran, one elegant way could be: 1) Define your format for numbers 1) Apply it to the outputted numbers Of course, I used this for the opposite reason (outputting commas instead of points)... but you got the idea :) Best regards, P.S. Next time use plain text, please. ---

Re: Transformation comma-point

2002-04-02 Thread Nicola Ken Barozzi
I call this template to substitute ' with \' for javascripts. You can change it to make it substitute other chars. How I call it: ' The template: \'

Re: Session attribute -> database

2002-04-02 Thread Christian Haul
On 28.Mar.2002 -- 10:22 AM, Alexander Kruth wrote: > Hi! > Is it possible to write a session-attribute to a database? IMHO no, not using the database actions from main trunk. Database actions in scratchpad support arbitrary sources. Chris. -- C h r i s t i a n H a u l [EMAIL PROT

RE: Transformation comma-point

2002-04-02 Thread Nader S. Henein
you can use a regular expression witch changes comas between numeric characters into "." but this will affect you if you have something like 1,2,3,4 in a textual context as opposed to numerical. -Original Message-From: Ferran Urgell [mailto:[EMAIL PROTECTED]]Sent: Tuesday, Apr

Transformation comma-point

2002-04-02 Thread Ferran Urgell
Hi Cocooners!   I've a problem: I'm getting xml from a database, but I'm getting some results (number results with decimals), but these results are in commas (ex. 123,34).   Now I'm trying to make some transformation into svg, but don't accept the commas I need to change this commas to p

Re: Minimal Requirements

2002-04-02 Thread Peter Davis
On Saturday 23 March 2002 19:07, Vadim Gritsenko wrote: > (consult > installing/jars.xml document on the disk or on the xml.apache.org site) The following packages in that file are listed as "not required" for the Cocoon core, but I received fatal ClassNotFound exceptions when I removed their .

Re: Minimal Requirements

2002-04-02 Thread Peter Robins
Just tried this with 2.0.2: my docs etc plus core cocoon. However, it tries to generate the cocoon documentation and the scratchpad as well, which I don't want in my production environment. Is there a way to produce the webapp without these (other than creating my own build.xml of course)? On