AW: upload directory

2002-06-24 Thread Philipp Bößem
thanks, it works. -Ursprüngliche Nachricht- Von: Gerhard Hipfinger [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 25. Juni 2002 08:53 An: [EMAIL PROTECTED] Betreff: Re: upload directory Hi Philipp, look at the web.xml file in cocoons WEB-INF directory. There you find a parameter upload

Re: upload directory

2002-06-24 Thread Gerhard Hipfinger
Hi Philipp, look at the web.xml file in cocoons WEB-INF directory. There you find a parameter upload-directory. Hope this helps, Gerhard Philipp Bößem wrote: >hi, > >i can't find where to change my upload directory. i tried it in tomcat and >also in cocoon2, but couldn#t find it. would be nic

upload directory

2002-06-24 Thread Philipp Bößem
hi, i can't find where to change my upload directory. i tried it in tomcat and also in cocoon2, but couldn#t find it. would be nice, to give me a hint, where to change it. thanks - Please check that your question has not alre

RE: NPE with Profiling on 2.1-Dev

2002-06-24 Thread Carsten Ziegeler
Hi Bruce, thanks for reporting this - it should be fixed now in the latest CVS. The profiling pipeline is currently not able to profile a map:read. Carsten Carsten Ziegeler Chief Architect Open Source Group, S&N AG --

Unknown formatting object http://www.w3.org/1999/XSL/Format^sequence-specification

2002-06-24 Thread sudha.
Hello I have the below statements for using name space in my xsl file. http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> I am trying to generate a pdf file from Formating object which has been generated using saxon-6.3. I use FOP.0.20 for pdf generation. I

Re: Elegant solution for filling forms

2002-06-24 Thread Ivelin Ivanov
http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html Piroumian Konstantin wrote: >>From: Andrei Svirida [mailto:[EMAIL PROTECTED]] >> >>Hello Cocooners, >> >>I have a simple problem filling the values of my form fields. >>As it seems to be rather common and oft occuring p

Re: Sitemap parameters to XSP pages

2002-06-24 Thread Kenny Chow
Hi Fabricio, http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102266350403912&w=2 Hope this helps. Kenny --- Fabricio Chalub <[EMAIL PROTECTED]> wrote: > Hello, folks. > > How can I pass a parameter specified on the sitemap > to a XSP (and, possibly, > a logicsheet)? > > I was thinking some

Sitemap parameters to XSP pages

2002-06-24 Thread Fabricio Chalub
Hello, folks. How can I pass a parameter specified on the sitemap to a XSP (and, possibly, a logicsheet)? I was thinking something like this: And (somehow) the parameter "test" would be available on the XSP page. For exampleo, if I call the URL test-HELLOWORLD.html the value of the p

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
Thanks for the idea, seems obvious once someone points it out :) Well, although I wanted to avoid installing the X libraries as this server has no other need for them, I went ahead and did it. Lo and behold, the error went away, and another was quick to replace it: http://www.hoegg.net/error/

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Luca Morandini
Argyn, here's a snippet of a stylesheet (let's pretend name-clean contains the given parameter, be it a session, request or static parameter), which dynamically builds a stored procedure invokation for SQLTransformer to execute: true getproductsbyname

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Argyn Kuketayev
> -Original Message- > From: Luca Morandini [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 4:41 PM > To: [EMAIL PROTECTED] > Subject: RE: Getting parameters to SQLTransformer > What I would suggest is the use of stored procedures, with an > XSL building > the statement, hence:

Re: Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
Hi Luca - I agree that the SPs are the way to go - when I was a DBA, I used to enforce their use all the time. What I was after here was to include sitemap/request/session parameters into the XML file during the generation phase, so that the complete query would be passed to the transformer.

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Peter Royal
On Monday 24 June 2002 04:24 pm, Ryan Hoegg wrote: > I appreciate the quick and thoughtful response, Pete. I changed > cocoon.xconf to use an interpreted sitemap, and succeeded only in making > a change in the error received. It still is asking for libXp.so, but is > now buried in other errors.

RE: Getting parameters to SQLTransformer

2002-06-24 Thread Luca Morandini
Lajos, the substitution in SQL Transformer uses parameters defined in the sitemap, which don't fit your bill I presume... ...but, being it a transformer, you can feed it any SQL you have built from whatever source (XSL, XSP, plain XML file, ...), including any parameters of your choice. This is

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
I appreciate the quick and thoughtful response, Pete. I changed cocoon.xconf to use an interpreted sitemap, and succeeded only in making a change in the error received. It still is asking for libXp.so, but is now buried in other errors. I captured the error from my development server and pos

Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
I think I know the answer, but is there any way to construct dynamic queries using SQLTransformer? Specifically, I'd like to build the where clause of my query using either a session attribute or a sitemap parameter. I've been thru the code and don't see that it can be done, but I thought I'd

xsp: pb with snapshots versions ?

2002-06-24 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Title: xsp: pb with snapshots versions ? Hi !!     I tried some snapshots versions of Cocoon2[.1-dev] : 2002.06.24.041712, 21.102726, 20.103348. Every time, the xsp samples don't work (esql neither).     Where does it come from ? Is there something I forgot ? I used Tomcat 4.0.3 a

Re: Installation Problem

2002-06-24 Thread J.Pietschmann
Roger Ting wrote: > Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat > Servlet 4.0.3 properly. Now i run into the problem for Cocoon. Tomcat 4.0.3 has classloader problems. It is recommended to use 4.0.4, now that it's out. If you have to stay with 4.0.3, read carefully the i

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Paul Gilligan
Watch out for the JDBC problems under jdk1.4 as well :) Ryan Hoegg wrote: > Hello Peter, and everyone, > > In the message linked below, you respond to another user with a very > similar problem to mine. > > http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html > > I am using J

