Cocoon without a web Container

2004-04-05 Thread Marchiori Carlo
I would like to use Cocoon outside a web environment. I think most of the Cocoon heart is indipendent from such an enviroment. Only, I see the method debug of the org.apache.cocoon.Cocoon class explicitly uses web session and request objects. Maybe that should be removed. In my opinion protocol

Cocoon Stammtisch, Vienna, Austria

2004-04-05 Thread Reinhard Pötz
Do you like to meet people interested in Cocoon? Do you have the chance to come to Vienna on April, 19th or May, 3rd? If you've answered both question with yes add your name and your preferred date on http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupAustria. The day with more votes, to

Re: Cocoon without a web Container

2004-04-05 Thread Upayavira
Cocoon is available outside of a container environment. It has been specifically coded to be so. Whilst it is clearly mainly focussed upon an HTTP servlet environment, other environments are present, and can be coded. The one you are probably looking for is the CocoonBean. This was exctracted

R: Cocoon without a web Container

2004-04-05 Thread Marchiori Carlo
Hello Upayavira, I mean you must supply Request, Response, Session implementations which have methods to support cookies, context path, servlet path, pathinfo, etc... which are meaningful only in a servlet enviroment. So Cocoon is biased for this environment. Of course I can implement Request

RE : OutOfMemoryError under XP

2004-04-05 Thread LISSANDRE David (DSIT-EX)
Which version of TomCat do you use? Does a process java.exe reach 256MB in your Task Manager? Where did you declare the CATALINA_OPTS variable? In catalina.bat? David Lissandre --- INSA LYON SNCF DSIT-EX/2i -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL

Sitemap : map:resource and map:when

2004-04-05 Thread olivier demah
Is that possible to use map:when in a map:resource ? in this current resource ; i would like to add sometimes a third part. map:resource name=my_page map:aggregate element=root label=content map:part src=cocoon:/index.xml/ map:part src=cocoon:/{my_page}/

Re: R: Cocoon without a web Container

2004-04-05 Thread Upayavira
Marchiori Carlo wrote: Hello Upayavira, I mean you must supply Request, Response, Session implementations which have methods to support cookies, context path, servlet path, pathinfo, etc... which are meaningful only in a servlet enviroment. So Cocoon is biased for this environment. Yes.

Xsl layout problem

2004-04-05 Thread Seyfritz Nicole (MPI/ADB)
Hello, i have a problem with line breaks in xsl. first a part of my xml file: maindata_name Callnumber: Displayname: Conferenze: /maindata_name and a prt of my xsl file: TABLE width=100% height=

HTML-Code from XML-File in XSL

2004-04-05 Thread Nils Köster
Hi, How can i generate and transform xml via xsl with displaying HTML-Code out of the XML properly in the browser. Actually it displays the html-code in the xml-file as source-code (escaped) in the Browser. Thanx, nils - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Nils

Re: OutOfMemoryError under XP

2004-04-05 Thread Marcin Okraszewski
Hi, I'm also suffering from OutOfMemoryErrors and ThreadDeath but only after several webapp reloads. And it seems that without reloads it can go without such problems. Regards, Marcin Okraszewski I'm using Cocoon 2.1 and Windows XP. I have a problem with Memory. My Computer have 512MB Ram and

Re: Sitemap : map:resource and map:when

2004-04-05 Thread olivier demah
olivier demah wrote: Is that possible to use map:when in a map:resource ? in this current resource ; i would like to add sometimes a third part. map:resource name=my_page map:aggregate element=root label=content map:part src=cocoon:/index.xml/ map:part

SQLTransformer/Session/Paging

2004-04-05 Thread Patrick Schlaepfer
Hi there After changing the code in SQLTransformer, UTF-8 characters are encoded correctly. Now do have another question. I'd like to store the SQLTransformer result in a session, and page thru this result-set stored in the session. Is there any HOW-TOs, or any other approach to solve this item.

Re: SQLTransformer/Session/Paging

2004-04-05 Thread Jeroen Reijn
Hi, reading the cocoon documentation there is something said about the Filtertransformer. Maybe you could use this for your paging? http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html Greetz, Jeroen Patrick Schlaepfer wrote: Hi there After changing the code in

JXTemplate and formating numbers

2004-04-05 Thread michel.erard
Hello, is here somebody used to jxTemplate and can help me? I'm trying to format the Output in a kind like this : I'm looking for a possibility to have something like a right-formating in a cell of a table. (C Like) Example: 1000.00 and 100.00 should be displaye in this way

