RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Tony Collen
On Mon, 31 Mar 2003, Geoff Howard wrote: > While you're waiting for someone who has the foggiest clue what is > going on (which I don't) I'd suggest two experiments: > > 1) saving the output of the output from the noaa.gov site to a local file > and see if that has any effect > 2) try increasingly

Re: JSP Again

2003-03-31 Thread Konstantin Piroumian
This looks like an error in your JSP or in the Jasper compiler. Take a look at the generated source to see what's wrong. And also it's a little strange that the java file for your JSP is generated in a ...\Jetty...\ directory. Are you using Tomcat? I'm not sure that Jasper compiler works with Jetty

RE: Failed to execute pipeline.: Errors in XSLT transformation

2003-03-31 Thread Geoff Howard
you may need to post your xsl. it's unclear from what you say below - if you comment out all transfomers, does the exception go away? Geoff > -Original Message- > From: Don Saxton [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 9:22 PM > To: [EMAIL PROTECTED] > Subject: Re: Fail

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-03-31 Thread Don Saxton
Thanks Charles. I totally agree. and that is why I am stumped. To be sure the request is filled beginning with a which Iand save the result as p1.xml. THEN I test several xsl (just to be sure) on p1.xml. The xsl all pass both in xmlspy and xslerator. THEN removng theand replacing

Unit test for Cocoon

