Re: AW: Session problems

2003-02-07 Thread Roberto Cipollini
Unfortunatly the encodeRedirectURL did not work :( It may sounds good i have crossing webapplications. My goal is to have a single deployment of cocoon under the jakarta dir, and store all the file of multiple virtualhosts in another directory (/usr/webapps/.). I got it working [maybe it's

CInclude problems on Mac 10.2.3

2003-02-07 Thread Hugh Field-Richards
Hi Has anybody come across this problem with cinclude. I am running Cocoon successfully on the following system Mac OS X 10.2.3 with JDK 1.3 Tomcat 4.1.18 Cocoon 2.0.4 But ... I have a sitemap entry of map:pipeline> map:match pattern="nb*.xml"> map:generate src="content/nb{1}.xml"/>

DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
Hello all, Sorry if this gets double-posted... I have been working on a website for a while. Here is my problem - I can easily verify user input through forms and return any error messages through the xsp-formval tags. After validation, the input is passed to the database. However, I get an

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
Which type of database you use? Isn't it easily to use before insert trigger? JayKay -Original Message- From: Sheraz Sharif [mailto:[EMAIL PROTECTED]] Sent: Freitag, 07. Februar 2003 12:19 To: [EMAIL PROTECTED] Subject: DatabaseAddAction and unique or primary keys Hello all, Sorry if

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
I am using postgresql 7.2.. I am not sure what you mean. Are you talking about making the database run a trigger before the insert happens? If so, I do not think that will solve my problem. I want cocoon to realize that there already exists that specific value in the table, and notify the user

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Kazmir, Jaroslav
I think, that it will help you to create a new class for checking. I made the same ... check and then make registration save into DB ... map:match pattern=user_registration map:act type=form-validator map:parameter name=descriptor

RE: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi! The problem is solved using Modular Database Actions. More info at: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions Antonio Gallardo Sheraz Sharif dijo: I am using postgresql 7.2.. I am not sure what you mean. Are you talking about making the database run a trigger

XSPAction

2003-02-07 Thread Olivier GUCKERT
Hello I read the Wiki how-to about XSPAction, and think it's a good idea. But i stil have a question : where should i put the my-xsp-action.xsp file Do i have to write a map:match for it and if yes, how (serialize xml ?) Thanks Olivier Guckert

Re: Problem with SQL Transformer[Sol]

2003-02-07 Thread Cedric Claus
Martin Holz wrote: Cedric Claus [EMAIL PROTECTED] writes: This pipeline doesn't work : After SQL transformation the sort and replace.xsl does wrong. But if I copy the xml result of the SQL transform and then apply the same xsl , no problem (with xalan and MSXML) My configuration :

Re: Configuring Cocoon to run under Apache/Tomcat virtualhost?

2003-02-07 Thread Derek Hohls
Hussayn Thanks for the reply - I need to do a number of things: 1. Protect the whole site so it cannot be accessed at all (except through single login screen) while under development. 2. Create an alias (virtual host) - as seen on many Cocoon sites - that is easier to remember work with 3.

Re: [OT] The Cocoon Drinking Game

2003-02-07 Thread Derek Hohls
%-} hic ps - the last one does have me worried tho' - what work where? please elushidate... [EMAIL PROTECTED] 06/02/2003 07:50:20 The Cocoon Drinking GameTake a drink when you first realize how much Cocoon rules.Whenever someone asks about a stripped-down sitemap, take a drink.Take a

XSP's don't use catalogs?

2003-02-07 Thread Stephen Ng
I'm trying to resolve some entities inside an xsp file, but it appears that xsp's don't use entity catalogs the way other xml files do. (I'm using Cocoon 2.0.3). For example, in the standard cocoon distribution, if I modify cocoon\docs\samples\xsp\hello.xsp to be: ?xml version=1.0

Problem with the Protected Area example

2003-02-07 Thread Vit The Bit
Hi, I have a coocon installation with the following configuration: Linux- Java 1.3 Apache 1.3.27 - Tomcat 4.1.18 - Cocoon 2.0.4 When I try to login into the Web Application-Protected Area example I get an error page on the browser: The page cannot be displayed and an error

Re: matcher of a request

