JAAS and authentication

2002-01-02 Thread Marco Taiuti
Hi all, have anyone use JAAS to authentication cocoon web site? - Plangroup Dott. Marco Taiuti Plan Soft Srl Via Ippolito Rosellini, 25 50127 Firenze email: [EMAIL PROTECTED] tel.: +39 055 43.68.525 Fax:+39 055 43.68.717 -

XML parsing inside XSP

2002-01-02 Thread Anton Jansen
Hi all, I want to be able to parse a java string to an xml representation in a XSP. Looking at the source code for the StreamGenerator (which takes a http-post stream) i have written the following code to parse a xml string in xsp: Parser parser = null; try {

Re: XML parsing inside XSP

2002-01-02 Thread Torsten Curdt
Hi all, I want to be able to parse a java string to an xml representation in a XSP. Looking at the source code for the StreamGenerator (which takes a http-post stream) i have written the following code to parse a xml string in xsp: Parser parser = null; try {

SVG Transformation

2002-01-02 Thread Nick Entin
Hi! Happy New Year to everybody! I've got a bit strange problem when attempted to process SVG with C2: In my pipeline I have two quite simple matches: This works fine: map:match pattern=**/*.svg map:read src={2}.svg mime-type=image/svg-xml/ /map:match This

no connections in the pool

2002-01-02 Thread Roger I Martin PhD
The current cvs of Cocoon2 produces the exception Original exception : java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: There are no connections in the pool, check your settings. for all databases I use and the

Re: sql query

2002-01-02 Thread David Rosenstrauch
At 12:48 PM 12/28/01 +0100, you wrote: I'm using cocoon2, and I've used sql queries, with the next query: ?xml version=1.0? page xmlns:sql=http://apache.org/cocoon/SQL/2.0; xmlns:xsl=http://www.w3.org/1999/XSL/Transform; title/title content para/para execute-query

include xsp in other xsp? (logicsheets?)

2002-01-02 Thread sxk99c
Happy new year, I have multiple xsp files which are then chewed and styled to produce html. Unfortunately a lot of the XSP files have repeat code in them. Is it possible for me to store this repeating code separately and then call it when needed. I have been told that logic sheets maybe the

Re: include xsp in other xsp? (logicsheets?)

2002-01-02 Thread Berin Loritsch
[EMAIL PROTECTED] wrote: Happy new year, I have multiple xsp files which are then chewed and styled to produce html. Unfortunately a lot of the XSP files have repeat code in them. Is it possible for me to store this repeating code separately and then call it when needed. I have been told

Re: Plaudits and dumb questions...

2002-01-02 Thread Mauricio Souza Lima
Stephen Clarke wrote: Hi, I've just discovered the joys of Cocoon. Installation of both Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite my trepidation. The only problem I recall is running out of environment space when running the batches. I had to make a shortcut to the

problem with URLConnection

2002-01-02 Thread lucas
My code receives data from external data sources. I get this data with the URLConnection class, everything works fine in Tomcat 1.3.1. I can Post the parameters and receive the results of the external cgi. I have a servlet which makes it (probed). but (always there is a but :) ) I have

RE: problem with URLConnection

2002-01-02 Thread lucas
this is the fragment of the Servlet where the URL is accesed: . String XML = buf.toString(); try{ URL miurl = new URL(http://www.whatever.es/cgi-bin/XMLprocess;); URLConnection con =

AW: problem with URLConnection

2002-01-02 Thread Reinhard Pötz
I can't offer you a concret solution - but you may try this: Try the HTMLGenerator. map:generate type=html src=http://portet:8080/cocoon/wh@m/GenerateItinerary; map:parameter name=copy-parameters value=true/ /map:generate Regards, Reinhard -Ursprüngliche Nachricht- Von:

RE: problem with URLConnection

2002-01-02 Thread lucas
thanks for the help, tomorrow i'll try it bye -Mensaje original- De: Reinhard Pötz [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 02 de enero de 2002 17:39 Para: [EMAIL PROTECTED] Asunto: AW: problem with URLConnection I can't offer you a concret solution - but you may try this:

XML parsing in XSP

2002-01-02 Thread Anton Jansen
Hi all, I want to be able to parse a java string to an xml representation in a XSP. Looking at the source code for the StreamGenerator (which takes a http-post stream) i have written the following code to parse a xml string in xsp: Parser parser = null; try {

Re: XML parsing inside XSP

2002-01-02 Thread Anton Jansen
On Wed, 2 Jan 2002, Torsten Curdt wrote: Be careful. The above will break the XSP SAX structure. You need to think of the events: -xsp:startDocument -xsp:startElement -xsp:endElement - ... some more ... // now your code -parser:startDocument

ComposerGenerator - what is composed?

2002-01-02 Thread Jan
What will the ComponentManager a Composable Generator is composed with contain/provide? Is there a way to setup this by myself? Cheers, Jan

Re: ComposerGenerator - what is composed?

2002-01-02 Thread Peter Royal
On Wednesday 02 January 2002 11:48 am, you wrote: What will the ComponentManager a Composable Generator is composed with contain/provide? Is there a way to setup this by myself? It will contain the components defined in the cocoon.xconf. You can add your own components in there using the

Logicsheet woes

2002-01-02 Thread sxk99c
Hi again, I have started to try and implement a simple logicsheet as shown : I followd the procedure of adding a logic sheet to the cocoon.xconf: Cocoon.xconf builtin-logicsheet parameter name=prefix value=player-info/ parameter name=uri

Re: ComposerGenerator - what is composed?

2002-01-02 Thread Jan
On Wednesday 02 January 2002 11:48 am, you wrote: What will the ComponentManager a Composable Generator is composed with contain/provide? Is there a way to setup this by myself? It will contain the components defined in the cocoon.xconf. You can add your own components in there using the

Re: XML parsing inside XSP

2002-01-02 Thread Anton Jansen
Wrapp the page ContentHandler inside a org.apache.cocoon.xml.EmbeddedXMLPipe before passing it to the parser. -- Torsten Thanks Torsten, this is indeed the probleem and your solution works ! So the code I now have is (for later reference): Parser parser = null; try {

Re: XML parsing in XSP

2002-01-02 Thread David Rosenstrauch
Another option you can use to generate xml output from a string in an XSP page: Use util:include-expr. It will parse the text that you pass in to it, and generate SAX calls from it (as opposed to writing the text straight to the output - after escaping all the control chars - like it's doing

Cannot install Cocoon on weblogic6.1

2002-01-02 Thread Alex_Imbastari
I get the following message when I attempt to install cocoon.war into wlserver6.1 Can anyone help? Jan 2, 2002 4:44:10 PM PST Error Management IOException opening application mydomain:Name=cocoon,Type=Application, loading from path . \config\mydomain\applications\cocoon

Re: sql query

2002-01-02 Thread Ling Kok Choon
Hi, you may try to use xsp and the esql taglib : ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; esql:connection esql:pooltpConnection/esql:pool

Accent and SVG

2002-01-02 Thread Xavier Michel
Hi (and happy news year;-), I start with SVG and Cocoon. I tried to create an menu with svg like in Cocoon documentation ... but in french. I can't get the letters with accent like é ê è à ... render by svg. I tried to change encoding, looking in the mailing list nothing! my label.xml :

[OT] Cocoon - jakarta-taglibs similarities

2002-01-02 Thread Jeff Turner
Just a random thought.. Recently, Jakarta taglibs (http://jakarta.apache.org/taglibs/) and Cocoon have been looking very similar in terms of functionality. Have a look at the list of taglibs. SQL, XSL, XTags, JNDI.. at one time, Cocoon was the only game in town for some of these. No longer.

Cannot start cocoon 2.0 on Tomcat

2002-01-02 Thread Alex Imbastari
Hi all When I try to start cocoon 2.0 on TOmcat I get this error, even after I follow the instructions as indicated on the website. type internal-servlet-error message Internal servlet error description Cocoon

XSP VS JSP

2002-01-02 Thread Sidharth
What is the difference between XSP and JSP? How can I separate the content and logic from presentaion. For example I have 5 screens and only one XML. I want to show first five tag value in first screen presented in tablular form and subsequently next 10 tag values in next screen presented