2003-03-31 Thread Pham Thanh Quan
(B (B (B (B (B (B (B (BHi, (B (B  (B (BDo you know any unit-test (Btool for Cocoon? Please tell me. (B (BThanks and regards (B (B  (B (BQuan (B (B  (B (B (B (B (B (B

Ant:NoClassDefFoundError after Cocoon install

2003-03-31 Thread a847356549/mail . h7 . dion . ne . jp
Hello I used Ant1.4.1 with JWSDP-1.0-ea1 under Win98se fairly well until I installed Tomcat4.1.18 & Cocoon2.0 and began first "Cocoon Lessons." So far, Tomcat4.1.18 & Cocoon2.0 work fine. But everytime I want to use Ant1.4.1 by command line input, it fails with "Exception in thread 'main' ja

RE: [CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Geoff Howard
While you're waiting for someone who has the foggiest clue what is going on (which I don't) I'd suggest two experiments: 1) saving the output of the output from the noaa.gov site to a local file and see if that has any effect 2) try increasingly less complicated xpath statements Geoff >

[CRASH] 2.1-Dev with HTMLGenerator & Transformer

2003-03-31 Thread Tony Collen
Hi everyone, I've been experiencing a strange crash with Cocoon & Jetty. I'm not sure if anyone can reproduce this. I'm running Cocoon 2.1-Dev and Jetty under FreeBSD 4.5-R. JDK is 1.4.1_01. Here's the log from Jetty after it bombs: 19:17:28.616 EVENT Started SocketListener on 0.0.0.0: 1

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-03-31 Thread Charles Yates
In cases like this I do the following: 1) make sure the pipeline is giving the transformer in question the right input. (ie comment out the transformer and any subsequent ones and use XMLSerializer) 2) make sure the stylesheet works outside of cocoon. (you can do step one to get the appropriate

Failed to execute pipeline.: Errors in XSLT transformation

2003-03-31 Thread Don Saxton
I have tried several xsl and after double checking each of them  I am stumped.   I found several zarros in  bugzilla. In mail list I have seen several "Failed to execute pipeline"  and a couple related to NPE, but none linking either to "Errors in XSLT".  Worse these other msgs don't indicat

Re: problems with Forrest

2003-03-31 Thread Upayavira
> To Whom It May Concern: > > I am trying to setup Forrest on my MacOSX box using jboss and tomcat. > Is anyone on this list familiar with Forrest? There may be people here, but you're best of asking on the forrest-dev list. Regards, Upayavira --

problems with Forrest

2003-03-31 Thread David Novogrodsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To Whom It May Concern: I am trying to setup Forrest on my MacOSX box using jboss and tomcat. Is anyone on this list familiar with Forrest? David Novogrodsky http://www.novogrodsky.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (Darwin) iD8D

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
I've run into the same problem I had run into today. You need to get it from cocoon-2.1, although xml-cocoon2 apparently should mirror it, there are differences. I just done a nice clean cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co cocoon-2.1 and everything worked. If you don't have b

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Upayavira
> This I downloaded today. I retrieved it from xml-cocoon2. I > just looked at wincvs and it shows: > > cvs -z9 update -d -P -r HEAD xml-cocoon2 > > If I didnt do the download right, what should it have been? I > think the instruction steps to download said xml-cocoon2 but > perhaps those need

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread e nio
This I downloaded today. I retrieved it from xml-cocoon2. I just looked at wincvs and it shows: cvs -z9 update -d -P -r HEAD xml-cocoon2 If I didnt do the download right, what should it have been? I think the instruction steps to download said xml-cocoon2 but perhaps those need updating. enio

AW: Managing users' permissions through the sitemap

2003-03-31 Thread Marco Rolappe
hi amelie (always reminds me of that wonderful movie ;-), since I've not yet looked into/used the authentication framework, my first thought would be another authorization action. you supply the action with the respective parameters or let the action grab it from the session, etc. from within yo

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
How recent is your source? Did you get it from xml-cocoon2 or from cocoon-2.1? --- e nio <[EMAIL PROTECTED]> wrote: > This did not work either after I made the change > you > suggested. Is my options correct or am I missing an > option? > Btw, I have edited both the build.properties and > loca

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread e nio
This did not work either after I made the change you suggested. Is my options correct or am I missing an option? Btw, I have edited both the build.properties and local.build.properties just in case. enio --- Alex Romayev <[EMAIL PROTECTED]> wrote: > With the new build you need to edit build.

Re: Managing users' permissions through the sitemap

2003-03-31 Thread Yves Vindevogel
Hi Amelie, I do a similar thing, and I use an XSP with some scripting in it. Here's the XSP It's not through the sitemap, but maybe this helps you. Yves http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-request=

XSP Problem

2003-03-31 Thread cocoon user
I use Cocoon 2.0.4 for JDK1.3 on Weblogic 7.0 SP1. I need to use Xalan Extensions to write _javascript_ in my XSL. I use Xalan 2.5.D1 and the XercesImpl that comes with it. If I add the xalan.jar, xercesImpl.jar in my weblogic's classpath the Xalan Extensions work, but the Cocoon's XSP fail with th

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
With the new build you need to edit build.properties file and comment out the following line like this: #exclude.scratchpad=true. Note, you can also create local.build.properties file and with the line about. This way you won't have to do it again. --- e nio <[EMAIL PROTECTED]> wrote: > > Hi

Re: cvs module name link broken (was Re: Paginator Transformer)

2003-03-31 Thread Diana Shannon
On Monday, March 31, 2003, at 03:52 PM, Geoff Howard wrote: I think there are instructions in the archives or on the wiki for migrating your existing checkout to the new module name without having to do a whole fresh checkout, but if you have broadband and no local modifications, you may find it

JSP Again

2003-03-31 Thread Sushil Bhattarai
Hi all, Previously I've had problem with JSP but I was able to fix it. Then I was using older version of Cocoon and Tomcat as the server. Now I'm using cocoon-2.0.4 on JBoss 3.0.4. Both JSP Generator and JSPReader do not seem to work. I tried adding jasper-compiler.jar and jasper-runtime.jar to W

Managing users' permissions through the sitemap

2003-03-31 Thread Amelie Cordier
Hi everybody, I have a problem, maybe simple, but I don't know how to deal with. I'm sure some of you have enough skills an experience to help me :) In my database, I've got a table managing the users' permissions. There's a global menu (for all the users). To know if an user is allowed to open a

mod_proxy & remote_addr

2003-03-31 Thread Tony Collen
Hi everybody, I got into a discussion with somebody today about the use of mod_proxy with Apache 2 and [Tomcat|Jetty]/Cocoon. The discussion was about how mod_proxy passes the x-forwarded-for header which contains the "real" remote address of the client, because to the servlet container, the remo

2.1 dev - CVS whats the new steps to build

2003-03-31 Thread e nio
Hi I wanted to build 2.1dev with all the samples including the ones in the scratchpad. What is the command to build this now? I tried this and none of the samples were built, all I got was the Welcome to Cocoon, none of the samples dir and subdirs is on the war file created with this command:

Re: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Josema Alonso
Sure: public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) throws java.lang.Exception { Map resultMap = super.act(redirector, resolver, objectModel, source, params); Request request = (Request) objectModel.get(Constants.REQUEST_OBJE

Re: Paginator Transformer

2003-03-31 Thread Yahoo
sure... here it is - Original Message - From: "Geoff Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer > I'll check on this tonight. Is there any chance that > you're using an older checkout? What module name >

Re: Paginator Transformer

2003-03-31 Thread Yahoo
Sure... here it is - Original Message - From: "Geoff Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 11:38 AM Subject: Re: Paginator Transformer > I'll check on this tonight. Is there any chance that > you're using an older checkout? What module nam

[2.1-dev] Problem with use-request-parameters

2003-03-31 Thread Cummings, Charles Steven (UMC-Student)
Hello all, I'm having issues sending email to cocoon-users from my main email ([EMAIL PROTECTED]) that I use for it, so I'm going to temporarily send email from this one. I've got a problem with my XSLT transforms in my sitemap running a checked-out and built version of cocoon from within the l

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
I'm using xml-cocoon2. --- Geoff Howard <[EMAIL PROTECTED]> wrote: > I'll check on this tonight. Is there any chance > that > you're using an older checkout? What module name > are you using? xml-cocoon2 or cocoon-2.1 ? The > first is supposed to invisibly mirror the second (I > think), > but

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
I'll check on this tonight. Is there any chance that you're using an older checkout? What module name are you using? xml-cocoon2 or cocoon-2.1 ? The first is supposed to invisibly mirror the second (I think), but you never know. Geoff At 11:31 AM 3/31/2003, you wrote: OK, I fixed the jar and i

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
Well, wait a minute - if it's broken in cvs it needs to get fixed and it should be quick. As I don't have a checked out copy here, can you look in src/targets/compile-build.xml and send the target for package-scratchpad, and compile-scratchpad and also tell me what you have in build.properties for

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev <[EMAIL PROTECTED]> wrote: > I'm using 2.1dev from yesterday.

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
I'm using 2.1dev from yesterday. How would I fix the jar? --- Geoff Howard <[EMAIL PROTECTED]> wrote: > Is this 2.1dev or 2.0.4? I seem to remember this > problem from 2.1dev a > month or > so ago but it should now be fixed - if not, let me > know. Your choices will be > to update from cvs or

Re: Tomcat problem (newbie)

2003-03-31 Thread Joe Williams
Sorry for the waste of bandwidth, but you can disregard the previous message. Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Paginator Transformer

2003-03-31 Thread Geoff Howard
Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or so ago but it should now be fixed - if not, let me know. Your choices will be to update from cvs or to manually fix the jar. I'd recommend the first but I or someone else can help you with the second if need be. The

Paginator Transformer

2003-03-31 Thread Alex Romayev
Hi, I'm having problems declaring Paginator in my sitemap, I suspect this has to do with the new build system. Here is what I have in the sitemap: This gives me: ERROR (2003-03-31) 10:44.11:673 [sitemap] (/cocoon/romayev/) Thread-7/ExtendedComponentSelector: Could not load class org.apach

upload - webdav

2003-03-31 Thread Olivier GUCKERT
Now, i can use protected webdav directory to serve files with Cocoon : thanks Guido. What i want to do yet et upload files with Cocoon to this protected webdav directory. Is it a simple way to do this ? Thanks Olivier - To uns

Tomcat problem (newbie)

2003-03-31 Thread Joe Williams
After changing a parameter in my main sitemap, and then restoring the original config, my Tomcat will not start. Looking at the catalina.out log, I find the error pasted below. Clues, please? java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Cl

RE: Getting content from a URL or servlet

2003-03-31 Thread Colin W. Kingsbury
File generator worked just fine. I'm using 2.something. Best, -cwk. -Original Message- From: Delis, Christopher E. [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:59 PM To: '[EMAIL PROTECTED]' Subject: RE: Getting content from a URL or servlet or if that doesn't work, try type=

Re: Authentication - Accessing The Context

2003-03-31 Thread Antonio Gallardo
> Also is it possible to access the information stored in the > 'authentication' > context via 'xsp-session' in an XSP. > > Thanks > > Tony "Officially" you cannot use the but if you apply the path at: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070 you can use the tag in XSP. By the

XMLFORM + Oracle related query..

2003-03-31 Thread Gautam Ganguly
hi there, I am trying to use what ever i have gathered so far from the XMLForm and also related examples based on JavaBean and Xindice.This is what i am thinking of creating as a prototype: Query:1--- A user is asked to

Re: Changing doctype (newbi)

2003-03-31 Thread Magne Skjeret
At 13:52 31.03.2003 +0200, you wrote: hum, I think you have an error in your sitemap. should be . Ah. That made thing a whole lot better :-) But I still get the doctype twice in the html. Both for frameset and 'normal' pages Magne Lionel At 13:42 31/03/2003 +0200, you wrote: Hi I have

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Sylvain.Thevoz
Hi again, Could you give an example of your code? Thanks Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED] Date: lundi, 31. mars 2003 13:58 À: [EMAIL PROTECTED] Objet: RE: XMLForm: how to retrieve URL parameter? Yes, if you go this way. You can call its parent act

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Josema Alonso
Yes, if you go this way. You can call its parent act method if needed at the beginning anyway. When I used that code, my first line in the action was: Map resultMap = super.act(redirector, resolver, objectModel, source, params); Anyway, maybe going the other way suggested in this thread would be

Re: Changing doctype (newbi)

2003-03-31 Thread Lionel Crine
hum, I think you have an error in your sitemap. should be . Lionel At 13:42 31/03/2003 +0200, you wrote: Hi I have some problems with the doctype of a page. I want to set the doctype for one xsp page different from the others. I want to have the frameset dtd on the frameset ( of course). I h

Changing doctype (newbi)

2003-03-31 Thread Magne Skjeret
Hi I have some problems with the doctype of a page. I want to set the doctype for one xsp page different from the others. I want to have the frameset dtd on the frameset ( of course). I have no luck adding the doctype to the the frameset. The loose.dtd is applied to all pages. And it is even app

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Sylvain.Thevoz
Hi Josema, Do I need to override the act() method in the Action? Regards Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED] Date: lundi, 31. mars 2003 11:58 À: [EMAIL PROTECTED] Objet: RE: XMLForm: how to retrieve URL parameter? If i remember correctly, the Request

Re: serve files stored in a webdav repository

2003-03-31 Thread Guido Casper
If you want read-only access you can try: http://user:[EMAIL PROTECTED]/doc.xml"/> HTH Guido Guido Casper - s&n AG, Open Source Competence Center Tel.: +49-5251-1581-87 Klingenderstr. 5mailto:[EMAIL PROTECTED] D-33100 Paderbo

serve files stored in a webdav repository

2003-03-31 Thread Olivier GUCKERT
Hello I need to serve with Cocoon some files stored in a Webdav repository. The access to the WEB-DAV directory is protected via login-password and i want this directory to be reserved to cocoon (not to each visitor). How schould i configure my sitemap.xmap to make it possible for Cocoon to send l

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Josema Alonso
If i remember correctly, the Request is held in the objectModel, so in your act method you can do: Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT); And get the desired paramater from there. Best. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En

Re: XALAN vs. XSLT Transformer

2003-03-31 Thread Upayavira
> can anyone describe in a short form what´s the difference between the > XALAN and the XSLT Transformer? Er, there isn't such a thing as a XALAN transformer, nor strictly speaking a XSLT one. There is a TRAX transformer. You configure it to use whatever TRAX complient transformer classes you have

RE: XMLForm: how to retrieve URL parameter?

2003-03-31 Thread Lyall, Keith
Title: RE: XMLForm: how to retrieve URL parameter? Hi, Try putting code like this in the prepare() method: Request request = getRequest(); String stringId = request.getParameter("id"); Keith. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 March 2

Re: Authentication - Accessing The Context

2003-03-31 Thread Bruno Dumon
On Mon, 2003-03-31 at 10:28, [EMAIL PROTECTED] wrote: [...] > > [NamespaceNormalizingDOMStreamer] Encountered a > DOM Element without a localName. DOM Level 1 trees > are not supported by this DOMStreamer. > Update your Cocoon CVS. This has been fixed for weeks. -- Bruno Dumon

Question about doctype with Cocoon 1.8.2

2003-03-31 Thread David Lanfranconi
Title: Question about doctype with Cocoon 1.8.2 Hi ! How can I remove the “DOCTYPE” declaration in an output HTML ??? http://www.w3.org/TR/REC-html40/strict.dtd"> I have a problem with _javascript_ and I don’t have a solution… Thank’s ! Dave

RE: XALAN vs. XSLT Transformer

2003-03-31 Thread Robert Douglass
XALAN is an XSLT Transformation engine. By default, it is the engine used by the cocoon XSLT Transformer, which is just a cocoon component, and not tied to any specific engine implementation. -Original Message- From: Helmut Tammen [mailto:[EMAIL PROTECTED] Sent: Monday, 31 March, 2003 1

XALAN vs. XSLT Transformer

2003-03-31 Thread Helmut Tammen
Hi, can anyone describe in a short form what´s the difference between the XALAN and the XSLT Transformer? Thanks Helmut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Xpath translate...

2003-03-31 Thread Lionel Crine
To do this I use an xsp page. I get the request parameters and apply some modification and put it in a tag. then I use an xsl page to get the value in the tag and display it. Lionel At 16:24 30/03/2003 +0100, you wrote: Hi, after trying this {request:translate(query, '+', ' ')}, I don't get any

Authentication - Accessing The Context

2003-03-31 Thread tdawber
I'm using the authentication framework in version 2.1 of cocoon. I can get the system to authenticate a user and then re-direct to the correct page based on whether they were authenticated or not. However, I'm having a problem trying to retrieve information from the 'authentication' context of t

Re: Shipping compiled translets rather than XSL files in plain textformat

2003-03-31 Thread Stephan Michels
On Sat, 29 Mar 2003, jcplerm wrote: > Is it possible to deploy Cocoon applications at customer sites just by installing > compiled versions of XSL stylesheets (translets) rather than supplying > them in plain text format? Write out own Transformer, and use a serialized form of the templates, for