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

Re: Cocoon book

2002-07-25 Thread Kasper Nielsen
Hi, Just a quick question, what isn't covered in the book if we look at Cocoon 2.0.3 (or Cocoon 2.1 beta) I just took a quick look at the sample chapter and for instance it only mentioned 'SQL Transformers' and not ESQL. - Kasper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

Re: Cocoon book

2002-07-25 Thread Martin Dulisch
In the sample chapter that is available action-sets are handled. Martin - Original Message - From: Richard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 25, 2002 10:14 AM Subject: Re: Cocoon book Hi does the book says anything about actions? - Original Message

AW: trouble passing a parameter to my action

2002-07-25 Thread Sternath Elmar
Are you sure that you put your mydate param into a HashMap and that you also return this HashMap inside your act method. If you don't return at least an empty HashMap, nothing will be done inside the action tags. Your pipeline entries seem to be correct, it should work with {1}. Regards,

Re: Cocoon book

2002-07-25 Thread gcasper
Hi, I'm not the author of the book and I don't have a copy at hand, but I will try to anwer to the best of my knowledge and I'm sure Matthew will correct me next week if I say something wrong :-) richard schrieb: Hi does the book says anything about actions? Yes the book explains all details

Re: NullPointerException with SunShine -- user and password not stored incontext?

2002-07-25 Thread Joern_Hoos
Hi David, I have got the same problem. I am using: Java 1.4.0 Tomcat 4.0.4 Cocoon 2.0.3 I´ve set: JAVA_HOME=/usr/java/j2sdk1.4.0_01 CATALINA_OPTS='-Djava.awt.headless=true -Djava_endorsed_dirs=/usr/java/j2sdk1.4.0_01/jre/lib/endorsed I´ve copied the files: xalan-2.3.1.jar

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 -

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

2002-07-25 Thread Sternath Elmar
Hi Barbara, extending ComposerAction is correct, maybe you should take a look into your cocoon/Web-Inf/logs/error.log to check where exactly the null pointer exception occurs. Perhaps something else is wrong inside your action code. Sorry, I'm not familiar with sunrise. -Ursprüngliche

Problem with ESQL logicsheet

2002-07-25 Thread Benoît Clouet
Hi, I'm experiencing a strange problem with the ESQL logicsheet The results returned when I use the esql:skip-rows and the esql:max-rows seem to be inconsistent for example, when I request 10 results using esql:max-rows10/esql:max-rows I get 11 results. I looked in the XSL stylesheet and in

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

using different stylesheets for different xml files

2002-07-25 Thread kavitha ramesh
Hi, I have two xml files and I would like to use two different stylesheets for that.How do i do it? For example I have two xml files inside the folder name docs: login1.xml login2.xml and I have two stylesheets: login1.xsl login2.xsl and for login1.xml I would like to use the stylesheet

RE: using different stylesheets for different xml files

2002-07-25 Thread ROSSEL Olivier
Here is a sitemap for catch-all XML management. map:match pattern=*.xml map:generate src={1}.xml/ map:transform src={1}.xsl/ map:serialize/ /map:match The sitemap resolver receives the URL. It parses sequentially the sitemap file, reading only what is inside matching map:match. The map:match

Re: how to use a checkbox with DatabaseUpdateAction

2002-07-25 Thread Simon Price
Thanks Christian. I'll look into this. My fallback plan is to write a logicsheet in XSLT/ESQL to do the same as the DB actions but at a higher level. What I'm trying to end up with is an XForm-like way of writing (simple model) forms but without having to write any java. For many simple

RE: using different stylesheets for different xml files

2002-07-25 Thread kavitha ramesh
Dear Mr.Oliver, It works and thank you so much for your valuable information. Kavitha --- ROSSEL Olivier [EMAIL PROTECTED] wrote: Here is a sitemap for catch-all XML management. map:match pattern=*.xml map:generate src={1}.xml/ map:transform src={1}.xsl/ map:serialize/ /map:match

ComponentSelector could not access the Component for hint: xsp

2002-07-25 Thread Vadim Gritsenko
From: Conny Pemfors [mailto:[EMAIL PROTECTED]] Hi Vadim, creator of cocoon, why do I get following message: org.apache.cocoon.ProcessingException: markup-languages: ComponentSelector could not access the Component for hint: xsp:

[SUMMARY] using different stylesheets for different xml files

