Re: XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
Hi Luca. Thank you so much for help. Here are all my components: 1. the pipeline: 2. the imput file (test.html): Untitled some text 3. the xsl (test.xsl): http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:saxon="http://i

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Thor Heinrichs-Wolpert
I did a clean pull from cvs and tested the xmlform sample. It all worked fine. FYI: I'm running OSX 10.2; JDK 1.3.1_03-69; tomcat-4.1.12 with no modifications. Cheers, Thor HW On Wednesday, December 18, 2002, at 04:23 PM, Nicola Ken Barozzi wrote: Thor Heinrichs-Wolpert wrote: It looks happ

AW: return connection to jbean from connection pool question

2002-12-18 Thread Kirchhoff, Lars
Hello I'm having the same problem, but I'm using the compose method directly in the bean and trying to get the connection in another method. So far I figured out that the datasource is not initialized, because I got a null pointer exception if I try to get the connection. I looked at the docu

context problem - repeat

2002-12-18 Thread Hong Gia Dinh
Title: context problem - repeat -Original Message- From: Hong Gia Dinh Sent: 18 December 2002 09:35 To: '[EMAIL PROTECTED]' Subject: context problem Hi all i got the headache prolem like this i have the files and sitemap like this :                    

Problem in running XForm samples

2002-12-18 Thread poornima ponnuswamy
I am using cocoon2.1, Apache tomcat 4.1 and I am able to get into http://localhost:8080/cocoon/samples/welcome but when I get into xml form samples I get the following error The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException s

Use of SessionPropagatorAction

2002-12-18 Thread Malick Fall
Hi all, I am a new Cocoon user trying to build a Web application. Do you have some examples on how to use your SessionPropagatorAction. I have an http service responsible for Authenticating my users. http://WindowsBox:1010/login.asp My sitemap looks like this:

[HELP]Exception in ServerPagesGenerator.generate(), interclient201,esql

2002-12-18 Thread Juraj misovych
i have -windows2000 -cocoon 204 , (203 ,the same errror) -jdk1.3.1_06 -tomcat 4.1.12 -firebird server -interclient 201 can sobody where can by a problem ??? BUG ? where ?? taglib,interclient?? i obtain this error:

Re: XPath problem in Cocoon?

2002-12-18 Thread Joerg Heinicke
For me it looks like a problem with a default namespace. Is anywhere in the XML something like: http://www.foo.com";> one of your paragraphs ?? Then you must bind this namespace to a namespace-prefix in the XSLT: xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:foo="http://www.foo.c

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Nicola Ken Barozzi
Thor Heinrichs-Wolpert wrote: It looks happy enough now. I did a touch xml-cocoon2/src/blocks/samples/mocks/foo.txt and it built happily enough. I've run the example and it works again. Good. I've made changes to the build and it seems to work now without the hack. In the meantime I've also

RE: Cocoon file upload

