Cocoon 2.1: how to cache generator result

2008-02-26 Thread Stefan Burkard
Hi all I use a simple generator to load xml data from websites like blogger or delicious. This data is then aggregated with local xml data. What I would like is to save or cache the generators result for about an hour to avoid that cocoon makes an http request every time the page is loaded.

Timeout handling for generators?

2006-06-28 Thread Stefan Burkard
hi cocoon users is there a generator to get external documents with HTTP that has a built-in timeout-handling? the default generator work fine like this: map:generate src=http://host/path/ but if the requested resource isn't available an error page is coming up. i'd like to get an atom-feed

localhost/hostname in datasource

2006-06-07 Thread Stefan Burkard
hi cocoon-users I have a mysql-datasource defined in cocoon.xconf (like the example below). dburljdbc:mysql://127.0.0.1/myDatabase/dburl usermyUsername/user passwordmyPassword/password what's strange now, is that I get an exception on startup that my data-access-user has no permission for the

Re: Weblog with Cocoon.

2005-01-17 Thread Stefan Burkard
hello have a look at the blocks-section in the samples of an installed cocoon. there you will find a block called linotype, which is a blog-application. i'm not sure, but i guess that this blog of a cocoon-commiter is done with linotype: http://beblogging.com/blog/ greetings stefan Aurélien

Re: REPOST: Cocoon Forms - Javascript errors

2005-01-14 Thread Stefan Burkard
hi derek have you ever looked into the file Form.js (line 127)? perhaps you get a hint what's causing this nullpointer-exception... stefan Derek Hohls wrote: {posted a month ago; maybe lost in the Christmas rush??} I am getting the following message from Cocoon when I attempt to delete repeater

Re: Fwd: Can't start Cocoon 2.0.4 on Tomcat 4.1

2005-01-14 Thread Stefan Burkard
hi oleg not sure about this, but i think you should put the 3 jars into tomcat-home\common\endorsed (you putted them in Java_Home\jre\lib\endorsed) greetings stefan Oleg Konovalov wrote: I don't have that option: both my (project) production and book I am reading are using Cocoon 2.04 and

Re: is this possible?

2005-01-14 Thread Stefan Burkard
have you already tried something like this (more than one pattern for the same locale)? i'm just guessing... fd:convertor type=formatting fd:patterns fd:patternMM/dd//fd:pattern fd:pattern locale=de_CHdd.MM./fd:pattern fd:pattern locale=de_CHdd-MM-/fd:pattern

Re: Struts Cocoon session passing

2005-01-11 Thread Stefan Burkard
perhaps the cocoon-plugin for struts could help: http://struts.sourceforge.net/struts-cocoon/ greetings stefan Asif Iqbal wrote: Hi We have an exsisting Struts application and now using Cocoon for reporting mainly. Our users log into the struts application and from there they will access various

Re: Error attempting to install cocoon - Scheduler with name Cocoon already exists

2005-01-10 Thread Stefan Burkard
hi philip if you don't need the cron- and the scratchpad-block you can exclude them from the build. well, if you're just starting with cocoon i think you don't need them :-) you can do this by copying blocks.properties to local.blocks.properties, open the latter and uncomment the two lines

Re: Scheduler with name 'Cocoon' already exists.

2005-01-10 Thread Stefan Burkard
hi lars i had the same problem - seems to be a problem in the cron-block of the actual version. if you don't need the cron- and the scratchpad-block you can exclude them from the build. you can do this by copying blocks.properties to local.blocks.properties, open the latter and uncomment the

Re: org.quartz.SchedulerException

2005-01-10 Thread Stefan Burkard
hi dani your thread is the third i find with the same problem - therefore my answer follows the third time :-) i had the same problem - seems to be a problem in the cron-block of the actual version. if you don't need the cron- and the scratchpad-block you can exclude them from the build. you

Re: My first pipeline

2005-01-10 Thread Stefan Burkard
hi mark have you ever tried to avoid white-spaces in the document path? i had problems with several java-applications if there are white-spaces in the path if this doesn't work try to do something like this in the original-sitemap in the root-folder: map:match pattern=anythingThatsUnique

different flavours of the same form with cforms