2002-07-25 Thread Piroumian Konstantin
From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Dear Mr.Oliver, It works and thank you so much for your valuable information. Kavitha, don't forget to add the [SUMMARY] when your question is answered. This helps people to find answers to their questions in mailing archives and can

SUMMARY: how to use a checkbox with DatabaseUpdateAction

2002-07-25 Thread Simon Price
I've come up with a code-free workaround for the problem. Quick reminder of the problem: HTML checkboxes do not submit a request value if unchecked and hence DatabaseUpdateAction writes NULL into the corresponding column in the database. In Cocoon 2.03 there in no way of overriding this

[SUMMARY] how to use a checkbox with DatabaseUpdateAction

2002-07-25 Thread Simon Price
Take 2... this time with correct summary prefix in email title :-))) --- I've come up with a code-free workaround for the problem. Quick reminder of the problem: HTML checkboxes do not submit a request value if unchecked and hence DatabaseUpdateAction writes NULL into the corresponding column

Re: SUMMARY: how to use a checkbox with DatabaseUpdateAction

2002-07-25 Thread Christian Haul
On 25.Jul.2002 -- 03:31 PM, Simon Price wrote: I've come up with a code-free workaround for the problem. Quick reminder of the problem: HTML checkboxes do not submit a request value if unchecked and hence DatabaseUpdateAction writes NULL into the corresponding column in the database. In

caching strategy

2002-07-25 Thread Sternath Elmar
Hello, I wrote an application reading data from another application server and sending requests to this application server which manipulate these data and reread the manipulated data. All this is done inside one pipeline using URLMatchers. CIncludeTransformer is used to concatenate multiple

Re: Problem with ESQL logicsheet

2002-07-25 Thread Benoît Clouet
Hi, here are some more strange things I have noticed. The problem only happens when I use esql:skip-rows0/esql:skip-rows. When I use some other values, the result is correct. Any clues are welcome, Regards Benoît Clouet Hi, I'm experiencing a strange problem with the ESQL logicsheet

Action and Transform map:parameter

2002-07-25 Thread Anand_Krishnan
Hi, I am facing trouble in getting across value for my parameters from Action into my Transformer. Here is what I am attempting to do - map:actions map:action name=xyz src=test.xyz/ /map:actions map:match pattern=*.xml map:act type=xyz

Re: SUMMARY: how to use a checkbox with DatabaseUpdateAction

2002-07-25 Thread Simon Price
Doh! I worked out that DatabaseUpdateAction just took the first array item and in IE6 and NS6 this happens to be the same order as they occur in the form. I was assuming that this would be the case with all clients. Live and learn! I'll have to find a proper solution after next week but this

RE: caching strategy

2002-07-25 Thread Vadim Gritsenko
From: Sternath Elmar [mailto:[EMAIL PROTECTED]] Hello, I wrote an application reading data from another application server and sending requests to this application server which manipulate these data and reread the manipulated data. All this is done inside one pipeline using URLMatchers.

RE: caching strategy

2002-07-25 Thread Mark S. Kent
I got sidetracked and am now trying (once again) to get Cocoon2 running on our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache), RedHat 7.1, and IBM JDK 1.3.0. My last post (12 Apr 2002) left me with this error message on Cocoon startup: message Language Exception

LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
Sorry about the previous post with a misleading subject... I'm re-posting this with a 'proper' subject line... I got sidetracked and am now trying (once again) to get Cocoon2 running on our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache), RedHat 7.1, and IBM JDK 1.3.0. My

Re: NullPointerException with SunShine -- user and password not stored in context?

2002-07-25 Thread Dominic Reynolds
Do you mean -Djava.endorsed.dirs rather than -Djava_endorsed_dirs? I posted yesterday: -DJAVA_ENDORSED_DIRS (wrong...sorry). Also in the catalina.sh script I think you need to set JAVA_ENDORSED_DIRS to the endorsed directory to pass the flag to java. If you set it in CATALINA_OPTS then you get

How to use map:redirect-to combined with serverpages

2002-07-25 Thread Christian Hoofe
I tried the following code in the sitemap to redirect to a page after saving values to the database using art_grp_chg.xsp and receive an sitemap error. map:match pattern=art_grp_chg.xsp map:act type=request map:parameter name=parameters value=true/ map:select

Cocoon - Installation error

