Startup Initialization

2007-10-24 Thread Hans-Peter Werner
the rest of the app, so initialization takes place in weblogic context, access in cocoon context. To solve this problem I would like to initialize my Mbeans from within the cocoon framework by a mechanism similar to the servlet listeners. How can I achieve this? Thanks in advance Hans-Peter Werner

Re: Help with Cocoon 2.2.x

2007-07-17 Thread werner
Am Samstag, den 14.07.2007, 15:22 +0200 schrieb Grzegorz Kossakowski: Werner Masik pisze: Debian GNU/Linux Etch Java 1.5 Maven 2.0.7 I followed the instructions from the README for the build. As I'm not in my office now, I cannot tell what I exactly did. I just remember that I

Re: Help with Cocoon 2.2.x

2007-07-14 Thread Werner Masik
Am Fr, 13.07.2007, 17:42, schrieb Grzegorz Kossakowski: werner pisze: Try to remove cocoon artifacts and run build again. I hope it will help. Still have the same error. What's your Maven and Java version? What's your OS? How do you build and run Cocoon? I need this info in order to try

Help with Cocoon 2.2.x

2007-07-13 Thread werner
Dear Community! I'm getting errors when running the current 2.2 snapshot. I followed the instructions in the README. Looks like the cocoon.roles is missing in the cocoon-core jar. So it might be just a maven setup problem. Please help. Thanks Werner [jar:file:/opt/cocoon/cocoon-2.2.x/core

Re: Help with Cocoon 2.2.x

2007-07-13 Thread werner
Am Freitag, den 13.07.2007, 11:30 +0200 schrieb Grzegorz Kossakowski: werner pisze: Dear Community! I'm getting errors when running the current 2.2 snapshot. I followed the instructions in the README. Looks like the cocoon.roles is missing in the cocoon-core jar. So it might be just

Re: Help with Cocoon 2.2.x

2007-07-13 Thread werner
Am Freitag, den 13.07.2007, 15:51 +0200 schrieb Grzegorz Kossakowski: werner pisze: hmmm I'm using a snapshot from yesterday. That's weird, then. Have you cleaned up your local Maven repository? yep. Try to remove cocoon artifacts and run build again. I hope it will help

Re: What version of Java Tomcat

2007-04-04 Thread werner
I'm using Tomcat 5.5.x and Java 1.5 with Debian Sarge. I don't know if it is useful to try newer versions. Regards werner Peter Sparkes wrote: I forgot to mention that I am using Apache 2 Hi I am building a new machine with Debian GNU/Linux 3.1 (a.k.a. /sarge/). I want to instal

cocoon.context.setAttribute equivalent

2007-03-30 Thread Werner Vester
What is the Java Flow equivalent of cocoon.context.setAttribute? Regards, Werner Vesterås Oslo, Norway Tel +47 452 99039 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 2.1.11-dev: emptyStackTraceException

2007-03-29 Thread werner
Thanks for the fast fix of the EmptyStack*Trace*Exception ;-) (actually I wanted to write emptyStackSpaceException) Regards Werner Joerg Heinicke wrote: On 28.03.2007 20:24, werner wrote: Hello! I just tried the current Snapshot of 2.1.x. Works fine except

2.1.11-dev: emptyStackTraceException

2007-03-28 Thread werner
Hello! I just tried the current Snapshot of 2.1.x. Works fine except there is a *java.util.EmptyStackException when running the samples from the POI block. Anybody knows what's wrong here? Regards Werner Stacktrace: * org.apache.cocoon.ProcessingException: Failed to process pipeline

(Cocoon 2.1.9) HSSFSerializer problem

2006-10-05 Thread Werner Vesterås
) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) -- Werner Vesterås [EMAIL PROTECTED

[CFORMS] setState of invisible repeater rows

2006-08-11 Thread werner
the form was initialized. Is that ok? BTW I use 2.1.9 Regards Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CFORMS] setState of invisible repeater rows

2006-08-11 Thread werner
little typo. correct version: repeater.setState(WidgetState.INVISIBLE); // make row 1 visible var row = repeater.getRow(0); row.setState(WidgetState.ACTIVE) werner wrote: Hi I experience a strange behaviour with a repeater. The repeater is invisible at the first display of the form

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-10 Thread werner
work has to be done anyway. Regards Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CFORMS] HTML in field

2006-08-03 Thread werner
ch page. The user can edit and delete his comments. That is why I use the repeater to display the comment (=HTML) with the necessary buttons to edit and delete each comment. Thanks for your help Jason! Regards Werner 2) If you're using the old JX implementation then you should be able to do

Re: [CFORMS] HTML in field

2006-08-03 Thread werner
Jason Johnston wrote: werner wrote: Jason Johnston wrote: So what you're wanting is a way to take the String contents of a form widget and have it parsed into SAX events and inserted into the SAX stream, correct? Note that it's not as simple as just disabling escaping of XML characters

