Re: Reference of transforms in sub-sitemap

2003-06-24 Thread Andreas Hartmann
Jeff Sexton wrote: Can I reference a a stylesheet that is off in a different subsite instead? Something like: Yes, this is possible. But I would rather suggest to use a common location-independent cocoon:// call: The common stylesheets would be served by your main sitemap (or a special sub-s

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: fGraphPtLabel if ((fGraphPtLabel != null) && (fGraphPtLabel.equals("name"))) { 14 } else { 1 }

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: But I wouldn't recommend this solution, even if it works. Why that? Just curious - since I added that tag. Of course the get-sitemap

Re: forwarding paremeter to xsp

2003-06-06 Thread Andreas Hartmann
Yury Mikhienko wrote: try { test = parameters.getParameter("param1"); }catch (ParameterException pe) { test = "nothing %(("; }; test = parameters.getParameter("param1", "nothing %(("); :) BTW - sorry for my repitition of your answer, the order of messages in my inbox wa

Re: using pipeline matched parameters in XSP

2003-06-06 Thread Andreas Hartmann
Paweł Żukrowski wrote: Hi All, is there a way to use parameter form pipeline match in XSP page? for example if pipeline match looks like ... normalyy in pipeline we can use {1} but how can I use it in process.xsp? I would recommend to parameterize the logicsheet because that ma

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: 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: now I'd like to use the output as the source of another pipeli

Re: commandline executes matching pipeline three times

2003-06-04 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): In order to follow links and rewrit

Re: Using Path expression in Map Action type

2003-06-04 Thread Andreas Hartmann
Hi Shane, Shane McEneaney wrote: .. The code above fails and I have found no documentation to suggest if there is a way of doing it. this way it won't work. The sitemap is compiled to a Java program (tomcat/work/.../sitemap_xmap.java). A

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

2003-06-04 Thread Andreas Hartmann
Geoff Howard wrote: [...] I think that should work. It may, but I'd not recommend it. Agreed. I should have mentioned this :) Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

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

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 threads

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 source).

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 a

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, ever

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

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

2002-09-10 Thread Andreas Hartmann
I will probably add some new content 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 P

I'm looking for a company working with Cocoon!

2002-09-10 Thread Andreas Hartmann
ility 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 t

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: > (root element) > > > > >text >text >text > > >... >...

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

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 inclu

Re: Automatic FAQ

2002-03-22 Thread Andreas Hartmann
>FYI, the domain name cocoon-users.org is available. > I agree that a site like the one you mentioned would be a very >valuable resource. However, the entry point for new cocoon users >is the site on apache.org; we probably should focus on improving >it instead of making lots of small sites.

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 che

Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Hi Yury, >ÂÞÃù/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 i

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   

Re: how to call a servlet from a generator, but with parameters POSTed!

2002-03-13 Thread Andreas Hartmann
Hi Walter, *** REPLY SEPARATOR *** On 13.03.2002 at 18:46 Walter Gamba wrote: >Hello! > >SUMMARY: How to use a servlet as a generator in Cocoon, but allowing forms >data to be passed via POST method (And NOT GET!!) I had the same problem some months ago. And I re-implemented

Re: cocooncenter.de is now cocooncenter.org

2002-03-12 Thread Andreas Hartmann
just 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 i

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 me to 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: 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 y

RE: Newbies: New Tutorial about Request Parameters

2002-02-27 Thread Andreas Hartmann
*** REPLY SEPARATOR *** On 27.02.2002 at 16:32 Vadim Gritsenko wrote: >> From: Andreas Hartmann [mailto:[EMAIL PROTECTED]] > > > >> >Being a newbie, I would say the biggest single positive change you >could >> >make would be to put a li

Re: Newbies: New Tutorial about Request Parameters

2002-02-27 Thread Andreas Hartmann
s are keeping the struts project >moving forward at a nice pace. I sense that cocoon is now about where >struts was 6 months 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

RE: Newbies: New Tutorial about Request Parameters

2002-02-27 Thread Andreas Hartmann
Ng Lumigent -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,   I created a little tutorial o

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

2002-02-26 Thread Andreas Hartmann
y I could imagine how it works. Or did you write your own generator for XML-RPC? Greetings, Andreas > > > > > > >"Andreas > >Hartmann"To: >[EMAIL PROTECTED] > > >nter.de> Subje

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

2002-02-26 Thread Andreas Hartmann
o you want to use your resources in Cocoon? Not as XML sources? Greetings, Andreas > > > > > > > >"Andreas > >Hartmann"To: >[EMAIL PROTECTED] > > >

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

2002-02-25 Thread Andreas Hartmann
Two additions ... *** REPLY SEPARATOR *** On 25.02.2002 at 22:47 Andreas Hartmann wrote: >*** REPLY SEPARATOR *** > >On 25.02.2002 at 15:20 [EMAIL PROTECTED] wrote: > >>Can someone point me to a document describing how to mount my own Web

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

2002-02-25 Thread Andreas Hartmann
*** REPLY SEPARATOR *** On 25.02.2002 at 15:20 [EMAIL PROTECTED] wrote: >Can someone point me to a document describing how to mount my own WebApps >(powered by cocoon). I want to deploy several, but not under the cocoon >heirarchy. > Just add a context entry to your tomcat/s

Newbies: New Tutorial about Request Parameters

2002-02-22 Thread Andreas Hartmann
Hi Cocoon users,   I created a little tutorial on using request parameters. You can find it at http://www.cocooncenter.de/cc/documents/resources/request-params/index.html .   If anyone wants to publish other uses for request 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 would be 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 http://www.cocoonce

RE: How to call an external Servlet?

2002-01-14 Thread Andreas Hartmann
query and > Could you give me some more info about this? I already tried to do 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?

2002-01-14 Thread Andreas Hartmann
ap, 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 '&' instead of '&' > > >-Mensaje original- >De: Andreas Hartmann [mailto:[EMAIL

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):       {    RequestDispatcher dispatcher = request.getRequestDispatcher("/myservletdir/myservlet");    dispatcher.include(re

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 di

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. Here is a snippet from my sitemap that passes parameters to the servlet at the end of the URL:                  ...       

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. Here is a snippet from my sitemap that passes parameters to the servlet at the end of the URL:                  ...       

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:     and copy the files into the same folder. Works

RE: C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann
my problem ...   Greetings, Andreas   -Original Message-From: Andreas Hartmann [mailto:[EMAIL PROTECTED]]Sent: Monday, November 12, 2001 2:41 PMTo: [EMAIL PROTECTED]Subject: C2, DocBook - TransformerException in document() Hi Cocoon-Community!   I use

C2, DocBook - TransformerException in document()

2001-11-12 Thread Andreas Hartmann
Hi Cocoon-Community!   I use - Cocoon2 - DocBook 4.1.2 - Norm Walsh's XSL Stylesheets 1.46 (CVS Version from 2001-11-11)   When I try to transform a simple article, I get the following message:   Error in TraxTransformer: file://intranet3/stylesheets/docbook-xsl-1.46-cvs/html/../common/l10n.xs