Re: Comparison in ESQL doesn't work

2003-01-09 Thread Christian Haul
On 08.Jan.2003 -- 06:36 PM, [EMAIL PROTECTED] wrote: I have a strange problem. I'm trying to compare two values in the esql:row-results-Part with an if-compare, but somehow the if-construct is never entered even if there are matches. (I put the System.out's to see if there are matches. There

Re: trouble using xsp input logicsheet in cocoon 2.0.4

2003-01-09 Thread Christian Haul
On 08.Jan.2003 -- 04:19 PM, Timothy Larson wrote: When I try to use the XSP Input logicsheet in cocoon-2.0.4 I get this error: /org/apache/cocoon/components/language/markup/xsp/java/input.xsl; Line 199; Column 54; Could not find template named: get-string-attribute Looking in the cocoon

RE: XMLform JavaBean and Database Connection Pool

2003-01-09 Thread Sylvain.Thevoz
Hi Lars, I have implemented an object-relationnal mapping tool called OJB (it's open source) to connect to my databases. It works very well. You don't need special code or new methods within javabean. You don't need queries and you don't need to manage connections. You simply instantiate a new

ESQL problem - current cocoon HEAD

2003-01-09 Thread Leszek Gawron
I'm using cocoon to communicate with MS SQL Server via MS JDBC driver (Java 1.3). After switching to current HEAD I get an error message that did not exist in my previous version: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException:

Re: [Flow] Looking for docs!

2003-01-09 Thread Ugo Cei
Ovidiu Predescu wrote: Unfortunately Tony, there isn't any documentation for the control flow. Yet! Well, that's not entirely true, and you should know better: ;-) http://www.webweavertech.com/ovidiu/weblog/archives/42.html http://outerthought.net/gettogether/ (download paper number 10)

cocoon usage patterns repository

2003-01-09 Thread SAXESS - Hussayn Dabbous
Hy; I am playing around with cocoon for quite a while now in the role of a cocoon-user. After some significant investigation i started writing down some usage patterns that came to my mind while i was preparing my company website for cocoon. Now i want to ask: 1.) Is there a repository of

Re: [2.0.4] SQLTransformer and j2ee vs. jdbc datasource

2003-01-09 Thread Sebastian Gil
On Wed, 8 Jan 2003 22:40:37 -, Renaud Bruyeron [EMAIL PROTECTED] wrote: I am facing a weird problem with the SQLTransformer. This happens with cocoon 2.0.4 on jdk1.3.1 running in Tomcat 4.1.12 Tomcat doesn't contains the required librariesfor J2EE datasources by default. Check your

Re: [Flow] Looking for docs!

2003-01-09 Thread Ross Gardler
Ugo Cei wrote: Ovidiu Predescu wrote: Unfortunately Tony, there isn't any documentation for the control flow. Yet! Well, that's not entirely true, and you should know better: ;-) http://www.webweavertech.com/ovidiu/weblog/archives/42.html http://outerthought.net/gettogether/ (download

Re: cocoon usage patterns repository

2003-01-09 Thread Bertrand Delacretaz
Hi Hussayn, 1.) Is there a repository of howtos concerning cocoon usage? i know the cocoon wiki, but i only found some very basic usage pattern descriptions there... I don't think there is more info about usage patterns or best practices yet. 2.) If not already existing somewhere...

Refreshing Stylesheet in Cocoon/Tomcat

2003-01-09 Thread Anna Afonchenko
Hi all! We have a problem when we are running Cocoon from Tomcat. We are using the latest stable versions of both. The problem arises with refreshing the http request to Cocoon. From our xsl stylesheet we call a very simple Java Extension that prints out the date to the command line - or

Re: cocoon usage patterns repository

2003-01-09 Thread Alan Hodgkinson
Dear Hussayn, I am playing around with cocoon for quite a while now in the role of a cocoon-user. After some significant investigation i started writing down some usage patterns that came to my mind while i was preparing my company website for cocoon. Nice one. Thanks. Always welcome! :)