2003-02-07 Thread Nesto
Dear Hussayn, sorry, but this more generic matcher doesn't works! The same matcher with the parameters explicitly written works! I don't know why. Your solution is better and the sitemap would be shorter... If you can tell me if there is a difference... thank you! Nesto - Original Message

caching

2003-02-07 Thread arturl
Hi, Is is possible to cache the output of FileGenerator for specified time, not by the last modification date of the source file? I'm trying to cache content generated from external urls - how can I achieve that? -- Artur -

converting HTML to PDF

2003-02-07 Thread Afshartous, Nick
Title: converting HTML to PDF Hi, I was wondering if anyone has experience in converting HTML to PDF ? For instance does anyone have a stylesheet to handle the formatting of nested tables and CSS ? Thanks for any tips or pointers to resources. -- Nick

Re: status quo: cocoon with xsltc

2003-02-07 Thread Brian Johnson
I can't find anything wrong with your stylesheets, but your problem is almost definitely related to saxon generating error messages in your pipeline during transformation. I can't test your setup because I don't have the itemdata generator, so you'll have to do some stylesheet debugging to

AW: AW: Session problems

2003-02-07 Thread Marco Rolappe
hi roberto, please see bottom of mail. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Roberto Cipollini Gesendet: Freitag, 7. Februar 2003 10:16 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: Session problems Unfortunatly the

Re: webserviceproxy working in snapshots?

2003-02-07 Thread AWR
OK, I got this working (thanks Art!). Since then, I have been trying to figure out a way to use it with any URL. This has come up before on the list: If you need to retrieve arbitrary html content it would be safer to use HTMLGenerator, which can retrieve remote sources via http, and runs the

no source in the page after two transformation

2003-02-07 Thread Lionel Crine
I made a query in my XMLDB : In the sitemap : map:match pattern=query map:generate type=serverpages src=demo/query.xsp/ map:transform type=DBQuery map:parameter name=url value=blabla/ map:parameter name=domain value=blabla/

AW: AW: Session problems

2003-02-07 Thread Marco Rolappe
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von SAXESS - Hussayn Dabbous Gesendet: Donnerstag, 6. Februar 2003 21:07 An: [EMAIL PROTECTED] Betreff: Re: AW: Session problems snip/ If your servlet runs in the same context as cocoon,

Re: no source in the page after two transformation

2003-02-07 Thread Brian Johnson
You have an error in your stylesheet. The name template does not end with a name tag. Also, I believe you need the identity template at the top, so it has the lowest priority. Brian On Friday, February 7, 2003, at 11:14 AM, Lionel Crine wrote: I made a query in my XMLDB : In the sitemap :

Re: AW: Session problems

2003-02-07 Thread Roberto Cipollini
that means, that the JSP and the cocoon stuff live in seperate (webapp) contexts (you can of course let cocoon handle JSPs). thus, the encodeRedirectURL can't work, of course. note though that the encodeRedirectURL should be done when redirecting within your webapp. for url rewriting based

Re: no source in the page after two transformation

2003-02-07 Thread Lionel Crine
OK!! I was sure there was no error, now It's working.. Sorry for the question, I should have found this error myself. - Please check that your question has not already been answered in the FAQ before posting.

XMLForm: Form nodes should not be nested

2003-02-07 Thread Ryan Hofschneider
Howdy: I'm attempting to create a shopping-cart style table using XMLForm, where each row represents an instance of a child JavaBean that is stored in a HashMap of a parent bean. At the end of each row, I'd like to put a delete submit button that would indicate to my action class that it should

Re: status quo: cocoon with xsltc

2003-02-07 Thread Robert Sösemann
Thank your VERY much for your help. Yes, I guess it's better to stay with Xalan. Rob - Original Message - From: Brian Johnson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 07, 2003 4:48 PM Subject: Re: status quo: cocoon with xsltc I can't find anything wrong with your

Running cocoon2.0.4 on weblogic7.0 with JSPs

2003-02-07 Thread Girish Bhakta
Hi, i am facing problems with respect to JSPs of Cocoon on Weblogic 7.0 . I have successfully setup the Cocoon 2.0.4 on weblogic 7.0 and can see all the samples running but it gives folloing error when trying to run the hello jsp page of cocoon sample. org.apache.cocoon.ProcessingException:

Re: Consultants in San Diego, CA Area

