Re: my.roles file

2002-11-13 Thread Ryan Heise
On Fri, Nov 08, 2002 at 09:44:39AM +0100, Joerg Heinicke wrote: > Hello Ryan, > > the error message is non-ambiguous: You created a non-valid web.xml. > Remove the changes you did and add the roles at the correct place > according to the DTD. The important snippet of it you can see in the > error

Re: html to pdf problem

2002-11-13 Thread Charles Brewster
saikat wrote: Hi, I'm facing problems with converting a html file to pdf format.I'm using cocoon2.0 ,tomcat4.0.3 & j2sdk1.4.0   while running the file it is giving following error -->   org.apache.cocoon.ProcessingException: Could not read resource file:/C:/jakarta-tomc

html to pdf problem

2002-11-13 Thread saikat
Hi, I'm facing problems with converting a html file to pdf format.I'm using cocoon2.0 ,tomcat4.0.3 & j2sdk1.4.0   while running the file it is giving following error -->   org.apache.cocoon.ProcessingException: Could not read resource file:/C:/jakarta-tomcat-4.0.3/webapps/cocoon/mount/html-pdf

Re: bad class file exception

2002-11-13 Thread Charles Brewster
McNeil, Shane wrote: bad class file exception Hi, I am attempting to call a custom Java API from an XSP document as follows (simplified)...         http://apache.org/xsp">         SIM.Zapi.*             public String getSimDoc()    

Re: bad class file exception

2002-11-13 Thread Bobby Mitchell
McNeil, Shane wrote: Hi, I am attempting to call a custom Java API from an XSP document as follows (simplified)... http://apache.org/xsp";> SIM.Zapi.* Should this line be SIM.ZApi.* instead? It looks like a naming

Re: esql / xsp <- query for date

