C2 error in the page "Session Logicsheet"

2001-08-22 Thread Drasko Kokic
The page under the following URL: http://xml.apache.org/cocoon2/logicsheet-sessions.html is still having the old namespaces for the xsp, session, etc. How can we change this? TIA Drasko __ Do You Yahoo!? Make international calls for as low as $.04/

Re: Announce list?

2001-08-22 Thread Ulrich Mayring
Jeremy Crosbie wrote: > > The xml-announce list already appears to handle the Cocoon announcements. I see, thanks for the info. Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - Please check that your question has not a

Problem getting xml from DB

2001-08-22 Thread Sébastien Lefebvre
Hi, I try to get xml from my DB (MySQL), here is my piece of code : SELECT piano from TFiche where IdFiche= node is a child of so I have /page/sebas here is the piece of xml in my DB : #B1DFB0#A4D1FF When I try to apply a template in my XSL stylesheet, it does not apply the te

Re: Problem getting xml from DB

2001-08-22 Thread Hubert NEOtyk Iwaniuk
hi Sébastien, > > Hello u should use match not name hope it helps, hubert --- Ausgehende Mail ist zertifiziert virenfrei. Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de). Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18 --

esql:max-row esql:skip-row

2001-08-22 Thread Kai . Rehlen
Hi, can someone please exlpain how to use the and attributes? mypool select d.docid, d.title, d.author, h.date, h.histid from doc as d, history as h where h.docid = d.docid and d.docid != 0 and noAdmin h.histid = (select max(h2.histid) from history as h2 where h2.docid = d.docid) order by O

Re: Problem getting xml from DB

2001-08-22 Thread Sébastien Lefebvre
Oups !!! I had a template name because of the need of a and I didn't see it ! Thanks again Sébastien >hi Sébastien, > >> >>Hello >> > >u should use match not name > >hope it helps, >hubert > > > >--- >Ausgehende Mail ist zertifiziert virenfrei. >Uberpruft durch AVG Antivirus System (http:

Naming folders...bug or what?? (1.8.2)

2001-08-22 Thread annemarie . hartvigsen
Hi, after hours of debugging (trying to figure out the fault that causes "cannot output text before element" or something equally useful error info.), I moved my files to another folder. I had: welcome/welcome.xml welcome/welcome-html.xsl and changed to: startpage/welcome.xml startpage/welcom

Re: [C2b2] document() function not working?

2001-08-22 Thread Jörg Heinicke
Hello Wes, did you solve your problem? I also have my problem with this function, equal to relative/absolute path and so on, it seems to me, that the document()-function doesn't work. Best proof: I won't get my .. in the output-document, if it is written after the . And I don't

Need help with session:set-attribute

2001-08-22 Thread Enke Michael
Hello again, I need some help with the session-logicsheet. I try to set an attribute in a session but I get always a compilation error. Here is my xsp: http://apache.org/xsp"; xmlns:session="http://apache.org/xsp/session/2.0"; > apple I create a session, try to set an attribute

RE: message is null

