Cocoon2 with Tomcat 4.0.1 (in JBuilder 6 Enterprise)

2002-04-26 Thread Barbara Post
Hello, I get the following when I try to lauch my webapp (Tomcat 4.0.1; embedded into JB6). What does this mean regarding Cocoon ? What is wrong in my Tomcat config.? Thank you very much. Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception reportmessage Internal Server

help needed with building C2.0.2

2002-07-12 Thread Barbara Post
Hello, I get errors at build time, using j2sdk 1.4.0 with xalan and xerces from c2 into JAVA_HOME/jre/lib. [javac] E:\cocoon202_fichiers_install\cocoon-2.0.2\build\cocoon\src\org\apac he\cocoon\components\language\markup\xsp\EsqlConnection.java:66: class org.apach

map parameter and resource

2002-07-12 Thread Barbara Post
Hello, my problem is to : have resources generate / transform / serialize so that I get XML, but using a parameter. then I want to aggregate these 2 XML documents and transform / serialize by another stylesheet. Thanks for any help about resources using a parameter then be aggregated. Read the

xml:db api and xml database (tamino)

2002-07-15 Thread Barbara Post
Hi, I have the following error : ERROR (2002-07-15) 12:09.25:376 [sitemap.generator.file](/baepp/license/defaultgeneration) HttpProcessor[9090][4]/FileGenerator: Could not read resource xmldb:tamino://localhost/tamino/mydatabase/mycollection java.util.NoSuchElementException at

cannot get my parameter / value passed to transformer

2002-07-16 Thread Barbara Post
Hello, I want the trail of the match to be passed to my stylesheet, and used there as a variable. the following does not work. thanks for any help. map:match pattern=i/want/** map:aggregate element=page map:part . / /map:aggregate !-- this stylesheet gets parameter lang

Re: cannot get my parameter / value passed to transformer

2002-07-16 Thread Barbara Post
hello, I have the following now, but don't see anything else that test1 printed out : !-- request parameter used for language -- xsl:param name=lang/ xsl:template match=/ html test1 xsl:value-of select=$lang/ . and in the sitemap : ... map:transform

image and relative path issue

2002-07-16 Thread Barbara Post
I have a problem with images / css. I use a pipeline for them but it doesn't seem to work. images are in webapp-root/images. pipeline for .gif : map:match pattern=**/images/*.gif map:read mime-type=image/gif src=/images/{2}.gif/ /map:match a request for index.* then a xsl stylesheet

Re: image and relative path issue

2002-07-16 Thread Barbara Post
PM Subject: RE: image and relative path issue try looking at this mail http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102434844115169w=2 -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 10:42 AM To: [EMAIL PROTECTED] Subject: image

Re: image and relative path issue

2002-07-16 Thread Barbara Post
a 'show image' option when I right click on images. Maybe it is the browser you are using or a browser setting? -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: Re: image and relative path issue

Re: Réf. : XMLForms Cocoon-2.0.3

2002-07-16 Thread Barbara Post
I could only see that C2.1 works with XMLForms, am I wrong ? Babs --website: www.babsfrance.fr.stICQ #: 135868405 - Original Message - From: Othman Haddad To: [EMAIL PROTECTED] Sent: Tuesday, July 16, 2002 4:12 PM Subject: Réf. : XMLForms Cocoon-2.0.3

runtime exception, resource not found (C 2.0.3)

2002-07-18 Thread Barbara Post
I'm trying to use a resource and have the following. I use c203 binary for jvm 1.3 (jdk 1.3.1). org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: mlForm could not be found. (possible classloader problem) at

how do I use sessionstate matcher with C 2.0.3 ?

2002-07-18 Thread Barbara Post
The documentation seems to be scarse or I did not look in the right place... thanks :-) Babs - Please check that your question has not already been answered in the FAQ before posting.

cvs question

2002-07-18 Thread Barbara Post
if I checkout xml-cocoon2 with checkout option : by revision/tag branch : cocoon_2_0_3 do I get something different from cocoon 2.0.3 src file I have on http://xml.apache.org/dist ? I know that HEAD will output the latest dev., i.e. cocoon 2.1, right ? thanks, I just need to know wheter the

troubles with sunrise

2002-07-19 Thread Barbara Post
Hello, I tried to do the same as on : http://www.need-a-cake.com/stories/2002/02/28/usingTheSunriseComponents.html but get : org.apache.avalon.framework.component.ComponentException: Could not find component at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal

sunshine, authentication failed and request parameter

2002-07-19 Thread Barbara Post
I want to customize my error page by getting one of the request parameters (language : lang), to query a database (like xindice) with it passed along a hard-coded error code. I have the following and authentication works ok for now (test with an user xml file). Is the parameter lang in session

Re: troubles with sunrise

2002-07-19 Thread Barbara Post
= -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 9:34 AM To: [EMAIL PROTECTED] Subject: troubles with sunrise Hello, I tried to do the same as on : http://www.need-a-cake.com

looking for util reference [was Re: stuck with sunrise and session, please help...]

2002-07-22 Thread Barbara Post
Hi Guido, it works better now, since info are indeed automatically added to sunRise context when authenticating. Thanks for the explaination. :-) However I am looking for a reference regarding the util tags (built-in logicsheet). I see util:time-of-day in the examples. Thanks ! Barbara -

The stream has been closed

2002-07-23 Thread Barbara Post
I get the following in my log... ERROR (2002-07-23) 08:59.24:124 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: The stream has been closed at

InputModules, map:global-parameters

2002-07-23 Thread Barbara Post
Reading this : http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102499709113669w=2 only with C 2.1 What is the workaround for C 2.0.3 since I need to use a release version ? :-/ Thanks a lot. Barbara - Please check that

troubles with map:select type=request-parameter

2002-07-23 Thread Barbara Post
Using C 2.0.3. I cannot get into the map:when part although I checked, request parameter platform value is indeed All. Thanks for any help. I suspect that my request parameter is at a deepest level because of the sunRise authentication act ? Barbara Pipeline : map match pattern=test !-- be

Re: troubles with map:select type=request-parameter

2002-07-23 Thread Barbara Post
with map:select type=request-parameter Hi Barbara, try to use the selector like this: map:select type=request-parameter map:parameter name=parameter-name value=platform/ map:when test=All Good luck, Elmar -Ursprüngliche Nachricht- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet

language variable, date formatting

2002-07-24 Thread Barbara Post
Hello, My xsl stylesheet needs to format a date using a locale or a language variable that is stored in session (using SunRise portal). I wonder how I can do this. If I use an xsp to produce the portion of xml I need (date formatted according to a specific locale), how can the xsp get the

Re: language variable, date formatting

2002-07-24 Thread Barbara Post
variable, date formatting - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 24, 2002 4:26 PM Subject: language variable, date formatting Hello, Hi, My xsl stylesheet needs to format a date using a locale or a language variable

passing a parameter from sitemap to action

2002-07-24 Thread Barbara Post
Sorry for the newbie question, but I'm getting tired and it's getting late here. I use : map:match pattern=mytest/* map:act type=setmydate map:parameter name=lang value={1}/ ... but what's the code in the action class to get the parameter ? Thanks. Babs

trouble passing a parameter to my action

2002-07-25 Thread Barbara Post
Hello, I use the following with C 2.0.3 : map:action logger=error.baepp.setmydate name=setmydate src=baepp.SetMyDateAction/ To keep it simple this action takes lang parameter and puts its value in mydate parameter. and a test pipeline : map:pipeline map:match pattern=mytest/* map:act

Action and sunRise context(s) [was : Re: trouble passing a parameter to my action ]

2002-07-25 Thread Barbara Post
Hi Elmar, yes I did so. Got NullPointerException. I extended ComposerAction, am I wrong with that ? Have another question now : how can my action put something in a sunrise context (mycontext), or else will use parameter associated with redirect-to :-/ Thanks, gotta dig for it. Barbara -

apache mailing-list option

2002-07-25 Thread Barbara Post
Please don't fire me ;-) Some people here think that it would be nice to have no mail list option... instead of unsubscribing-resubscribing when going on holidays. Would this be possible ? Barbara - Please check that your

remove namespaces from final html output ?

2002-07-26 Thread Barbara Post
Hello, my stylesheet header is the following, right before I use map:serialize type=html/ : ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:collection=http://apache.org/cocoon/xmldb/1.0; xmlns:javamydate=baepp.MyDate xsl:import

multiple checkboxes and request parameters passed to an xsl

2002-07-30 Thread Barbara Post
Hello, how can my stylesheet get all the http request parameters since the http request sends a variable number of parameters named checkedbox_i for example, i being an unique identifier ? checkboxes are in variable number on the submit page, depending on a former choice. on the submit page the

Re: multiple checkboxes and request parameters passed to an xsl

2002-07-30 Thread Barbara Post
parameters passed to an xsl On 30.Jul.2002 -- 07:15 PM, Barbara Post wrote: Hello, how can my stylesheet get all the http request parameters since the http request sends a variable number of parameters named checkedbox_i for example, i being an unique identifier ? checkboxes are in variable

xalan and request generator

2002-07-31 Thread Barbara Post
Since the root of the document returned by map:generate type=request/ contains xmlns declaration, my xpath query against this document does not work. Using xalan 2.3.1. Any workaround ? or would need to have another stylesheet to move xmlns declaration ? ?xml version=1.0 encoding=UTF-8? request

Re : xalan and request generator

2002-07-31 Thread Barbara Post
OK I have the solution : in the xsl declare rg namespace as http://xml.apache.org/cocoon/requestgenerator/2.0 and then prefix every element in xpath queries by it... Learned something ! Barbara - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: multiple checkboxes and request parameters passed to an xsl

2002-07-31 Thread Barbara Post
was at least able to reuse my stylesheet and additionally to get my parameter values out of the XML stream. Regards, Elmar -Ursprüngliche Nachricht- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 31. Juli 2002 00:05 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re

xsl and http request header

2002-07-31 Thread Barbara Post
Hello, can an xsl directly access http request header (like http request parameters) or should I use request generator ? I want a text field to have a size specified by the kind of browser... Maybe rather use browser selector to pass a parameter to my xsl...? Babs

Re: xsl and http request header

2002-07-31 Thread Barbara Post
PM Subject: RE: xsl and http request header I think that you can do that using a xsl document() pointing to a cocoon url with http generator and xml serializer. This is a VERY powerful option of Cocoon. -Message d'origine- De: Barbara Post [mailto:[EMAIL PROTECTED]] Date: mercredi 31

about xsl and java extension (xalan) - a tiny bit offtopic

2002-08-01 Thread Barbara Post
Hello, I need something special in my xsl : as I match every foo I need to take an attribute and update a string (appended by void methods). then when this is achieved, in another template I reuse this string as output. I have a look at http://xml.apache.org/xalan-j/extensions.html (more

Form validator action question

2002-08-01 Thread Barbara Post
Hello, it's getting late here (work time) so I get tired... ;-) what's the best way using form validator action in my case ? I use xml + xsl to generate an html form with fixed and modifiable input fields. When I submit form validator action checks the input fields' correctness. If I want to

Re: Form validator action question

2002-08-01 Thread Barbara Post
well, it would take a lot of time (processing again...) and some parameters were processed in a certain way... Gotta see later ;-) -- website: www.babsfrance.fr.st ICQ #: 135868405 - Original Message - From: Hunsberger, Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August

decision issue (document and sitemap communication)

2002-08-02 Thread Barbara Post
Hello, I have the following problem : 1. Query foo document from a database, using xmldb query shortcut, so this comes as map:generate src=xmldb:...). * I want to decide on the presence of a certain tag in foo, let's say result, to do a map:act. * 2a. if result exists : there are

Re: log-files!

2002-08-02 Thread Barbara Post
When you run cocoon don't you have logfiles into WEB-INF/logs ? Location of logfiles is defined in WEB-INF/logkit.xconf. Babs - Original Message - From: Wolle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:04 AM Subject: log-files! hi! i am using cocoon

Re: log-files!

2002-08-02 Thread Barbara Post
no, it's created in your webapp's WEB-INF directory when you run it (execute Cocoon servlet). so if you use Cocoon's webapp have a look there... - Original Message - From: Wolle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:12 AM Subject: Re: log-files! hi!

form validator

2002-08-02 Thread Barbara Post
Hello, I use the following and the redirect-to is always executed, why ? I directly call this foo uri. The returned descriptor is ok : parameters with name and nullable attribute set (but not type, should I set it ? How can I say ignore type attribute when validating ?). map:match pattern=foo

Re: form validator

2002-08-02 Thread Barbara Post
was dumb : validate-set and not constraint-set in the pipeline ! huh time to have lunch here lol Babs - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:29 AM Subject: form validator Hello, I use the following

Re: fop

2002-08-02 Thread Barbara Post
image path issue ? absolute, relative ? Babs - Original Message - From: Wolle [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 11:48 AM Subject: fop hi! I made a xsl-file to generate from a xml file a pdf. this works fine as long as i use fop standalone

Re: fop

2002-08-02 Thread Barbara Post
machines. Andrew On Fri, 2002-08-02 at 12:01, Wolle wrote: On Fri, 2 Aug 2002, Barbara Post wrote: *image path issue ? absolute, relative ? here is some code from the xml-file: logo name=reallogo.jpg/ here is some code from the xsl-file: fo:block fo:external

form never validates !...

2002-08-02 Thread Barbara Post
Hello, my form does not validate The submit button of form sends to form2fill and thanks to Christian's transformer I keep my request parameters to regenerate fully the form (will add a template to my xsl to add an error message). I can't go to the success part (google to test :-p ). In fact

Re: form never validates !...

2002-08-02 Thread Barbara Post
\ xml folder... :-o - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 4:03 PM Subject: form never validates !... Hello, my form does not validate The submit button of form sends to form2fill and thanks to Christian's

Re: form never validates !...

2002-08-02 Thread Barbara Post
ok I have to see what's wrong with cocoon://, when I use xml\mydesc.xml it's ok (forgot to type the .xml lol :-/ ). - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 4:36 PM Subject: Re: form never validates !... My generated

sunrise context question

2002-08-20 Thread Barbara Post
Hello, back to work :-) 1. what is the persistence of a sunshine context I define ? i.e. I have one pipeline and two xsl : map:transform src=xsl1.xsl map:transform type=sunShine map:transform src=other.xsl map:transform src=xsl2.xsl map:transform type=sunShine. I want xsl2 to use something

weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Hello, I cannot get sunshine:setxml to work... sitemap : map:transform src=xsl/genlicform2fill.xsl map:parameter name=use-request-parameters value=true/ /map:transform !-- stores in context -- map:transform type=sunShine/ !-- another map:transform --

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
I added sunshine:createcontext name=MyContext/ in my template but nope. Bert V.K., do you have more documentation / code snippets on this ? Thanks, Babs - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 11:25 AM Subject

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Yes I do. double-checked. - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 11:59 AM Subject: RE: weird ? (sunshine, c203) Do you declare the sunshine namespace in your xslt? Carsten

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
My namespace is : http://sunshine.sunde.sunshine/1.0; and I use Xalan 2.3.1, Xerces 2.0.2. I am sure that I can use context without sunrise authentication, am I wrong ? (anyway in the full app I use authentication). Transformer works well for getxml context=sunRise, but not my custom context...

Re: weird ? (sunshine, c203) [oops]

2002-08-20 Thread Barbara Post
the namespace very rarely, so this can be the case). Carsten -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:57 AM To: [EMAIL PROTECTED] Subject: Re: weird ? (sunshine, c203) Yes I do. double-checked. - Original

xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
c2.0.3.. I am surprised that : sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ works while : variable name=foo sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ /variable xsl:value-of select=$foo/ does not... I need to pass the value to a template (of an imported reused

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
yeah it was a typo in my mail but indeed I have xsl:variable in my xsl. sorry.. - Original Message - From: KOZLOV Roman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:03 PM Subject: Re: xsl variable and sunshine getxml Why not xsl:variable? Roman Barbara

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
Subject: RE: xsl variable and sunshine getxml -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: xsl variable and sunshine getxml c2.0.3.. I am surprised that : sunshine:getxml

dull problem : redirecting after transforming

2002-08-20 Thread Barbara Post
I have a series of transformers (last one inserts in a database) then want to go to another pipeline (anyway I have to do a generation from new xml, not the DB successful insertion message) without having interaction with the user, how can I do that ? map:redirect-to uri=... right after a

Re: [SUMMARY]RE: how to add a white space in i18n?

2002-08-21 Thread Barbara Post
You also have #160; I guess ? - Original Message - From: kavitha ramesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 11:47 AM Subject: [SUMMARY]RE: how to add a white space in i18n? Hi Konstantin, I used the following in my stylesheet.I got the space

whitespace problem with sunShine transformer

2002-08-21 Thread Barbara Post
C2.0.3... Hello, I have a A with a circumflexe accent onto that appears in my xml output... Barbara Post instead of Barbara Post. I use UTF-8 encoding everywhere. The problem comes from getting info from sunRise context : In the browser (IE 5.5) I have : fullnameBarbara Post/fullname

encoding serious (basic) problems

2002-08-21 Thread Barbara Post
C2.0.3... I have troubles with whitespaces and accentued letters. I tried to set my xsl encoding to iso-8859-1 (as it is html output encoding) but nope, neither both set to UTF-8. I get weird characters. These characters are in words retrieved from http request (request generator) and session

sunRise-logout : Null Pointer Exception

2002-08-21 Thread Barbara Post
C2.0.3. I am logged in. I click on disconnect link, I get a NPE. I have to keep using 2.0.3 version of cocoon, how can I update the sunRise part ? It seems I read that there is a patch for this exception ? !-- disconnect -- map:match pattern=disconnect map:act type=sunRise-logout

Re: sunRise-logout : Null Pointer Exception

2002-08-21 Thread Barbara Post
going to update it asap and will tell you if it works. but c203 is release version so I guess I got it in final state when d/lding from apache ftp ? Here is the stacktrace : java.lang.NullPointerException at org.apache.cocoon.sunshine.sunrise.SunRise.logout(SunRise.java:1083) at

Re: Problems installing Cocoon 2.0.3 [xerces to be updated]

2002-08-21 Thread Barbara Post
try to update xerces to 2.0.2 version. I had this problem too, same environment. (http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.zip) from the zip, copy xercesImpl, xmlParserAPI to CATALINA_HOME/common/lib. Remove the version of xerces you have there (xerces.jar). Remove

Re: Passing HTTP header parameters

2002-08-21 Thread Barbara Post
have a look to request generator, it may help, it can get http headers. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:31 PM Subject: Passing HTTP header parameters Hello Cocoon users! I have another problem using Cocoon: How can

Re: Help, please

2002-08-21 Thread Barbara Post
from a previous post I read I guess it is a memory problem ? when do you get this ? - Original Message - From: KOZLOV Roman [EMAIL PROTECTED] To: Cocoon users mail list [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:49 PM Subject: Help, please Please, help. Anybody knows what

Re: sunRise-logout : Null Pointer Exception

2002-08-21 Thread Barbara Post
, 2002 4:58 PM Subject: RE: sunRise-logout : Null Pointer Exception It's currently not fixed in the 2.0.3 branch, only in the 2.1-dev branch - but I will check-in a fix in some minutes. Carsten -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August

Re: ampersand

2002-08-21 Thread Barbara Post
nope - Original Message - From: Stefan Seifert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 5:43 PM Subject: RE: ampersand Did you try using a amp; instead of ? i.e. foo?param1=foo1amp;param2=foo2. Stefan -Original Message- From: Barbara Post

Re: ampersand

2002-08-21 Thread Barbara Post
PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 6:09 PM Subject: RE: ampersand You did not try or it did not work? Are you using a XML Editor with XML validity checking? In this case the editor would find such errors. Stefan -Original Message- From: Barbara Post

cocoon 2.0.3, xalan 2.3.1, output encoding

2002-08-22 Thread Barbara Post
I read the following on apache's website : When you use the xsl:output encoding attribute to set output character encoding, you should not use StreamResult(java.io.Writer) to construct a StreamResult object to hold the transformation result. If you do, the Writer uses its own encoding rather

Re: Problems installing Cocoon 2.0.3 [xerces to be updated]

2002-08-22 Thread Barbara Post
ok... so, are you sure you downloaded the right binaries for your JVM ? I don't have more ideas for now... sorry. - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 8:35 AM Subject: Re: Problems installing

C2.0.3 and JDK 1.4 ?

2002-08-25 Thread Barbara Post
Are there any known issues ? I currently use JDK 1.3.1. By the way, Carsten, how can I update only the required files to solve the NPE I got with sunRise-logout action ? I *have* to keep on using C2.0.3... Thanks, have a nice Sunday ;-) Babs -- website: www.babsfrance.fr.st ICQ #: 135868405

Cocoon and ActiveX

2002-08-29 Thread Barbara Post
How do I set up the pipeline that reads my .cab to be able to include an activeX in the final html page ? It does not show up yet. I don't know which mime type to setup... Thanks, with C 2.0.3, jdk 1.3.1. Barbara - Please

Re: How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Barbara Post
go to the sitemap and first ensure that XML and HTML serializers have the following tag : encodingiso-8859-1/encoding What other components could be configured this way ? It solved my problem, so it may help yours, although I don't use XSP. Sitemap overrides XSP/XSL encoding Barbara -

bug with javascript ?

2002-08-29 Thread Barbara Post
c203. My XSL contains some javascript : Is it normal that when I look at the source of my html output I see the full code (in the body part) written out ? i.e. : script language=javascriptif (document.all){ document.writeln('object id=factory

Fw: bug with javascript ?

2002-08-29 Thread Barbara Post
some snip because this darn antivirus believes that I am seding malicious code !! - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 11:01 AM Subject: bug with javascript ? c203. My XSL contains some javascript

Re: bug with javascript ?

2002-08-29 Thread Barbara Post
) { ... } ]] /script Koen. -Oorspronkelijk bericht- Van: Barbara Post [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 29 augustus 2002 11:01 Aan: [EMAIL PROTECTED] Onderwerp: bug with javascript ? c203. My XSL contains some javascript : Is it normal that when

Re: [SUMMARY] How to encode ISO-8859-1 characters into the Database?

2002-08-29 Thread Barbara Post
characters into the Database? Barbara: Thank you Very much! It works fine now! Antonio Gallardo * SOLUTION by Barbara Post :) : go to the sitemap and ensure that XML and HTML serializers have the following tag: encodingiso-8859-1

Re: cocoon KILLS Tomcat

2002-08-29 Thread Barbara Post
Hi Roger, Maybe your jasp compiler has a problem or if you use Windows (I guess not) check out the registry : maybe your Current Version of JDK and JRE is not right... key : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft and subkeys. java -fullversion should be right too. This was a reason why I ran

I get it too !! OutOfMemory error... (Tomcat killed...)

2002-08-29 Thread Barbara Post
Suddenly my sitemap doesn't compile. I have been doing other things for an hour, cocoon was asleep. I look into Tomcat's output window and read : java.lang.OutOfMemoryError no stack trace available Great ! I never had such a bad thing before ! JDK 1.3.1, C2.0.3, Tomcat 4.0.4 with

Re: cocoon KILLS Tomcat

2002-08-29 Thread Barbara Post
and how you solved it? BTW, just set catalina_opts=-Xmx128m to give Tomcat more memory to use Cocoon. That's how i got away for my problem From: Barbara Post [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: cocoon KILLS Tomcat Date: Thu, 29 Aug 2002 15:44

Re: XSLT logicsheet parameter issues

2002-08-30 Thread Barbara Post
Hello, Depending on what you need to do with the XSL file, pass as many parameters (then : xsl:param) as you need... Don't forget to place a map:act type=request at the beginning of the pipeline and map:parameter name=use-request-parameters value=true/ for the xslt transformation. HTH -

Re: using seletor to test 2 or more request parameter

2002-08-30 Thread Barbara Post
nest 2 request-parameter... I did that, so I had 4 parts. indeed code grows but this is the only real way to do this... map:select type=request-parameter map:parameter name=parameter-name value=what_you_want/ map:when (test on first param) map:select type=request-parameter

form validator and regexp problem...

2002-08-30 Thread Barbara Post
Hi, I use the regexp expression from C 2.0.3 form validator example and want to validate 2 email fields : in the descriptor : parameter name=emailTo nullable=no type=string matches-regexp=^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w?$/ (the same for emailCc) and : constraint-set name=default

Re: form validator and regexp problem...

2002-08-30 Thread Barbara Post
I am a d***a**, it was regex, not regexp. Ah well... - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 30, 2002 3:36 PM Subject: form validator and regexp problem... Hi, I use the regexp expression from C 2.0.3 form validator

Re: form validator and regexp problem...

2002-08-30 Thread Barbara Post
:36 , Barbara Post wrote: I use the regexp expression from C 2.0.3 form validator example and want to validate 2 email fields : in the descriptor : parameter name=emailTo nullable=no type=string matches-regexp=^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w

map parameter value and cocoon://

2002-09-02 Thread Barbara Post
Hello, I use an Action. How can I pass as value of map:parameter name=foo value=... / the xml stream produced by a cocoon:// pipeline ? Is it possible ? Thanks, Barbara - Please check that your question has not already

Re : map parameter value and cocoon://

2002-09-02 Thread Barbara Post
Forgot to mention : I use C 2.0.3 and cannot switch to 2.1 for this project for now... :-( - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:57 AM Subject: map parameter value and cocoon:// Hello, I use an Action. How

send mail with attachment

2002-09-03 Thread Barbara Post
Hi Themba Mbatha and Paul Pattison, please can you give me hints about the action I write to send email with attachments, since the attachment should be produced by cocoon itself... (a cocoon:// pipeline for example). How can I do this ? Thanks a lot to any other replier ;-) Barbara, C2.0.3.

Re: Problem with sunRise, please help :)

2002-09-03 Thread Barbara Post
You may have a problem with your parser, check it and look in the archives for your error message: XMLUtil.getNodesFromPath, I've read this a couple of times... Babs - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 03,

Re: Re : map parameter value and cocoon://

2002-09-03 Thread Barbara Post
Subject: Re: Re : map parameter value and cocoon:// Barbara Post wrote: Forgot to mention : I use C 2.0.3 and cannot switch to 2.1 for this project for now... :-( - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:57 AM

Today usability of 2.1 version ?

2002-09-03 Thread Barbara Post
Hi, I finally may use 2.1 version but need to know : are the main components in use in 2.0.3 version still stable ? New components may be less stable, ok. What is the difference between 2.1-dev and 2.1 beta ? What's missing today from cvs-head ? What about sunRise, is it as stable as in 2.0.3 ?

Re: Today usability of 2.1 version ?

2002-09-03 Thread Barbara Post
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 4:14 PM Subject: RE: Today usability of 2.1 version ? Barbara Post wrote: Hi, I finally may use 2.1 version but need to know : are the main components in use in 2.0.3 version still stable ? New components may

CVS build - missing WEB-INF/lib !

2002-09-03 Thread Barbara Post
I use T 2.0.4 and jdk 1.3.1, wanted to use latest c2.1 war (from one hour ago cvs head). Tomcat strangely didn't unpack, and when I manually unpack it says : The requested service (Servlet Cocoon2 is currently unavailable) is not currently available. When I built cocoon it told it was targeted

Re: CVS build - missing WEB-INF/lib !

2002-09-03 Thread Barbara Post
/ part and cocoon's welcome page shows up... ok, now where is the link to sunspot demo portal in this 2.1 version ? ;-) Babs - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 4:36 PM Subject: CVS build - missing WEB-INF/lib

Re: CVS build - missing WEB-INF/lib !

2002-09-03 Thread Barbara Post
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 4:56 PM Subject: RE: CVS build - missing WEB-INF/lib ! -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 4:47 PM To: [EMAIL PROTECTED] Subject: Re: CVS build

bug ? latest build and xml serializer in views /

2002-09-03 Thread Barbara Post
org.apache.avalon.framework.configuration.ConfigurationException: Type 'xml' is not defined for 'serialize' at file:/e:/tomcat404/webapps/cocoon/samples/sitemap.xmap:92:31 map:views map:view from-label=content name=content -- map:serialize type=xml/ /map:view What's wrong ? today's

xml:db API and C 2.1 ? [Re: bug ? latest build and xml serializer in views /]

2002-09-03 Thread Barbara Post
- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:04 PM To: [EMAIL PROTECTED] Subject: bug ? latest build and xml serializer in views / org.apache.avalon.framework.configuration.ConfigurationException: Type 'xml' is not defined for 'serialize

how do generators work in 2.1 ?

2002-09-04 Thread Barbara Post
I removed cocoon's pipelines from main sitemap and added my own one, the simplest one that worked well in 2.0.3 : map:pipeline map:match pattern=test map:generate src=xml/mlForm.xml/ map:transform src=xsl/copy.xsl/ map:serialize type=xml/ /map:match /map:pipeline It

session context in 2.1 ?

2002-09-04 Thread Barbara Post
Reading the docs (http://xml.apache.org/cocoon/developing/webapps/session.html), it seems that there is no r/w session context in 2.1 like sunRise context in 2.0.3 scratchpad ? So I will have to create my own context to write to, right ? But when I authenticate ok, are some information stored

  1   2   >