Re: [CFORMS] HTML in field

2006-08-02 Thread werner
Thanks for your answer. But I found out that the contents of the fields are already escaped before the stylesheets get applied. So the problem is somewhere else. Werner Jeroen Reijn wrote: Hi Werner, i'm not sure, but you could modify the xsl that applies the output widget and add

[CFORMS] HTML in field

2006-07-28 Thread werner
Dear Mailinglist! I know this has been asked before, but I could not find a clean solution. How can I display HTML in a output widget and prevent escaping? i.e. br/ should not be converted to lt;br/gt; Thanks you Werner

Re: Sending E-Mail with CForms

2006-05-18 Thread werner
, flowscript, anything you want. HTH. There is not much documentation for sending mail with cocoon. Werner Kaj Kandler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, has anybody an example how to send e-mail from Flow Script? I do have set up a cocoon form with template

Re: [CFORMS] can't migrate form from 2.1.8 to 2.1.9

2006-05-09 Thread werner
. But I looked into the cocoon 2.1.8 config files and could not find any difference. Are you sure there was a change in the ojb configuration? Werner Antonio Gallardo wrote: Hi Werner, In OJB 1.0.4 pay attention to the cache configuration it was moved to the repository.xml. If yo don't

Re: jx templates and syntax

2006-05-03 Thread werner
I wonder if this is a bug or a feature. Werner Danny Bols wrote: If you write the following, myVar wil be a collection of dom nodes: jx:set var="myVar"test/jx:set ${myVar.getClass().getName()} - [Lorg.w3c.dom.Node To get the text value you should write: ${myVar[0].nodeVal

[CFORMS] can't migrate form from 2.1.8 to 2.1.9

2006-05-03 Thread werner
although ValueJXPathBinding.doSave seems to work? Thank you Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CFORMS] can't migrate form from 2.1.8 to 2.1.9

2006-05-03 Thread werner
with the cache and some refresh attributes. Using the OJB persistenceBrokerAPI with the default cache is a real challenge. It never does what it is expected to do. werner wrote: Dear Mailing List! Once again I need your help. I'm struggling with a form that behaves strange in Cocoon 2.1.9

JX generator migration

2006-04-24 Thread werner
templates and there seem to be some changes. Thank you Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CFORM: repeater with paging support

2006-04-07 Thread werner
a widget that displays the links to the pages (no idea how to do that) Any suggestions ? Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CFORM: repeater with paging support

2006-04-07 Thread werner
Simone Gianni wrote: Hi Werner, there is already a patch for this on jira, see http://issues.apache.org/jira/browse/COCOON-1220 . Sylvain didn't include it because something was missing (see comments on the issue). Maybe you should try this patch, then report your feedback either here

Re: CFORM: repeater with paging support

2006-04-07 Thread werner
Patrick Refondini wrote: werner wrote: Dear List, I'm looking for a solution to create a repeater with paging support. The repeater is usually connected to some database via OJB or Hibernate. I think that this is a common problem, so I hope that somebody out there has already done

Re: [CFORMS] dynamic binding

2006-01-23 Thread werner
Am Freitag, den 20.01.2006, 09:51 +0100 schrieb Bruno Dumon: On Fri, 2006-01-20 at 08:21 +0100, werner wrote: Am Donnerstag, den 19.01.2006, 11:27 -0700 schrieb Jason Johnston: Does anybody know a clean approach for dynamic binding. For example it would be nice to use a JXTemplate

Re: [CFORMS] dynamic binding

2006-01-23 Thread werner
Thanks for your answer. I think that Bruno's suggestion (passing parameter in form.load instead() of form.createBinding() ) is perfect for me. Werner Am Freitag, den 20.01.2006, 07:00 -0700 schrieb Jason Johnston: werner wrote: Am Donnerstag, den 19.01.2006, 11:27 -0700 schrieb Jason

Re: [CFORMS] dynamic binding

2006-01-20 Thread werner
In the meantime you can use request attributes or parameters as a transport for your data. That's how I'm doing it right now. But in some cases that is not enough. Especially when you want to pass more than 3 parameters to the binding. Werner

[CFORMS] dynamic binding

2006-01-19 Thread werner
this with a special pipline and call the binding with /binding.jx/param1/param2 But that's ugly IMO. Werner

Re: Multiple forms per page

2005-12-13 Thread werner
I don't think this is a browser problem. Does your form template contain the state widget? fi:state ft:widget id=tab-state / /fi:state I don't know it the state-widget is really obligatory, but there is at least a _javascript_ error if it does not exist. Werner Am Dienstag, den 13.12.2005

Re: 2.1.9 dev - wrong position of help popup when in tab styling

2005-12-12 Thread werner
I have created a patch. see http://issues.apache.org/jira/browse/COCOON-1711 for a description. I hope that one of the developers will take a look at it. Am Mittwoch, den 07.12.2005, 13:31 +0100 schrieb werner: Hi! I think there is a little problem with the help popup of Cforms

2.1.9 dev - wrong position of help popup when in tab styling

2005-12-07 Thread werner
with this. Let me know if somebody has a solution for this. Werner

Re: Multiple forms per page

2005-10-26 Thread werner
know it this is a hack or not. As far as I have seen, this problem exists in 2.1.7 and 2.1.8 (without Ajax) Werner Am Dienstag, den 25.10.2005, 16:48 +0200 schrieb Josep A. Frau: En/na Sylvain Wallez ha escrit: werner wrote: Hi, I know it is not possible to have multiple forms

Multiple forms per page

2005-10-25 Thread werner
to be a cform) together with another form (this has to be a cform) on one single page. Has anybody tried this before? Thx Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple forms per page