Re: HTML-Code from XML-File in XSL

2004-04-05 Thread Christopher Painter-Wakefield
What serializer are you using? If you use the default (html) serializer, the browser will display the html elements. If you use the xml serializer, you will see XML code in most browsers. -Christopher |-+ | | Nils Köster | |

Conditionnal esql-query ?

2004-04-05 Thread olivier demah
This code is ok blog_addnews xsp:logic String id_blog_user = request.getParameter(id_blog_user); String id_blog_news = request.getParameter(id_blog_news); if ( id_blog_user == null) { id_blog_user = xsp-session-fw:getxml context=authentication as=string

Re: Conditionnal esql-query ?

2004-04-05 Thread Christopher Painter-Wakefield
Because you can't :) Keep in mind what is really happening here. The ESQL logicsheet is turning all of this into java code. What kind of java code probably happens with the esql:query tag? Well, it probably needs to obtain a String which it can then pass into JDBC as the query, righ?.

Re: Conditionnal esql-query ?

2004-04-05 Thread olivier demah
Christopher Painter-Wakefield wrote: Because you can't :) Keep in mind what is really happening here. The ESQL logicsheet is turning all of this into java code. What kind of java code probably happens with the esql:query tag? Well, it probably needs to obtain a String which it can then pass

Logging all HTTP Requests to a database

2004-04-05 Thread Surjan Singh
Hello, Anyone have any pointers on this? I already have a Component that can be called in an action which logs request details asynchronously to a database. What I'd like to do, is to somehow use the same Component to log _all_ requests. I thought about subclassing Cocoon and overriding the

AW: HTML-Code from XML-File in XSL

2004-04-05 Thread Nils Köster
Upps, I tink my question was a little confusing, sorry about that! I have: + xml-file: someparent somenode TEXT TEXTbr/ TEXT a href=http://somewhere;LINK/a /somenode /someparent + xsl-template xsl:value-of select=/someparent/somenode/ + Pipeline: 1. Generate XML 2. transform

Re: AW: HTML-Code from XML-File in XSL

2004-04-05 Thread Christopher Painter-Wakefield
Ah, you are having an XSL problem. If you look at what xsl:value-of does, it turns things into strings. What you want is to copy the contents, which can be done many different ways. In your immediate case, you can do xsl:copy-of select=/someparent/somenode/node()/ in place of your

WebGate Availability

2004-04-05 Thread brent
I just wanted to send this out to anyone who was interested in my content aggregation project (previously called Sentinel) based on Cocoon. I've made a (very) initial release available on the sourceforge.net project page: http://webgate.sourceforge.net and

Re: WebGate Availability

2004-04-05 Thread Geoff Howard
This continues to look good - wish I had time right now to play with it. I'm curious about how you integrated the wordnet dictionary searching. It looks like they are written in C - did you use JNI, or Runtime.exec(), direct database access, etc? Geoff [EMAIL PROTECTED] wrote: I just

RE: WebGate Availability

2004-04-05 Thread brent
This continues to look good - wish I had time right now to play with it. Thanks! I'm curious about how you integrated the wordnet dictionary searching. It looks like they are written in C - did you use JNI, or Runtime.exec(), direct database access, etc? I went to this website:

xml file caching ??

2004-04-05 Thread Jim Emerson
Hi All, I'd like an example of how to cache an xml file in a pipeline, I haven't found any examples online, the documentation helped a little but didn't explain how to do it. I have this in my sitemap componenents: map:pipes default=caching map:pipe name=caching

Re: [cforms] Radio buttons across repeater

2004-04-05 Thread Joerg Heinicke
On 12.03.2004 09:02, Marc Portier wrote: I would like to have a repeater in which each row contains a single radio button, and where this set of radio buttons constitutes a group in the form, (i.e. have the same name). Is there a way to do that in Cocoon Forms? hm, I'm afraid this is not why

Re: How to make HTTP request adding parameters?

2004-04-05 Thread Joerg Heinicke
On 18.03.2004 23:40, Andrei Lunjov wrote: Cocoon 2.1.4 One variant is CInclude, but in my case generator is more preferable. Would something like this work: map:generate type=file src=http://somesite.com; map:parameter name=code value=123/

Re: [cforms] Radio buttons across repeater

2004-04-05 Thread Marc Portier
Joerg Heinicke wrote: On 12.03.2004 09:02, Marc Portier wrote: I would like to have a repeater in which each row contains a single radio button, and where this set of radio buttons constitutes a group in the form, (i.e. have the same name). Is there a way to do that in Cocoon Forms? hm,