2002-11-13 Thread Erik Bruchez
Not 100% related to your date narrowing issue, but the modern way to pass date and time literals in JDBC is with escape sequences, e.g.: UPDATE Orders SET OpenDate={d '1995-01-15'} WHERE OrderID=1023 I have no idea if this will work with Cocoon (it should) or with your JDBC driver (it works wit

Can serializer recognize parameter in resource?

2002-11-13 Thread Bv Cc
I hope serializers can do different encoding output for different language (Bdocument with using same transformers. (B (BI defined a resource for using same transformers group transforming (Bdifferent language pages. I also defined different serializers for each (Benconding output. I wish seri

bad class file exception

2002-11-13 Thread McNeil, Shane
Title: bad class file exception Hi, I am attempting to call a custom Java API from an XSP document as follows (simplified)...         http://apache.org/xsp">         SIM.Zapi.*             public String getSimDoc()     {     ZAssociation za  = new ZAssociation("

Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
boris wrote: I had to put all this jar to the classpath to work with the cli, without java-errors. (win98) I think a sidemap with minimum components don't needs all that stuff to compile correctly. A good trick to look into the jar-files is to rename it to a zip-file and to open it with winzip.

Re: Trying to use PostgresSQL with Cocoon-2.0.2

2002-11-13 Thread Martin Holz
Hi, On Wednesday 13 November 2002 21:11, Simon Elbaz wrote: > I am trying to use a PostgreSQL with Cocoon-2.0.2, JDK-1.4. I have > downloaded the PostgreSQL driver pgjdbc2.jar for Java-1.4. The connection > between Tomcat-4.0.3/postgresql at the startings done (started the > postgresql server wit

Trying to use PostgresSQL with Cocoon-2.0.2

2002-11-13 Thread Simon Elbaz
Hi, I am trying to use a PostgreSQL with Cocoon-2.0.2, JDK-1.4. I have downloaded the PostgreSQL driver pgjdbc2.jar for Java-1.4. The connection between Tomcat-4.0.3/postgresql at the startings done (started the postgresql server with -i option). When I try to launch the Simple SQL sample, here

Re: XMLForm and dates

2002-11-13 Thread Jan
Hi, I'm currently using a combination of XMLForms and modular database actions to insert and update db data. I don't understand what exactly is your problem. Some of my beans contain Date or TimeStamp attributes, containing the current date. I don't need a String representation of the dates, a

Re: Multiple input formats

2002-11-13 Thread Joerg Heinicke
example: So or similar it can work ;-) Joerg Peter Bradburn wrote: > Is it possible to configure the sitemap, so that a document (eg. Pdf) > can be created from one of a variety of formats (HTML, Docbook XML), > which are both available in a

Re: Just another bug with Cocoon 2.0.2

2002-11-13 Thread Joerg Heinicke
As you can see at http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/components/request/multipart/MultipartRequestWrapper.java?only_with_tag=cocoon_2_0_3_branch this bug is fixed since version 1.2 of the file (05.04.2002). Regards, Joerg Volker Schneider wrote: Dear colle

Re: link rel=

2002-11-13 Thread Joerg Heinicke
Really strange, but this is definitely a Mozilla problem. I use Mozilla 1.1 and have no problems. Maybe you should post a bug at http://bugzilla.mozilla.org. Joerg Alessio Sangalli wrote: Joerg Heinicke wrote: Hmm, what exactly do you mean? You request an XML page, but you don't see anything

AW: AW: esql / xsp <- query for date

2002-11-13 Thread Scherler, Thorsten
Thanks -Ursprüngliche Nachricht- Von: Ilya A. Kriveshko [mailto:ilya@;kaon.com] Gesendet: Mittwoch, 13. November 2002 18:25 An: [EMAIL PROTECTED] Betreff: Re: AW: esql / xsp <- query for date Please, read the recent SQL injection thread: your query is vulnerable. Use to secure it:

Re: AW: esql / xsp <- query for date

2002-11-13 Thread Ilya A. Kriveshko
Please, read the recent SQL injection thread: your query is vulnerable. Use to secure it: select * from IDM_info where Info_datum = ## -- Ilya Scherler, Thorsten wrote: Hello Cedric, So for ODBC Access 97 u have to use ## to narrow the date, right! because: select * from IDM_in

AW: esql / xsp <- query for date

2002-11-13 Thread Scherler, Thorsten
Hello Cedric, select * from IDM_info where Info_datum = ## mailto:Thorsten.Scherler@;weidmueller.de] Sent: 13 November 2002 17:09 To: [EMAIL PROTECTED] Subject: AW: esql / xsp <- query for date Jepp! That way I don't an error but neither any result! -Ursprüng

RE: esql / xsp <- query for date

2002-11-13 Thread Cedric Picard
This is because your query is looking for an exact match on the date, although the date field in your database probably holds the time as well as the date. You need to narrow your date in the database query to the date only. By this, I mean that if Info_datum is '11/11/2002 17:12:05.000', it will

AW: esql / xsp <- query for date

2002-11-13 Thread Scherler, Thorsten
select * from IDM_info where Info_datum = #11/13/2002# is working (F**cking MS)! Took my hours :-( -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Mittwoch, 13. November 2002 18:09 An: [EMAIL PROTECTED] Betreff: AW: esql / xsp <- query for date Jepp! That way I don't an e

AW: esql / xsp <- query for date

2002-11-13 Thread Scherler, Thorsten
Jepp! That way I don't an error but neither any result! -Ursprüngliche Nachricht- Von: Cedric Picard [mailto:C.Picard@;kainos.com] Gesendet: Mittwoch, 13. November 2002 18:03 An: [EMAIL PROTECTED] Betreff: RE: esql / xsp <- query for date Have you tried '11/11/2002' instead? I would ex

RE: esql / xsp <- query for date

2002-11-13 Thread Cedric Picard
Have you tried '11/11/2002' instead? I would expect esql to use a Java Date class to wrap the date string into a Date object, which is then converted to the format used in the database by the JDBC driver. Cedric -Original Message- From: Scherler, Thorsten [mailto:Thorsten.Scherler@;weid

esql / xsp <- query for date

2002-11-13 Thread Scherler, Thorsten
Hello group, I have a big problem! I want to do the following: I have a query on a database. It is working fine! I can do the following with every field but the date: e.g. http//...?id=1 but as soon as I but ?date='11.11.2002' it blows! So trying the following blows it too: select * from ID

[Off-topic] Compiling servlets.

2002-11-13 Thread ROSSEL Olivier
It seems that gcj successfully compiled Tomcat 3. You can have a look at: http://sources.redhat.com/rhug/ The maintainer (mailto:green@;redhat.com) told me it sounds possible to compile Tomcat4 and Cocoon2 too... Anyone wants to try? ---cut here--- This e-mail is intended only for the above a

Re: null pointer exception in servlet

2002-11-13 Thread Jenny Brown
On Tue, 12 Nov 2002, Bobby Mitchell wrote: > Jenny Brown wrote: > > >I had indeed missed that step. I've done it now, but don't seem to be > >having any better results... same error. I'm not sure how to test that > >the /jre/lib/ changes actually took effect though. I did restart tomcat > >just

RE: [REQ] Validation actions

2002-11-13 Thread Cedric Picard
> If you had looked at your sitemap.log you would have seen I had a look at the sitemap.log and it does not contain any reference to a sitemap level. This is the content of the sitemap.log: DEBUG (2002-11-13) 12:36.00:288 [sitemap] (Unknown-URI) Unknown-thread/SitemapManager: Sitemap location

Re: Problems with substitute-value in SQLTransformer

2002-11-13 Thread Kjetil Kjernsmo
On Tuesday 12 November 2002 12:31, Jeremy Quinn wrote: > On Monday, Nov 11, 2002, at 19:41 Europe/London, Kjetil Kjernsmo wrote: > > I have problems with the SQLTransformer in a recent 2.1-dev, more > > specifically, I can't get the substitute-value element to work. > > Sorry, but this works fine

Re: Cocoon Portal - User Roles

2002-11-13 Thread Andy Lewis
We are doing this with XSPs to provide the XML, rather the the SQL transformer. But we are actually part way through replacing all of the file-based pipelines for these componenets with XSP driven database equivalents. so far, only a few problems have cropped up > Hi Matthew, > > If I unders

Re: Tables in PDF

2002-11-13 Thread Alex McLintock
At 00:43 13/11/02, Carlos Marcelo Santos wrote: Hi: Can somebody send me an example XLS-FO file (formating objects) that generate tables in .pdf file? Or a XSL-FO tutorial applied, with good examples... There are some examples and lots of documentation in the Fop distribution which you can dow

RE: need example of accessing request attributes in the sitemap

2002-11-13 Thread Steven Cummings
Phil, I don't know if this is what you're looking for but the request action exposes these three attributes: {context} servlet's context path {requestURI} the request URI without parameters {requestQuery} the query string, "?name=value&name2=value2..." Additionally, if you give the pa

Re: Using Cocoon from the command

2002-11-13 Thread Bertrand Delacretaz
On Wednesday 13 November 2002 15:17, Alessio Sangalli wrote: >. . . > I promise when I'll get this working I will prepare a website with the > instructions, >. . . Cool! A nice place to do this is the CocoonDocoWiki at http://outerthought.net/wiki/Wiki.jsp, you're much welcome to create a page

Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
Darren Petrie wrote: Looks like you need to add more to your classpath. (logkit-20020529.jar) Try adding all the .jar files in cocoon/WEB-INF/lib to your classpath. I promise when I'll get this working I will prepare a website with the instructions, I thoutgh it would have been much simplie

Re: link rel=

2002-11-13 Thread Alessio Sangalli
Joerg Heinicke wrote: Hmm, what exactly do you mean? You request an XML page, but you don't see anything? Mozilla has no built-in stylesheet by default like IE. But you can see the source of the document (Ctrl + u). no, I mean when I reply an email like yours, containing a piece of xml code.

Re: [REQ] Validation actions

2002-11-13 Thread Christian Haul
On 13.Nov.2002 -- 12:49 PM, Cedric Picard wrote: > > > > > > > > I can only assume the addition of the login validation caused the > problem, as the page was generated successfully prior to the addition of > the action, but ca

Multiple input formats

2002-11-13 Thread Peter Bradburn
Is it possible to configure the sitemap, so that a document (eg. Pdf) can be created from one of a variety of formats (HTML, Docbook XML), which are both available in a directory. I need the sitemap to use the first available format to use as a document to generate into SAX events. The sitemap

[REQ] Validation actions

2002-11-13 Thread Cedric Picard
Title: [REQ] Validation actions Hi there, I am currently trying to integrate cocoon 2.0.3 with a web application. The idea is to use cocoon as a reports engine to generate printable HTML documents. I have basically downloaded cocoon-2.0.3-src.zip, built on Windows 2K (JDK 1.3.1), and deplo

RE: Cocoon Portal - User Roles

2002-11-13 Thread Matthew Langham
>> Will I have a problem if i didn't serialize any xml? ( see sitemap below ) << Try it :-). Seriously, you will probably have to change the user interface of the tools as I think they expect something to be returned.   If you add a new role using the tool then you would expect that role to

Re: [ PHPGenerator ] Inital draft of PHPGenerator docs on Wiki

2002-11-13 Thread Jose Borges Ferreira
On Tue, 2002-11-12 at 18:12, Tony Collen wrote: > Off, nasty. I'll take a look at it when I have a chance. I wasn't able to > get back to working on this last night. I'll keep you updated. > > > Tony > > Tony Collen -- [EMAIL PROTECTED] > College of Liberal Arts University of Minnesota, M

Just another bug with Cocoon 2.0.2

2002-11-13 Thread Volker Schneider
Dear colleagues, within Cocoon 2.0.2 I've found another bug which causes a class cast exception. Maybe it is fixed in Cocoon 2.0.3 but I'm not able to find the class in the cocoon code repository. If not, please fix it. If you use a form with and you will use an array of checkboxes (http://xml

Re: Cocoon Portal - User Roles

2002-11-13 Thread Richard Reyes
Hi Matthew / Guys,   I have been able to replace the addrole and load role functions into an Action.   Will I have a problem if i didn't serialize any xml? ( see sitemap below )                            

two components implementing parser role?

2002-11-13 Thread Oskar Casquero
Hello,   I would like to know if it is posible to define two components that implement parser role: one of would be the default parser of cocoon (with its default configuration) and the other would use xerces parser but with the validation feature turned on (I'm thinking of looking up the va

R: Separation of concerns?

2002-11-13 Thread Luca Morandini
Evan, I avoid the use of "document()" by means of aggregation: one "map:part" for the template, the other "map:part" for data. The use of meta-stylesheets doesn't excite me... I smell performance problems, though it is rather a sexy thing to do :) I even managed to have "for each" and "if" const

Re: Using Cocoon from the command

2002-11-13 Thread Darren Petrie
Looks like you need to add more to your classpath. (logkit-20020529.jar) Try adding all the .jar files in cocoon/WEB-INF/lib to your classpath. Darren On Tuesday, November 12, 2002, at 07:08 PM, Alessio Sangalli wrote: unfortunately, I've talked too early. Althought an invocation with a simpl