2005-10-25 Thread werner
Am Dienstag, den 25.10.2005, 13:57 +0200 schrieb Sylvain Wallez: werner wrote: Hi, I know it is not possible to have multiple forms on one page using cforms. Is there some kind of workaround? I would like to put a search-field on every page of a website. The website contains also a lot

Flow/Formsmodel Question

2005-10-11 Thread werner
an idea why it does not work? Thank's, Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Flow/Formsmodel Question

2005-10-11 Thread werner
/forms/flow/javascript/v3/Form.js org/apache/cocoon/forms/flow/javascript/Form.js These wrappers do not seem to be compatible. Which wrapper should be used? Where are the differences? Does somebody know anything about this? Thank you Werner Am Dienstag, den 11.10.2005, 20:11 +0200 schrieb werner: I

Re: Flow/Formsmodel Question

2005-10-11 Thread werner
Thank you for your fast answer. I will stay with the v1 version then. Werner Am Dienstag, den 11.10.2005, 21:37 +0200 schrieb Bertrand Delacretaz: Le 11 oct. 05, à 21:31, werner a écrit : ...But it looks like there are 3 different wrappers: org/apache/cocoon/forms/flow/javascript/v2

Re: Flow/Formsmodel Question

2005-10-11 Thread werner
of by using lookupWidget() — is not available in v1 IIRC... it's a v2 thing (and maybe v3, not sure). But v2 also has other, more essential features that v1 currently lacks. yes, for example the event handlers like onValidate Werner Best regards, —ml

Re: Authentication in Cocoon against MS-AD

2005-08-02 Thread Werner
Hello Antonio, many thanks for your answer! I'll try approach 2 first, this seems to be OK for the project. The mail addresses are no DNs by definition, but unique in our case. Werner Antonio Fiol Bonnín wrote: Yes, you can user the LDAP transformer. However, you may use two different

Authentication in Cocoon against MS-AD

2005-07-23 Thread Werner Rudolf
Hello, I'd need to authenticate in Cocoon against MS Active Directory. Are there any links/documents/WIKI entries w/ best practises available? Can I just use the LDAP transformer for that? Many thanks and best regards, Werner

Re: switch/case fails when if/then works

2005-07-08 Thread Werner Masik
Ben Pope wrote: Werner Masik wrote: Hello! I have a strange flowscript problem with a switch/case. The code is a function that should display a list of persons (using a repeater). Every row of the repeater contains a submit button for editing and deleting. When a button is pressed

switch/case fails when if/then works

2005-07-06 Thread Werner Masik
? Or maybe it is just a stupid mistake I don't see now. But the code is based on http://www.planetcocoon.com/node/1715#comment So I think it should work. If anybody has an idea, please let me know. Thanks, werner Here is my code: function personenEditor() { var form = new Form(forms

Re: OJB 1.0.3 in cocoon 2.1.7

2005-06-25 Thread Werner Masik
You have to recompile cocoon with OJB 1.0.3. There are method calls during initialization of cocoon to OJB. If you overwrite the old OJB jar with the new one, the calls don't work. Greetings, Werner Alessandro Vincelli wrote: I have a problem in db-ojb-1.0.1 . When I use JDO api

[Newbie question] XSL select with parameter isn't working w/ full XPATH expression

2005-04-14 Thread Werner Rudolf
would be highly appreciated. Many thanks, Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[newbie q] XPATH expression in URL doesn't work for select

2005-04-04 Thread Werner Rudolf
Hello, I'd like to pass an XPATH expression in the URL for selection. Something like: URL: http://localhost:/systems.html?xpa=[status=Aktiv] XSL: xsl:for-each select=/systems/system$xpa Please can somebody help w/ a simple template? Many thanks and best regards Werner