Re: [2.0.4] SQLTransformer and j2ee vs. jdbc datasource

2003-01-09 Thread Renaud Bruyeron
Sebastian Gil [EMAIL PROTECTED] wrote in message opriqa1bv0m7k2hg@localhost">news:opriqa1bv0m7k2hg@localhost... On Wed, 8 Jan 2003 22:40:37 -, Renaud Bruyeron [EMAIL PROTECTED] wrote: I am facing a weird problem with the SQLTransformer. This happens with cocoon 2.0.4 on jdk1.3.1

Re: trouble using xsp input logicsheet in cocoon 2.0.4

2003-01-09 Thread Timothy Larson
Thanks Chris, I got it mostly working with your information. A couple of issues, though: The first issue is that while this works fine: input:get-attribute module=session-attr as=string name=attr1 default=(Does not exist)/ this: input:get-attribute-names module=session-attr as=string/

Re: ESQL and JavaScript

2003-01-09 Thread Cocoon User
can someone explain me how is it possible this code to be valid without syntax errors? how can we have a markup language elemend [esql:any/] inside a javascript function (){ } or your are talking about something else than clientside javascript thnx stavros On Wed, 8 Jan 2003 [EMAIL

Re: ESQL and JavaScript

2003-01-09 Thread Christian Haul
On 09.Jan.2003 -- 05:10 PM, Cocoon User wrote: can someone explain me how is it possible this code to be valid without syntax errors? how can we have a markup language elemend [esql:any/] inside a javascript function (){ } Remember that the esql tags are already processed on the server

cocoon2.0.4, jacarta-tomcat4.0.3, jdk1.3.1 - Error compiling sitemap_xmap

2003-01-09 Thread Alexander Lunyov
Hello cocoon-users, I have installed Tomcat4.0.3, JDK1.3.1 and Cocoon2.0.3 on my FreeBSD4.6.2 box and Cocoon is not working (although Tomcat is working, at least Tomcat shows its index page). The problem is that ContentHandler.class is not found. Where is that class must be? Is it part

sample using jxpath with input logicsheet?

2003-01-09 Thread Timothy Larson
Is there a sample somewhere of using jxpath with the input logicsheet? I am trying to pick apart a dom that is stored in the session. Tim - Please check that your question has not already been answered in the FAQ before

Re: Refreshing Stylesheet in Cocoon/Tomcat

2003-01-09 Thread Joerg Heinicke
Hello Anna, the cache of Tomcat is in %TOMCAT_HOME%/work/*. If the stylesheet doesn't change the cache isn't invalidated. It's probable that the change in the result of the extension function does also not invalidate the cache. If you don't need the date in the browser, why do you use an XSLT

file generator error

2003-01-09 Thread Sylvain.Thevoz
Hello, My sitemap is: map:match pattern=virus_info.xml map:generate src=http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings/ map:transform src=styles/info.xsl/ map:serialize type=xml/ /map:match The problem is that I can't compile the sitemap. Error is:

Re: sample using jxpath with input logicsheet?

2003-01-09 Thread Christian Haul
On 09.Jan.2003 -- 11:35 AM, Timothy Larson wrote: Is there a sample somewhere of using jxpath with the input logicsheet? I am trying to pick apart a dom that is stored in the session. Tim, I still need to think about your last mail. Anyway, here is an XSP that I use to test InputModules...

RE: file generator error

2003-01-09 Thread Reinhard Poetz
map:match pattern=virus_info.xml map:generate src=http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings/ map:transform src=styles/info.xsl/ map:serialize type=xml/ /map:match Anybody has an idea? map:generate src=.../cgi-local/page?o=xmlamp;c=Virus%20warnings/

Re: file generator error

2003-01-09 Thread Stephan Michels
On Thu, 9 Jan 2003 [EMAIL PROTECTED] wrote: Hello, My sitemap is: map:match pattern=virus_info.xml map:generate src=http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings/ map:transform src=styles/info.xsl/ map:serialize type=xml/ /map:match The problem is that I can't

Re: file generator error

2003-01-09 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: map:generate src=http://www.moreover.com/cgi-local/page?o=xmlc=Virus%20warnings/ ... The problem is that I can't compile the sitemap. Error is: org.xml.sax.SAXParseException: The reference to entity c must end with the ';' delimiter. This is a FAQ, ampersands must

RE: file generator error

2003-01-09 Thread Ed Yavno
can't use '' if it's not part of an entity reference, substitute your '' for its entity reference: map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20warnings/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003

Stored Procedure Question

2003-01-09 Thread Jacob Arnold
I'd like to use an Oracle stored procedure for users to sign in. I have the following code in my XSP: esql:execute-query esql:call{call pwdp.syusracc.encode_login(esql:parameter direction=in type=Stringusername/esql:parameter, esql:parameter direction=in type=Stringpassword/esql:parameter,

RE: Stored Procedure Question

2003-01-09 Thread Jacob Arnold
Never mind. Evidently get-boolean works. J -Original Message- From: Jacob Arnold [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 10:16 AM To: '[EMAIL PROTECTED]' Subject: Stored Procedure Question I'd like to use an Oracle stored procedure for users to sign in. I have the

Compile errors in CVS version

2003-01-09 Thread Marc Wilhelm Küster
Hi! I have a problem with the current CVS version which refuses to compile for a JDK 1.4 under Windows 2000. Running .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps install as recommended, the build process breaks with the following compilation errors:

Cocoon/Tomcat not handling amp; in URLs?

2003-01-09 Thread Rob Johnston
I am attempting to build a cinclude:include dynamically in a transformation that will have multiple parameters in the src URI. The final version should look like: cinclude:include src=url?p1=foop2=bar/ To do this, I have the following xsl: cinclude:include xsl:parameter name=src

xmlform dtd

2003-01-09 Thread Yatin Shah
Hello all, Anyone know where can I find the dtd for xmlform(xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002;)? I'm interested in learning about all available UI types for use in the form xml files. [It's not included in src/documentation/xdocs/drafts, src/documentation/xdocs/dtd/ or

bring xml from DB2 to cocoon

2003-01-09 Thread Robert Sösemann
Hello, in one of my custom generators I have to query a db attribute wich contains an xml-fragment. I do this by my addXML() method. An although it seems to produce the correct sax events, my transformers NEVER do apply anything to the resulting xml. Two possibilities: - it is wrong to use CLOB

Sync. Coccon with Slide - NEED HELP!

2003-01-09 Thread Julian Klein
Hi All, As I have looked into the cocoon slide implementation, it seems as if the createCollection, delete, and upload actions are mostly cocoon classes (xml-cocoon2/src/scratchpad/src/org/apache/cocoon/acting.SourceUpload and xml-cocoon2/src/scratchpad/src/org/apache/cocoon/acting.MultiUpload

xmlform and database

2003-01-09 Thread Kirchhoff, Lars
hello after using the connection pool from cocoon my system hangs after a while. This means I try to call an url and get no response neither a cocoon error message nor an url not found. The browser is loading all the time and don't even get an time out. I'm using very similar code like

Re: [2.0.4] SQLTransformer and j2ee vs. jdbc datasource

2003-01-09 Thread Renaud Bruyeron
ok I think I've identified the problem. I am copying the DEV list too. Tomcat 4.1.12 uses commons-dbcp to implement its connection pool. There is a mechanism in DBCP to track abandonned objects, so that when a Connection is closed, the associated Statements *AND* ResultSets are closed too. The

Re: cocoon usage patterns repository

2003-01-09 Thread SAXESS - Hussayn Dabbous
Thank you, Bertrand, I will add the links to the bestPractices page as my docs will grow. regards, hussayn Bertrand Delacretaz wrote: Hi Hussayn, 1.) Is there a repository of howtos concerning cocoon usage? i know the cocoon wiki, but i only found some very basic usage pattern