Re: Native XML datebases (infonyte)

2003-02-23 Thread Max Larsson
does anybody have experience using Infonytes XML database with Cocoon? Yes and no. I knwo a little bit about infonyte, i think the problem is that it didin't supported XML:DB API. If tthey do it today i don't know, but i thinl not. Thus you can't use the Psoudo protocol used for Xindice or eXist in

HTTP Status Response

2002-11-25 Thread Max Larsson
Hi, i wondering if it is possible to set the status of the http response, from the standard HTTP/1.1 200 OK to something different like HTTP/1.1 207 Multi-Status TIA Max - Please check that your question has not already been

Re: 2 Servlets within one Webapp

2002-11-08 Thread Max Larsson
Hi, i played a little bit around and fihured out, that i can get running two servlets at the same time. With the following configuration: Cocoon2 /demos webdav /webdav BUT request seem only to get to the servlet then there arn't any subdirs in requets path: For example http://lo

2 Servlets within one Webapp

2002-11-03 Thread Max Larsson
Hi, has onyone expierence with running two servlets within one webapp. For example having the cocoon servlet maped to / and another servlet to /directory. I know this is configured in the web.xml file in WEB-INF directory. But i can only one of them at the time working, not both. TIA Max -

RE: Cocoon2 and non-English characters in jsp

2002-01-24 Thread Max Larsson
Hi, i don_t know if it is any help for you. But maybe take a look at the following patch for cocoon: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5593 It patches cocoon for better support for different encodings. How it affects JSP; i don't know. HTH Max > -Original Message- > F

RE: question about failed actions

2002-01-21 Thread Max Larsson
Hi, what you want to do wokrs in this way. ...on success ... the following is only executed on failure An action fails if it returns null in his act method. And i think it is important to have a serilizer or reader

RE: Pre compiling Sitemap & XSP

2002-01-17 Thread Max Larsson
Hi, im using SUN on WinNt4. But the problem disapeared today. Maybe because i rebootetd the machine over night. So now the pre compiling wokrs. But all xsp pages delivers "empty" contents. E.g. they don't retreive anything from the database? Max > > > From: Ma

Pre compiling Sitemap & XSP

2002-01-17 Thread Max Larsson
Hi, following the instruction in the FAQ to do precompiling of the SItemap and the XSP i get the following error in the cocoon.log: java.lang.IllegalAccessError: try to access class org.apache.cocoon.www.sitemap_xmap$Configurer from class org.apache.cocoon.www.sitemap_xmap at org.apache.

RE: develop content management system

2002-01-16 Thread Max Larsson
Hi, another idea: How about to base the CMS on a repository, where all documents are stored with the history of each file. Should be very nice for undo actions. Just an idea. Max > -Original Message- > From: Robert Koberg [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 17. Januar 2002

RE: develop content management system

2002-01-16 Thread Max Larsson
Hi, why not put up on sourceforge? Max > -Original Message- > From: Chris Perrin [mailto:[EMAIL PROTECTED]] > Sent: Mittwoch, 16. Januar 2002 21:13 > To: '[EMAIL PROTECTED]' > Subject: RE: develop content management system > > > I accept! :) > > A Yahoo! list would be fine. Perhaps

RE: Problem with my XSP page interact with WML

