Re: Look-and-feel approach with views

2001-11-26 Thread giacomo
On Mon, 26 Nov 2001, Alexander Smirnoff wrote: > OK. Then how could I implement dynamically "look-and-feel" based on user > credentials (customer-id, user_id) ? I see only one possible way: inserting > action for each XSL transformation in each pipeline... That approach makes > sitemap look even

Re: My stupid question No.23

2001-11-26 Thread giacomo
On Tue, 27 Nov 2001, Alex Kachanov wrote: > Is it possible to merge somehow the stylesheets in C2? The samples xsp that comes with Cocoon does exatly this. Have a look into it. Giacomo > > I have several stylesheets for different types of devices/browsers. > Those stylesheets have some common

Re: My stupid question No.23

2001-11-26 Thread Benda Martin
Yes, it is possible. In my apllication I do it this way The common parts are grouped in one stylesheet named "forAll-html.xml" (like JavaScript, styling of header, footer, toc) All other stylesheets can use the templates inside this stylesheet. ... and inside this dummy-styleshe

My stupid question No.23

2001-11-26 Thread Alex Kachanov
Is it possible to merge somehow the stylesheets in C2? I have several stylesheets for different types of devices/browsers. Those stylesheets have some common parts. Is it possible to keep those common part just in a sinlge stylesheet (so I would need to make changes to this stylesheet only) and

including xml dynamically from a string

