Re: XSP/Java - simple? problem

2003-06-11 Thread Andreas Hartmann
Hi Derek, Derek Hohls wrote: Hi Can someone explain what is wrong with the following code: labels show=true xsp:attribute name=labelxsp:exprfGraphPtLabel/xsp:expr/xsp:attribute xsp:logic if ((fGraphPtLabel != null) amp;amp; (fGraphPtLabel.equals(name))) {

Re: using pipeline matched parameters in XSP

2003-06-06 Thread Andreas Hartmann
Steven Noels wrote: On 5/06/2003 19:20 Andreas Hartmann wrote: I don't know if the util logicsheet works for this kind of parameters, you could try it: xsp-util:get-sitemap-parameter name=1 / But I wouldn't recommend this solution, even if it works. Why that? Just curious - since I added

Re: internal pipeline

2003-06-05 Thread Andreas Hartmann
Hi Ali, Ali Mesbah wrote: Hi all, I have a problem and don't know if it is a bug in Cocoon or if I'm doing something wrong. What I have is a pipeline which transforms an XML (source) file into an XSLT (target) stylesheet: map:match pattern=xms/test map:generate

Re: internal pipeline

2003-06-05 Thread Andreas Hartmann
Ali Mesbah wrote: [...] You can try to set the log level to DEBUG and look at the sitemap log to see if the correct steps are executed. No. There is a major difference between the log information when the xms/test pipeline is called directly and when it is called by the second pipeline through

Re: commandline executes matching pipeline three times

2003-06-05 Thread Andreas Hartmann
Geert Van Damme wrote: Hi, I'm trying to run Cocoon from the command line, but it seems that the matching pipeline for the requested URI is executed three times instead of just one. Look at the Cocoon Wiki (http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine): snip In order to follow links and

Re: XSP debugging

2003-06-04 Thread Andreas Hartmann
morten svanæs wrote: Hi, I'm wondering if there's someway to get the correct linenumber from a xsp stacktrace, when I get a error it's always on some very high number. The number is correct. You get the line number of the generated Java file (look in your tomcat/work directory to find the

Re: map:redirecto-to after map:transform/map:generate?

2003-06-04 Thread Andreas Hartmann
Peter Klotz wrote: So how can one read a file from the filesystem after a transformation? You can write a transformer / serializer that reads a file and generates the appropriate SAX events. I don't know if such a component already exists. And why does the redirect not work? There are some

Re: map:redirecto-to after map:transform/map:generate?

2003-06-04 Thread Andreas Hartmann
Andreas Hartmann wrote: Peter Klotz wrote: So how can one read a file from the filesystem after a transformation? You can write a transformer / serializer that reads a file and generates the appropriate SAX events. I don't know if such a component already exists. Maybe you could use

Re: map:redirecto-to after map:transform/map:generate?

2003-06-04 Thread Andreas Hartmann
Geoff Howard wrote: [...] xsl:template match=/ xsl:copy-of select=document($source)/*/ /xsl:template I think that should work. It may, but I'd not recommend it. Agreed. I should have mentioned this :) Andreas - To

Re: Using Path expression in Map Action type

2003-06-04 Thread Andreas Hartmann
Hi Shane, Shane McEneaney wrote: map:match pattern=get* map:act type=locale/ map:act type=session-validator map:parameter name=descriptor value=descriptors/crs-params.xml/ map:act type={../1} .. The code above fails and I have found no

CLI problems (ComponentSelector, cocoon protocol)

2003-06-03 Thread Andreas Hartmann
Hi list, I'm running the Main class of Cocoon 2.0.4 from an Ant buildfile on Windows XP. The following problems occur: - The ComponentSelector does not find default components (could not find component for hint []). If I add type attributes to all component references in the sitemap,

Re: CLI problems (ComponentSelector, cocoon protocol)

2003-06-03 Thread Andreas Hartmann
Upayavira wrote: I'd suggest trying the CLI from 2.1. It has much greater functionality. OK, I could try that. But I guess it isn't possible to use the Main class from 2.1 for a 2.0.4 site, is it? And, when I've summoned up the guts to make my first commit, it'll handle broken links much better

Re: What DTD's do you use for a plain site?

2002-09-29 Thread Andreas Hartmann
Justin, What Doctypes are people using for general information to be displayed at HTML? I'm doing a very simple site which will be mostly static HTML. The data is basically intended for presentation only, so there isn't much of a datatype I need to model, the only reason I'm going for

I'm looking for a company working with Cocoon!

2002-09-10 Thread Andreas Hartmann
analyses. If you're looking for an enthusiastic and Cocoon-experienced co-worker or employee, I'd like to get in contact with you! Greetings from Germany, Andreas Hartmann www.cocooncenter.org Your Guide to Apache Cocoon

RE: I'm looking for a company working with Cocoon!

2002-09-10 Thread Andreas Hartmann
soon. I will keep an eye out for jobs in the US that use Cocoon and Java/XML and forward it to your attention. This would be great! Greetings, Andreas Conrad Original Message: - From: Andreas Hartmann [EMAIL PROTECTED] Date: Tue, 10 Sep 2002 14:00:29 +0200 To: [EMAIL PROTECTED

RE: XSL question

2002-03-28 Thread Andreas Hartmann
*** REPLY SEPARATOR *** On 26.03.2002 at 15:47 Argyn Kuketayev wrote: As I've said before, you can use an action to get params from whereever you need then expose them to sitemap (using returning map in an action). Then you can simply set those params in your trasformer

Re: Simple XSL problem, but NEED HELP!

2002-03-28 Thread Andreas Hartmann
Hi, *** REPLY SEPARATOR *** On 28.03.2002 at 09:50 Hahn Kurt (CHA) wrote: I really start losing it, I'm trying to do something very simple for hours, and it just wouldn't work. With an XML document like this: page (root element) content rowset row loj_pt_odj /

Re: breadcrumb navigation

2002-03-25 Thread Andreas Hartmann
Hi Charles, Hello List! Has anyone figured out a good way to generate breadcrumb navigation links using XSL and Cocoon? Like the ones at the top of Yahoo! pages. We plan on doing this and I don't want to reinvent the wheel. I'd rather not do it with sessions or cookies . . . I included

Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Title: Help on sitemap Hi, *** REPLY SEPARATOR ***On 14.03.2002 at 14:10 ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà wrote: Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if

Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Hi Yury, What about using a RequestParamAction? Greetings, Andreas 2Andreas: My example just more for undestand of cocoons action's work. (May be :) ) OK, this can't be bad :) Greetings, Andreas - Please check that your

cocooncenter.de is now cocooncenter.org

2002-03-12 Thread Andreas Hartmann
Hi Cocoon users! First, I want to thank you for the positive feedback and suggestions that helped meto improve the cocooncenter site. Of course, special thanks for the contributions! I decided to "upgrade" to an international domain, looking forward to see how the site will evolve during

Re: cocooncenter.de is now cocooncenter.org

2002-03-12 Thread Andreas Hartmann
published the tutorial. Greetings, Andreas Regards, Konstantin Piroumian - Original Message - From: Andreas Hartmann To: [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 3:09 PM Subject: cocooncenter.de is now cocooncenter.org

RE: Some Design Help, please

2002-03-07 Thread Andreas Hartmann
Hi Sreedhar, I am trying to fit bonebreaker into a new folder structure to learn some site map fundas, and I am getting the following error: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: gvs//home/home.section That might be a problem with your

RE: Newbies: New Tutorial about Request Parameters

2002-02-27 Thread Andreas Hartmann
-Original Message-From: Andreas Hartmann [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:05 PMTo: [EMAIL PROTECTED]Subject: Newbies: New Tutorial about Request Parameters Hi Cocoon users, Icreated a little tutorial on using request parameters

Re: Newbies: New Tutorial about Request Parameters

2002-02-27 Thread Andreas Hartmann
to a year ago. All in all, I would say that cocoon has advanced sufficiently since the 1.0 days that I am considering using it as a web platform for the second half of a database course. Bud Andreas Hartmann wrote: *** REPLY SEPARATOR *** On 26.02.2002 at 15:35 Stephen Ng

Re: How To Mount My WebApp (powered by cocoon)

2002-02-26 Thread Andreas Hartmann
? Greetings, Andreas Andreas HartmannTo: [EMAIL PROTECTED] user@cocoonce cc: nter.de Subject: Re: How To Mount My WebApp (powered by cocoon) 02/26/2002

Newbies: New Tutorial about Request Parameters

2002-02-22 Thread Andreas Hartmann
Hi Cocoon users, Icreated a little tutorial on using request parameters. You can find it at http://www.cocooncenter.de/cc/documents/resources/request-params/index.html. If anyonewants topublishother uses forrequest parameters - or anything else - just contact me at [EMAIL PROTECTED] .

www.cocooncenter.de is online!

2002-02-17 Thread Andreas Hartmann
Hi cocoon users, I finally created a little site around my tutorial. Maybe you can take the time to have a look at www.cocooncenter.de. I wouldbe pleased with any comments and suggestions and will try to answer your questions in the discussion board. Greetings, Andreas

Re: HowTo Cocoon pages

2002-02-06 Thread Andreas Hartmann
Hi Michal, *** REPLY SEPARATOR *** On 06.02.2002 at 15:42 DURDINA Michal wrote: Hello Cocoon users, I have just completed few tutorial pages along with examples about developing applications in Cocoon2. The location is http://durdo.miesto.sk/Cocoon2HowTo/index.html. I

My Cocoon Tutorial is Online!

2002-01-17 Thread Andreas Hartmann
Hi folks, I'm about to create a website about Cocoon and started today with a little tutorial. It is directed to newbies (actually, I'm a newbie too ...) and describes a possibility to create a simple hierarchic site with a navigation menu. The tutorial can be found at

RE: How to call an external Servlet?

2002-01-14 Thread Andreas Hartmann
in the sitemap, I want to forward the parameters from an HTML form (it's a message board servlet). this one works fine if GET method is available. beware to use 'amp;' instead of '' -Mensaje original- De: Andreas Hartmann [mailto:[EMAIL PROTECTED]] Enviado el: domingo, 13 de enero de 2002 18

RE: How to call an external Servlet?

2002-01-14 Thread Andreas Hartmann
it with an action, without any success ... -Original Message- From: Andreas Hartmann [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 7:22 AM To: [EMAIL PROTECTED] Subject: RE: How to call an external Servlet? Hi Lukas, thanks for your answer, but ... [see below] *** REPLY

How to call an external Servlet?

2002-01-13 Thread Andreas Hartmann
Hi folks, I want to process the output of an external servlet through C2. The servlet gets FORM-parameters via GET and POST. How can I invoke the servlet? Thanks in advance, Andreas

How to use RequestDispatcher?

2002-01-09 Thread Andreas Hartmann
Hi, I want to process the output of a servlet through Cocoon. Because I have to pass parameters with POST, I try to use RequestDispatcher.include(request, response): xsp:logic { RequestDispatcher dispatcher = request.getRequestDispatcher("/myservletdir/myservlet");

Send Parameters to Generator with POST

2001-12-09 Thread Andreas Hartmann
Hi all, I want to use a servlet (discussion forum) from another Tomcat context inside Cocoon 2. The servlet produces XML data that shall be transformed inside Cocoon. Hereis asnippet from my sitemap that passes parameters to the servletat theend ofthe URL: map:actions default="request"

Re: Send Parameters to Generator with POST

2001-12-09 Thread Andreas Hartmann
Hi Bernhard, thanks for your help, but I still have some trouble ... If the forum servlet is in the same servlet engine: I think you may try: xsp, and use of RequstDispatcher.include(), Pass in include() the original request I tried to use something like: javax.servlet.RequestDispatcher

Send Parameters to Generator with POST

2001-12-07 Thread Andreas Hartmann
Hi all, I want to use a servlet (discussion forum) from another Tomcat context inside Cocoon 2. The servlet produces XML data that shall be transformed inside Cocoon. Hereis asnippet from my sitemap that passes parameters to the servletat theend ofthe URL: map:actions default="request"

RE: C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann
e files into the same folder. Works fine. erik stunkat Thanks - but I'm sorry, it didn't solve my problem ... Greetings, Andreas -Original Message-From: Andreas Hartmann [mailto:[EMAIL PROTECTED]]Sent: Monday, November 12, 2001 2:41 PMTo: [EMAIL PROTECTED]Su

RE: C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann
On 12.11.2001 at 15:29 Andreas Hartmann wrote: Hi Erik, On 12.11.2001 at 14:56 Erik Stunkat wrote: Hi what I did: change the includes in docbook.xsl to the same folder: xsl:include href="../VERSION"/xsl:include href=