Re: Extending the XML Serializer [solved]

2005-11-15 Thread Geert Josten
Found the answer on http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/transform/sax/package-summary.html: Use super.processingInstruction(Result.PI_DISABLE_OUTPUT_ESCAPING, ); and super.processingInstruction(Result.PI_ENABLE_OUTPUT_ESCAPING, ); :-) Geert Geert Josten wrote:

Re: CForms, databinding and databases

2005-11-15 Thread Omar Adobati
How's that a problem? fd:field id=telephoneNumber works perfectly! This is right, I know this and I try it with the name and last name fields, but they are unique (I have just one name and just on last name for any contact)... but I have two (or more) telephon numbers to store... so the way

Re: CForms, databinding and databases

2005-11-15 Thread Omar Adobati
I might be wrong, but if telephoneNumber is a table, i think it should be mapped to a repeater, not to a field. snip/ Yes, maybe it was just a mistake, but anyway I could understand... Why do you need 2 widgets if you have only 1 field in your table ? Can't you make a conditional

Re: CForms, databinding and databases

2005-11-15 Thread Marc Salvetti
Because... because... don't know why!! I think I need two widgetsbecause of the need to have two kinds of telephone number... How I can use just one widget for both of them?Sorry if this is a dummy question... I think i see your problem now, i didn't understand you need to have several different

Re: Existing XSP not found by Cocoon (only on Linux)

2005-11-15 Thread Jakob Fix
Lars, thanks for your reply. It's been quite some time, but I still have the problem I described originally. The most astonishing is that out of two XSP pages, one (search.xsp) is compiled correctly, while the other one (highlight.xsp) is not. Although we had some problems with case

Re: Existing XSP not found by Cocoon (only on Linux)

2005-11-15 Thread Jakob Fix
Hi, just adding another question: Is the protocol file:[pathname] like this OK? file:/var/www/dynaprism/lib/exist/webapp/../../../webapp/./search/highlight.xsp Or should that be file://, like this: file:///var/www/dynaprism/lib/exist/webapp/../../../webapp/./search/highlight.xsp I noticed in

Re: CForms, databinding and databases

2005-11-15 Thread Omar Adobati
On 11/15/05, Marc Salvetti [EMAIL PROTECTED] wrote: Because... because... don't know why!! I think I need two widgets because of the need to have two kinds of telephone number... How I can use just one widget for both of them? Sorry if this is a dummy question... I think i see your

How to reset profile information without restarting

2005-11-15 Thread Jean-Christophe Kermagoret
Hello, When I use the profiler, I presently need to restart the server if I don't want any previous data collected. Is there another way to reset profiler information ? Thanks -- BlueXML Jean-Christophe Kermagoret Directeur associé [EMAIL PROTECTED]

Using Values in the XML in the Pipeline

2005-11-15 Thread Stewart, Gary
This is probably a long shot as I haven't seen it mentioned in the documentation. Is it possible to get a particular value from a transform, say, and use that in the pipeline. Say I've got a transform that results in the XML: returnid

Is the cocoon portal redirection mandatory ?

2005-11-15 Thread Jean-Christophe Kermagoret
Hello, When you try to connect to the portal when not connected : * the server sends you a new URL to connect to through a 302 response with a new location that contains a cookie * you then make this connection with this cookie and you are connected For me, we made one trip (go and back) too

Re: Is the cocoon portal redirection mandatory ?

2005-11-15 Thread Jean-Baptiste Quenot
* Jean-Christophe Kermagoret: When you try to connect to the portal when not connected : * the server sends you a new URL to connect to through a 302 response with a new location that contains a cookie Just to be sure, redirection from where to where? -- Jean-Baptiste Quenot Systèmes

Re: Is the cocoon portal redirection mandatory ?

2005-11-15 Thread Jean-Christophe Kermagoret
The first time you go to the cocoon portal, when you are not connected, you are redirected to the portal with a sessionid. This way, the server sets up a cookie to your browser. I want to suppress this redirection. Is it possible ? Jean-Christophe Jean-Baptiste Quenot a écrit : *

Re: Is the cocoon portal redirection mandatory ?

2005-11-15 Thread Jean-Christophe Kermagoret
Jean-Christophe Kermagoret a écrit : The first time you go to the cocoon portal, when you are not connected, you are redirected to the portal with a sessionid. This way, the server sets up a cookie to your browser. I want to suppress this redirection. Is it possible ? Jean-Christophe

Connection Pooling for Spring and Hibernate3