2002-12-18 Thread Geoff Howard
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=upload&q=b > -Original Message- > From: Siraj Shakil [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 9:50 AM > To: [EMAIL PROTECTED] > Subject: Cocoon file upload > > > Hello Guys, > > How do u know the uploaded

RE: XPath problem in Cocoon?

2002-12-18 Thread Luca Morandini
Anna, ok, let's try to sort it out, send us: - The pipeline - The XML to be transformed - The XSLT Possibly, strip off all the unnecessary stuff. Best regards, - Luca Morandini GIS Consultant [EMAIL PROT

Getting XSP pages from an XML database

2002-12-18 Thread Mark Horgan
I'm trying to make a CMS and I'm looking into keeping everything in an XML database but I can't seem to get XSP pages directly from the database. Is there a way to store XSPs in the database and have cocoon generate class files so the process is resonably fast? The XML pseudo-protocol works for th

Cocoon file upload

2002-12-18 Thread Siraj Shakil
Hello Guys, How do u know the uploaded file name using Cocoon file upload mechanism? I only see that uploaded url is "upload" :> and can see the upload file directory. Any suggestions? Thanks in advance. Best regards, Shakil __ Do you Yahoo!? Yaho

RE: [ANNOUNCEMENT] Cocoon Developers Handbook Available

2002-12-18 Thread Matthew Langham
Congratulations! Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de -

Link Livesites: Simauria Networks http://www.simauria.net cocoon2.0.3

2002-12-18 Thread Jose Antonio Garcia-Luengo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -- José A. Garcia-Luengo |Simauria Networks -- [EMAIL PROTECTED] | [EMAIL PROTECTED] Tlf: 615 91 13 92 | http://www.simauria.net --

RE: cocoon samples live [why not]

2002-12-18 Thread Cocoon User
cocoon it's a great project (last 16 months we have develop about 5 commercial site xml based served by a virtual hosting cocoon based server) the best way for any one to accept cocoon is to see the examples online without to have to install cocoon himself. try to make cocoon so popular as apach

RE: How do I read files inside an Action?

2002-12-18 Thread Ray Martin
Sir, Just like any other file called from java. In the action class you would need: import java.io.File; // cocoon has some defaults - this could be one of them //nothing special here, just an example. however, this directory is where cocoon places uploaded files by default. make yours wherev

RE: LDAPTransformer

2002-12-18 Thread Mark Pembury
I've modified your query and I now get some information from LDAP. There does appear to be a problem when dealing with binary data (i.e. passwords). I will experiment with differnet options and see if I can use the attribute tag to exclude some of the fields. Thanks once again for your help.

RE: cocoon samples live [why not]

2002-12-18 Thread Geoff Howard
Because for now, the site at xml.apache.org is static-only by decree to conserve the shared resources across all sites. It is a shame, but may not be so much longer because cocoon is in the process of being promoted to a top level apache project and my understanding is that that will carry wit

RE: LDAPTransformer

2002-12-18 Thread Mark Pembury
Thanks for your help. I'll give it a try. -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 17:31 To: [EMAIL PROTECTED] Subject: Re: LDAPTransformer Mark Pembury wrote: > Hi > > I'm using Cocoon 2.0.3 with the LDAP option enabled, Tomcat 4.0.

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Thor Heinrichs-Wolpert
It looks happy enough now. I did a touch xml-cocoon2/src/blocks/samples/mocks/foo.txt and it built happily enough. I've run the example and it works again. Cheers, Thor HW On Wednesday, December 18, 2002, at 10:41 AM, Nicola Ken Barozzi wrote: Nicola Ken Barozzi wrote: Thor Heinrichs-Wolper

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Nicola Ken Barozzi
Nicola Ken Barozzi wrote: Thor Heinrichs-Wolpert wrote: The note below shows the moved files and issue. The classes have been moved. When I do a clean cvs pull and then build, the sample no longer works since the classes do not get built and the sitemap is looking for them. The problem i

Re: Problem using java extension in xsl

2002-12-18 Thread Martin Holz
"Anna Afonchenko" <[EMAIL PROTECTED]> writes: > Hi All. > > Ok, I hope this is the last question for today. > > In my xsl stylesheet I use some java extension class ParseTagContent.class. > > In my xsl I have declared xmlns:java="xalan://ParseTagContent" > > The class ParseTagContent.class is

ProfilerGenerator

2002-12-18 Thread Rano, Didier
I tried the ProfilerGenerator. But I have a problem with some negative values in results. How avoid this problem ? Didier Rano Serv'N Data - Please check that your question has not already been answered in the FAQ before postin

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Nicola Ken Barozzi
Thor Heinrichs-Wolpert wrote: The note below shows the moved files and issue. The classes have been moved. When I do a clean cvs pull and then build, the sample no longer works since the classes do not get built and the sitemap is looking for them. The problem is not because they were moved

EJBs and Cocoon (hmm, again ;-)

2002-12-18 Thread Alef Arendsen
Hi all, You wouldn't want to develop an airline reservation system with (just) Cocoon. You wouldn't want to develop a website and documentation production environment with (just) EJBs. I look forward to the two becoming more closely interoperable. Having an XSP framework which can work with

Re: LDAPTransformer

2002-12-18 Thread Nicola Ken Barozzi
Mark Pembury wrote: Hi I'm using Cocoon 2.0.3 with the LDAP option enabled, Tomcat 4.0.4, and XIndices 1.0 I'm trying to get the LDAPTransformer to work. I've set-up a simple LDAP database using Qcslapd. I can browser and connect to the local LDAP server using JNDI with no problem. I'm using

cocoon samples live [why not]

2002-12-18 Thread Cocoon User
i have test today for my first time cocoon2.1 cvs when i asks http:/./cocoon i have notice than in my local machine i have cocoon's web site when i call /cocoon/samples i get all the refactored samples i have try to ask /cocoon/samples from the xml.apache.org live web site without to get an

Re: esql character encoding problem

2002-12-18 Thread Christian Haul
On 18.Dec.2002 -- 05:33 PM, [EMAIL PROTECTED] wrote: > SORRY I'VE POSTED THIS YET BUT I FORGOT THE SUBJECT > > I'm using ESQL to read and write data from a MYSQL database. > > When I fill a field with non US characters, I see strange characters instead of the >ones I expected. > For example, whe

Re: cvs2.1 xmlform sample broken?

2002-12-18 Thread Thor Heinrichs-Wolpert
The note below shows the moved files and issue. The classes have been moved. When I do a clean cvs pull and then build, the sample no longer works since the classes do not get built and the sitemap is looking for them. Cheers, Thor HW On Wednesday, December 18, 2002, at 12:51 AM, Nicola Ken B

esql character encoding problem

2002-12-18 Thread [EMAIL PROTECTED]
SORRY I'VE POSTED THIS YET BUT I FORGOT THE SUBJECT I'm using ESQL to read and write data from a MYSQL database. When I fill a field with non US characters, I see strange characters instead of the ones I expected. For example, when I write the string "òàù", this is written like "=a?", even

use redirect with SourceWritingTransformer?

2002-12-18 Thread Timothy Larson
Is it possible to call a pipeline to use the SourceWritingTransformer and still only send a simple back to the client? Tim - Please check that your question has not already been answered in the FAQ before posting.

LDAPTransformer

2002-12-18 Thread Mark Pembury
Hi I'm using Cocoon 2.0.3 with the LDAP option enabled, Tomcat 4.0.4, and XIndices 1.0 I'm trying to get the LDAPTransformer to work. I've set-up a simple LDAP database using Qcslapd. I can browser and connect to the local LDAP server using JNDI with no problem. When I set-up a Cocoon LDAPTransfo

[FIXED] RE: build Cocoon2.1 CVS [ERROR]

2002-12-18 Thread Cocoon User
that was the problem thnx Geof stavros On Wed, 18 Dec 2002, Geoff Howard wrote: > You haven't followed the jdk 1.4 specific instructions (or > they are still incorrect for recent tomcat). > > Copy xalan*.jar, xerces*.jar and xml-apis.jar from WEB-INF\lib > (or from lib\core in cvs) to %TOMC

How do I read files inside an Action?

2002-12-18 Thread Chintalapaty, Sreedhar
Hi, Can some one point me to an example of how we can access an xml file on the file system from a custom Action? TIA, Sreedhar - Please check that your question has not already been answered in the FAQ before posting.

RE: Configuring JTidy

2002-12-18 Thread Geoff Howard
Anna, The point remains that you are trying to judge what's in the pipeline by the output to your browser after serializing to html. Try putting an xml serializer back in and see if the output is now escaped. Can you confirm that other options from your jtidy configuration are working? Maybe tha

Problem using java extension in xsl

2002-12-18 Thread Anna Afonchenko
Hi All. Ok, I hope this is the last question for today. In my xsl stylesheet I use some java extension class ParseTagContent.class. In my xsl I have declared xmlns:java="xalan://ParseTagContent" The class ParseTagContent.class is in the same directory with the xsl.   When I run this xsl usin

RE: build Cocoon2.1 CVS [ERROR]

2002-12-18 Thread Geoff Howard
You haven't followed the jdk 1.4 specific instructions (or they are still incorrect for recent tomcat). Copy xalan*.jar, xerces*.jar and xml-apis.jar from WEB-INF\lib (or from lib\core in cvs) to %TOMCAT_HOME%\common\endorsed The docs at one point only mentioned %JAVA_HOME%\jre\lib\endorsed but l

RE: problem in writing Actions

2002-12-18 Thread Geoff Howard
-Original Message- From: Anna Afonchenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 5:43 AM To: [EMAIL PROTECTED] Subject: Re: problem in writing Actions > Hi Sternath. > Thanks for the answer. > So, if I get it right, I need to compile the java file and put the > res

Re: User Authentication?

2002-12-18 Thread Yves Vindevogel
The attached files do something like you want ... > Hi, > > I'm having a hard time understanding the tutorial on authentication from > the coccon website. > My case: > I have a loginpage (login) with a field for user and password. If the user > is logged in successfully, he should be redirected t

Re: Configuring JTidy

2002-12-18 Thread Anna Afonchenko
Hi Martin. Thanks for answering. The whole point of me using jtidy configuration options is because I want to affect the input file transferred to the xsl stylesheet, not to layout the output. So modifying serializer won't help me. I need to "modify" the generator. But anyway thank you very much f

Re: XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
Hi Konstantin. I know that my stylesheet works without Cocoon, I ran it through the batch file, using saxon. Even if I just run it using XSL Transformation of XMLSpy, it works fine, and chooses the //p tags as it should. So I am sure the problem is with Cocoon, but I don't understand, if it's my pr

Cocoon Transformation error

2002-12-18 Thread Mark Pembury
Hi All I'm running Tomcat 4.0.4, XIndices 1.0, and Cocoon 2.0.3. I've got a simple Cocoon pipeline that transforms XML to XHTML. The XML is generated via a XSP page. In my Tomcat window I get the follow error displayed every time I do a transformation java.lang.RuntimeException: java.net.SocketE

Re: XMLForm: Binding of values

2002-12-18 Thread Konstantin Piroumian
From: "Jakob Praher" <[EMAIL PROTECTED]> > Am Mit, 2002-12-18 um 14.03 schrieb Konstantin Piroumian: > > From: "Jakob Praher" <[EMAIL PROTECTED]> > > > > > hi, > > > > > > I am dropping my xslt/xform impl in favour of the existing cocoon xform > > > approach. > > > > > > Now I have come over some q

RE: Source aggregation by XInclude

2002-12-18 Thread Timothy Larson
You coulde try the caching version of the cinclude transformer in place of the non-caching xinclude transformer. See http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html The only problem I see is that the cinclude transformer does not seem to have the xpath features that t

Re: XML Schema's or DTDs for sitemaps/logicsheets?

2002-12-18 Thread Ben Young
Thanks for your help Konstantin. I found the RelaxNG schema as well. Thanks again, Ben >>> "Konstantin Piroumian" <[EMAIL PROTECTED]> 12/18/02 02:42 AM >>> You'll find a more or less up-to-date XSD for the sitemap in /src/documentation/xdocs/drafts/sitemap-2.1-draft.xsd There is also a DTD for t

Re: XMLForm: Binding of values

2002-12-18 Thread Jakob Praher
Am Mit, 2002-12-18 um 14.03 schrieb Konstantin Piroumian: > From: "Jakob Praher" <[EMAIL PROTECTED]> > > > hi, > > > > I am dropping my xslt/xform impl in favour of the existing cocoon xform > > approach. > > > > Now I have come over some questions regarding the functionality: > > > > - Is it poss

Re: integrate IF THEN ELSE conditions in a simple XSP page

2002-12-18 Thread Cocoon User
try something like int rowID = ; if (rowID == 3){ bla bla .. your code } stavros On Wed, 18 Dec 2002 [EMAIL PROTECTED] wrote: > Hi, > How can I quickly add a condition in someting like : > > > > If I want to add a condition like : > If ID =

integrate IF THEN ELSE conditions in a simple XSP page

2002-12-18 Thread Maxime.Gheysen
Hi, How can I quickly add a condition in someting like : If I want to add a condition like : If ID = 3 then font color = red else font color = green ? I'm using XSP pages. Thank you for your help! - Please check that your

User Authentication?

2002-12-18 Thread Johannes . Becker
Hi, I'm having a hard time understanding the tutorial on authentication from the coccon website. My case: I have a loginpage (login) with a field for user and password. If the user is logged in successfully, he should be redirected to services, which is protected. My questions: How / Where do I ch

Re: XPath problem in Cocoon?

2002-12-18 Thread Konstantin Piroumian
Anna, (please avoid HTML emails) Cocoon uses underlying XSLT engine to perform the transformation, so either this is just an XSLT problem in your code or a problem of the Xalan or XSLTC (which one is used). You can simply check if your stylesheet works without Cocoon: run Xalan from the command l

Cocoon and Tamino ??

2002-12-18 Thread Rui Leal
Hello ! I'm considering using Tamino XML Database on a project. and i've been evaluating XMLStarterKit I know i have a couple of possibilities when trying to execute a query: - a pipeline with a generator pointing to a tamino URL, which returns a XML result, on which i can apply a stylesheet and

[ANNOUNCEMENT] Cocoon Developers Handbook Available

2002-12-18 Thread Jeremy Aston
Lajos Moczar and myself are pleased to let the community know that our book, the Cocoon Developer's Handbook, is now available. It has been published by Sams (http://www.sams.com) and is available from their website as well as all the usual suspects like Amazon, Barnes and Noble etc. The book cov

XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
Hi all. Another question for today: I wrote a small xsl that matches p nodes from the input and prints their content. I wrote it like this:             Content of this tag is               Then I run this stylesheet through cocoon pipeline. I get empty result, e.g. the for-each didn

Re: XMLForm: Binding of values

2002-12-18 Thread Konstantin Piroumian
From: "Jakob Praher" <[EMAIL PROTECTED]> > hi, > > I am dropping my xslt/xform impl in favour of the existing cocoon xform > approach. > > Now I have come over some questions regarding the functionality: > > - Is it possible to bind to existing data? Elaborate on this please. What are you going t

RE: Writing output of pipeline to a file

2002-12-18 Thread Luca Morandini
Anna, wait, you could use a small XSLT to parse the input XML document, enclose the document in a element and pass it along to the SourceWritingTransformer... any problem with this scenario ? Best regards, - Luca Morandini

Re: Configuring JTidy

2002-12-18 Thread Martin Holz
"Anna Afonchenko" <[EMAIL PROTECTED]> writes: > OK, thank you, I now understand how to set a doctype. > But what about other settings, like converting quotes to entities. > Not that I need it so much, but I am just curious, why this doesn't work > through > jtidy-config. I just want to know if tha

Re: /home/userx/~public_cocoon LIKE ./~public_html ?

2002-12-18 Thread Konstantin Piroumian
From: "Piotr Legiecki" <[EMAIL PROTECTED]> > Konstantin Piroumian wrote: > > >Just take a look at the sitemap in /src/webapp/userhomes (Cocoon 2.1): > > > > > > >uri-prefix="~{1}"/> > > > > > > > > > > > > > >These two matchers would do the trick. > >

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
As I understand the SourceWritingTransformer (I may be wrong, I am new to all this) the directives for write to a file (source:write) should be in the xml, not in xsl. I don't write the xml, I get it, so I need to perform the writing in xsl. If you can explain to me how I can use SourceWritingTrans

Re: /home/userx/~public_cocoon LIKE ./~public_html ?

2002-12-18 Thread Piotr Legiecki
Konstantin Piroumian wrote: Just take a look at the sitemap in /src/webapp/userhomes (Cocoon 2.1): uri-prefix="~{1}"/> These two matchers would do the trick. Is it possible under Cocoon 2.0.x? Regards Piotr Legiecki ---

RE: removing cocoon from my url base [performance ??]

2002-12-18 Thread Luca Morandini
Stavros, I don't think so; since the matching process is executed in a strictly sequential manner, if you have this element in the first pipeline, no other matching will take place... or do you refer to something else ? Best regards, -

Re: XMLForm Wizard alternative?

2002-12-18 Thread Konstantin Piroumian
From: "Robert Sösemann" <[EMAIL PROTECTED]> > Hy, > > in our project (CMS) we want to easily generate input fields in a > wizard-like interface. It is later used by authors to put different types of > articles into a database. > > As different types of articles have other information needs, we wan

Re: /home/userx/~public_cocoon LIKE ./~public_html ?

2002-12-18 Thread Konstantin Piroumian
From: "Björn Voigt" <[EMAIL PROTECTED]> > Hello Cocooners, > > We use a Linux/Tomcat4.1.12/Cocoon2dev Installation on a server > with many users. Some users would use Cocoon to create a homepage > with it. Is it possible to configure Cocoon to include folders > from home directories like apache wi

RE: removing cocoon from my url base [performance ??]

2002-12-18 Thread Cocoon User
yes but what about the performance maybe this way has effects to cocoon performance ? stavros On Wed, 18 Dec 2002, Luca Morandini wrote: > Mirco, > > I presume something like this: > > > src="file:///c:/something/mysite/" > check

RE: removing cocoon from my url base

2002-12-18 Thread Luca Morandini
Mirco, I presume something like this: should work. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html -

RE: problem in writing Actions

2002-12-18 Thread Ray Martin
Ant is a great thing.  However, Ant is not an absolute 'must' to be able to build actions.  There are four steps.  1) From your JAVA package directory structure, run JAVAC on the action file(s).  2) Copy the resultant class(es) to the appropriate place. 3) Run JAR.  4) Copy the resultant