2001-11-26 Thread Arun.N
Hi,     Can any one help me in doing this. I get a piece of XML data as a request attribute forwarded from a servlet. In my xsp page i have to attach that. here is the code snippet  dynamic   String xml = (String)request.getAttribute("xml"); ( This will return a XML forma

Ravi Narine/Toronto/StarData is out of the office.

2001-11-26 Thread Ravi . Narine
I will be out of the office starting 11/26/2001 and will not return until 11/28/2001. I will respond to your message when I return. - Please check that your question has not already been answered in the FAQ before posting.

Re: Upgrade C2b1 to C2rs01

2001-11-26 Thread Sérgio Carvalho
Please don't screw up threading by replying to a message when you don't mean to keep on that topic. You're probably hitting the syntax change for cocoon: URLs. Please look at the aggregation examples in the sample applications. On Mon, 2001-11-26 at 11:52, Ling Kok Choon wrote: > Hi, > >

Re: Look-and-feel approach with views

2001-11-26 Thread Alexander Smirnoff
OK. Then how could I implement dynamically "look-and-feel" based on user credentials (customer-id, user_id) ? I see only one possible way: inserting action for each XSL transformation in each pipeline... That approach makes sitemap look even more ugly... Comments are follows, Alex. - Original

Ravi Narine/Toronto/StarData is out of the office.

2001-11-26 Thread Ravi . Narine
I will be out of the office starting 11/26/2001 and will not return until 11/28/2001. I will respond to your message when I return. - Please check that your question has not already been answered in the FAQ before posting.

Re: Look-and-feel approach with views

2001-11-26 Thread giacomo
On Mon, 26 Nov 2001, Alexander Smirnoff wrote: > OK. I've got it. > > Well, is it possible to trigger the view from inside sitemap? What about > Passing parameters? > > I think the idea of breaking pipeline and continuing it from another > "resource"-like pipeline ("view") from labeled predefined

Re: Look-and-feel approach with views

2001-11-26 Thread Alexander Smirnoff
OK. I've got it. Well, is it possible to trigger the view from inside sitemap? What about Passing parameters? I think the idea of breaking pipeline and continuing it from another "resource"-like pipeline ("view") from labeled predefined point is very powerful. Imagine having the same long chain

Re: Look-and-feel approach with views

2001-11-26 Thread giacomo
On Mon, 26 Nov 2001, Alexander Smirnoff wrote: > I'm using 2.0rc1, but even if I put label="xsltran" into > declaration this doesnt work either... > > I feel that I misundersatnd the concept. It seems, for example, in webapp > sitemap.xconf (in HEAD branch) the view declaration like: > > >

xsp:include in logicsheets

2001-11-26 Thread Ratty
In my logicsheet i must use java.uitl.Calendar in import. How i can include it in basic xsp, from which my logicsheet called? do i must write something like this in logicsheet: java.util.Calendar ... ? when i tried it i give me error - something like "; expected"! in generated code i see

Ravi Narine/Toronto/StarData is out of the office.

2001-11-26 Thread Ravi . Narine
I will be out of the office starting 11/26/2001 and will not return until 11/28/2001. I will respond to your message when I return. - Please check that your question has not already been answered in the FAQ before posting.

Re: Look-and-feel approach with views

2001-11-26 Thread Alexander Smirnoff
Here is my confusion sources compiled with Cocoon2 CVS HEAD branch. It seems that in this really simple case View MUST work, but it doesnt - I'm still getting welcome1.xsl transformation. I feel that I missed something big. Thanks for help, Alex. - Original Message - From: "Alexander Sm

Re: Look-and-feel approach with views

2001-11-26 Thread Alexander Smirnoff
I'm using 2.0rc1, but even if I put label="xsltran" into declaration this doesnt work either... I feel that I misundersatnd the concept. It seems, for example, in webapp sitemap.xconf (in HEAD branch) the view declaration like: never executes... Otherwise it supposed to be executed for e

Re: XInclude

2001-11-26 Thread Michael McKibben
I used the source from cvs. Regards, --mike On Thu, 22 Nov 2001, Stephan Michels wrote: > > > On Tue, 20 Nov 2001, Michael McKibben wrote: > > > Ahh yes you are correct. I've been using a modified XInclude transformer > > that uses a custom URI class to better handle uri's supplied via the hre

RE: MySQL, C2, Tomcat 4.0.1, win2k/xp

2001-11-26 Thread Nuno José Pires dos Santos
Can you be more accurate on the problem you have gotten?? I have two working installations: - MySQl + C2 + Tomcat 4.0.1 + win2k + jdk 1.4 beta2 - MySQL + C2 + Tomcat 4.0.1 + XP + jdk 1.4 beta2 and both are working, but i had to reinstall it a few times with the specific jvm ( the jdk1.4beta3

RE: Cocoon2 and FOP

2001-11-26 Thread Mark S. Kent
Hold the phone. I think the problem was further up in the file with a missing "$" on a variable of the same "timetype" name. I fixed that and it worked just fine. Mark -Original Message- From: Mark S. Kent [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 10:00 AM To: [EMAIL P

RE: Cocoon2 and FOP

2001-11-26 Thread Mark S. Kent
Alex, The page rotation thing is solved, but the code to dynamically write the columns in the PDF file with the lines: is running into errors when I try to display the page. I've narrowed it to these lines. I know the column-widths for the table cells must be explicity given (although I

Re: Cocoon2 and FOP

2001-11-26 Thread Alex McLintock
At 04:18 26/11/01, Mark S. Kent wrote: >Sorry if this is off-topic, but I didn't see an FOP "User" list, just a >"Developer" one, so let me know if I need to ask this question over there. There is one. It is just a bit quiet. >Is there a command in Apache's FOP to rotate the page by 90 degrees

Ravi Narine/Toronto/StarData is out of the office.

2001-11-26 Thread Ravi . Narine
I will be out of the office starting 11/26/2001 and will not return until 11/28/2001. I will respond to your message when I return. - Please check that your question has not already been answered in the FAQ before posting.

RE: Cocoon2 and FOP

2001-11-26 Thread Mark S. Kent
Thanks, I was able to make that work by adding page-width and page-height parameters. What happens when the data is wider than the page though (either portrait or landscape)? Does FO try to make a second page? Mark -Original Message- From: giacomo [mailto:[EMAIL PROTECTED]] Sent: Monda

xsp:include in logicsheet

2001-11-26 Thread Igor Sazhnev
In my logicsheet i must use java.uitl.Calendar in import. How i can include it in basic xsp, from which my logicsheet called? do i must write something like this in logicsheet: java.util.Calendar ... ? when i tried it i give me error - something like "; expected"! in generated code i see

AW: svg2gif ?

2001-11-26 Thread Jörn Heid
I think the problem is the patent from Unisys. But I do not know if it's just the compression algorithm (LZW). You have to ask (or better search the mailing lists) for it at the batik forum as Cocoon just uses the offered transcoders. I'm interested in it, too, and have written such an serialize

svg2gif ?

2001-11-26 Thread Alex Kachanov
Ok, guys, we have svg2jpeg, svg2png How about svg2gif? Any clues? with best wishes Alexander Kachanov - Please check that your question has not already been answered in the FAQ before posting.

RE: MySQL, C2, Tomcat 4.0.1, win2k/xp

2001-11-26 Thread Liam Morley
I am using those pieces in my project. The source to my (unfinished) project can be found at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wpigdc-cms/cms-main/. This might be what you're looking for; I'm not using ESQL or anything, but rather, JDBC through a transformer. Liam Morley -Origin

exception when using xsp:forward from within Cocoon

2001-11-26 Thread Yaser Al Masri
Hello,   I'm trying to execute a jsp page from within Cocoon.  The page is defined in the sitemap.xmap as:     and every thing went fine except when I added the line: I had this exception: org.apache.cocoon.ProcessingException: ServletException in JSPReader.generate(): java.lang.ClassCastExc

Re: Any Publishing Frameworks similar to cocoon?

2001-11-26 Thread Michael Wechner
I think there is also a proprietary pipeline processor: "ATG Dynamo" from http://www.atg.com But I am not really sure if it's really a pipeline processor. Anyway, we are organizing in March 21-22 a conference on Open Source Content Management Systems where you will hear a lot about pipeline p

Upgrade C2b1 to C2rs01

2001-11-26 Thread Ling Kok Choon
Hi, I used cocoon2 beta version 1 to develop a website, and now i need to upgrade it to cocoon2 release version 1. I have tried to upgrade, but after the upgrading, the aggregation part not shown. Any idea ? Include here with are the sitemap.xmap and 1 action java file. 1) sitemap.xmap T

Ravi Narine/Toronto/StarData is out of the office.

2001-11-26 Thread Ravi . Narine
I will be out of the office starting 11/26/2001 and will not return until 11/28/2001. I will respond to your message when I return. - Please check that your question has not already been answered in the FAQ before posting.

RE: [c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Luca Morandini
Derek, just try to put the "disable-output-escaping" into the XSL which takes care of transforming the element into HTML. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http:

SV: Where can I find the Java code generated by Cocoon2

2001-11-26 Thread Søren Neigaard
Found it, thx :) -Oprindelig meddelelse- Fra: Luca Morandini [mailto:[EMAIL PROTECTED]] Sendt: 26. november 2001 00:40 Til: [EMAIL PROTECTED] Emne: RE: Where can I find the Java code generated by Cocoon2 Soren, look under $tomcat_home\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\

RE: [c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Derek Hohls
Luca Not sure about your syntax - the ESQL sits in a XML file (not an XSL file), so I am not sure that will work there? The syntax currently looks like: fName=; fName This will be transformed by a stylesheet after the XML file is built... Thanks Derek >>> [EMAIL PROTECTED] 26/11/2001

RE: [c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Derek Hohls
Luca Not sure about your syntax - the ESQL sits in a XML file (not an XSL file), so I am not sure that will work there? The syntax currently looks like: fName=; fName This will be transformed by a stylesheet after the XML file is built... Thanks Derek >>> [EMAIL PROTECTED] 26/11/2001

DBPrism

2001-11-26 Thread Yann SECQ
Hi, a major update of DBPrism has been released, and one point of great interest is its integration within Cocoon : ".. one of the most astonishing success stories of Java, Oracle and Open Source co-operation. This is DB Prism (or the project formerly known as OWSKiller). Originally created b

Re: xsl:include not allowed ?

2001-11-26 Thread Beat De Martin
xsl:import is working fine >From: "Beat De Martin" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: xsl:include not allowed ? >Date: Mon, 26 Nov 2001 09:09:06 > Get your FREE download of MSN Explorer at http://explorer.msn.com--- Begin Message --- Thank

RE: [c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Luca Morandini
Derek, what about using disable-output-escaping="yes" in your xsl:value-of ? Just like in: Anyhow, this works with SQLTransformer... no idea with ESQL. Best regards, - Luca Morandini GIS Consultant [E

[c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Derek Hohls
Does anyone know how to pass through markup symbols from a a Database Field so that they do not appear in the output [HTML] file as < but rather function as the tags they were intended to be - e.g. so that a database field with: my name your name appears as: my name your name PS Am using ESQL

[c1] Using Markup Symbols from a Database Field?

2001-11-26 Thread Derek Hohls
Does anyone know how to pass through markup symbols from a a Database Field so that they do not appear in the output [HTML] file as < but rather function as the tags they were intended to be - e.g. so that a database field with: my name your name appears as: my name your name PS Am using ESQL

MySQL, C2, Tomcat 4.0.1, win2k/xp

2001-11-26 Thread sxk99c
I was wondering if anyone had successfully set up MYSQL to work with C2 under Tomcat 4.0.1? If you can you please send me lengthy and detailed instructions as to how to do it please. I'm going insane trying to figure it out. Thanks for your time Sharat Koya ---

jboss 2.2.2 and cocoon 2 problem

2001-11-26 Thread James Stewart
Hi, I am getting this error and I have seen this problem mentioned a few times in the mailing list archives but haven't seen a solution. This is my configuration: Mandrake 8.1 The combined download of JBoss 2.2.2 and Tomcat 3.2.2 Cocoon 2.0rc2 and Java HotSpot(TM) Client VM (bui

Re: Where can I find the Java code generated by Cocoon2

2001-11-26 Thread Beat De Martin
Take a look at web.xml to set the work dir. >From: Søren Neigaard <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Where can I find the Java code generated by Cocoon2 >Date: Mon, 26 Nov 2001 09:30:06 -0800 > >Where can I find the Java code C2 generates for m

Re: xsl:include not allowed ?

2001-11-26 Thread Beat De Martin
Thank you Jörg I had it on a wrong position (inside a template match). There's no more compiling error but the include itself doesn't seem to work. I'll try import. In the sitemap I have the foolwing for the include file:      Cheers Beat     >From: Jörg Heinicke <[EMAIL PROTECTED]> >Reply

RE: HELP-blank pages

2001-11-26 Thread Beat De Martin
I did it with the Resource-Exist Action. It works ! Thanks for your help                     >From: "Tom Klaasen (TeleRelay)" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: HELP-blank pages >Date: Thu, 22 Nov 2001 17:28:24 +0100 > >Have a look at (exa

RE: general note about Cocoon

2001-11-26 Thread Liam Morley
If you stop tomcat, delete the files in WEB-INF/db, and restart, everything works fine. The error is not tied to your sitemap, and is documented on the website. (I think there is a better solution on the website for those who are using the files in WEB-INF/db and do not wish to delete them.) Liam

RE: general note about Cocoon

2001-11-26 Thread Sharat Koya
Relax, remember it is still in release candidate versions. -Original Message- From: Alex Kachanov [mailto:[EMAIL PROTECTED]] Sent: Monday 26 November 2001 08:55 To: [EMAIL PROTECTED] Subject: RE: general note about Cocoon This may be the cause - since I keep sitemap.xmap open and make

RE: general note about Cocoon

2001-11-26 Thread Alex Kachanov
This may be the cause - since I keep sitemap.xmap open and make changes while checking the reaction of Cocoon2 to these changes. But sorry, 1) how could I find this out from the error message? 2) sometimes it is able to read the file which is open in another application. Cocoon2 is a great

RE: general note about Cocoon

2001-11-26 Thread Sharat Koya
I have had this problem before also. I found that if you wait a few minutes and then try refreshing the page in your web browser it comes out with a different error message or if you restart the server and refresh the web browser. It is usually something to do with c2 not being able to access a lo

RE: general note about Cocoon

2001-11-26 Thread Alex Kachanov
log files display exactly the same deem information as I see on the error web-page: About this DTM IDs and the whole this list of exceptions. I don't know how chnage it programmatically I just suggest to make the error reporting more friendly... ... from web-master point of view... with bes

Re: Cocoon2 and FOP

2001-11-26 Thread giacomo
On Sun, 25 Nov 2001, Mark S. Kent wrote: > Sorry if this is off-topic, but I didn't see an FOP "User" list, just a > "Developer" one, so let me know if I need to ask this question over there. > > Is there a command in Apache's FOP to rotate the page by 90 degrees to get a > landscape orientation

RE: general note about Cocoon

2001-11-26 Thread Luca Morandini
Alex, have your already taken a look at the log files ? There are plenty of information there. These files are, by default, under: $tomcat_home\webapps\cocoon\WEB-INF\logs best regards, - Luca Morandini GIS Consu

RE: Where can I find the Java code generated by Cocoon2

2001-11-26 Thread Luca Morandini
Soren, look under $tomcat_home\work\localhost_8080%2Fcocoon\org\apache\cocoon\www\ The being dependent on your particular sitemap and sub-sitemaps. To look for every generated Java file, just type (provided you're under Windows): dir $tomcat_home\work\localhost_8080%2Fcocoon\org\apache\cocoon\

RE: Where can I find the Java code generated by Cocoon2

2001-11-26 Thread Tom Klaasen (TeleRelay)
in tomcat, this is in TOMCAT_HOME/work/your_webapp hth, tomK > -Original Message- > From: Søren Neigaard [mailto:[EMAIL PROTECTED]] > Sent: maandag 26 november 2001 18:30 > To: [EMAIL PROTECTED] > Subject: Where can I find the Java code generated by Cocoon2 > > > Where can I find the

general note about Cocoon

2001-11-26 Thread Alex Kachanov
I would rather tell that Cocoon2 is not user friendly, especially concerning error messages Just one valid change to sitemap.xmap can bring you to mysterious "java.lang.RuntimeException: No more DTM IDs are available" with no clue to the cause of the problem Even when you roll back your chang

Where can I find the Java code generated by Cocoon2

2001-11-26 Thread Søren Neigaard
Where can I find the Java code C2 generates for my XSP pages? Med venlig hilsen/Best regards Søren Neigaard System Architect Mobilethink A/S Arosgaarden Åboulevarden 23, 5.sal DK - 8000 Århus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 Email: [E

Re: Cocoon and other servlets

2001-11-26 Thread gcasper
If your servlet inherits from HttpServlet you have to override getLastModified() to enable conditional GETs and caching. HTH Guido jr schrieb: > I have done this by have a file handler request a url which is a servlet > generating xml. > However i cant seem to get this cached, and so i continue