DO NOT REPLY [PATCH QUEUE] Summary October 4 2003

2003-10-03 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to th

RE: html templates - best practise [ann] othello

2003-10-03 Thread gounis
op sorry .. the URL: http://tools.osmosis.gr/othello/othello.gr.zip -- stavros On Sat, 4 Oct 2003 [EMAIL PROTECTED] wrote: > hi people > in our plans was to announce this in few weeks when the project will > have a final state and a HowTo use Guide > > but considering this thread we have

RE: html templates - best practise [ann] othello

2003-10-03 Thread gounis
hi people in our plans was to announce this in few weeks when the project will have a final state and a HowTo use Guide but considering this thread we have to show you our approach the idea was a project that can build small to medium web sites using cocoon the project must be template-base

Re: Cocoon performance

2003-10-03 Thread Christopher Painter-Wakefield
It might be helpful to know * how many pages is "lots" * how deep are your pipelines (number of transformers, actions, etc) * what kind of hardware (processor, memory, network speed) * what webserver/appserver (e.g., Tomcat + Apache webserver) If you haven't already done so, check the load and

RE: Cocoon performance

2003-10-03 Thread Reinhard Poetz
If you could switch to Cocoon 2.1 you could use the profiler to measure the time of each step in your pipelines. Also give Saxon a chance - it is usually faster than Xalan. Cheers, Reinhard > -Original Message- > From: BOUREAU ANNE VALERIE [mailto:[EMAIL PROTECTED] > Sent: Friday, Octob

Problem using jpath and xsp tags together (possible bug or just misunderstanding)

2003-10-03 Thread Joseph Ferner
The Problem: I'm trying to create an xml document using xsp and jpath that looks like this: The object I'm pulling from will either return null or another object which has the string in it (in this case "myval") So I wrote code like this (xsp): ...

RE: html templates - best practise

2003-10-03 Thread Horsfield, Peter A.
One thing I think nobody has mentioned yet is the use of the cocoon:/ internal pipeline call. Using that in conjunction with the XSLT document function means you get to take advantage of Cocoon pipelines for fragments of presentation or data XML, whatever format. You can also then feed in the pa

RE: Portal Engine vs Portal Framework

2003-10-03 Thread JACOB, ERIC
smime.p7m Description: S/MIME encrypted message

RE: Portal Engine vs Portal Framework

2003-10-03 Thread Antonio Gallardo
Carsten Ziegeler dijo: > The Portal Framework is the current stable and usable version- > > The Portal Engine is an alpha version which sometime will make > the portal framework obsolete. This version is stable > and usable as well but might change here or there. > > So, currently both versions are

Re: html templates - best practise

2003-10-03 Thread Alexander Schatten
I developed a way of "callback" templates. Look at this: (0) consider a HTML design like this: ++ | Page Title (each page different) | ++ | Main Navigation (for all pages the same| +-

Cocoon performance

2003-10-03 Thread BOUREAU ANNE VALERIE
--- Reçu de PARTNRE.BOUREAV 0298426572 03-10-03 18.11 Hello, I have very bad response time with Cocoon 2.0.1 when lots of pages are requesting. I have used most of the tips listed in 'Apache Cocoon Performance Tips' and would like to know what to do to improve our response t

RE: Portal Engine vs Portal Framework

2003-10-03 Thread Carsten Ziegeler
The Portal Framework is the current stable and usable version- The Portal Engine is an alpha version which sometime will make the portal framework obsolete. This version is stable and usable as well but might change here or there. So, currently both versions are marked correctly. As soon as the p

Re: build problems - 2.1.2 on unix

2003-10-03 Thread Stephen Ramsay
On Fri, Oct 03, 2003 at 11:37:57AM -0400, Cindy Girard wrote: > Hi, > >I'm trying to install the latest cocoon on our solaris machine, but >am getting this error during the build: > > Apache Cocoon Build System > -- > Error: JAVA_HOME is not defined correctly. >

RE: html templates - best practise

2003-10-03 Thread Horsfield, Peter A.
We also used one XSLT stylesheet per data source to insert live data into an XHTML template. I have an ultra draft article about what we did here: http://xml.grumpykitty.biz/ As a programmer you have to be pretty comfortable maintaining XSLT, I feel, but you don't necessarily have to change it v

build problems - 2.1.2 on unix

2003-10-03 Thread Cindy Girard
Hi, I'm trying to install the latest cocoon on our solaris machine, but am getting this error during the build: Apache Cocoon Build System -- Error: JAVA_HOME is not defined correctly. We cannot execute java -server Here are my environment variables: JAVACMD=

Re: Tomcat 4.1.24 and Cocoon 1.8.2

2003-10-03 Thread Joerg Heinicke
Josep Riudavets wrote: Yes, they can. But you have to be careful with xerces version. J2SDK xerce version is older than the one that comes with cocoon. Try to put it into JDSDK/jre/lib/endorsed directory, replacing the older. For Cocoon 1.8 I guess it's the other way around. Furthermore this is

Re: Tomcat 4.1.24 and Cocoon 1.8.2

2003-10-03 Thread Josep Riudavets
Yes, they can. But you have to be careful with xerces version. J2SDK xerce version is older than the one that comes with cocoon. Try to put it into JDSDK/jre/lib/endorsed directory, replacing the older. I'm not an expert, and possible my tip is wrong (and I know my english is not much better... s

Re: html templates - best practise

2003-10-03 Thread Joerg Heinicke
Hello Andreas, Andreas Bohnert wrote: Thanks derek, that was exactly what I like to know. i will give you an example: this is an tapestry html template: Name1 Name2   // iteration over database rows / what's so different

Accessing to environment variables from Cocoon

2003-10-03 Thread Josep Riudavets
Hi ...   I'm trying to capture SSL_CLIENT_CERTIFICATE variable from Cocoon. I'm working with Apache 1.3, Tomcat 4.1.24 and Cocoon 2.1.   I have developed a system where all queries from clients to Apache are passed to Tomcat applying the APJ13 protocol. Now, I need to know some environment v

Tomcat 4.1.24 and Cocoon 1.8.2

2003-10-03 Thread Martin Samm
I know this is an old version of cocoon, only it's the version as used by mycgiserver.com. Can these versions of cocoon and tomcat be made to co-operate? I keep getting java.lang.VerifyError on the sample pages from, what i'm guessing is, various XML jar file clashes/interfaces, e.g.: java.lang

RE: html templates - best practise

2003-10-03 Thread Ralph Goers
I believe I am doing exactly what you are asking.  We use an html skeleton that contains span tags wherever dynamic content is to go. We have a pipeline that aggregates the html (converted to XHTML by the HTMLGenerator) along with the XML form of our Data Transfer Objects as created by Betwi

Re: [HELP]Failed to execute pipeline.

2003-10-03 Thread Joerg Heinicke
Antonio Gallardo wrote: Description:org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException Hi Emma: 1. Please provide more info: Cocoon version: OS: Java version: Servlet container: What's more important is the stacktrace (where is the NPE be thrown?)

Re: woody block: help tag

2003-10-03 Thread Antonio Gallardo
Bruno Dumon dijo: > On Fri, 2003-10-03 at 14:57, Antonio Gallardo wrote: >> Bruno Dumon dijo: >> > On Fri, 2003-10-03 at 07:23, Antonio Gallardo wrote: >> >> You are not doing nothing wrong. The exists as part of >> the woody specification. >> > >> >> Hi Bruno, >> >> Thanks for taking time to answ

Re: Problems with xsltc and xalan nodeset function

2003-10-03 Thread Joerg Heinicke
Can reproduce it, please file a bug at bugzilla at http://nagoya.apache.org/bugzilla/. Thanks, Joerg Peter Broschwitz wrote: Hi, we are using cocoon 2.1 with xsltc (version 1.4, xalan 2.5.0) as default transformer. Now we want to use the xalan or exslt nodeset function, but this is only possi

Re: html templates - best practise

2003-10-03 Thread gounis
On Fri, 3 Oct 2003, Derek Hohls wrote: > This is all true; but a stylesheet is still a stylesheet, > and it seems that the original poster wanted to be > able to use something very close to template-type > HTML so that the page desigers would not have to > do anything related to XML and XSL... may

Re: html templates - best practise

2003-10-03 Thread Andreas Hartmann
Derek Hohls wrote: This is all true; but a stylesheet is still a stylesheet, and it seems that the original poster wanted to be able to use something very close to template-type HTML so that the page desigers would not have to do anything related to XML and XSL... maybe XHTML and statements are t

RE: Portal Engine vs Portal Framework

2003-10-03 Thread JACOB, ERIC
Sorry, here is the message without my certificate signature. --- Hi, Maybe it's a stupid question, but I searched on the Cocoon Web site and I didn't find an answer. I'm trying to figure out what are the differences between what it seems t

Re: woody block: help tag

2003-10-03 Thread Bruno Dumon
On Fri, 2003-10-03 at 14:57, Antonio Gallardo wrote: > Bruno Dumon dijo: > > On Fri, 2003-10-03 at 07:23, Antonio Gallardo wrote: > >> You are not doing nothing wrong. The exists as part of the > >> woody specification. > > > > Hi Bruno, > > Thanks for taking time to answer us. > > > Huh? wi:he

Re: html templates - best practise

2003-10-03 Thread Derek Hohls
This is all true; but a stylesheet is still a stylesheet, and it seems that the original poster wanted to be able to use something very close to template-type HTML so that the page desigers would not have to do anything related to XML and XSL... maybe XHTML and statements are the way to go??  

Re: html templates - best practise

2003-10-03 Thread Andreas Hartmann
Bertrand Delacretaz wrote: Le Vendredi, 3 oct 2003, à 14:41 Europe/Zurich, Derek Hohls a écrit : ...My feeling is that use of Cocoon must change some aspects of how you work... if you do not want to change, then maybe stick to JSP or other template-type systems?... I didn't follow the beginning o

Re: woody block: help tag

2003-10-03 Thread Antonio Gallardo
Bruno Dumon dijo: > On Fri, 2003-10-03 at 07:23, Antonio Gallardo wrote: >> You are not doing nothing wrong. The exists as part of the >> woody specification. > Hi Bruno, Thanks for taking time to answer us. > Huh? wi:help doesn't exist -- or at least not yet. It has been > discussed, but nothi

Re: html templates - best practise

2003-10-03 Thread Bertrand Delacretaz
Le Vendredi, 3 oct 2003, à 14:41 Europe/Zurich, Derek Hohls a écrit : ...My feeling is that use of Cocoon must change some aspects of how you work... if you do not want to change, then maybe stick to JSP or other template-type systems?... I didn't follow the beginning of this discussion, but would

Re: html templates - best practise

2003-10-03 Thread Derek Hohls
Andreas   I hear what you are saying  - but the page layout can be very simple - even in XSL - and easy to display against sample data with a built-in stylesheet (eg. IE will do this for you).  Furthermore, even a template-based approach (such as the sample you sent) will not display the *actua

Re: html templates - best practise

2003-10-03 Thread Derek Hohls
Andreas   I hear what you are saying  - but the page layout can be very simple - even in XSL - and easy to display against sample data with a built-in stylesheet (eg. IE will do this for you).  Furthermore, even a template-based approach (such as the sample you sent) will not display the *actua

Re: Woody: Output widgets cleared after form validation error

2003-10-03 Thread Bruno Dumon
On Fri, 2003-10-03 at 04:19, jcplerm wrote: > The output widgets of forms created with Woody (download of Sept 25) > are cleared when there is a form validation error. Fields of other > widget types remain filled with the original values. > The only problem is with output widgets. > > Has anyone

Re: woody block: help tag

2003-10-03 Thread Bruno Dumon
On Fri, 2003-10-03 at 07:23, Antonio Gallardo wrote: > Carlos Chávez dijo: > > > > Hi to all, > > > > i'm try use the tag my template file is: > > > > > > > > > >Escriba el nombre del vendedor. > > > > > > > > > > > > i'm use the stylesheet "woody-field

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
absolutely, also your site is a great resource - thanks! regards andreas - Original Message - From: "Andreas Hartmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 1:41 PM Subject: Re: html templates - best practise > Andreas Bohnert wrote: > > > Hi, > > >

Re: Portal Engine vs Portal Framework

2003-10-03 Thread Antonio Gallardo
JACOB, ERIC dijo: ? Yep, the subject is a good question. I also commented if we need to deprecaed one of them, but noone answer the question. Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Portal Engine vs Portal Framework

2003-10-03 Thread JACOB, ERIC
smime.p7m Description: S/MIME encrypted message

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
thanks derek,   i'm still not used to cocoon and your example helps!   I'm still attracted by the idea, to have a designer, which is responsible for html and programmers who enhance the static html with life data. if the layout is changing - let the designers do their job. I don't want spend

RE: XSL and Reading the Request

2003-10-03 Thread Lionel Crine
You can also set the : in your main sitemap writing : true true true --> HERE xalan This sample comes from cocoon 2.1. Lionel At 16:03 01/10/2003 -0500, you wrote: In your sitemap.xmap file, you'll want the following for your transfor

Re: html templates - best practise

2003-10-03 Thread Andreas Hartmann
Andreas Bohnert wrote: Hi, i read a lot of tutorials and docs about cocoon and i really like it, but I still don't know, what's the best practise to handle html templates. [...] Maybe these pages could be interesting for you: http://www.cocooncenter.org/articles/stylefree.html http://wiki.coc

[A SOLUTION] Validating a document with an action.

2003-10-03 Thread Lionel Crine
I wrote an action which can validate an xml document according a DTD. Here an example : The ACTION : In the act method you can write : StrDocument = source; --> representing the * of the sitemap. DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = null; try {

Re: html templates - best practise

2003-10-03 Thread gounis
On Fri, 3 Oct 2003, Andreas Bohnert wrote: > hi stavros, > > i was just not happy with the fact, that inside a removable div/span block > there may some layout tags which I have to create dynamically. > but maybe this is avoidable or it doesn't really matter... think about that inside your .xhtm

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
hi stavros, i was just not happy with the fact, that inside a removable div/span block there may some layout tags which I have to create dynamically. but maybe this is avoidable or it doesn't really matter... >the idea is: >xhtml template file (with some extra tag that get content from specifics

Re: html templates - best practise

2003-10-03 Thread Derek Hohls
Andrea   I agree that the generator will produce the xml data source (with the database rows, etc.) - a sample may look like:         testA1    testA2        testB1    testB2      Then the XSLT file to transform it might be:       version="1.0"   xmlns:xsl="http://www.w3.org/1999/XSL/T

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
Hi stavros, this sounds very good, i'm curious to see it!! thanks andreas - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 11:39 AM Subject: Re: html templates - best practise > hi addreas > > we are working on that direction one y

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
Thanks derek,   that was exactly what I like to know. i will give you an example:   this is an tapestry html template:        Name1    Name2          // iteration over database rows            /             this template can be modified by a html designer at a

Re: html templates - best practise

2003-10-03 Thread gounis
On Fri, 3 Oct 2003, Andreas Bohnert wrote: > Hi Alex, > > i haven't think about xhtml. I will have a look at it! > We don't have an agreement, how to specify the dynamic parts. I'm used to > tapestry, which is perfect to work with html templates, but we need to > create different outputs (wap, pd

Re: html templates - best practise

2003-10-03 Thread Andreas Bohnert
Hi Alex, i haven't think about xhtml. I will have a look at it! We don't have an agreement, how to specify the dynamic parts. I'm used to tapestry, which is perfect to work with html templates, but we need to create different outputs (wap, pdf, html) so cocoon would be very nice! I think i would m

Re: html templates - best practise

2003-10-03 Thread gounis
hi addreas we are working on that direction one year ago the idea is: .xhtml template file (with some extra tag that get content from specifics blocks) .xml content file .xml block file (blocks with content) 1. all this files aggregation into one .xml 2. xsl trasformation to put content in the

Re: html templates - best practise

2003-10-03 Thread Derek Hohls
Andreas   Not sure I fully understand  - and so  I may be missing the point completely... but Cocoon, unlike many other web application systems does *not* work on a "template" system ... data is created in XML (from static and/or dynamic sources) and the presentation (HTML page layout) is hand

Re: html templates - best practise

2003-10-03 Thread alex
[EMAIL PROTECTED] wrote: > Hi, > i read a lot of tutorials and docs about cocoon and i really like it, = > but I still don't know, what's the best practise to handle html = > templates. > I get the static part of my html page from a html designer Is it possible to get the designer to generate xhtm

dynamic query and dynamic result

2003-10-03 Thread Joose Vettenranta
Hey, I'm trying to do dynamic query where I don't know columns names or ammount. SQL: SELECT * FROM table; I can't use becaues it returns reuls in difficult to handle format: value What I would like to is this: value or even: foo value WHY like this? It's difficult to say in XSLT to sa

html templates - best practise

2003-10-03 Thread Andreas Bohnert
Hi,   i read a lot of tutorials and docs about cocoon and i really like it, but I still don't know, what's the best practise to handle html templates.   I get the static part of my html page from a html designer and I want to leave it untouched, so the designer can modify it later on. Of cou

RE: XSP and sending 100 emails

2003-10-03 Thread Joose Vettenranta
On pe, 2003-10-03 at 10:28, Andrea Scolari wrote: > Hi Joose. > > > can sendmail XSP be used to send 100 emails in a loop? > Yes, you can do like you've written: Good. Then I was not able to find info how to create mime-type related to the content? I mean, if I create HTML-message and use cid:nam

Re: [Help] redirect to different ulrs depending on the url parameter value

2003-10-03 Thread Christian Haul
Tomasz Bech wrote: And why map:call cannot forward to another matcher? You can nest matchers, redirect external or internal ("cocoon:" protocol). There are resources. And in the future, arbitrary pipeline fragments. BTW map:call does expand sitemap variables. In fact I want to do it really clean

RE: XSP and sending 100 emails

2003-10-03 Thread Andrea Scolari
Hi Joose. > can sendmail XSP be used to send 100 emails in a loop? Yes, you can do like you've written: while (morerecipients) { ISO-8859-1 mail.xxx.ch [EMAIL PROTECTED] email subject text } Best regards, Andrea Scola

Re: Cocoon 2.0.4 and stalling && installing for several vhosts

2003-10-03 Thread Joose Vettenranta
On pe, 2003-10-03 at 09:37, Joose Vettenranta wrote: > Hi, > > I have following setup: > - Apache 2 as proxy-server > - tomcat 4.1.27 as servlet-server > - java j2sdk1.4.1_01 > - cocoon: 2.0.4 I forgot to tell, that I use following java-options: JAVA_OPTS="-Xmx512m -Xincgc -Djava.awt.headless=tr