RE: Sitemap parameters from servlet init (e.g. from outside the sitemap)...

2002-06-24 Thread Per Kreipke
P.s. > - in Cocoon, does something already exist to get set sitemap > parameters from somewhere 'global' (hopefully from the init params)? Or perhaps to/from the servlet context? Per - Please check that your question has no

Sitemap parameters from servlet init (e.g. from outside the sitemap)...

2002-06-24 Thread Per Kreipke
I'm looking a "Best Practice" suggestion. In our sitemap, we get XML from another machine (e.g. backend server) like this: http://dataserver.onclave.com:1234/bin/get?foo"; /> However, developers need to point to their local machine. E.g.: http://localhost/bin/get?foo"; /> This is just beggin

Re: Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Peter Royal
On Monday 24 June 2002 01:27 pm, Ryan Hoegg wrote: > I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X > installed, and my CATALINA_OPTS environment variable is > '-Djava.awt.headless=true'. After building from source, I get errors > trying to load the default Cocoon2 site.

Installation error using JDK 1.4.0: libawt and libXp

2002-06-24 Thread Ryan Hoegg
Hello Peter, and everyone, In the message linked below, you respond to another user with a very similar problem to mine. http://www.mail-archive.com/cocoon-users%40xml.apache.org/msg12493.html I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X installed, and my CATALINA_OP

Does anyone remember cocoon 1.8?

2002-06-24 Thread Paul Gilligan
I have switched to an "out of the box" cocoon 1,8 that coomes with SuSE 8.0 and I get: java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.lang.Exception: Resource not found or retrieving error. Now I am sure that

Re: Nested queries: Only 1 allowed per query?

2002-06-24 Thread Bertrand Delacretaz
On Monday 24 June 2002 15:30, Hahn Kurt (CHA) wrote: > I'm suspecting that the SQL-transformer doesn't > support more than one nested query at once? That's right - we had a discussion about this here at the end of last week, see: http://marc.theaimsgroup.com/?t=10246674318&r=1&w=2 The al

Nested queries: Only 1 allowed per query?

2002-06-24 Thread Hahn Kurt (CHA)
Nested queries work well, but here, I tried to add a second one, and after many (useless) tries, I'm suspecting that the SQL-transformer doesn't support more than one nested query at once? Below is the query structure, it works fine if I comment out either one of the nested queries. Trying to exe

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
> From: Cenk Uysal [mailto:[EMAIL PROTECTED]] > > I found out the problem. I use a subsitemap and so my files are in a > folder like Cocoon_Home/myfolder > You should have said that earlier. Seems that you've hit a known problem in JSP(Generator | Reader). > In the subsitemap, you have to en

RE: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I found out the problem. I use a subsitemap and so my files are in a folder like Cocoon_Home/myfolder In the subsitemap, you have to enter full path of JSP file in generator source. For example if there is a xxx.xsl file in myfolder, in subsitemap only giving the name of file for XSL source is en

RE: Elegant solution for filling forms

