Re: Internationalization

2001-10-30 Thread Mario Muja
The sitemap belongs to Cocoon 2 and is the main configuration file to describe pipelines of content generation and XSL transformations. As far as I know,C2 supports internationalization much better than C1. Please read the I18N documentation on the C2 web site. Then you'll probably get a

Re: abstract class

2001-09-22 Thread Mario Muja
Hi, if your code allows to write the result of an XSP including ESQL statements to disk, then please, please, please send us a snapshot of the code and a short example, how it can be used. Thank you very much for you help. Mario cib wrote: Hi, Thanks to many of you I've got a base for

Re: get parameter from xalan command line

2001-09-21 Thread Mario Muja
Insert xsl:param name=textParam/ at the beginning of the stylesheet. The xsl:value-of can remain as it is. Mario Ling Kok Choon wrote: Hi, I use Xalan command base to translate a XML file to another xml file with a XSL file, and i pass in 1 parameter to the xsl, the command is like:

Re: Tomcat-4.0 and Cocoon-2.0B2

2001-09-21 Thread Mario Muja
Hi Antony, look in web-inf/web.xml and search for param-nameload-class/param-name. The text entry org.hsqldb.jdbcDriver must exist in the param-value element. This loads the HSQLDB driver. Then look in cocoon.xconf and search for datasources. The name jdbc name="personnel" must match the

Re: Problems with I18nTransformer in Cocoon 2.0b2

2001-09-21 Thread Mario Muja
Hello Judith, In the latest developer snapshot, Konstantin introduced a new format for the dictionary files. They now look as follows: catalogue xml:lang=en message key=some keyTranslated Text/message /catalogue The declaration of the transformer changed as follows: map:transformer

Re: redirect in XSP

2001-09-21 Thread Mario Muja
Hi Lucian, AFAIK, redirects are only possible in the sitemap or in actions but not in XSP. It may help to read the archives. There were some discussions in the past weeks about redirects. Hint: I am not a C2 expert. Regards, Mario Lucian COZMA wrote: 000d01c14289$f8d5d2c0$[EMAIL PROTECTED]">

Re: How to configure a sub-sitemap?

2001-09-18 Thread Mario Muja
see the file sitemap.xmap in the C2 distribution; several subsitemaps are configured there Mario Olaf Boede wrote: Hello cocoon-users, I've read in several mails that there is a sub-sitemap feature. Is there a documentation or example for subsitemap configuration ? Best regards, Olaf Bode

Saxon and C2

2001-09-12 Thread Mario Muja
Hi, Who knows how to use the Saxon XSLT processor with Cocoon 2? Thank you very much for your help. Mario - Please check that your question has not already been answered in the FAQ before posting.

Re: Nobody Knows HOW TO SAVE STREAM ON DISK!!

2001-09-12 Thread Mario Muja
Is somebody out there, who wrote a serializer to write an XSP stream to disk? Thank you very much for your help. Mario Muja Karl ie wrote: [EMAIL PROTECTED]"> there are ways to do this, but it involves a bit java hacking as i don'tknow so much about cocoon.1: make your own se

Re: Docbook and Cocoon?

2001-09-06 Thread Mario Muja
Hi Konstantin, the stylesheets to convert DocBook to HTML and other formats are hosted at: www.sourceforge.net/projects/docbook I used the HTML and HTMLHelp stylesheets with C2 and they work very well. Regards, Mario Konstantin Agouros wrote: Hi, anybody tried the docbook-dtd with cocoon?

Re: DatabaseXActions

2001-09-06 Thread Mario Muja
:( -Original Message- From: Mario Muja [mailto:[EMAIL PROTECTED]] Sent: 06 September 2001 14:24 To: [EMAIL PROTECTED] Cc: Cocoon Dev Subject: Re: DatabaseXActions Hi Chris, sorry for interrupting your discussion with Andrew. You wrote: nullable attribute in the AbstractDatabaseAction

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-09-04 Thread Mario Muja
P.S I downloaded C2 in the Apache Cocoon distribution directory, at http://xml.apache.org/cocoon2/dist/ Mario Gianugo Rabellino wrote: On Mon, Sep 03, 2001 at 09:36:31AM +0200, Mario Muja wrote: - download the docs in an easy to read format as a single file (e.g. a PDF) for offline

Re: Front end Validations/mouse events trapping

2001-09-04 Thread Mario Muja
You can write XSLT stylesheets, which transform your XSP results into HTML. These XSLT stylesheets can add JavaScript code to the resulting HTML pages. You could have different XSLTs - some for generating HTML and some for generating the JavaScript code. The XSLTs can even dynamically

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-31 Thread Mario Muja
no, never used this; will this not cause the JVM to throw OutOfMemory exceptions? Mario Samuel ARNOD-PRIN wrote: Mario Muja a écrit : I am currently using Windows 2000 Professional. I have checked it again. 124 MB used directly after a reboot and a new restart of my webapp/tomcat/cocoon. I use

Re: XSP code reuse

2001-08-31 Thread Mario Muja
Hi Alexandru, reusing part of an XSP result is something I plan to achieve with the new logicsheet CAPTURE.XSL. You will find it under src\org\apache\cocoon\component\language\markup\xsp\java in the source tree of the 2.0 and 2.1 branch. This logicsheet contains markup to copy part of an XSP

Re: Separation of Logic and Content

2001-08-30 Thread Mario Muja
Hi Beat, sorry for interrupting your discussion with Arnaud. What type of logic would you like to put into logic.xsl? Is it logic used to generate content (then an XSP page or a logicsheet is probably the best place for it)? Is it logic used to build the presentation layer (then the XSLT sheet

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. Mario Samuel ARNOD-PRIN wrote: what do you think of such a configuration ? for a small web site. thank you

Re: Requesting multiple selection lists

2001-08-30 Thread Mario Muja
Hi, I agree with Chris, that some code examples would be helpful. From Andrei's description I think, that the problem is not the XSP code used to generate the HTML form but the fact that the list content does not arrive at the server when the form data is submitted (though all other data

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
their memory usage. Your counts seem to be a good argument to develop under Linux. Unfortunately, my customers have M$ as their company standard and do not allow me to install other OSs. Mario Samuel ARNOD-PRIN wrote: Mario Muja a écrit : On my desktop I am frequently using approx. 120 MB

C2 - Developer Snapshot - 2.0 or 2.1 ???

2001-08-30 Thread Mario Muja
Hi, which version do I get, when I download from the section Dev Snapshot on the C2 homepage? 2.0 or 2.1? Kind Regards, Mario - Please check that your question has not already been answered in the FAQ before posting.

Re: Dynamic form handler

2001-08-29 Thread Mario Muja
depending on the action string submitted as a request parameter. You further need pipelines in the C2 sitemap.xmap file describing, which stylesheet is applied to which XSP page result. Hope this helps. Mario Muja, Mamadou Bobo Sylla wrote: I have a page which contains a form that has been handled

Re: printable documentation

2001-08-29 Thread Mario Muja
Hi, to learn something about XSP, I used the documentation available on the C2 homepage. To learn about the syntax of ESQL, I browsed the esql.xsl file delivered with C2. To learn XSLT, I can recommend Michael Cay XSLT Programmers Reference 2nd Edition Wrox Publishing ISBN: 1861005067

Re: only cocoon and XML ?

2001-08-29 Thread Mario Muja
018601c13083$3125e2a0$0b01a8c0@w2k"> is there possible to make an web application that has a sql backend and uses lots of forms and file uploads to be done only using XMl and Cocoon ? Yes. I am building such applications only using C2, my little Java knowledge and my relatively good