AW: DB2 with Cocoon

2003-01-04 Thread Michael Mertel
Rob, if there is no schema definition in your query than the username is used, that you used for connecting to the database. Just create the needed tables with this user, then it should match. --Michael -Ursprüngliche Nachricht- Von: Robert Sösemann [mailto:[EMAIL PROTECTED]]

How to create a dev env for a new Cocoon app

2003-01-04 Thread Jim Whetstone
I've been tryin' to create a devlopment environment using Tomcat 4.1.18 and Cocoon 2.0.4 without success. So these are the steps I'm trying: 1) Create a new base directory under the "webapp" directory of Tomcat 2) Copy cocoon/WEB-INF from the cocoon app to my new directory 3) create a new

Re: DB2 with Cocoon

2003-01-04 Thread Robert Sösemann
Thanks a lot, Michael. But my problem is, that I have to use the given schema development, because our team works in another schema than the online db (production schema). Is there a chance to set the schema before querying with esql? Thanks in advance. Rob - Original Message - From:

AW: DB2 with Cocoon

2003-01-04 Thread Michael Mertel
Rob, maybe create alias is your friend ... just create an alias with your development schema for each table, that will work too // // Mit freundlichen Gruessen - Kind regards // Michael Mertel // // Bit World Computing eK // Andreas-Bauer-Strasse 4, 97297 Waldbuettelbrunn, Germany // Phone +49

map:handle-errors doesn't work

2003-01-04 Thread Robert Sösemann
Hello, for error handling in my esql xsps I want to use map:handle-errors to show a user-friendly error page. But the error messge generated in the error:message tag in my xsp does not affect the map:handle-errors in the sitemap. This is what i have: - end of sitemap with

Re: DB2 with Cocoon

2003-01-04 Thread Robert Sösemann
Dear Michael, can I not just add another esql:query before that sets the schema. Something like: esql:queryset schema development/esql:query ... esql:queryTHE ACTUAL QUERY/esql:query Robert - Original Message - From: Michael Mertel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

AW: DB2 with Cocoon

2003-01-04 Thread Nils Leßmann
Dear Robert, without knowing anything aboout db2 or db schemas - my guess is that this error results from Excalibur sending a select 1 as a dummy query to the database so the connection doesn't time out. Try setting oradb to true in your cocoon.xconf where you configured the connection pool.

xmlform, javabeans and xml instances

2003-01-04 Thread Lee Pollington
Hi all, I am not that familiar with JavaBeans so please excuse me if this is a dumb question, it's not actually that Cocoon specific, anyways... XMLForm uses a JavaBean to store the form data, when I reach an end state I want to create an XML instance. Is there a standard JavaBean or Cocoon way

Re: xmlform, javabeans and xml instances

2003-01-04 Thread Jakob Praher
Am Sam, 2003-01-04 um 20.27 schrieb Lee Pollington: Hi all, I am not that familiar with JavaBeans so please excuse me if this is a dumb question, it's not actually that Cocoon specific, anyways... XMLForm uses a JavaBean to store the form data, when I reach an end state I want to create

jpath problem (solved)

2003-01-04 Thread Johannes Hofmann
Hi, passing non-string objects via the bizData argument of sendPageAndWait() in the flow-script did not work for me (see http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104133080428237w=2) Now I found out, that the javascript call sendPageAndWait(user.xml, {users:users}); Makes a string from

Re: Loading images with relative src

2003-01-04 Thread Anna Afonchenko
No. First, AugmentTransformer deals only with href attributes, and second, it augments the attribute to the full path of the request, e.g. http://localhost:8080/cocoon/... and not to the path of the requested page. In the end, I just wrote simple xsl that parses the given url and transforms each