Xindice and Cocoon

2002-08-18 Thread praktikant
I get this when I go to the site. Source code (xml) instead of data (also xml) I use Win 2k, Tomcat 4.0.4, Cocoon 2.0.3 (compiled on Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - Please check that your question has not already

Re: J2EE needed? UserTransaction not found..

2002-08-18 Thread Stephan Michels
On Sun, 18 Aug 2002, Jan wrote: > > Where do you get this error? > On startup. Urgh :-| Can you this more explain?! Tomcat? Version? Version of Cocoon? Install method? Parameters? - Please check that your question has not

Cocoon and Xindice

2002-08-18 Thread praktikant
Hello! I'm a newbie. I tried to use the /db/addressbook shipped with Xindice. I've found some examples on http://cocooncenter.de. But the examples didn't run yet. If I try to run this : (db_test.xml) http://apache.org/cocoon/xmldb/1.0";> http://xml.apache.org/xindice/Query"; src:co

How to redirect Request in sitemap

2002-08-18 Thread Murari
Hello Friends, How to redirect request object within the pipeline depending upon the request value. I tried Murari Dhoot - Please check that your question has not already been answered in the FAQ before posting.

RE: XML to PDF

2002-08-18 Thread Martin Geissler
Look at http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html or the docs of the Apache FOP Project hth Martin - Please check that your question has not already been answered in the FAQ before posting.

RE: Status of new functionality

2002-08-18 Thread Carsten Ziegeler
The official state of the session and authentication management is alpha, but this stuff is a donation of my company. It is used in production environment over more than a year now - so they are more stable and working than you could expect from alpha software - you can consider them at least as b

cocoon-users@xml.apache.org

2002-08-18 Thread MJ Ray
Justin Fagnani-Bell wrote: > So I do some searching on on w3.org and sure enough URLs in XHTML have > to use '&' instead of '&'. Arrgh, I know this will cause problems > once people who are used to normal HTML start using this. [...] I remember it being the same in HTML attributes too. The HT

RE: esql patch for paging and ResultSets from Oracle stored procs

2002-08-18 Thread neil
Here is a small patch to esql.xsl r1.13.2.8 1) fix runtime compilation error described in a previous posting to this thread copy the type from directly into the generated code rather than use reflection as in EsqlQuery.getType() (which should be removed if this patch is applied). Argument for do

Re: Deployed Cocoon 2.0.3 on JBoss 3.0.1RC1

2002-08-18 Thread Vegan Portal
--- snpe <[EMAIL PROTECTED]> schrieb: > On Wednesday 07 August 2002 04:21 pm, Vegan Portal > wrote: > ... > > Agh, at least have I learnt how to build and > > customize JBoss from scratch... > > This running version of JBoss is OK for me, > although I'm deleting old posts because my mailbox g

RE: esql patch for paging and ResultSets from Oracle stored procs

2002-08-18 Thread neil
I would rather esql copied the type from directly into the generated code than use reflection as in EsqlQuery.getType() to get the int value (this is a change made after cocoon-2.0.3). The generated code is DBMS specific either way so there is nothing wrong with it referencing a DBMS specific c

XML to PDF

2002-08-18 Thread Bobrs
Please All, Somebody know some links of tutorial specific of transformation XML to PDF !?!?!? thanks.. - Please check that your question has not already been answered in the FAQ before posting.

Re: SQLTransformer good, ESQL good!

2002-08-18 Thread Christian Haul
On 18.Aug.2002 -- 09:14 PM, Jan Willem Penterman wrote: > > This is _really_ strange. > > Erm, _I_ am really strange... > I had my esql:pool tag within the esql:query... > Aargh! Glad to hear this is not esql related :-) Mind you, no-one else spotted it either. Chris. -- C h r i s t

RE: SQLTransformer good, ESQL good!

2002-08-18 Thread Jan Willem Penterman
> This is _really_ strange. Erm, _I_ am really strange... I had my esql:pool tag within the esql:query... Aargh! JW - Please check that your question has not already been answered in the FAQ before posting.

Packaging a cocoon web application

2002-08-18 Thread Leszek Gawron
I have quite a problem that I think some of you also might have. I'd like to package my web application along with cocoon to make a nice one file .war "automatic" installation package. I have already found that there is a special build target for cocoon that produces a framework with no examples o

Re: SQLTransformer good, ESQL bad

2002-08-18 Thread Christian Haul
On 18.Aug.2002 -- 07:19 PM, Jan Willem Penterman wrote: > > Could you please try to find if your logs contain something > > like "could not acquire a Connection -- waiting" and set the > > parameter 1 in the > > declaration of the transformer in sitemap.xmap? > > No only the 'no suitable drive

Re: IS an XSP Transformer Possible?

2002-08-18 Thread Vadim Gritsenko
Steven Punte wrote: >In the cocoon environment, XSP provides a great >way of address problems that don't fit into >the paradigm of an existing generator. > >However, XSP can only be used at the first >step in a pipeline. > >I find myself writing lots of custom transformers >to address issues tha

RE: SQLTransformer good, ESQL bad

2002-08-18 Thread Jan Willem Penterman
> Could you please try to find if your logs contain something > like "could not acquire a Connection -- waiting" and set the > parameter 1 in the > declaration of the transformer in sitemap.xmap? No only the 'no suitable driver' error when calling the esql page.. And SQLTransformer works just

Re: IS an XSP Transformer Possible?

2002-08-18 Thread Nicola Ken Barozzi
Steven Punte wrote: > In the cocoon environment, XSP provides a great > way of address problems that don't fit into > the paradigm of an existing generator. > > However, XSP can only be used at the first > step in a pipeline. > > I find myself writing lots of custom transformers > to address i