/home/userx/~public_cocoon LIKE ./~public_html ?

2002-12-18 Thread Björn Voigt
Hello Cocooners, We use a Linux/Tomcat4.1.12/Cocoon2dev Installation on a server with many users. Some users would use Cocoon to create a homepage with it. Is it possible to configure Cocoon to include folders from home directories like apache with public_html and How can we include classes from t

Re: XSP/ESQL - separation of concerns?

2002-12-18 Thread Jörg Heinicke
But it's obvious that you must map the data retrieved by the SQL-queries into tags. Is it really useful to have an intermediate step like the mentioned Torque? Aren't the tags only another data representation? Joerg > Hello, > > in my current project I am using xsp and esql logicsheet for db > r

RE: Source aggregation by XInclude

2002-12-18 Thread DURDINA Michal
Thank you, but now my xsp pages get recompiled to Java every time. Probably it is the issue of xinclude. Can anyone help me how to tell cocoon not to recompile some_page.xsp every time I acces the page? Does it exist any explicit mechanism how to cache the output of the pipeline? I am using this

RE: Writing output of pipeline to a file

2002-12-18 Thread Ray Martin
I agree.  Writing to a file is best done in an action.  Allow the XSL to do styling of presentation.  Allow actions to perform - well, actions - like writing to a file - JAVA is a beautiful thing - has great file streams.   Ray -Original Message-From: Ludovic de Beaurepaire [ma

RE: XSP/ESQL - separation of concerns?

2002-12-18 Thread Ray Martin
Sir, Have you looked at Torque, which is an Apache Software Foundation project. Torque maps objects to relational databases. Torque provides all the set/gets to access table fields. In Cocoon, you would write an action that would call the appropriate Torque classes to perform the database access

removing cocoon from my url base

2002-12-18 Thread [EMAIL PROTECTED]
I've my cocoon application running on something like: http://localhost/cocoon/something/mysite I'd like to get mysite using a simpler URL like: http://localhost How can I do this? I know I can change the Tomcat server.xml, and point the docBase of the ROOT web application to the locatio

HSSFSerializer

2002-12-18 Thread nandipinto
Hi all, I'm using HSSFSerializer to generate Excel file, but strange things happened. I set font to a Chinese font for the whole document, but the result is that the font is reset to Arial somewhere in the page (in the middle of the page), and then back to the Chinese font again in the end of the p

RE: Writing output of pipeline to a file

2002-12-18 Thread Luca Morandini
Anna, why don't you use SourceWritingTransformer to write the document, and then transform its output (the status message) in an HTML that automatically loads the written XML document ? Yes, you'd bounce the browser (not a particularly nice thing to do) and should write a separate pipeline to h

XMLForm: Binding of values

2002-12-18 Thread Jakob Praher
hi, I am dropping my xslt/xform impl in favour of the existing cocoon xform approach. Now I have come over some questions regarding the functionality: - Is it possible to bind to existing data? - If so how to do it ? thanks -- Jakob -

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
Thank you Ludovic, this seems as a perfect solution for me. Sorry for confusing you by not explaining clearly what I need.   Thanks Anna - Original Message - From: Ludovic de Beaurepaire To: [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 1:30 PM Subject:

RE: XSP/ESQL - separation of concerns?

2002-12-18 Thread Luca Morandini
Robert, you could try using SQLTransformer to handle just your SQL queries and then apply a stylesheet to transform them, if need be, in another XML dictionary before the final rendegin in HTML, WML, PDF, etc. The advantages are: - a streamlining of the source code - the ability to easily replac

Re: Writing output of pipeline to a file

2002-12-18 Thread Ludovic de Beaurepaire
Sorry Anna, i didn't understand it.   I thought you had to generate data and next save and transfom them, but you have datas in a file and want to transform them and next save and send them to your browser.   A solution could be to write a transformer (in XSL with redirection or in Java), loc

render a coplet with a border

2002-12-18 Thread Gerald Kahrer
Hi ! I am using the portal-fw ( cocoon development version 2.1 from cvs ). How can i tell the PortalGenerator to render the coplets with a border? In the customization dialog you can only control color, column with and column count of the coplets. Is there a possibility to take more influence o

XSP/ESQL - separation of concerns?

2002-12-18 Thread Robert Sösemann
Hello, in my current project I am using xsp and esql logicsheet for db retrivieval and tag generation only. Although I know that this is good for developing (no extra compilation) I am not very happy with it. What I don't like is: --- - many SQL statement (complex tag structure) m

XMLForm Wizard alternative?

2002-12-18 Thread Robert Sösemann
Hy, in our project (CMS) we want to easily generate input fields in a wizard-like interface. It is later used by authors to put different types of articles into a database. As different types of articles have other information needs, we want to provide the user with form field that represent that

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
Thank you Ludovic. Just to ensure that I got you right: You say that I need to write an action that will get the content of the file, will write it, and then in the same pipeline there will be generator that will just read the file that was written and will serialize the output to the browse

AW: problem in writing Actions

2002-12-18 Thread Sternath Elmar
Hi,   in my project, I produced a jar file containing all class files and put it into webapps/cocoon/WEB-INF/lib. The path of the class files in the jar must match your definition in the sitemap. For ant, take a look at: http://jakarta.apache.org/ant/   Regards, Elmar    -Ursprüngliche N

Re: problem in writing Actions

2002-12-18 Thread Anna Afonchenko
 Hi Sternath. Thanks for the answer. So, if I get it right, I need to compile the java file and put the resulting class file into the cocoon directory? I don't need to put the class into some subdirectory of cocoon? And can you tell me where can I get this Ant?   Thanks for help. Anna ---

Re: Writing output of pipeline to a file

2002-12-18 Thread Ludovic de Beaurepaire
Hi Anna,   When you use  , your XML datas are redirected, so you have to generate other XML datas for your serializer. In your case in error, no XML datas are passed after the transformation.   So, in your case, you have to transform AND save your XML datas. i think the best solution is savin

Fwd: Example

2002-12-18 Thread Yves Vindevogel
This is an example how to pass parameters from a link (request parameters) to an XSL and use it there as parameter It should use a valid XPATH This is for Lenya Pipeline:

Re: value-substitution in Cocoon

2002-12-18 Thread Konstantin Piroumian
From: "Anna Afonchenko" <[EMAIL PROTECTED]> > Hi Konstantin. > Thank you for answering. > It would be very nice to have combination of input modules in sitemap > substition values. Waiting for this to be implemented in one of the further > versions of Cocoon (hopefully). > For now I will just use

AW: problem in writing Actions

2002-12-18 Thread Sternath Elmar
Hi Anna,   the .java file has to be compiled into a class file. Cocoon then accesses the class file to execute the desired functionality. For compilation, you need an appropriate tool, for instance ant. I would recommend to get familiar with ant. Ant provides functionality to compile .java

problem in writing Actions

2002-12-18 Thread Anna Afonchenko
Hi all. I am exploring the action possibilities in Cocoon now, and I wanted to test some actions. I took sample action class RandomAction.java (from book "Cocoon:Building XML Applications" by Langham & Ziegeler), changed the package name to ub, and copied this file into ub directory under co

Re: value-substitution in Cocoon

2002-12-18 Thread Anna Afonchenko
Hi Konstantin. Thank you for answering. It would be very nice to have combination of input modules in sitemap substition values. Waiting for this to be implemented in one of the further versions of Cocoon (hopefully). For now I will just use substring-before and substring-after to get the desired r

build Cocoon2.1 CVS [ERROR]

2002-12-18 Thread Cocoon User
i try to build cocoon 2.1 CVS [2002.12.18 snapshot] environment: win XP jakarta-tomcat-4.1.17 j2sdk1.4.1_01 i put the .war file into webapp folder an start tomcat when i ask cocoon [http://.:8080/cocoon] i recieve the follow error (copy - paste) from error.log: ERROR (2002-12-18) 11

Cocoon Release 2.04 install for Dummies - Windows 2000

2002-12-18 Thread Franck Lumpe
I found it was not so easy to setup C2 for absolute Java Beginners (that's me!), because you have to look at all install docs (Java + Tomcat + Cocoon) and check what is valid for you. So I released a new page on the Wiki. => How to setup Cocoon Release 2.0.4 + Tomcat 4.1.17 + Java SDK 1.3.1 on a

Re: xi:fallback element in cocoon's Xinclude transformer

2002-12-18 Thread Konstantin Piroumian
Hi! From: "Yury Mikhienko" <[EMAIL PROTECTED]> > Hi all! > > Can anyone answer the follofing question: > Why cocoon's Xinclude transformer does not still emplement xi:fallback element? > (See recomendations in http://www.w3.org/TR/xinclude/) > The implementation of this feature requires a simple

Re: value-substitution in Cocoon

2002-12-18 Thread Konstantin Piroumian
Hi Anna and Team! CC-ing this message to Cocoon Dev list, cause it raises a more general requirement for possibility to combine input modules with other input modules in sitemap substitution values (see below for a use-case). From: "Anna Afonchenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

xi:fallback element in cocoon's Xinclude transformer

2002-12-18 Thread Yury Mikhienko
Hi all! Can anyone answer the follofing question: Why cocoon's Xinclude transformer does not still emplement xi:fallback element? (See recomendations in http://www.w3.org/TR/xinclude/) The implementation of this feature requires a simple modification in Xinclude transformer code. (I tried to ha

Re: value-substitution in Cocoon

2002-12-18 Thread Anna Afonchenko
Sorry for returning to this issue again, but I can't find an answer. Can I use value substitutoin inside the input module? Referring the example that yoou gave me, I don't want to get the substring of the whole URI, if I have match: I want to refer to the first wildcard inside the request: module

RE: Using input modules

2002-12-18 Thread Vermeulen, Francis
Hi Christian, thanks for your response. I'm currently using the 2.0.3 version, which probably explains why it doesn't work. the version of AbstractSitemap.substitute in 2.0.3 does not take care of the ":" operator. I'll retry this with a later version as you suggest. Regards, Francis -Origin

Re: Using input modules

2002-12-18 Thread Christian Haul
On 18.Dec.2002 -- 10:00 AM, Vermeulen, Francis wrote: > can anyone tell me how to make a sitemap recognize the use of an input > module? I followed the documentation about using modules literally, but the > sitemap generator does not seem to recognize the syntax. Here is the > fragment of my sitema

connect to the ejb

2002-12-18 Thread Hong Gia Dinh
Title: connect to the ejb Hi all i am trying to run a Cocoon application in JBoss 3.04. I deployed my application : sample.war in the Tomcat/webapps directory and run , it runs well alone. now i want to connect to ejb beans deployed in the JBoss/server/default/deploy : beans.jar in my xsp'

Using input modules

2002-12-18 Thread Vermeulen, Francis
Hi, can anyone tell me how to make a sitemap recognize the use of an input module? I followed the documentation about using modules literally, but the sitemap generator does not seem to recognize the syntax. Here is the fragment of my sitemap:

  1   2   >