2002-06-24 Thread Piroumian Konstantin
> From: Andrei Svirida [mailto:[EMAIL PROTECTED]] > > Hello Cocooners, > > I have a simple problem filling the values of my form fields. > As it seems to be rather common and oft occuring problem i > hope somebody knows a solution. Take a look at the XMLForm. It solves this kind of problems,

Elegant solution for filling forms

2002-06-24 Thread Andrei Svirida
Hello Cocooners, I have a simple problem filling the values of my form fields. As it seems to be rather common and oft occuring problem i hope somebody knows a solution. I have a form described in XML file test.xml (used with Stylebook Stylesheets) : --- Text: --- I also have an Coc

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
> From: Cenk Uysal [mailto:[EMAIL PROTECTED]] > > I tried JSPreader but now error is much more interesting. It returns > nothing. My sitemap entry is: Have you looked at the log? Is there any relevant information? What do you really get: 404 error or a blank page? > > > > >

RE: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I tried JSPreader but now error is much more interesting. It returns nothing. My sitemap entry is: Here the welcome.jsp is the Cocoon's own example for JSPReader. But it runs in examples directory. __ Do You Yahoo!? Ya

Re: A newbie question

2002-06-24 Thread Diana Shannon
On Monday, June 24, 2002, at 03:09 AM, Jack Dong wrote: > by the way, what mean like "{1}.rdf ,{2}.rdf"? Please take a moment to read: http://xml.apache.org/cocoon/userdocs/matchers/matchers.html http://xml.apache.org/cocoon/userdocs/concepts/matchers_selectors.html If you are still con

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
> From: Cenk Uysal [mailto:[EMAIL PROTECTED]] > > Nothing changed. Same error again. Can you try them in your system > for me? I want to learn is it my fault or Cocoon's fault? If this was addressed to me, then yes, send your page. Konstantin > > _

Re: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
Nothing changed. Same error again. Can you try them in your system for me? I want to learn is it my fault or Cocoon's fault? __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --

RE: JspGenerator Problem

2002-06-24 Thread Piroumian Konstantin
> -Original Message- > From: Cenk Uysal [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 2:42 PM > To: [EMAIL PROTECTED] > Subject: Re: JspGenerator Problem > > > I tried it but I still get the same error. What about JSP file? is it > valid JSP that returns XML? I'm not sure. In

Re: JspGenerator Problem

2002-06-24 Thread yuryx
Cenk Uysal wrote: >I tried it but I still get the same error. What about JSP file? is it >valid JSP that returns XML? I'm not sure. Interesting point is >Cocoon's own JSP Generator examples run correctly. Here is my JSP: > > try <%@ page language="java" %> instead of ><%@ page contentType="te

Re: JspGenerator Problem

2002-06-24 Thread Cenk Uysal
I tried it but I still get the same error. What about JSP file? is it valid JSP that returns XML? I'm not sure. Interesting point is Cocoon's own JSP Generator examples run correctly. Here is my JSP: <%@ page contentType="text/xml" %> <% out.println("With help from JSP"); %> _

Re: Lucene and cocoon-view

2002-06-24 Thread leo leonid
On Monday, June 24, 2002, at 09:56 Uhr, Ugo Cei wrote: > leo leonid wrote: > >> yes, or add the label to the map:aggregate element, this will work, >> too. > > Unfortunately, it does not :(. I'll try to come up with a > self-contained sample later. > ensure your current cocoon it is really

Installation Problem

2002-06-24 Thread Roger Ting
Hi I am awfully new to Cocoon.. It took me 1 day to setup the TomCat Servlet 4.0.3 properly. Now i run into the problem for Cocoon. I am currently using cocoon 2.0.2. I tried to connect to http://localhost:8080/cocoon but it keep throwing me this whole chunk of error. ==

Re: Lucene and cocoon-view

2002-06-24 Thread Ugo Cei
leo leonid wrote: > yes, or add the label to the map:aggregate element, this will work, too. Unfortunately, it does not :(. I'll try to come up with a self-contained sample later. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 P

RE: A newbie question

2002-06-24 Thread TREGAN Fabien
[please, use plain text in your posts] Thought I do not have 2.1 here, I think that the problem is that every directory in 'samples' is auto-mounted by the sitemap (this mean that every request that start with samples/xxx are handled by the sitemap in samples/xxx.) Read the doc (or comments in t