Help on forms and sitemap for filtering and sorting needed

2005-03-30 Thread Werner Rudolf
that might solve the problem. I assume, that the selection and sorting can easly be done by using XPATH in separate(?) transformers. Am I right? Please can somebody point me to useful links? Many thanks and best regards, Werner

Re: Looking for data persistance method recommendation

2004-01-20 Thread Werner Guttmann
Interesting, indeed. Now, if that's really the case, would you mind sharing with us where you did hear this ? Werner On Tue, 20 Jan 2004 11:34:35 +0100, Nicolas Toper wrote: No Castor is infamously slow (or so I heard :=)) One advantage of Hibernate is that it is covered in the Wiki so

Re: How to convert a hierarchical structure to xml in java?

2003-12-18 Thread Werner Guttmann
Helma have a look at the CastorTransfomer (currently still living in the scratchpad folder), as it might provide what you are looking for. A general introduction to Castor XML can be found at http://castor.exolab.org. Werner On Thu, 18 Dec 2003 16:43:29 +0100, [EMAIL PROTECTED] wrote: Hi

Re: cocoon - slide block

2003-12-01 Thread Werner Guttmann
java.sun.com/j2ee/jta, afair in principle, the JTA spec is part of J2EE. Werner On Mon, 1 Dec 2003 10:21:02 +0200 (EET), [EMAIL PROTECTED] wrote: hi people do you know from where jta.jar can be downloaded? thx --stavros

Re: Problems with Slide Sample

2003-11-26 Thread Werner Masik
Martin Holz wrote: Hello Werner, Werner Masik [EMAIL PROTECTED] writes: We are evaluating slide for use in a cms based on cocoon. But with cocoon version 2.1.3-dev and 2.1.2 we were not able to run the slide sample. Does anybody have experience with this? The login screen works

Re: WYSIWYG Wiki Project Using Cocoon

2003-11-25 Thread Stefan Werner
Hi - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 24, 2003 2:15 PM Subject: Re: WYSIWYG Wiki Project Using Cocoon Derek Hohls wrote: Also suggest you check out this interesting development:

Re: XMLizing your business obejcts

2003-11-17 Thread Werner Guttmann
Nobert, you might want to have a look at the CastorTransformer in the scatchpad block of Cocoon 2.1.2 ff. Iow, there's no need to write any code anymore ... it has been done already. Regards Werner On Mon, 17 Nov 2003 21:24:19 +0100, [EMAIL PROTECTED] wrote: Quoting Justin Fagnani-Bell

Problems with Slide Sample

2003-11-14 Thread Werner Masik
' at org.apache.cocoon.components.source.SourceUtil.toDOM(SourceUtil.java:289) at Thanks! werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problems with castor transformer example

2003-09-30 Thread Werner Guttmann
(Catalina), please try to include the above property with the JVM that's responsible for starting the conatiner. I hope this hepls Werner On Tuesday 30 September 2003 10:51, Oskar Casquero Oiarzabal wrote: Hello, I'm trying to see the usage of the CastorTransformer with the example

Re: Building cocoon: where are block descriptions?

2003-09-26 Thread Werner Guttmann
, and in everybody's interest who loves Cocoon for what is it and strives to be. Werner PS Speaking of which, can somebody enlighten me as to why the CastorTransformer still is part of the scratchpad block. And what would it take to move it to its separate block ? On Thu, 25 Sep 2003 15:27:51 -0400

Re: Building cocoon: where are block descriptions?

2003-09-25 Thread Werner Guttmann
And where could one possibly maybe find a complete description ? Werner On Thu, 25 Sep 2003 09:52:06 -0700 (PDT), Timothy Larson wrote: --- Javier Ramos [EMAIL PROTECTED] wrote: This may be a stupid question, but I cannot find a document describing each of the blocks listed

RE: EJB + Cocoon, Best Practices

2003-09-10 Thread Werner Guttmann
) to XML. All that is required - that is, if you are not pleased by the default marshalling provided out of the box - is a binding file that defines simple rules how the XML should look like (rather than relying on reflection to derive the names of the XML elements/attributes). Werner On Wed, 10 Sep

Re: EJB + Cocoon, Best Practices / Betwixt

2003-09-10 Thread Werner Guttmann
to the CastorTransformer usage. If you test it, let me here, what you think about. regards Christoph - Original Message - From: Werner Guttmann [EMAIL PROTECTED] To: Christoph Gaffga [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 10:04 AM

Re: EJB + Cocoon, Best Practices / Betwixt

2003-09-10 Thread Werner Guttmann
Christoph, can you briefly explain the differences between the two transformers. Whilst I am very familiar with the CastorTransformer (and Castor XML/JDO), I'd appreciate a quick overview of the functionality of the BetwixtTransformer, and what advantages it would offer to using the