Re: cocoon protocol not available

2004-03-30 Thread Albert Cervera Areny
Hi, I've got the same problem using cocoon 2.1.4, the error message is: WARN(2004-03-29) 21:15.17:343 [core.xslt-processor] (/privado/login-form) Ajp13Processor[8009][4]/TraxE ; SystemID: file:/var/lib/tomcat4/webapps/privado/stylesheets/dins.xsl; Line#: 160; Column#: 56

Cdata section in xsp

2004-03-30 Thread Wouter . DERUYCK
Hello, How can I output a cdata section in an XSP ? I need the disable output escaping feature of xslt. -Original Message- From: Albert Cervera Areny [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 10:05 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: cocoon protocol

Re: XSP: problem generating computed attribute for root tag

2004-03-30 Thread Yves Vindevogel
Well, according to the documentation on cocoon.apache.org, Joerg is right. There are examples doing it without a dummy tag. However, I'm pretty sure I stumbled into bugs when I didn't use them. On 29 Mar 2004, at 20:29, Joerg Heinicke wrote: On 29.03.2004 20:12, Antonio Gallardo wrote: You

Re: Cdata section in xsp

2004-03-30 Thread Joerg Heinicke
On 30.03.2004 11:00, [EMAIL PROTECTED] wrote: Hello, How can I output a cdata section in an XSP ? I need the disable output escaping feature of xslt. First, please do not response to mails from other threads when starting new threads as this breaks thread view in thread-aware browsers.

Re: Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem / Mystery

2004-03-30 Thread Jochen Hagenström
thank you Mark and Jerry, I solved my Problem by changing my shell to tcsh. /usr also didn't work but then i opened a tcsh inside my bash typed setenv JAVA_HOME /Library/Java/Home and ./cocoon.sh servlet ... hurray it is running now. But what is the Problem with my bash-environment? Why

ESQL INSERT

2004-03-30 Thread olivier demah
from a form i get my data i want logically insert in my database so i did the following , but nothing comes in my blog_news table blog_addingnews xsp:logic String id_blog_user = request.getParameter(id_blog_user); String id_blog_news = request.getParameter(id_blog_news); String

RE: Cdata section in xsp

2004-03-30 Thread Wouter . DERUYCK
I want to dynamically generate an xml catalogue for I18n using XSP. If my translations contain certain characters like '' or '' my catalogue xml file will not be valid unless I put every translation text in an CDATA section. -Original Message- From: Joerg Heinicke [mailto:[EMAIL

Re: Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread jacques couzteau
thank you Mark and Jerry, I solved my Problem by changing my shell to tcsh. /usr also didn't work but then i opened a tcsh inside my bash typed setenv JAVA_HOME /Library/Java/Home and ./cocoon.sh servlet ... hurray it is running now. But what is the Problem with my bash-environment? Why

Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread Yves Vindevogel
I use this in my /etc/profile file PATH=/bin:/sbin:/usr/bin:/usr/sbin PATH=$PATH:/Library/Ant/bin PATH=$PATH:/Library/Postgresql/bin export PATH JAVA_HOME=/Library/Java/Home JAVA_OPTIONS='-Dfile.encoding=iso-8859-1' ANT_HOME=/Library/Ant export JAVA_HOME export ANT_HOME export JAVA_OPTIONS [

Re: Cdata section in xsp

2004-03-30 Thread Marc Portier
[EMAIL PROTECTED] wrote: I want to dynamically generate an xml catalogue for I18n using XSP. If my translations contain certain characters like '' or '' my catalogue xml file will not be valid unless I put every translation text in an CDATA section. Joerg's point is that lt; and gt; will do as

Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread Ugo Cei
jacques couzteau wrote: Why wouldn't cocoon accept the value i set for JAVA_HOME in the bash? It's a mystery to me. Any ideas anyone? Because you didn't export the variable. Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Adding / modfying respons header from cocoon XSLT transformer

2004-03-30 Thread Joerg Heinicke
On 04.03.2004 11:27, [EMAIL PROTECTED] wrote: Hi, Currently I am using an XSP generator, followed by the cocoon XSLT Transformer, followed by the XML serializer. I need to set a header in the response under certain conditions at the transformer stage. I cannot do this from the generator

xpatch srcdir attribute problems when building Cocoon 2.1.4 using Ant 1.6.1 and JDK 1.4.2_04 on Windows 2000

2004-03-30 Thread Geoff
I am trying to build and install Cocoon 2.1.4 on Windows 2000 to run under Tomcat 5.0.19. I am pretty sure that I have configured my environment variables for ANT_HOME, CATALINA_HOME and JAVA_HOME correctly. Unfortunately, I am running into problems with getting the build to progress past the

Re: [genuine] Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread Jochen Hagenström
export THANK_YOU=Ugo I put did that in my .bashrc. jacques Am 30.03.2004 um 12:47 schrieb Ugo Cei: jacques couzteau wrote: Why wouldn't cocoon accept the value i set for JAVA_HOME in the bash? It's a mystery to me. Any ideas anyone? Because you didn't export the variable. Ugo

RE: Cdata section in xsp

2004-03-30 Thread Wouter . DERUYCK
We're trying to migrate our existing application to cocoon. This application supports multiple languages so we stored the text in a DB. However the text in the DB can contain html tags like this is bbold/b for English and celui-ci c'est bgras/b for French. Now we want to use i18n to

Re: [genuine] Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread beyaNet Consultancy
Hi, glad to see that there are other cocoon OS X users here! I wonder whether you OS X users could check something for me. On the main 'Welcome to Apache Cocoon!' page if you click the samples link, Hello World link (under The Power of XML), JPEG link (under Blocks Hello World!), could you

Re: [genuine] Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread Ugo Cei
beyaNet Consultancy wrote: Hi, glad to see that there are other cocoon OS X users here! I wonder whether you OS X users could check something for me. On the main 'Welcome to Apache Cocoon!' page if you click the samples link, Hello World link (under The Power of XML), JPEG link (under Blocks

Re: [genuine] Re: MacOSX 10.3.3, Java 1.4.2, JAVA_HOME problem

2004-03-30 Thread Yves Vindevogel
Hi Peter, Did this test on Panther with both Safari and Firebird. Both showed a new window with a JPEG in it. Yves On 30 Mar 2004, at 14:35, beyaNet Consultancy wrote: Hi, glad to see that there are other cocoon OS X users here! I wonder whether you OS X users could check something for me. On

Re: Cdata section in xsp

2004-03-30 Thread Yves Vindevogel
In XSL you can solve this with output-escaping. Don't know whether it can be done with XSP. Anyway, it doesn't matter that XSP is generating lt;boldgt; right ??? You only need the and > in your html. On 30 Mar 2004, at 14:18, [EMAIL PROTECTED] wrote: We're trying to migrate our existing

Cocoon 2.1.2 - How to tell if Offline site generation fails

2004-03-30 Thread L.Austin
Title: Cocoon 2.1.2 - How to tell if Offline site generation fails Hi, We are currently using Cocoon 2.1.2 to generate a site which is in turn is copied to our live server. Current Configuration: Server jakarta-tomcat-5.0.12 with Cocoon 2.1.2 Linux Server Everyday a script is fired

Re: RES: RES: Cache and HTMLGenerator

2004-03-30 Thread Miles Elam
Gustavo Nalle Fernandes wrote: Thanks for the code! It is indeed very simple! That?s why I like Cocoon :) Regarding the Last-Modified header, the getLastModified() do work for GET request, but the GET request also brings the whole document and not just the headers. That?s why I was observing the

Re: Cdata section in xsp

2004-03-30 Thread Klaus Bertram
At static catalog files you don't need the CDATA you can direct fill in catalogue xml:lang=en message key=testthis is bbold/b/message /catalogue then the bold is *bold* at xsp with esql use esql:get-xml column=text/ Is that what you are looking for? Klaus [EMAIL PROTECTED] wrote: We're

Re: ESQL INSERT

2004-03-30 Thread Christopher Painter-Wakefield
The immediate problem I see is in how you are passing your String parameters into the SQL statement. The strings you are passing in do not end up in the SQL statement with quotes around them (unless the user is entering them on the form!), so the database is probably getting syntax errors,

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-30 Thread Yves Vindevogel
Alex, I just copied my cocoon directory in a Tomcat 5 installation. The problem persists. So, it's not Jetty related either BUT ... looking into the stacktrace a bit better, i notice this Original Exception: org.apache.avalon.framework.CascadingRuntimeException: Error getting ascii data

Re: ESQL INSERT

2004-03-30 Thread olivier demah
i've done those fixes, and i thantk you for this suggestion, but the ESQL INSERT still does not insert anything in my blog_news table. Christopher Painter-Wakefield a e'crit : The immediate problem I see is in how you are passing your String parameters into the SQL statement. The strings you

Re: ESQL INSERT

2004-03-30 Thread Christopher Painter-Wakefield
Are you not seeing any error messages coming through? I suspect the problem is that you have a SQL error, and if you look, you'll find it. You should have gotten a SQL error previously. What output are you seeing in your blog_addingnews element? |-+ |

DOM-Free Generator

2004-03-30 Thread Kist, Paul
Title: Message I am working on a generator that gets a CLOB out of the database via a stored procedure.All the examples of custom generators use the SAX content handler to build the document. I won't need to do any of that, I just need to be able to use the XML that comes straight from the

Re: ESQL INSERT

2004-03-30 Thread olivier demah
Christopher Painter-Wakefield a e'crit : Are you not seeing any error messages coming through? I suspect the problem is that you have a SQL error, and if you look, you'll find it. You should have gotten a SQL error previously. What output are you seeing in your blog_addingnews element?

How can I get ID number after insert a new record?

2004-03-30 Thread gounis
i'm executing an Insert SQL statement using a custom xsp action is it possible to get the new id number (auto increment) inside the action or inside the my pipeline's match? any idea ? --stavros - To unsubscribe, e-mail:

Re: ESQL INSERT

2004-03-30 Thread Christopher Painter-Wakefield
1. Check your logs, perhaps the error message in one of them. You might also try removing your esql:error-results element; perhaps it is masking an exception that you'd otherwise see. 2. Make sure your pool, xsp, and esql setup is correct; can you do a simple SELECT query successfully in

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Yves Vindevogel
What database ? I generally do this by using a function in postgresql. You execute the function and in the function you get the new id. That ID is returned as value (and 0 for failure) Same for MS Sql. You can use a stored procedure there. That's kind of the same as a postgresql function On

Re: How can I get ID number after insert a new record?

2004-03-30 Thread gounis
oh sorry i use msAccess throgh ODBC -- stavro On Tue, 30 Mar 2004, Yves Vindevogel wrote: What database ? I generally do this by using a function in postgresql. You execute the function and in the function you get the new id. That ID is returned as value (and 0 for failure) Same for

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Yves Vindevogel
Not possible in one shot IMHO You'll need to do the Insert and in the same page, run a second query to get the Max(id). If you're afraid of getting the wrong one (because somebody is doing the same thing on the same table), use a where clause (like adding the name of the company you just

Re: Cdata section in xsp

2004-03-30 Thread Joerg Heinicke
On 30.03.2004 16:27, Klaus Bertram wrote: At static catalog files you don't need the CDATA you can direct fill in catalogue xml:lang=en message key=testthis is bbold/b/message /catalogue then the bold is *bold* at xsp with esql use esql:get-xml column=text/ Though I have never used esql I

Re: How can I get ID number after insert a new record?

2004-03-30 Thread gounis
yves thnx for your answer i'm using eslq to make queries and it was unable to run a select max(id) .. querie... is it possible to write java code to make my queries. if yes how can i get access to connection pool configured in xconf? thnx --stavros On Tue, 30 Mar 2004, Yves Vindevogel

Cocoon 2 in Tomcat 5

2004-03-30 Thread Yves Vindevogel
Hi, I've got Tomcat 5 (latest release) running. When I drop the cocoon.war file in it, it is unpacked. I use the .war from cocoon 2.0 When I try to fire up cocoon by typing myserver:8080/cocoon, it does nothing but Tomcat says the resource is unavailable Do I need to do something else ? Met

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Yves Vindevogel
Why are you unable to make a select max(myfield) from mytable query ? I don't understand the problem. Please explain. On 30 Mar 2004, at 19:26, [EMAIL PROTECTED] wrote: yves thnx for your answer i'm using eslq to make queries and it was unable to run a select max(id) .. querie... is it

Re: How can I get ID number after insert a new record?

2004-03-30 Thread gounis
i dont know but this code make cocoon give to answer esql:connection esql:poolhotpoints/esql:pool esql:execute-query esql:queryselect max(id_Elements) from tblElements /esql:query esql:results elements

Re: Cocoon 2 in Tomcat 5

2004-03-30 Thread Yves Vindevogel
Did this again, not working. Waited 5 minutes now. With no traffic on this thing. I'm using my portable as test environment. On 30 Mar 2004, at 19:41, Schultz, Gary - COMM wrote: Depending on the server environment, it may take several minutes for the war file to completely unpack. I have

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Yves Vindevogel
Ach, short code ... short answer then select * from table1 where table1.Id in (select max(id) from table1) Gives you the record with the highest ID Including all the columns and even the ID you just inserted On 30 Mar 2004, at 19:59, [EMAIL PROTECTED] wrote: i dont know but this code make

Re: Woody version 1 or 2 ?

2004-03-30 Thread Mark Lundquist
On Mar 29, 2004, at 2:03 PM, Joerg Heinicke wrote: On 29.03.2004 23:43, Antonio Gallardo wrote: Please wikify it! ;-) Done in the most simple way: Indeed... that is simple! :-) There's quite an eco-system there, with the Cocoon docs, the Wiki, Bugzilla and the list archives all referencing

Re: Cdata section in xsp

2004-03-30 Thread Marc Portier
Joerg Heinicke wrote: On 30.03.2004 16:27, Klaus Bertram wrote: At static catalog files you don't need the CDATA you can direct fill in catalogue xml:lang=en message key=testthis is bbold/b/message /catalogue then the bold is *bold* at xsp with esql use esql:get-xml column=text/ Though I

Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Marcin Okraszewski
Hi, Users of Internet Explorer experiences a strange error using my webapp. Sometimes it works, and sometimes the IE says (a translation from Polish): It isn't possible to find server or an error of DNS in Internet Explorer. What is even more confusing, the Mozilla doesn't seem to have such

Re: users Digest 29 Mar 2004 16:19:19 -0000 Issue 2618

2004-03-30 Thread Torsten Curdt
Jeff Conrad wrote: Your problem looks similar to an issue I brought up but was not addressed by anyone. It seems that the XSP compiler was not able to handle typecasting String s = (String) x; Was failing. What? Please point me to that thread. This is more than just unlikely. cheers -- Torsten

[portal] How to send coplet events from a flowscript after a cform submit

2004-03-30 Thread Laurent Trillaud
We are working with the cocoon portal and cform. We have a form, designed with woody which is managed in a flowscript. The values keyed-in by the user, in the form, must be used in another coplet of the portal (in order to launch a query linked to those values). Thus, we want to put the values of

Passing java objects to jxtemplate using cli

2004-03-30 Thread Boris Sachsenberg
Hi, I have the following setting in my cocoon application: User fills in a form and submits it. Then an email will be created and sent to the user. Additionally the user gets a confirmation message in his browser. I use woody, flow and jxtemplate for this approach. After submitting a form a

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Mark Lundquist
On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote: Hi, Users of Internet Explorer experiences a strange error using my webapp. Sometimes it works, and sometimes the IE says (a translation from Polish): It isn't possible to find server or an error of DNS in Internet Explorer. What is

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Geoff Howard
Mark Lundquist wrote: On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote: Hi, Users of Internet Explorer experiences a strange error using my webapp. Sometimes it works, and sometimes the IE says (a translation from Polish): It isn't possible to find server or an error of DNS in Internet

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Marcin Okraszewski
Unfortunately, I can confirm that this does appear to be related to IE, POST, and SSL. I have quite a bit of experience observing this problem in an application totally unrelated to Cocoon. In that case, it's on Netscape Enterprise Server - not sure where the SSL support comes from if it's

Re: Passing java objects to jxtemplate using cli

2004-03-30 Thread Ugo Cei
Il giorno 30/mar/04, alle 20:18, Boris Sachsenberg ha scritto: I use woody, flow and jxtemplate for this approach. After submitting a form a java class is called from the flow javascript. In this class I plan to send the email with java mail. I plan to send html mail and produce the html to be

Problem with running Cocoon 2.1.5-dev

2004-03-30 Thread Marcin Okraszewski
Hi, I have a problem with running Cocoon 2.1.5-dev. If I install it in /cocoon directory it works fine :-) But then, if I try to install it as an default application (I simply rename the dir from cocoon to ROOT), I get the error cited below. Am I doing something wrong? Regards, Marcin

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Brian McCallister
Don't use auto-increment in an insert where you care about having the identity of the inserted value. A better solution, most of the time, is to use a named sequence and select values off of it, then populate the id field yourself: In postgresql: select nextval('MySequence'),

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Mark Lundquist
On Mar 30, 2004, at 11:54 AM, Geoff Howard wrote: Unfortunately, I can confirm that this does appear to be related to IE, POST, and SSL. I have quite a bit of experience observing this problem in an application totally unrelated to Cocoon. In that case, it's on Netscape Enterprise Server -

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Mark Lundquist
On Mar 30, 2004, at 12:08 PM, Marcin Okraszewski wrote: Unfortunately, I can confirm that this does appear to be related to IE, POST, and SSL. I have quite a bit of experience observing this problem in an application totally unrelated to Cocoon. In that case, it's on Netscape Enterprise

Re: Passing java objects to jxtemplate using cli

2004-03-30 Thread Mark Lundquist
On Mar 30, 2004, at 10:18 AM, Boris Sachsenberg wrote: Hi, I have the following setting in my cocoon application: User fills in a form and submits it. Then an email will be created and sent to the user. Additionally the user gets a confirmation message in his browser. Interesting, I have a

Re: Passing java objects to jxtemplate using cli

2004-03-30 Thread Mark Lundquist
On Mar 30, 2004, at 12:14 PM, Ugo Cei wrote: Il giorno 30/mar/04, alle 20:18, Boris Sachsenberg ha scritto: I use woody, flow and jxtemplate for this approach. After submitting a form a java class is called from the flow javascript. In this class I plan to send the email with java mail. I plan

Re: How can I get ID number after insert a new record?

2004-03-30 Thread Yves Vindevogel
I agree with Brian, but it M$ Access. No decent thing there like a sequence. You have to use autonumbers On 30 Mar 2004, at 22:29, Brian McCallister wrote: Don't use auto-increment in an insert where you care about having the identity of the inserted value. A better solution, most of the time,

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-30 Thread Yves Vindevogel
Pfff, this is getting so frustrating. I now recompiled my Postgresql, to make sure my initdb had the right encoding (latin1) One simple XSP page, my output still looks like this xml> - table> - tr> td>Yves/td> /tr> - tr> td>éèà ç/td> /tr> /table> /xml> Can anyone please tell me whether

RE: DOM-Free Generator

2004-03-30 Thread Neil Bacon
Title: Message Cocoon passes SAX event's between pipeline elements (because its far more efficient than parsing and serializing to XML text at each transformation), so your generator must use a SAX parser to generate SAX events from the XML text stored in your CLOB. I guess the

Newbie running a servlet. help appreciated.

2004-03-30 Thread jacques couzteau
I just tried the cocoon-mag servlet from steve puntes article on publishing an online-mag with cocoon. but i had no success. These are my first steps with cocoon, so i might be missing something. The article is here: http://www.xml.com/pub/a/2003/04/23/cocoon-magazine.html The servlet is here:

Re: Newbie running a servlet. help appreciated.

2004-03-30 Thread Joerg Heinicke
On 31.03.2004 00:29, jacques couzteau wrote: I just tried the cocoon-mag servlet from steve puntes article on publishing an online-mag with cocoon. but i had no success. These are my first steps with cocoon, so i might be missing something. There is no need to download the WAR from that place

Re: Woody version 1 or 2 ?

2004-03-30 Thread Joerg Heinicke
On 30.03.2004 20:32, Mark Lundquist wrote: Please wikify it! ;-) Done in the most simple way: Indeed... that is simple! :-) There's quite an eco-system there, with the Cocoon docs, the Wiki, Bugzilla and the list archives all referencing each other. Took a little getting used to, but... it