2003-02-07 Thread jeffrey abbott
Chris, I'm in the San Diego area and would like to talk with you. You can call me at 619-933-6630. Jeffrey - Original Message - From: Chris Dietz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 3:36 PM Subject: Consultants in San Diego, CA Area I

Re: Possible threading issues with xsltc + BCEL ???

2003-02-07 Thread Michael Melhem
On Thu, Feb 06, 2003 at 04:18:55PM -0500, Vadim Gritsenko wrote: Michael Melhem wrote: Hi Cocooners, Are their any other Cocoon users having Threading Issues with xsltc? Its seems that if you have a translat being compiled at the same time by two or more threads (instances of

custom generator not working on a fresh install

2003-02-07 Thread peter riegersperger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all! We reactivated a Cocoon-based project that I haven't touched for a while, and I try to get Cocoon (and that project) running on my notebook. Included in this project is a custom generator, and this seems to be a bit of a problem. On the

Installation of tomcat 3.2.3 and cocoon 2.0.2 in MAC G4

2003-02-07 Thread M.Haq
Hi, Is there anyone who can help me to install tomcat 3.2.3 and cocoon 2.0.2 in my MAC G4. No matter what i do I can not get tomcat to startup. I have already tried to follow the UNIX installation but it does not work, as it says that the commands not found. I cannot get a bash cell as bash is

DatabaseAddAction and unique or primary keys

2003-02-07 Thread Sheraz Sharif
Hello all, I have been working on a website for a while. Here is my problem - I can easily verify user input through forms and return any error messages through the xsp-formval tags. After validation, the input is passed to the database. However, I get an SQL exception : ProcessingException:

Can someone help this problem!

2003-02-07 Thread Rice Yeh
Hi, I posted this problem few days ago. Someone also has the same problem. But it seems no solution util now. This should be a easy for you gurus but frustrate me a lot. My jvm is 1.4.1. I repeated my problem as follows I checked out cocoon2 from cvs and build a webapp with the folloing

RE: XSPAction

2003-02-07 Thread Geoff Howard
pretty sure you place it anywhere you want - you just need to reference it properly from within the src attribute of map:act Geoff -Original Message- From: Olivier GUCKERT [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 8:34 AM To: Cocoon-user Subject: XSPAction Hello I

RE: Configuring Cocoon to run under Apache/Tomcat virtualhost?

2003-02-07 Thread Geoff Howard
I've mentioned this once before on the list I think, but I have a simple action that checks container based roles. I can send you more information this weekend from home if you're interested. Geoff -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07,

Re: Can someone help this problem!

2003-02-07 Thread Tony Collen
On Fri, 7 Feb 2003, Rice Yeh wrote: Hi, I posted this problem few days ago. Someone also has the same problem. But it seems no solution util now. This should be a easy for you gurus but frustrate me a lot. My jvm is 1.4.1. I repeated my problem as follows Hello, Your problem can be

[ANN] - Tomcat /status information disclosure

2003-02-07 Thread Antonio Gallardo
Title: Tomcat /status information disclosure ID: 11218 Category: Misc. URL: http://www.securityspace.com/smysecure/catid.html?id=11218 Summary: Makes a request like http://www.example.com/server-status - Please check that

Re: DatabaseAddAction and unique or primary keys

2003-02-07 Thread Antonio Gallardo
Hi, Today morning I told you about the MODULAR Database Actions, also I pointed you to: http://wiki.cocoondev.org/Wiki.jsp?page=ModularDatabaseActions There you can find ALL the info about how to do what you mean. Also I can work with sequence (you told before you use PostgreSQL 7.2). Sheraz

Cinclude issues...

2003-02-07 Thread Ben Young
I've recently attempted to use the cinclude to aggregate some files that I'm currently aggregating with the map:aggregate command, but I've run into some issues that I'm not sure how to resolve. My current map:match section looks like this: map:match pattern=**/index.htm* map:act

DO NOT REPLY [PATCH QUEUE] Summary February 8 2003

2003-02-07 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to

Re: converting HTML to PDF

2003-02-07 Thread Mike Haarman
On Fri, 7 Feb 2003, Afshartous, Nick wrote: Hi, I was wondering if anyone has experience in converting HTML to PDF ? For instance does anyone have a stylesheet to handle the formatting of nested tables and CSS ? Thanks for any tips or pointers to resources. -- Nick Antennae