2001-08-22 Thread Vadim Gritsenko
On a contrary. :) Regards, Vadim > -Original Message- > From: Madock Chiwenda [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 22, 2001 12:58 AM > To: [EMAIL PROTECTED] > Subject: message is null > > > Hi > > I am testing Cocoon2 on Tomcat 3.2.2. On using "Manage Employee" Sample

RE: Need help with session:set-attribute

2001-08-22 Thread Vadim Gritsenko
Try "apple" Vadim > -Original Message- > From: Enke Michael [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 22, 2001 9:01 AM > To: [EMAIL PROTECTED] > Subject: Need help with session:set-attribute > > > Hello again, > I need some help with the session-logicsheet. > I try to set an

RE: Need help with session:set-attribute

2001-08-22 Thread Drasko Kokic
would anybody know how to get the session object in C2? I would need to pass it to some java methods :-( --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > Try > name="fruit">"apple" > > Vadim > > > -Original Message- > > From: Enke Michael > [mailto:[EMAIL PROTECTED]] > > Sent: Wednesda

C2: can't match images in sitemap

2001-08-22 Thread Chris Newland
Hi All, I'm trying to add a map:match to my sitemap to fetch images but they are not fetched (my fault, Cocoon2 is working great) Location of my files: tomcat/webapps/cocoon/docs/samples/pages/my_page.xsp tomcat/webapps/cocoon/docs/samples/images/my_image.jpg tomcat/webapps/cocoon/stylesheets/m

Re: C2 error in the page "Session Logicsheet"

2001-08-22 Thread Christopher Painter-Wakefield
How about copying the existing one into the Cocoon 1 documentation before changing it? It would also be nice for the original Request logicsheet docs to be copied into the Cocoon 1 docs (they were originally for Cocoon 1, too). There are still a lot of folks working with Cocoon 1 and asking que

Re: Need help with session:set-attribute

2001-08-22 Thread Enke Michael
Ok, if I do this, I get also an error. Now there is the semicolon missing! The java file looks like: ... XSPObjectHelper.xspExpr(contentHandler, XSPRequestHelper.getSessionId(objectModel)); this.contentHandler.endElement("", "session-id", "session-id");

Re: can't match images in sitemap

2001-08-22 Thread Tibi DONDERA
IMHO, Your configuration seems right. I bet that using /images/my_image.jpg will give you the image. But the tag that is in your page should be After all, the URL of the page is /pages/my_page.html, right? Hope this helps. - Original Message - From: "Chris Newland" <[EMAIL PROTECT

Re: C2: can't match images in sitemap

2001-08-22 Thread java guru
Hi., The debug "guru" of cocoon2 is the log..As you might already know, everything(well almose) the passes thru cocoon2 is logged.. So check the log bottom up would give u idea of whats going on with ur jpg's.. good luck --- Chris Newland <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm trying

Re: [C2b2] document() function not working?

2001-08-22 Thread Christopher Painter-Wakefield
If you are getting nothing back when you use the document() function, make sure the file you are opening with document() is valid XML. I found out the hard way that document() fails silently (at least in Cocoon 1.8.2) when the XML is bad. Try opening the XML document in IE or something like tha

RE: C2: can't match images in sitemap

2001-08-22 Thread l.moran
Chris, Try with a single star in map:match, like in: Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] +39 0744 59 85 1 Office +39 0335 681 02

RE: C2: can't match images in sitemap

2001-08-22 Thread Vadim Gritsenko
Chris, Access "images/my_image.jpg" from the browser and look into cocoon.log file. (you may want to delete existing cocoon.log - if any - before this) Vadim > -Original Message- > From: Chris Newland [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 22, 2001 10:10 AM > To: Cocoon-Us

Re: Naming folders...bug or what?? (1.8.2)

2001-08-22 Thread Christopher Painter-Wakefield
There shouldn't be any issues with folder naming; I use this pattern all the time. I believe the particular error you mention occurs when you try to put text in the output at the root level (e.g., not inside an enclosing element). For example, Hello, World! ... -Christopher Please r

User autentication with cookies...

2001-08-22 Thread Paolo
Hi everyone... i am new in Cocoon please sorry for my stupid questions I'll ask here... I need a simple user authentication mode, then I am writing my code around the 'protected area' web application in Cocoon 2. The only change I need to do is setting a cookie with username and password to the

RE: Need help with session:set-attribute

2001-08-22 Thread Vadim Gritsenko
Enke, Check session.xsl in cocoon.jar: XSPRequestHelper.setSessionAttribute(objectModel, String.valueOf(), ); Note: there is ";" after setSessionAttribute. If your copy does not have one - it's time to upgrade. Vadim > -Original Message---

AW: C2: can't match images in sitemap

2001-08-22 Thread Jörn Heid
What URL produces ? If it's "pages/test.xsp" the link has to be "../images/my_image.jsp" ... -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 22. August 2001 16:30 An: [EMAIL PROTECTED] Betreff: RE: C2: can't match images in sitemap Chris,

RE: can't match images in sitemap

2001-08-22 Thread Chris Newland
Thanks everyone, Accessing the images directly works fine and so does prefixing the url with ../ (path back to webapp root) but my understanding was that the sitemap provided a total abstraction between the url fetched by the browser "images/my_image.jpg" and the actual file on disk. Prefixing m

Re: Dynamic stylesheets (Newbie question)

2001-08-22 Thread Christopher Painter-Wakefield
Kevin, there are many ways of doing what you want to do, outside of modifying your code as has already been suggested. You can generate Cocoon processing instructions dynamically in your XML, using the tag (see http://xml.apache.org/cocoon/xsp.html for instructions on this.) You can also chai

RE: can't match images in sitemap

2001-08-22 Thread Vadim Gritsenko
> -Original Message- > From: Chris Newland [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 22, 2001 11:00 AM > To: [EMAIL PROTECTED] > Subject: RE: can't match images in sitemap > > > Thanks everyone, > > Accessing the images directly works fine and so does prefixing the url with >

RE: can't match images in sitemap

2001-08-22 Thread java guru
Yes., there is abstraction between the url and actual location of the files on the disk...But from my understanding what the situation is.. 1. If you have sent over html to browser with image link as "/images/image1.jpg" and that html url is "http://localhost:8080/cocoon/welcome";.. 2. When th

Re: [C2b2] document() function not working?

2001-08-22 Thread Jörg Heinicke
Hi Christopher, thanks for your reply, but it must be another problem. I tested the stylesheet with all the XML-files on the commandline with Ant/Xalan and without Cocoon - it works fine. But I want to use Cocoon for doing this transformation on the fly. For the document()-function I have a q

Re: can't match images in sitemap

2001-08-22 Thread Piroumian, Konstantin
If you have all your images in one directory (%context%/images) then you can use this: This will redirect all requests like: docs/samples/pages/images/img.jpg <-- this is what you get with your src attribute to %context%/images This is not a good solution, but it works and you can use

RE: can't match images in sitemap

2001-08-22 Thread Chris Newland
Ok, thanks all, this is much clearer now. btw, is there any way to remove "cocoon" from the URL, I guess this is a tomcat configuration issue so I'll have a look in there first. thanks, Chris > -Original Message- > From: java guru [mailto:[EMAIL PROTECTED]] > Sent: 22 August 2001 16:08

Re: Need help with session:set-attribute

2001-08-22 Thread Enke Michael
Ok, thanks for the tip. The problem was the timestamp on the session.xsl soo the build.sh didn't recognize that src/.../session.xsl was newer than build/cocoon/src/.../session.xsl which had no ";" Michael Vadim Gritsenko wrote: > > Enke, > > Check session.xsl in cocoon.jar: > > >

RE: can't match images in sitemap

2001-08-22 Thread Luca Morandini
Chris, there is a FAQ entry on this at the Cocoon2 site (it works only on Apache, though...). Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] +39 0744 59 85 1 Office

[C2] with Tomcat 3.2.3 under win2k

2001-08-22 Thread Olivier Pineau
I have troubles with C2   My build is succesfull but I cant launch the servlet.   When I go to http://localhost:8080/cocoon/, I see the following page :   Please help,   Olivier   Cocoon 2 - Internal server error type internal-server-error message The sitemap handler's sitemap is not avai

[C2] issues/observations

2001-08-22 Thread Kito D. Mann
Hello, I'm currently evaluating Cocoon 2 for the next version of our site (we deployed with Cocoon 1.8 earlier this year). I spent a couple of days porting the old application to Cocoon 2 as a test, and I've run into a few issues that I'm hoping you can help me sort out. Some of these things m

Q: separation of content and logic

2001-08-22 Thread Enke Michael
Hi! Everywhere in the Cocoon docs I lern that it is the best to separate the content from the logic. Ok. Now I want to generate a Menuestructure from database entries in the way a filebrowser works, expand an entry on mouseclick, on the second mouseclick collapse them (html links). My first gues

RE: What's wrong?

2001-08-22 Thread Uslu, Cihan Y (MED)
In your web.xml file change init-param value to the path that points to where your cocoon.properties file located at.   web.xml -            properties    web-inf/conf/cocoon.properties . ..       Cihan -Original Message-From: Ekrem Aksoy [mailto:[EMAI

Re: [C2] with Tomcat 3.2.3 under win2k

2001-08-22 Thread Gianugo Rabellino
On Wed, Aug 22, 2001 at 11:07:14AM +0200, Olivier Pineau wrote: > I have troubles with C2 > > My build is succesfull but I cant launch the servlet. > > When I go to http://localhost:8080/cocoon/, I see the following page : > > message The sitemap handler's sitemap is not available. Please check

Re: [C2] issues/observations - platform/version

2001-08-22 Thread Kito D. Mann
FYI, I'm developing with Cocoon 2.0 b2 with Tomcat 3.2.3 (default web server) running on Windows NT 4.0. Kito D. Mann Chief Architect [EMAIL PROTECTED] Grow.Net At 11:58 AM 8/22/01 -0400, you wrote: >Hello, > >I'm currently e

[Fwd: Re: [C2b2] document() function not working?]

2001-08-22 Thread Jörg Heinicke
Hi, I'm one step further!! The problem: I looked in the wrong logfile. In the logfile for Tomcat there is written nearly the same as for Cocoon, but no errors ;-) Now I could change the link to the called XML-file. But there is still a problem: javax.xml.transform.TransformerException: Can no

performance tuning...

2001-08-22 Thread Karl Øie
Hi, I have a very standard pipeline for my project. The file "oversikten.xml" is filtered through the stylesheet "oversikten.xsl" which uses parameters sent to it to filter/rearrange the output.

Re: performance tuning...

2001-08-22 Thread Berin Loritsch
Karl Øie wrote: > > Hi, I have a very standard pipeline for my project. The file > "oversikten.xml" is filtered through the stylesheet > "oversikten.xsl" which uses parameters sent to it to filter/rearrange the > output. > > > > >

Re: [C2b2] document() function not working?

2001-08-22 Thread Wes Morgan
Yes, I solved the problem. I hadn't realized that the path needed to be relative to the stylesheet (kind of a no-brainer in retrospect). Wes Morgan Jörg Heinicke wrote: > Hello Wes, > > did you solve your problem? I also have my problem with this function, > equal to relative/absolute path an

RE: [C2] with Tomcat 3.2.3 under win2k

2001-08-22 Thread Bernie Lee
Hi Olivier   I'm having the exact same problem. I'll let you know if and when I solve it... Gotta check out the sitemap.xmap and Jdbc.Connection     -Original Message-From: Olivier Pineau [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 22, 2001 5:07 PMTo: [EMAIL PROTECTED]

AW: separation of content and logic

2001-08-22 Thread Max Larsson
Hi, > Now I want to generate a Menuestructure from database > entries in the way a filebrowser works, expand an entry on mouseclick, > on the second mouseclick collapse them (html links). > My first guess was to use nested select statements > to only get those entries I want to show (expanded or

IMPORTANT : ThreadSafe removed from Action

2001-08-22 Thread Sylvain Wallez
Hi all, According to the conclusions of the cocoon-dev thread "Why does Action implement ThreadSafe ?", ThreadSafe implementation has been removed from Action and added to all non abstract existing implementations. This means that : - you should update your existing actions so that they imple