2002-07-25 Thread Viksen Pillay Narrainen
Hi all, I have just downloaded Cocoon 2.0.3 from the Apache Web Site. I have JDK 1.2.2 and Tomcat 3.2.3 and Windows 2000 installed on my machine. I am getting the following error when I try to access the cocoon servlet. Can anyone help? Thanks, Viksen ERROR (2002-07-25) 16:18.35:606

XML-Forms and i18n

2002-07-25 Thread michael_hampel
Hello, I was just trying to change the XMLFormTransformer to add an i18n:text tag, when the Transformer is dealing with violations. I tried the following in the startElementViolations method: 1.) I tried to add the tag like this: // render violation tag

RE: LanguageException errors on startup

2002-07-25 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] Sorry about the previous post with a misleading subject... I'm re-posting this with a 'proper' subject line... I got sidetracked and am now trying (once again) to get Cocoon2 running on our Linux server. We are using Cocoon 2.0.2, Tomcat

RE: How to use map:redirect-to combined with serverpages

2002-07-25 Thread Vadim Gritsenko
From: Christian Hoofe [mailto:[EMAIL PROTECTED]] I tried the following code in the sitemap to redirect to a page after saving values to the database using art_grp_chg.xsp and receive an sitemap error. You actually want to write not XSP page but action. map:match

Erros using link

2002-07-25 Thread Bobby Mitchell
I have had problems with link so I changed the file cocoon/documentation/xdocs/index.xml from: * If you are looking for a past generation of Cocoon (no longer supported but still available), go to the

DBPrism/Cocoon at OSCOM 2002 / San Francisco

2002-07-25 Thread Marcelo F. Ochoa
Hi all: DBPrism/Cocoon will take a place at Second Open Source Content Management Conference at Berkeley, California from Wednesday, 25 September to Friday, 27 September 2002. http://www.oscom.org/conferences/sanfrancisco2002/index.html I will present a short keynote on Thursday, September 26

Name Resolution

2002-07-25 Thread zapphod
Hello guys, we are using cocoon 2.0.2 in a prototype and love the results. Implementation was fast and very efficient. However, there is one problem (or should I say challenge): whenever someone accesses cocoon over the internet from a client that does not have a DNS-entry (e.g. a client before

RE: LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
OK. I stopped Tomcat and removed the entire $TOMCAT_HOME/work folder and restarted Tomcat. Everything looked fine in the Cocoon log files after starting Tomcat until I attempt the first access of the main Cocoon start page, then the log files start showing the following error lines (not all are

NullPointerException, pizza, searching

2002-07-25 Thread icewind
I got the latest cocoon code out of CVS and built it. (latest as in today) Things seem to work fine, except when I go to Search the Docs in the samples section. When I do that, I get the error I have attached below. It seems to have something to do with pizza. I tried to copy the pizza jar file

RE: Erros using link

2002-07-25 Thread Vadim Gritsenko
From: Bobby Mitchell [mailto:[EMAIL PROTECTED]] Bobby, I have had problems with link so I changed the file cocoon/documentation/xdocs/index.xml from: ^ ... link href= http://xml.apache.org/cocoon1/?test=atest1=b;Cocoon 1.x area/link.

XML Elements

2002-07-25 Thread Bobby Mitchell
Where can I find a list of XML elements? Also, I want to create some custom XML elements. How can I do this? -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638

RE: LanguageException errors on startup

2002-07-25 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] OK. I stopped Tomcat and removed the entire $TOMCAT_HOME/work folder and restarted Tomcat. Everything looked fine in the Cocoon log files after starting Tomcat until I attempt the first access of the main Cocoon start page, then the log files

RE: LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
All of the .log files have the same sequence of messages starting with the ProcessingException: ERROR (2002-07-25) 14:32.36:191[sitemap](/cocoon/) Thread-12/Handler: Error compiling sitemap org.apache.cocoon.ProcessingException: Language Exception:

Re: Problem with ESQL logicsheet

2002-07-25 Thread Christian Haul
On 25.Jul.2002 -- 05:45 PM, Benoît Clouet wrote: Hi, here are some more strange things I have noticed. The problem only happens when I use esql:skip-rows0/esql:skip-rows. When I use some other values, the result is correct. Thank you for reporting this bug. I've fixed it in CVS. Update

RE: XML Elements

2002-07-25 Thread Geoff Howard
Unless I misunderstand your question, this is a purely xml related question and isn't likely to get answered here. I'd reccomend reading a good introduction to xml (e.g., http://www.xml.com/pub/a/98/10/guide0.html, see also http://xml.apache.org/cocoon/link/xml.html for more xml related links).

RE: NullPointerException, pizza, searching

2002-07-25 Thread Vadim Gritsenko
From: icewind [mailto:[EMAIL PROTECTED]] I got the latest cocoon code out of CVS and built it. (latest as in today) Things seem to work fine, except when I go to Search the Docs in the samples section. When I do that, I get the error I have attached below. It seems to have something

RE: XML Elements

2002-07-25 Thread Stan Dyck
You don't need to be a rocket scientist. (Sorry...couldn't resist that one). To answer your question, there is no definitive list of xml elements. You are free to create your own or use a set that are defined by someone else. XML element schema are generally packaged in one of three manners

RE: LanguageException errors on startup

2002-07-25 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] All of the .log files have the same sequence of messages starting with the ProcessingException: ... Here is the second stacktrace: org.apache.cocoon.components.language.LanguageException: Could not load class for program