Re: Cocoon 2.1.2 - How to tell if Offline site generation fails

2004-03-30 Thread Joerg Heinicke
On 30.03.2004 15:24, L.Austin wrote: We are currently using Cocoon 2.1.2 to generate a site which is in turn is copied to our live server. Current Configuration: Server jakarta-tomcat-5.0.12 with Cocoon 2.1.2 Linux Server Everyday a script is fired off calling our cocoon build. Then when the

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-30 Thread Yves Vindevogel
Ok, now I installed SQL4J on OSX. The same problem occurs there. So it's not a Cocoon specific error. How can I test if it's my JVM or my DB that is wrong ? For the DB part: I tried to connect through ms Access and everything is okay. For the JVM part: I have it on both Linux as OSX. On 30 Mar

Re: [genuine] Re: Newbie running a servlet. help appreciated.

2004-03-30 Thread Jochen Hagenström
thank you for your quick reply. Am 31.03.2004 um 00:40 schrieb Joerg Heinicke: On 31.03.2004 00:29, jacques couzteau wrote: I just tried the cocoon-mag servlet from steve puntes article on publishing an online-mag with cocoon. but i had no success. These are my first steps with cocoon, so i

Re: xpatch srcdir attribute problems when building Cocoon 2.1.4 using Ant 1.6.1 and JDK 1.4.2_04 on Windows 2000

2004-03-30 Thread Joerg Heinicke
On 30.03.2004 12:56, Geoff wrote: I am trying to build and install Cocoon 2.1.4 on Windows 2000 to run under Tomcat 5.0.19. I am pretty sure that I have configured my environment variables for ANT_HOME, CATALINA_HOME and JAVA_HOME correctly. AFAIK only JAVA_HOME is needed. Unfortunately, I am

Re: [genuine] Re: Newbie running a servlet. help appreciated.

2004-03-30 Thread Joerg Heinicke
On 31.03.2004 01:04, Jochen Hagenström wrote: I just tried the cocoon-mag servlet from steve puntes article on publishing an online-mag with cocoon. but i had no success. These are my first steps with cocoon, so i might be missing something. There is no need to download the WAR from that

RE: xpatch srcdir attribute problems when building Cocoon 2.1.4 using Ant 1.6.1 and JDK 1.4.2_04 on Windows 2000

2004-03-30 Thread Geoff
Joerg, Thanks for the thorough response. Your explanation of the srcdir attribute certainly helps clarify my misdiagnosis of the problem. Funnily enough, your comments also suggested that the problem actually is driven by the fact that I had my cocoon base directory too deep within the

Re: Using compiled XSP action classes

2004-03-30 Thread Joerg Heinicke
On 04.03.2004 20:05, Oleg Dulin wrote: Is it possible to use a compile XSP action class? I.e. I want to first precompile my XSP actions and then use the as if they were normal actions written in Java ? Yes, should be possible. They probably lie in the work directory of your servlet conatiner.

Re: Setting working directory for XSP compilation

2004-03-30 Thread Joerg Heinicke
On 04.03.2004 20:11, Oleg Dulin wrote: Colleagues: How can I tell Cocoon which directory to use for XSP compilation ? I saw something about it in cocoon.xconf but I can't find a parameter... web.xml: This parameter allows to specify where Cocoon should put it's working files. The path

Re: XSP error (Feedback to Torsten)

2004-03-30 Thread Torsten Curdt
Here is the link that I had, I could not typecase to HTTPURLConnection. I was able to get the same (unencoded) java to work in JSP however: http://article.gmane.org/gmane.text.xml.cocoon.user/33489 Thanks for the pointer, Jeff Not sure if you will like it ...but all that was missing was the root

Re: XInclude and UTF-16 encoding

2004-03-30 Thread Joerg Heinicke
On 02.03.2004 20:04, Stefan Geelen wrote: Hi, I build a webpage with default charset=ISO-8859-1 encoding. I need to include another .xml file built in utf-16 encoding: xi:include href=Example_box.mill parse=text encoding=UTF-16 xi:fallback pExample

Re: xsp:attribute declaration problem.....

2004-03-30 Thread Joerg Heinicke
On 08.03.2004 02:11, beyaNet Consultancy wrote: Hi, I am having a strange problem defining the declare attribute of the OBJECT tag. My code is so: xsl:template match=artistDetails:currentTrack xsp:element name=object xsp:attribute name=datamusic/Borderline.mp3/xsp:attribute

Re: cocoon minimum library

2004-03-30 Thread Joerg Heinicke
On 08.03.2004 09:29, reza x wrote: hi all I am using cocoon only for generating html,excel,pdf reports. generating html = HTMLSerializer = Cocoon core excel = XLSSerializer = POI block pdf = FOPSerializer = FOP block Joerg

Re: Continuations in Redirections

2004-03-30 Thread leo leonid
Many thanks for this inspiration, it helped me a lot, even though I dismissed it meanwhile. Your approach solved all those problems concerning unwanted submissions, and it was simple enough, so I was very content with it, first, however, watching it working a while, I noticed some

Re: users Digest 29 Mar 2004 16:19:19 -0000 Issue 2618

2004-03-30 Thread Klaus Bertram
Hi Jeff, i use type casting and had no problems. but I use String s = (String)x; without a blank before x. When i remeber right i had a compiler error with the blank in. Klaus Torsten Curdt wrote: Jeff Conrad wrote: Your problem looks similar to an issue I brought up but was not addressed by