2002-01-10 Thread Max Larsson
Hi, i am not sure but try: HTH Max > -Original Message- > From: Stanley Ho [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 10. Januar 2002 02:28 > To: [EMAIL PROTECTED] > Subject: Problem with my XSP page interact with WML > > > I have a problem to get the "request-para

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Max Larsson
ake a deeper look, will do it tomorrwor. Wait for More Max > -Original Message- > From: Stephan Michels [mailto:[EMAIL PROTECTED]] > Sent: Mittwoch, 12. Dezember 2001 12:02 > To: [EMAIL PROTECTED] > Subject: RE: [Serializer] Get request and parameters? > > > > &g

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Max Larsson
hi, i think it works, wour class has to implement the avalon interface, which contains the setup method (see below). if you implement it, the method will be called each time your Serialzer is used. In the setup method you can retrieve the request object the so called ComponentManage. objectModel

RE: C2 file upload problem

2001-12-11 Thread Max Larsson
Hi, within your web.xml file you can change the upload directory. It is passed as a parameter to the Servlet. If you can even set absolute paths i don't know. HTH Max Here a snipet from my web.xml Cocoon2 Cocoon2 The mai

RE: Installation problem

2001-11-30 Thread Max Larsson
Hi, if you are not fiex to cocoon 1 i would suggest to gte the latest version vom cocoon 2.0. It is much somther to install. And if you don't depend on Tomcat 3, install instead Tomcat 4. Than is the cocoon installation apiece of cake. YOu just has to drop the cocoon.war file contained in the coc

RE: Encoding

2001-11-27 Thread Max Larsson
> Try this > > src="org.apache.cocoon.serialization.HTMLSerializer"> > ISO-8859-1 > > > -Mensagem original- > De: Max Larsson [mailto:[EMAIL PROTECTED]] > Enviada: terça-feira, 27 de Novembro de 2001 11:28 > Para: 'Cocoon Use

Encoding

2001-11-27 Thread Max Larsson
Hi, i am testing the employee example, which is contained with C2 distribution and accessible under http://localhost:8080/cocoon/forms/employee. When trying to add an employee with special chararters like aumlaut they aren't stored correctly in the database. Does anyone know how to avoid this ?

RE: RE: I don't want UTF, I want native encoding

2001-11-19 Thread Max Larsson
Hi, How did you solve it? MAx > -Original Message- > From: Alex Kachanov [mailto:[EMAIL PROTECTED]] > Sent: Montag, 19. November 2001 11:21 > To: [EMAIL PROTECTED] > Subject: RE: RE: I don't want UTF, I want native encoding > > > Well, I'm lucky guy > I've found how to solve the probl

RE: More Examples plea

2001-11-19 Thread Max Larsson
Hi, > Dear Alex > > I suggest that you create one XML Document per novellist and > one XML Document per photo. Then you use XInclude or XLink > to connect the novellist XML with the corresponding photos. > > There is an "XInclude Transformer" shipped with Cocoon2. > > Concerning CMS (Content M

RE: Please help, I need urgent help

2001-11-15 Thread Max Larsson
Hei, if you wnat to show the user on the same URI two different pages based an a request parameter, then try to make the decision in the sitemap with the help of a selector (Just as hint). How to do this you have to take a look at the docs. There is as long i know a ParameterSelector, but i don't

RE: Tag ?

2001-11-15 Thread Max Larsson
Hi, i don't know anything about a xsp if. If i need a flow control in xsp i use java, like this: if( something_is_true ) { QueryA } else { Qu

RE: Fwd: Sitemap variables?

2001-11-14 Thread Max Larsson
Hi, but to work around you can have a selector within the action, which influence the flow bassed on a comparsion of a sitemap parameter with value. HTH Max > -Original Message- > From: giacomo [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 15. November 2001 00:18 > To: [EMAIL PROTECTE

RE: find xml files in a directory, list them and render to html

2001-11-12 Thread Max Larsson
Hi, i think it is possible to do what you want. Especially with C2. But i think you have to take a look at the DirectoryGenerator and maybe use it or modify it for you needs. HTH Max > -Original Message- > From: Erik Stunkat [mailto:[EMAIL PROTECTED]] > Sent: Montag, 12. November 2001

RE: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-11 Thread Max Larsson
Hi, just to inform you your setting for the DBPostgres seems to be wrong. It should be org.postgresql.Driver. Max > -Original Message- > From: Lajos Moczar [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 9. November 2001 15:47 > To: [EMAIL PROTECTED] > Subject: Re: [C1] Installation woes [r

RE: Cocoon2 and VoiceXML

2001-11-09 Thread Max Larsson
Hi, Motorola emulators ? What's that? Speech generation fort VoiceXML?? Any links ?? Max > -Original Message- > From: Gianugo Rabellino [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 9. November 2001 14:49 > To: [EMAIL PROTECTED] > Subject: Re: Cocoon2 and VoiceXML > > > Eduardo Godoy Ve

RE: Complex Forms

2001-10-31 Thread Max Larsson
Hi, i had a similar task to solve. But i think i didn't had such complex form like you will have. I solved it with couples of self coded action and data binding framework. The databinding farmework is self coded, too. But it will be replaced with something much beter. I know about two packges, wh

C2 and Xfrom

2001-10-25 Thread Max Larsson
Hi, has anyone expierence with xforms and c2 ?? Max - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]

XML Validation

2001-10-24 Thread Max Larsson
Hi, does someone know how to turn xml validation on/off within Cocoon2 ?? Max - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe,

RE: [C2.0rc1] SLIGHTLY OFF TOPIC: Has anyone used Xalan extensions in Cocoon?

2001-10-19 Thread Max Larsson
Hi as long as i knwo you forgotten to define that the namespace xalan is an extension namespace. How to do that you have to read the Xalan documentation. Max -Original Message- From: Adrian Geissel [mailto:[EMAIL PROTECTED]] Sent: Freitag, 19. Oktober 2001 10:34 To: [EMAIL PROTECTED] Su

Accessing Tomcat from C2

2001-10-19 Thread Max Larsson
Hi, i am wondering if it is possible to access Tomcat specfic runtime classes from inside C2. What i want to do is to read to runtime Tomcats configuration from inside C2 . Anyone knows anything? best regards Max - Please chec

RE: XML to PDF and automatic printing

2001-10-17 Thread Max Larsson
Hi, am not sure if my idea works, but i came up with it once. SInce that nobody tested it, but would be nice to know. My idea should work with C2. In C2 there is the pcl serializer, which as much i know produces output for HP printing language. And if the content type is known by the OS, it might

DatabaseReader

2001-10-05 Thread Max Larsson
Hi folks, has anybody successfully used the DatabaseReader in conjunction with a postgresql database version 7.1.x ??? Max - Please check that your question has not already been answered in the FAQ before posting.

RE: [C2] How to give intelligence to XSL ???

2001-10-02 Thread Max Larsson
ailto:[EMAIL PROTECTED]]On Behalf Of Samuel Arnod-Prin Sent: Dienstag, 2. Oktober 2001 15:56 To: [EMAIL PROTECTED] Subject: Re: [C2] How to give intelligence to XSL ??? Max Larsson a écrit : > > Hi, > > i am using the session logic sheet with C2b1. The only thing > i can think why it do

RE: [C2] How to give intelligence to XSL ???

2001-10-02 Thread Max Larsson
Hi, i am using the session logic sheet with C2b1. The only thing i can think why it does not work with you is that the namespace for the session logicsheet is not correct. i use the following: ... xmlns:session="http://apache.org/xsp/session/2.0"; ... Max -Original Message- From: [EMA

RE: C2 : parametered XSL stylesheets (was : RE: Cocoon2 : Managing URL-encoded parameters)

2001-09-25 Thread Max Larsson
HI, if you instruct the transformer to make the request parameters visible for your stylesheet it should work: . best regards Max And does anyone know how to send these parameters to a parametered XSL stylesheet ? Olivier -Message d'origine

RE: separation of content and logic

2001-08-24 Thread Max Larsson
and improvments are as stated welcome. Max Hi., I appreciate if anyone is generous enough to share xsl code for building collapsing menu structure for my sample project... Thanks --- Vadim Gritsenko <[EMAIL PROTECTED]> wrote: > If you write for Oracle you could use "connect b

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

RegExp Matcher not working?

2001-08-20 Thread Max Larsson
Hi, if i use the default matcher wildcard the sitemap part below works fine. But if i change the default matcher from wildcard to regexp it does not work. Everthing is match equal as 'login'. Does anyone knows why??? Max

AW: Possible to assign SQL query result to XSP variable?

2001-08-20 Thread Max Larsson
Hi, try to wrap it in a xsp:logic block: ... got_uname = ; ... Max > -Ursprüngliche Nachricht- > Von: Chris Newland [mailto:[EMAIL PROTECTED]] > Gesendet: Montag

AW: [C2] esql & postgres' nextval

2001-08-08 Thread Max Larsson
Hallo, i think you just have to skip the enclosing tag esql:parameters to get it work, eg. like this: INSERT INTO foo(id,url,email,username,password) VALUES ( NEXTVAL('id_seq'),'abcd','[EMAIL PROTECTED]','dfgdf','123'); Max > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:

AW: How to getConnection in Action ?

2001-08-07 Thread Max Larsson
Hi, i am doing it that way: import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.sql.SQLException; import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import org.apache.avalon.excalibur.datasource.Da

Serving files out of a database

2001-08-07 Thread Max Larsson
Hi, i've got the following problem: I'm using a postgresql database. The user of my web application (C2) cann upload files (of any kind ) into the database. Now i want to serve them to user on request. Now i wondering how to integrate it into C2. I was thinking about to write a specific Generato

Upload of documents [C2]

2001-08-03 Thread Max Larsson
Hi, does anyone knows where to find more documentation about the upload feature of Cocoon2? I am want especially to know is if somethere information is stored about what name the uploaded document has get and if it is possible to identify from which, request the documnet came?? best regards Max

AW: Request tablig

2001-07-25 Thread Max Larsson
Sorry folks, i've figure out the problem. It is very important to have the namespace for taglib named xsp-request! Max > -Ursprüngliche Nachricht- > Von: Max Larsson [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 26. Juli 2001 08:40 > An: Cocoon Users (E-Mail) &

Request tablig

2001-07-25 Thread Max Larsson
Hi, i've got a problem with using the request taglib. THe following example always stop because of complication error, but i have no idea why? Or do i use the taglib in a wrong way ? http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:requ

AW: Help:Cocoon and servlet

2001-07-23 Thread Max Larsson
Hi, as long as i know you have to tell your servelt engine e.g. Jakarta about the other servlet. I think cocoon doesn't really care about it. The servlet engine decides which servlet get the request. To configure it with jakarta you have to change the web.xml file within the WEB-INF directory of

AW: AW: Using Actions in Sitemaps

2001-07-23 Thread Max Larsson
Hi, >> C2 delivers resource not found. It's not a problem with the LoginAction >> class. >> It gets loaded and executed without any problems. I can post the source if >> needed. > >Oh, quick question: > >Does the Action return a Map? If an action returns a null, it is concidered >to have failed

AW: Using Actions in Sitemaps

2001-07-23 Thread Max Larsson
>Is your LoginAction 1) without any package, and 2) in the classpath? >Anytime you alter your classpath in ANY servlet, the servlet engine needs >to be restarted. It's a fact of life. It's no problem with the classpath. Cocoon loads the class and executes it. I've checked it in the logs. The pr

Using Actions in Sitemaps

2001-07-23 Thread Max Larsson
. If i take the example from the documentation C2 always reports incomplete pipeline. best regards Max Larsson - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/coc