Where I put my business logic ?

2003-06-26 Thread Alberto Zanon
Hello,   as I written in a previous message (see below), I have to build an intranet and I want to use a solid system (= Cocoon) that helps me to separate presentation, logic and database. At this moment I don't know where to put the "logic". For example, when a user of my site posts an html

Tool to validate xsp file?

2003-06-26 Thread Manish Jain
Hi, Is there any tool to validate/compile all xsp file of a site and get the error results? Manish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Jorg Heymans
"randomly receiving the content of 2 unrelated pages together" smells like some non-threadsafe code to me. -Original Message- From: Gabriel Egolf [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 25. Juni 2003 20:48 To: [EMAIL PROTECTED] Subject: Random ArrayIndexOutOfBoundsException Hello all.

Re: esql:query problem

2003-06-26 Thread Christian Haul
On 26.Jun.2003 -- 10:04 AM, Dmitry Diskin wrote: > Hello > > I noticed that if I insert any tag between closing and > opening - nothing works. Is it a known situation and > documented somewhere? > > Example below doesn't work: > > > mypool > > > select * from somet

Re: problems with new coplets in my portal

2003-06-26 Thread Matthias Wessendorf
Hi Holger! everything is exactly the same... where can i flush the cache? greetings... PS: all my coplets do not work... (they all get "remove-xml" over http) [EMAIL PROTECTED] wrote: Hi Matthias, please check whether your sitemap entry for that particular coplet is corresponding to the respe

Re: cocoon interface for HSQLDB

2003-06-26 Thread Christian Haul
On 25.Jun.2003 -- 11:58 PM, Bruno Pierre wrote: > Hi everybody, > > I'm looking for a cocoon interface (mounted subsitemap) for managing a HSQLDB like > phpmyadmin for mysql. > > Has anyone heard about this? Do I have to do it by myself? None that I am aware of. > if i have to, does someone ha

Beautify XML?

2003-06-26 Thread Dmitry Diskin
Hello Is there a way to get resulting XML document without those blank lines? For example, if I write: in XML I get this: How can I remove those e

Re: Error message not displayed

2003-06-26 Thread Joerg Heinicke
No problem. You can read something about it here: http://wiki.cocoondev.org/Wiki.jsp?page=ErrorHandling Joerg Dmitry Diskin wrote: Hi Joerg, Thanks for your answer. Would you mind to show me the example - I was unable to find it.. Dmitry. Joerg Heinicke wrote: That's a logging issue, so shoul

Re: Where I put my business logic ?

2003-06-26 Thread Joerg Heinicke
What about http://wiki.cocoondev.org/Search.jsp?query=database&Search=Find or more specific http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseActions. ESQL is another possibility (http://wiki.cocoondev.org/Wiki.jsp?page=ESQL). It's an XSP logicsheet, which adds further separation to XSP (http:/

Re: Beautify XML?

2003-06-26 Thread Joerg Heinicke
It's mentioned as ToDo for XSP (first entry for medium priority): http://cocoon.apache.org/2.0/todo.html. At the moment you will need a custom stylesheet I guess. Joerg Dmitry Diskin wrote: Hello Is there a way to get resulting XML document without those blank lines? For example, if I write:

Re: cocoon interface for HSQLDB

2003-06-26 Thread Bruno PIERRE
Thanks, It was already in my favorites, but it is not clear. i don't know how to list all the table, all the column of a table with their type (in SQL). and some stuff like that. Bruno - Original Message - From: "Christian Haul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursda

Re: xsp question

2003-06-26 Thread Frank Taffelt
take a look at the grouping features from esql, maybe these could ease your task. hth, frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help required: outline of a solution

2003-06-26 Thread scott
Hey all, I want to achieve the following with cocoon, but I'm getting lost in the documentation / examples / terminology so I could use a good steer in the right direction. I want to build a web app that uses SOAP to communicate with a "back-end", and I want to populate a web-app with the data a

Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Akhona Damane
Hello I am stuck! I want to start with Publishing XML Documents in HTML and PDF, but I can't seem to find a way of working on my Cocoon. The tutorials command me to work on http://localhost:8080/cocoon/mount/ but I can't open up mount directory. Please, help me asap Thank you Mr. Akhona

Re: cocoon interface for HSQLDB

2003-06-26 Thread Christian Haul
On 26.Jun.2003 -- 10:12 AM, Bruno PIERRE wrote: > Thanks, > > It was already in my favorites, but it is not clear. > i don't know how to list all the table, all the column of a table with their > type (in SQL). Most DBMS have special tables for the meta data. I don't know how hsqldb does it. Anyw

generic forms handling - looking for solution hints

2003-06-26 Thread christian.ruess
Hi - I'm looking for a solution for a form handling problem. I'm beginner to cocoon and would appreciate any hint. I extract an xml fragment like the following from a relational database. The structure is not static.

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Alexander Schatten
Akhona Damane wrote: Hello I am stuck! I want to start with Publishing XML Documents in HTML and PDF, but I can't seem to find a way of working on my Cocoon. The tutorials command me to work on http://localhost:8080/cocoon/mount/ but I can't open up mount directory. to be honest, /I am no

Can i invoke cocoon from within a swing application

2003-06-26 Thread David Cypers
Hi there, I need to generate PDF and Excel output from within a swing application. Is this possible with Cocoon, without deploying cocoon on a webserver? What I mean is that, can I package the cocoon libraries (and configuration files) with my swing application, and invoke it at the client sid

sitemap

2003-06-26 Thread Lionel Crine
Hello, In my sitemap, I have some similar pipelines so I have decided to use the element But I read that when you make the the pipeline finish in the So this example is not working : .. ... Is there antoher way to do that. (Reuse some part in the

Re: Can i invoke cocoon from within a swing application

2003-06-26 Thread Alexander Schatten
David Cypers wrote: Hi there, I need to generate PDF and Excel output from within a swing application. Is this possible with Cocoon, without deploying cocoon on a webserver? What I mean is that, can I package the cocoon libraries (and configuration files) with my swing application, and invoke

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Geoff Howard
At 08:00 AM 6/26/2003, you wrote: Akhona Damane wrote: Hello I am stuck! I want to start with Publishing XML Documents in HTML and PDF, but I can't seem to find a way of working on my Cocoon. The tutorials command me to work on http://localhost:8080/cocoon/mount/ but I can't open up mount dire

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Andreas Kuckartz
> which version of cocoon are you using? Also, which > servlet container are you running cocoon in? See mail-subject... Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Geoff Howard
At 09:25 AM 6/26/2003, you wrote: > which version of cocoon are you using? Also, which > servlet container are you running cocoon in? See mail-subject... Andreas Oops, needed to widen my window. So, which tutorial? Geoff - To

Re: xsp question

2003-06-26 Thread Roger I Martin PhD
I use Netbeans to check the xml. It can also be used for performing xslt per file rather than building the cocoon war and redeploying it on tomcat. For some xml I've also got it to validate the xml to the dtd and xsd's. For xsp I've only verified checking it for wellformness. I also recommend th

Re: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Gabriel Egolf
Sadly, I don't think it's gonna be a fix for this problem. I ran the Environment Check stylesheet and it looks like my servlet engine is using the correct Xalan version - 2.3.1. I'll attach the relevant XML output at the end. There was an observation that I might have some threadsafe coding

auto-redirect XSP page with timer

2003-06-26 Thread Maxime.Gheysen
Is there a way to redirect an XSP-page after 3seconds? that means I want to display a page for about 3seconds and then automaticly redirect it to another. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

email virus scanner malfunctioining

2003-06-26 Thread Steven Noels
Dear, we (the [EMAIL PROTECTED] mailing list moderators) are being bombarded with moderation requests for misguided return mails from an overzealous virus scanner on your mail system - could you please check this with your network administrators? If this situation persists, we will be forced t

[OT] Re: email virus scanner malfunctioining

2003-06-26 Thread Andreas Kuckartz
"The message was blocked because of its subject." The subject is "Random ArrayIndexOutOfBoundsException". ( Can you find the problematic three letter word hidden in this subject - somewhere near the end? And another five letter in front of that. That combination is really not allowed in Java sour

Re: email virus scanner malfunctioining

2003-06-26 Thread Sorin Marti
I am terribly sorry. I will remove myself from the list and check this with the administrators. I'll come back when everything is fixed. sorry again Sorin Marti Steven Noels wrote: Dear, we (the [EMAIL PROTECTED] mailing list moderators) are being bombarded with moderation requests for misgui

Re: auto-redirect XSP page with timer

2003-06-26 Thread Geoff Howard
This has absolutely nothing to do with XSP. Your question should be "is it possible to redirect an HTML page after 3 seconds". And yes, of course there is but this is not the right list for that question. You should look at meta refresh tags in the header, or javascript - a simple google search

book recommendations

2003-06-26 Thread Peter Ross
Hi, Does anyone have any recommendations of books that they found useful for learning cocoon? Here are some titles of books that I have found. * Cocoon Developer's Handbook * Cocoon: Building XML Applications * Cocoon 2 Programming: Web Publishing with XML and Java Regards, Peter -

store data in DB

2003-06-26 Thread Markus Blasl
Hello, i have cocoon 2.0.4 with tomcat 4.1.x running. I have a postgres db whith some content in it. I also can display the date using cocoon, everything fine My problem now is, that i want to write a page that is like that --- -- - |

Cocoon, SOAP and Basic Authentication

2003-06-26 Thread Scott
In addition to my previous questions, I was wondering how to use Cocoon to get data via SOAP, connecting to a web-server that requires basic authentication? I can't find any docs/references on this at all ! :( I've been using the following as a reference, as well as the standard Cocoon soap exa

xsl question

2003-06-26 Thread Tim Bachta
How would I do an if statement in xsl were I am testing for the value of an element? Example . where my incoming xml looks like this: de 0 < N/A Thanks for the help Tim Bachta ---

[joke] Error message

2003-06-26 Thread Lorenzo De Sio
This is for all us often complaining about cryptic Cocoon error messages: look at what could happen using MSXML ;-)...   msxml3.dll error '8000' Catastrophic failure /lib.asp, line 35    

C2.1-m2 problems with Xalan

2003-06-26 Thread Perry Molendijk
BlankI have encountered some problems running C21-m2. The problem appears to be with the version of Xalan that comes with the distribution, replacing it with the one from C21-m1 didn't fix the problem, however using Saxon as the xslt transformer fixed the problem. I tried this on: W2K / JDK1.4 / T

Re: xsl question

2003-06-26 Thread Joydeep Bose
To be on the safer side put the fully qualified element: eg test="/page/deviation = 1" unless the if statement is in a for-each or something that selects the parent node of the deviation element.Then just "deviation" is fine. Quoting Tim Bachta <[EMAIL PROTECTED]>: > How would I do an if state

Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
I can't get milestone 1 or 2 of v2.1 working. I've copied xalan,xercesImpl and xml-apis to Tomcat's endorsed directory but I still get the following error: java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializationContext I grabbed XML-RPC jar from the latest web services pack from Sun

public pages with the new portal framework?

2003-06-26 Thread Laurent Trillaud
HI First of all I'm very impressed by the new portal framework. I would like to build a portal with both public and private part using the new portal generator. All samples I found, request an authentification before using the portal generator. When I try to use it without login with:

AW: book recommendations

2003-06-26 Thread Markus Heussen
Hi Peter, the very best book is definitively the first one the developer's handbook. Also a very good choice is the second I can advise. But don't buy the third one. It's not worth the money. Good practise :-) Markus -Ursprungliche Nachricht- Von: Peter ROSS [mailto:[EMAIL PROTECTED] A

RE: xsl question

2003-06-26 Thread Yan, Charlene
You should ask [EMAIL PROTECTED] They are really good on xsl questions. Charlene -Original Message- From: Joydeep Bose [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:49 PM To: [EMAIL PROTECTED]; Tim Bachta Subject: Re: xsl question To be on the safer side put the fully qua

Re: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Jacob L E Blain Christen
> I can't get milestone 1 or 2 of v2.1 working. I've copied xalan,xercesImpl > and xml-apis to Tomcat's endorsed directory but I still get the following > error: > > java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializationContext have you tried putting the jars in the jre endorsed direc

request parameter documentation?

2003-06-26 Thread Dominic Chambers
I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requestQuery}. Sorry for not RTFM on this one, but I can't find the info I want anywhere on the site, although others seem to know bits about it, so it must exist

Tomcat 5.0.3 ?

2003-06-26 Thread Ramsés Morales
Hi. Has anyone tried Cocoon 2.0.4 with Tomcat 5.0.3? When I tried to load Cocoon's start page, I just get the directory listing (cocoon never starts). There are no ERROR messages on Cocoon's logs. Any ideas? Thanks. - To uns

Re: book recommendations

2003-06-26 Thread Ralph Goers
I own the Developer's Handbook and it is quite good. Unfortunately, Cocoon contains so much good stuff no one book can really cover it. As big as it is, Developer's Handbook still could use more information. I've conversed with Lajos about this and would love to see his book split into two.

Re: C2.1-m2 problems with Xalan

2003-06-26 Thread Ralph Goers
Have you tried Xalan 2.5.1? Beware that Xalan now ships two forms of binaries. In one the XSLT compiler is in the same jar as the interpreter. This causes problems in some environments where classes the XSLT compiler is dependent upon are being used by other components (i.e. BEA Weblogic Port

AW: request parameter documentation?

2003-06-26 Thread Markus Heussen
It isn't quit a large info but take a look an this url: http://www.cocooncenter.de/cc/documents/resources/request-params/requestpara maction.html Greetings, Markus -Ursprüngliche Nachricht- Von: Dominic Chambers [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 16:07 An: [EM

AbstractGenerator and Poolable

2003-06-26 Thread Gould, Troy (ELS)
I see that the AbstractGenerator implements Poolable. I was wondering what object in the Cocoon framework is responsible for using Excalibur's Pool implementation or another implementation based on the AbstractPool. Does anyone know what object is requesting a Generator from some Pool implementat

Re: request parameter documentation?

2003-06-26 Thread Geoff Howard
Look in the samples for the input modules sample. That should have all of the options demonstrated on one page. HTH, Geoff At 10:06 AM 6/26/2003, you wrote: I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requ

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
> have you tried putting the jars in the jre endorsed directory as well ? Yes, I have, no difference, though you should only need to have one endorsed directory, I've added the endorsed switch to make sure java is using Tomcat's endorsed directory (-Djava.endorsed.dirs=) but it's looking for XML-R

Re: Tomcat 5.0.3 ?

2003-06-26 Thread Jens Maukisch
Hi, > Has anyone tried Cocoon 2.0.4 with Tomcat 5.0.3? I've tried it with the M1 and it just runs fine and very fast > When I tried to load Cocoon's start page, > I just get the directory listing check if cocoon is deployed > (cocoon never starts). There are no ERROR messages on Cocoon's logs. w

Deleting from a database - Cocoon 2.0.3

2003-06-26 Thread tcanaday
Hi all - I've got a problem using Cocoon 2.0.3 in that I can't seem to delete a record from the database I'm using. Didn't see anything on the archive list related to this. I can add records just fine, but when I execute the code to delete a record, I get the following: "org.apache.cocoon.Proc

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
Uncommenting "#exclude.block.axis=true" from local.blocks.properties file and rebuilding it seems to have done the trick. -Original Message- From: Mark H [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 19:40 To: [EMAIL PROTECTED] Subject: RE: Can't get v2.1, m1 or m2 working > have you trie

Sendmail within xsp page under Cocoon 2.0.4 problem

2003-06-26 Thread Markus Heussen
Hi all, I try to get the sendmail logicsheet running within a xsp page, but it doesn't work :-( I followed the instruction under http://wiki.cocoondev.org/Wiki.jsp?page=SendingEmail and put the following code in my xsp page: [EMAIL PROTECTED] [EMAIL PROTECTED] test

RE: Can i invoke cocoon from within a swing application

2003-06-26 Thread Reinhard Pötz
Title: Nachricht There is a Cocoon bean in Cocoon 2.1dev. Using it should do the job.   Reinhard -Original Message-From: David Cypers [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 1:56 PMTo: [EMAIL PROTECTED]Subject: Can i invoke cocoon from within a swing appl

WG: Sendmail within xsp page under Cocoon 2.0.4 problem

2003-06-26 Thread Markus Heussen
Sorry for my precipitate posting. I've solved the problem :-) My smpt host was the problem, sorry. I was offline and the new IP address was not allowed to give mails to my smpt host. Although I don't understand why there was no log file entry? Markus -Ursprüngliche Nachricht- Von: Markus

Re: request parameter documentation?

2003-06-26 Thread Christian Haul
Dominic Chambers wrote: I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requestQuery}. Sorry for not RTFM on this one, but I can't find the info I want anywhere on the site, although others seem to know bits ab

Using sitemap action parameters in an xsp action

2003-06-26 Thread Markus Heussen
Hi all, I need to write my own action and will use xsp for it. how can I use the parameters that were set within the sitemap? For example: My sitemap: My xsp page: http://apache.org/xsp"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; crea

Re: XHTML+DTD problem

2003-06-26 Thread Joel Ekstrand
Isn't it a serios bug if you can't use xhtml-documents as a source? Why isn't it possible to configure the file-generator to not include the DTD? /Joel > solution was provided. Is following simple solution an option for you? > > Add a to the pipeline. > The copy.xsl looks like following: > >

Design Question

2003-06-26 Thread Jeff Sexton
I'm looking for an approach to an enhancement I need to make. I have made an XSP that receives a parameter, calls three stored procedures in a Sybase database, and outputs XML, which is then tranformed by stylesheets. In this design, the parameter is always passed in to the XSP, and it is used t

RE: public pages with the new portal framework?

2003-06-26 Thread Alex Romayev
I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build "portal" pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator

RE: public pages with the new portal framework?

2003-06-26 Thread Ralph Goers
Is the new framework documented anywhere? Ralph At 6/26/2003 02:42 PM, you wrote: I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build "portal" pages, i.e., assuming there is an identifiable user and there ar

sax event into XSP

2003-06-26 Thread Ramsés Morales
Hi. Would it be possible to create a class with a method that returns an xml document object, call that method inside my xsp logicsheet and include the returned xml document object in my xsp? How would it be done? Thanks. - T

Tri-XML: Introduction to Cocoon + lab in Research Triangle Park,NC: July 25th & 26

2003-06-26 Thread Andrew C. Oliver
See: http://trixml.org/confschedule.shtml My friend, author Conrad D'Cruz, and I will present an Intro To Cocoon 2 presentation (Friday 4:45 - 45 minutes long) Following this, we'll have a 1.5 hour hands on training for Cocoon 2 (12:30). The intent is to introduce Cocoon to Java developers who

RE : public pages with the new portal framework?

2003-06-26 Thread Laurent Trillaud
Yes, I'm afraid of. Laurent -Message d'origine- De : Alex Romayev [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 juin 2003 23:43 À : [EMAIL PROTECTED] Objet : RE: public pages with the new portal framework? I'm not sure about the new portal generator, but the old one requires authentication

RE: public pages with the new portal framework?

2003-06-26 Thread Carsten Ziegeler
Alex Romayev wrote: > > I'm not sure about the new portal generator, but the > old one requires authentication. I suspect that > initially it was designed only to build "portal" > pages, i.e., assuming there is an identifiable user > and there are differences between what you show to > different

RE : public pages with the new portal framework?

2003-06-26 Thread Laurent Trillaud
Thanks a lot. Let me know. Cheers, Laurent -Message d'origine- De : Carsten Ziegeler [mailto:[EMAIL PROTECTED] Envoyé : vendredi 27 juin 2003 08:25 À : [EMAIL PROTECTED] Objet : RE: public pages with the new portal framework? Alex Romayev wrote: > > I'm not sure about the new portal gen