2005-01-09 Thread Stefan Burkard
hi cocoon-users i'd like to create different flavours of a contact-form with cocoon forms. all flavours have some fields in common (name, e-mail, ...) but most of the flavours have also specialised fields. for example the form to submit new links has a field to type a link. so, is it possible

JSR 170 Generator?

2004-11-17 Thread Stefan Burkard
hi cocoon-users does anybody know if there are plans for something like a jsr-170-generator (JSR 170 - content repository). i saw that such a repository-project (jackrabbit) is now an apache-incubator. it would be very interesting to have a generator to retreive xml-content from a

different page- and form-encodings?

2004-07-14 Thread Stefan Burkard
hi cocoon-users i'm publishing some html-forms with cocoon - the html-pages are utf-8 and the browsers are using this encoding correctly. if anybody submits a form i use the entered values to send a mail to myself with all the provided values - i'm using the mail-logicsheet for this and also

problem with woody-transformer and xml-namespaces

2004-02-29 Thread Stefan Burkard
hi cocoon-users i upgraded to cocoon 2.1.4 (from 2.1.3) and now i have a strange effect with the woody-transformer. in my woody-form-templates i use an own namespace like this: inhalt xmlns=http://www.berndeutsch.ch/xmlns/inhalt/1.0; ... that was no problem until (and also with) cocoon 2.1.3,

Re: Error running 2.1.3 app in 2.1.4

2004-02-20 Thread Stefan Burkard
hi tony i'm just suggesting, but if you're using flow-script, try to add an explicit declaration of the used language: map:flow language=javascript map:script src=path to your js-flow-files/ /map:flow greetings stefan Tony Edwards wrote: Folks, I'm still interested to hear if I can generate

Re: [once again] best way to set http header encoding

2004-02-17 Thread Stefan Burkard
Jan Uyttenhove wrote: i wonder that cocoons serializer just writes a meta-tag with the encoding in the html-page. it doesn't do this in the http-header. therefore apache set the http-header to his standard-encoding and destroys the correct encoding of the response, because most browsers ignore

woody-forms and templates - bug or feature?

2004-02-17 Thread Stefan Burkard
hi cocoon-users i was very glad to read in the woody-wiki that xml-based form-definitions and templates that call the form-widgets are separated, so that many templates can use one single form-definition. but now, i ran into a problem and i don't know if it's a bug or a feature :-) i have a

[solved] woody/flowscript and URI-problem (example for i18n with woody, flowscript)

2004-02-16 Thread Stefan Burkard
hi cocoon-users i was wondering that the thread i began (woody/flowscript and URI-problem), gets a little bit philosophic :-) in the meantime i redo the whole thing again and it works! must be a stupid typo-error or something like this. anyway, here's the whole step-by-step-example how to do

[once again] best way to set http header encoding

2004-02-16 Thread Stefan Burkard
[SORRY, ONCE AGAIN MY QUESTION, BECAUSE THERE WAS NO ANSWER] hi there i wonder that cocoons serializer just writes a meta-tag with the encoding in the html-page. it doesn't do this in the http-header. therefore apache set the http-header to his standard-encoding and destroys the correct

woody/flowscript and URI-problem

2004-02-15 Thread Stefan Burkard
hi there i've got a problem with the combination of woody/flowscript and URIs. i followed the registration-example in the cocoon-wiki that uses woody and flowscript. that runs perfectly. as i changed this example step by step to my needs, i arrived with this problem: i'm putting the locale

Re: Testing generator encoding problem

2004-02-13 Thread Stefan Burkard
hi i'm not sure, but i think if your test-generator reads the file with the cat-command, it is not unicode-aware. your redhat-locale is iso8859-1 and i think the unix-commands use this encoding to read and write files. if this is true, your gb2312-characters get corrupted when cat reads in the

Re: How can I make IE display html in auto encoding utf-8?Sorry last mail use html

2004-02-12 Thread Stefan Burkard
hi roy i had the same effect with cyrillic characters to display russian language! in effect, if i connect directly to tomcat on port 8080 everything runs ok, because tomcat and cocoon both don't set any encoding in the http-header. therefore the meta-tag in the html-page (set by