Startup Initialization

2007-10-24 Thread Hans-Peter Werner
r than 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-Pe

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 of

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 yo

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 artifact

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

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-28 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 there is a

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 pip

(Cocoon 2.1.9) HSSFSerializer problem

2006-10-05 Thread Werner Vesterås
ener.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]> Jacob Aalls gt 7 0368 OSLO Tel +47 452 99039 -

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 and

[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: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-10 Thread werner
tions. The migration 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
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

Re: [CFORMS] HTML in field

2006-08-03 Thread werner
TML) 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 something similar, but you have to manually create an XMLizable object from the String value first (coc

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 an

[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. should not be converted to <br/> Thanks you Werner --

Re: Sending E-Mail with CForms

2006-05-18 Thread werner
ted from a pipline, 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

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

2006-05-09 Thread werner
efore. 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

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 Co

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

2006-05-03 Thread werner
to find out why only the repeater data get updated and the other data changes get lost although ValueJXPathBinding.doSave seems to work? Thank you Werner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jx templates and syntax

2006-05-02 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: test ${myVar.getClass().getName()} -> [Lorg.w3c.dom.Node To get the text value you should write: ${myVar[0].nodeValue} -> test --

Re: JX generator migration

2006-04-26 Thread werner
Bruno Dumon wrote: On Mon, 2006-04-24 at 19:46 +0200, werner wrote: Dear Mailinglist! I'm migrating an application from the "old" JX-Template generator to the new one. Some of my templates don't work anymore. Is there some kind of documentation (except source code

JX generator migration

2006-04-24 Thread werner
because I used Jexl in my templates and there seem to be some changes. Thank you 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
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: 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

CFORM: repeater with paging support

2006-04-07 Thread werner
pages - create 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: [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 schri

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 > > > w

Re: [CFORMS] dynamic binding

2006-01-20 Thread werner
mebody posted a patch for this feature: https://issues.apache.org/jira/browse/COCOON-1418 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.

[CFORMS] dynamic binding

2006-01-19 Thread werner
x27;s possible to solve 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?     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, 16:24 +0100 schrieb

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
iment with this. Let me know if somebody has a solution for this. Werner

Re: Multiple forms per page

2005-10-26 Thread werner
se the tab-state widget is not generated with an id attribute (only with a name). In forms-page-styling.xsl look for the line and add the id attribute Then it works. I don't 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

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

Multiple forms per page

2005-10-25 Thread werner
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: Flow/Formsmodel Question

2005-10-11 Thread werner
particular, the feature the O.P. asked about — the ability to > address widgets as properties instead 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

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: > > >

Re: Flow/Formsmodel Question

2005-10-11 Thread werner
che/cocoon/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 schr

Flow/Formsmodel Question

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

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 diff

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, W

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 the

switch/case fails when if/then works

2005-07-06 Thread Werner Masik
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(&

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
://localhost:/c2/systems.html?xpa=/systems/system[status=Active] XSL: I've been told to use xalan:evaluate($xpa), but then I get an "org.apache.cocoon.ProcessingException: Unable to get transformer handler for" error. Any help would be highly appreciated. Many

[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: Please can somebody help w/ a simple template? Many thanks and best regards W

Help on forms and sitemap for filtering and sorting needed

2005-03-30 Thread Werner Rudolf
emap usage 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

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: >

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? > > &g

Re: Problems with Slide Sample

2003-11-26 Thread Werner Masik
Sam Coward wrote: Hi Werner, I too have a slide-cocoon thing going as a little side hobby. I found I encountered the same problems. I have posted a bug entry on bugzilla which contains some info on a workaround, I don't doubt that it's just a hack, but have a look and see i

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

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: > > > > http://www.xml.com/pub

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 Fagn

Problems with Slide Sample

2003-11-14 Thread Werner Masik
icate?password=root&name=root' 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: NEWBIE: Cannot connect to MySQL db

2003-10-06 Thread Werner Guttmann
nce you've done that, all you need is the following entry in cocoon.xconf to get things going: someDataSource >From then on, please use the name "someName" in your XSPs, etc., to specify the connection to use. Werner --Original Message Text--- From: Joe Williams Date: Mon

Re: Re[2]: problems with castor transformer example

2003-09-30 Thread Werner Guttmann
t of exercise b). Werner On Tue, 30 Sep 2003 13:30:20 +0200, Oskar Casquero Oiarzabal wrote: >Hi, > >Thank you for the explanation and for the solution. Now the example is >working properly. But why it is not added to the catalina.sh/.bat >during the build process? Is there any option I for

Re: problems with castor transformer example

2003-09-30 Thread Werner Guttmann
omcat (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 CastorTransforme

Re: Building cocoon: where are block descriptions?

2003-09-26 Thread Werner Guttmann
f such a complete list. I think it would be in their interest, 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

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

Re: EJB + Cocoon, "Best Practices" / Betwixt

2003-09-10 Thread Werner Guttmann
>@author Christoph Gaffga ([EMAIL PROTECTED]) > > >So, you see, it's very similar to the CastorTransformer usage. >If you test it, let me here, what you think about. > >regards >Christoph > > >- Original Message - >From: "Werner Guttmann" <[

RE: EJB + Cocoon, "Best Practices"

2003-09-10 Thread Werner Guttmann
he object(s) 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

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 CastorTran