Re: Versions

2002-08-18 Thread Bobrs
Huummm... sorry friends !!! I was forget a step !!! copy the parser's files to tomcar directory !!! thanks All !!! Johann Romefort wrote: > Did you already follow the steps at > http://xml.apache.org/cocoon/installing/index.html ? > Could you send us a more detailed description of the problem

Re: Versions

2002-08-18 Thread Johann Romefort
Did you already follow the steps at http://xml.apache.org/cocoon/installing/index.html ? Could you send us a more detailed description of the problem (stacktrace, when it happens, etc..) Regards, johann - Original Message - From: "Bobrs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

IS an XSP Transformer Possible?

2002-08-18 Thread Steven Punte
In the cocoon environment, XSP provides a great way of address problems that don't fit into the paradigm of an existing generator. However, XSP can only be used at the first step in a pipeline. I find myself writing lots of custom transformers to address issues that don't fit into any of the e

Internal references for sendmail

2002-08-18 Thread Paul Pattison
I'm writing a small web app that sends users an email with either an HTML or PDF attachment. This attachment is generated by Cocoon. I've been using the sendmail logicsheet to send the email, but it requires an absolute path to the attachment. Since my attachment is generated by Cocoon, I would

Re: Making a new Action

2002-08-18 Thread Kenny Chow
Rather than writing actions in an xsp, I write actions in Cocoon way, in pure .java files. I found this approach is easier and more reusable; and the source has provided sufficient example actions that we can learn from. An alternative to Cocoon action could be logicsheets which I found somew

Re: How to send a parameter of type "long" to a FormValidator

2002-08-18 Thread Christian Haul
On 18.Aug.2002 -- 04:53 AM, Antonio Gallardo Rivera wrote: > Can be the problem of update in the tutorial this? > > > > Please see the mode attribute. This is not related to form validation but to the database actions from the modular package. The given mode creates a new autoincrement value b

Re: How to send a parameter of type "long" to a FormValidator

2002-08-18 Thread Christian Haul
On 18.Aug.2002 -- 04:06 AM, Antonio Gallardo Rivera wrote: > Sorry, but I am not validatong a session id. Yes, that's what I understood. You're validating a form parameter. > The parameter is the key of the table department. His name is: id > Then after the message: ?? this should be unrelated

Versions

2002-08-18 Thread Bobrs
I would like to know what the version (tomcat, cocoon, jdk) I need use to run the cocoon !??!? I am using jdk 1.3.1 + tomcat 4.0 + cocoon 2.0.2.. but I dont get run the cocoon !!! Thanks.. - Please check that your question ha

Re: How to send a parameter of type "long" to a FormValidator

2002-08-18 Thread Antonio Gallardo Rivera
Can be the problem of update in the tutorial this? Please see the mode attribute. Antonio Gallardo El Domingo, 18 de Agosto de 2002 03:25, Christian Haul escribió: > On 18.Aug.2002 -- 01:09 AM, Antonio Gallardo Rivera wrote: > > I am trying the tutorial example that comes with Cocoon. > > > >

Re: J2EE needed? UserTransaction not found..

2002-08-18 Thread Jan
> Where do you get this error? On startup. - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTEC

Re: How to send a parameter of type "long" to a FormValidator

2002-08-18 Thread Antonio Gallardo Rivera
Sorry, but I am not validatong a session id. The parameter is the key of the table department. His name is: id Then after the message: Thread-14/AbstractValidatorAction: Validating parameter: id Thread-14/AbstractValidatorAction: Validating long parameter id (encoded in a string:

Re: SQLTransformer good, ESQL bad

2002-08-18 Thread Christian Haul
On 17.Aug.2002 -- 11:13 PM, Jan Willem Penterman wrote: > I'm sorry to the spam the list like this, but now I've got the feeling > I'm really getting somewhere: > > I've set up cocoon-2.0.3 binary release for j2sdk1.4 and added a pool > for MySQL Connector/J . > > Now I've actually managed to ge

Re: How to send a parameter of type "long" to a FormValidator

2002-08-18 Thread Christian Haul
On 18.Aug.2002 -- 01:09 AM, Antonio Gallardo Rivera wrote: > I am trying the tutorial example that comes with Cocoon. > > When I try to create a employe or update a department. I always get this error > in the sitemap.log file: > > Thread-14/AbstractValidatorAction: Validating long parameter de

Re: Making a new Action

2002-08-18 Thread Litrik De Roy
For my project I have used XSP to write actions. Advantages: - The is no need to do manual compiles. Cocoon will compile it when the source has changed. - The XSP can be stored in a location relative to a subsitemap instead of the WEB-INF directory. It took me a while to figure out how to do it

Re: CVS Snapshot: ConfigurationException

2002-08-18 Thread Stephan Michels
On Sat, 17 Aug 2002, Jan Willem Penterman wrote: > Somebody pointed me to the fact that I'd be better off using the most > recent CVS snapshot because I would get more support in getting problems > so solved (true), so I've taken a step back from my mysql problems, > upgraded to j2sdk14 en got t

Re: J2EE needed? UserTransaction not found..

2002-08-18 Thread Stephan Michels
On Fri, 16 Aug 2002, Jan wrote: > It seems to be that Cocoon uses J2EE (witch I do not have) for it uses >javax.transaction.UserTransaction.. is this correct or have I possibly done something >wrong during the build process? > The whole trace is included below. > Oh by the way: The link is in