2005-11-15 Thread William Moore
Hello, Is it possible to use the Cocoon database connection pool inside an application based on Cocoon, Spring and Hibernate? I have looked at CHS (http://www.cocoondev.org/main/117/43.html) and CocoonAndHibernateTutorial (http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial), but the

Re: Using Values in the XML in the Pipeline

2005-11-15 Thread g[R]eK
Stewart, Gary napisał(a): This is probably a long shot as I haven't seen it mentioned in the documentation. Is it possible to get a particular value from a transform, say, and use that in the pipeline. Say I've got a transform that results in the XML: returnid

Authentication problem

2005-11-15 Thread Gerritjan Koekkoek
We have a problem with Cocoon Authentication We have created the following in our sitemap: map:component-configurations authentication-manager handlers handler name=alleen_voor_leden redirect-to uri=/aanmeldfout.html/ authentication

Re: Connection Pooling for Spring and Hibernate3

2005-11-15 Thread Johannes Textor
Hi William, William Moore schrieb: Hello, Is it possible to use the Cocoon database connection pool inside an application based on Cocoon, Spring and Hibernate? I have looked at CHS (http://www.cocoondev.org/main/117/43.html) and CocoonAndHibernateTutorial

how to start pipeline processing from dom element

2005-11-15 Thread cocoon.erard
hello, I've e dom Element and like to start the pipeline processing from this Element. How can I do that? Do I have to write a Generator? Regards Mike QuickLine WebMail - http://www.QuickLine.com

Re: Connection Pooling for Spring and Hibernate3

2005-11-15 Thread William Moore
Johannes On 15 Nov, 2005, at 8:17 pm, Johannes Textor wrote: William Moore schrieb: Is it possible to use the Cocoon database connection pool inside an application based on Cocoon, Spring and Hibernate? I have looked at CHS (http://www.cocoondev.org/main/117/43.html) and

Re: Connection Pooling for Spring and Hibernate3

2005-11-15 Thread ian . d . stewart
You could also setup the datasource in JNDI then set the hibernate.connection.datasource property in your hibernate properties. Example: bean id=sessionFactory class=org.springframework.orm.hibernate3.LocalSessionFactoryBean property name=hibernateProperties props

[ANNOUNCE] Stylus Studio 2006 XML Enterprise Edition Now Available

2005-11-15 Thread Stylus Studio
[ANNOUNCE] Dear Apache Cocoon Users, Stylus Studio has released Stylus Studio 2006 XML Enterprise Edition, an XML IDE with full support for editing, validating and debugging XML/XSLT using Apache XML processing components is now available for a free trial download at:

pdf serializer encoding

2005-11-15 Thread Myriam Delperier
Hi, I'm creating pdf files with something like : map:generate type=xsp src=myfile.xsp/ map:transform src=myfile.xsl/ map:serialize type=fo2pdf / the result is a pdf page with ISO-8859-1 encoding, and I need an UTF-8 encoding. I've tried xsl:output encoding=UTF-8/ in the xsl file,

Re: Is the cocoon portal redirection mandatory ?

2005-11-15 Thread Carsten Ziegeler
Jean-Christophe Kermagoret wrote: I think I solve partly my problem. To tell Tomcat not to use cookies, I just put a cookies attribute to false in my context definition : Context docBase=/home/jck/Project/repons/core/web path=/repons cookies=false I still have my portal redirection

Re: pdf serializer encoding

2005-11-15 Thread Geert Josten
Isn't the PDF format written in low-ascii? So it shouldn't matter. If you want unicode characters to be shown, use character references or utf-8 in the FO document and reference to a Unicode capable font supported by FOP. Regards, Geert Myriam Delperier wrote: Hi, I'm creating pdf files

Re: pdf serializer encoding

2005-11-15 Thread Myriam Delperier
Geert Josten wrote: | | Isn't the PDF format written in low-ascii? So it shouldn't matter. | | If you want unicode characters to be shown, use character | | references or utf-8 in the FO document and reference to a Unicode | | capable font supported by FOP. in fact the characters are well

Re: pdf serializer encoding

2005-11-15 Thread Bertrand Delacretaz
Le 16 nov. 05, à 08:30, Myriam Delperier a écrit : ...I'm creating pdf files with something like : map:generate type=xsp src=myfile.xsp/ map:transform src=myfile.xsl/ map:serialize type=fo2pdf / the result is a pdf page with ISO-8859-1 encoding, and I need an UTF-8 encoding What do you