XML/XSLT to html including JavaScript question

2002-07-25 Thread Jeanine Meyer
Hello, (Forgive any redundancy with previous messages.) I'm having problems with what I think is a simple task: recreating the standard image swap in on mouse over. I have other examples of xml citing xsl working using IE6 and also NS6.2. However, in this example, the javascript function doesn't

Re: Excel generator

2002-07-25 Thread Ryan Hoegg
Hi, You might check out the POI project (hunt around for the HSSF stuff). They claim to be working on Generators and Serializers for Cocoon for all the formats. http://jakarta.apache.org/poi/index.html Ryan Michael Wechner wrote: Hi Is there an Excel Generator, which creates from an

Re: Excel generator

2002-07-25 Thread Andrew C. Oliver
Ryan do note that the HSSFSerializer is already part of cocoon: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html -Andy Ryan Hoegg wrote: Hi, You might check out the POI project (hunt around for the HSSF stuff). They claim to be working on Generators and Serializers

Re: XML/XSLT to html including JavaScript question

2002-07-25 Thread Joerg Heinicke
Hello Jeanine, either change the name of the attribute of the image from 'id' to 'name' or change the javascript to window.document.getElementById('picture1').src=image;. Regards, Joerg Jeanine Meyer wrote: Hello, (Forgive any redundancy with previous messages.) I'm having problems with

JBOSS3.0.0/TOMCAT4.0.3 - COCOON2.0.3

2002-07-25 Thread Terry Anderson
Sorry if this is a duplicate ... I looked through the archieve, and didn't see anything. Has anyone gotten Cocoon2.0.3 running on Jboss3.0.0/Tomcat4.0.3 in Windows2000? If so, please let me know what you did. I am getting a MAPPING configuration error for request URI error when attempting to

RE: NullPointerException, pizza, searching

2002-07-25 Thread icewind
I removed the pizza jar (and removed its entry in jars.xml, rebuilt and I still can't access the Search the Docs section in the samples. It seems that all XSP pages do not work. Is pizza required for this? It seems like it is required for anything XSP. The error I am getting now is:

2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-25 Thread Mark S. Kent
I decided to get the src for 2.0.3 and did a build on it instead of the 2.0.2 I couldn't get to work. Now I'm getting different (but somewhat less arcane) errors when starting. in access.log: = DEBUG (2002-07-25) 16:47.28:377 [access]

RE: NullPointerException, pizza, searching

2002-07-25 Thread Vadim Gritsenko
From: icewind [mailto:[EMAIL PROTECTED]] I removed the pizza jar (and removed its entry in jars.xml, rebuilt and I still can't access the Search the Docs section in the samples. It seems that all XSP pages do not work. Is pizza required for this? No. You can use javac if you want to. If

Name Resolution

2002-07-25 Thread Peter Schwenke
In Tomcat 4.x I've seen an enableLookups attribute on some of the connectors can set in server.xml. Setting it to false would stop what you're seeing. I've had a look in my old 3.2.1 config and don't see anything similar. A longshot and probably not the correct approach...The DNS timeouts

RE: 2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-25 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] I decided to get the src for 2.0.3 and did a build on it instead of the 2.0.2 I couldn't get to work. Now I'm getting different (but somewhat less arcane) errors when starting. in access.log: