Flowscript and polymorphism

2005-05-20 Thread Sebastien Arbogast
Hi, Does flowscript break polymorphism in some way ? Because I have a flowscript method with a try/catch and when I call myException.getMessage(), it's the java.lang.Exception.getMessage() that is called (as the method that throws the exception is declared to throw java.lang.Exception) instead of

Re: Speed of jx-macros compared to FormsTransformer

2005-05-20 Thread Reinhard Poetz
Vadim Gritsenko wrote: Reinhard Poetz wrote: Daniel Fagerstrom wrote: If the null check for value at line 79 in Set is changed to a null test for this.value we get the behaviour that we should have IMO. I would assume that the various jx:set for helper methods that has the return type void

Re: ApacheCon- Blockathon - When do we start?

2005-05-20 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 May 2005, Reinhard Poetz wrote: Carsten Ziegeler wrote: I will definitly arrive on Sunday - my current plans are to arrive after lunch. (But I could arrive sooner if we wanted to meet earlier) Can we decide this? I want to book ASAP to get

Re: Speed of jx-macros compared to FormsTransformer

2005-05-20 Thread Leszek Gawron
Vadim Gritsenko wrote: Can you re-test with latest template transformer - just to confirm that it did not got much slower after refactoring. a performance competition ? :)) -- Leszek Gawron [EMAIL PROTECTED] IT Manager

Re: JXPath environment expressions broken in jxtemplate

2005-05-20 Thread Daniel Fagerstrom
Leszek Gawron wrote: Daniel Fagerstrom wrote: /** * JS wrapper for Cocoon's request object. * p * Request emparameters/em are also present as properties on this object. * Note that this is different from codeFOM_Context/code and codeFOM_Session/code * that do the same with

DO NOT REPLY [Bug 34386] - NPE by adding an extra HTML tag in hello.xml

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34386. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 25352] - [PATCH] Ignore annotations namespace in the sitemap

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=25352. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.

Re: Speed of jx-macros compared to FormsTransformer

2005-05-20 Thread Vadim Gritsenko
Reinhard Poetz wrote: Vadim Gritsenko wrote: Can you re-test with latest template transformer - just to confirm that it did not got much slower after refactoring. it's done with the refactored version (rev170868) I meant FormsTemplateTransformer :-) r170923 (2.1 branch, r170933 for trunk) or

Re: JXTemplate initialization in non-flowscript scenarios

2005-05-20 Thread Daniel Fagerstrom
Need more info to be able to help. Somwhere in your script you access a value in a jx:set that cannot be evaluated by jxpath, maybe you are calling an extension function, not sure though. Can you isolate the expression it happens for. It seem like commons-beanutils not is found, maybe you

Re: JXTemplate initialization in non-flowscript scenarios

2005-05-20 Thread Reinhard Poetz
Daniel Fagerstrom wrote: Need more info to be able to help. Somwhere in your script I don't use a custom macro, only jx-macro.xml you access a value in a jx:set that cannot be evaluated by jxpath, maybe you are calling an extension function, not sure though. Can you isolate the expression it

Re: Speed of jx-macros compared to FormsTransformer

2005-05-20 Thread Reinhard Poetz
Vadim Gritsenko wrote: Reinhard Poetz wrote: Vadim Gritsenko wrote: Can you re-test with latest template transformer - just to confirm that it did not got much slower after refactoring. it's done with the refactored version (rev170868) I meant FormsTemplateTransformer :-) r170923 (2.1 branch,

Re: JXTemplate initialization in non-flowscript scenarios

2005-05-20 Thread Daniel Fagerstrom
Reinhard Poetz wrote: Daniel Fagerstrom wrote: Need more info to be able to help. Somwhere in your script I don't use a custom macro, only jx-macro.xml Ok. you access a value in a jx:set that cannot be evaluated by jxpath, maybe you are calling an extension function, not sure though. Can you

[RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. OSGi The OSGi service platform is a standarized, component oriented, computing environment for networked services. It handled

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Upayavira
An interesting read. Where does the servlet container sit within this picture? Do you need to have an OSGi servlet? Eclipse could by the sound of it load these bundles, but wouldn't be able to run them due to a lack of servlet container. Regards, Upayavira Daniel Fagerstrom wrote: Sylvain

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. Alternatives So GBeans seem like the only serious alternative. I don't know enough about

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Upayavira wrote: An interesting read. Where does the servlet container sit within this picture? Simplest way is to use an implementation of the HTTP service [1], there is a Jetty version http://oscar-osgi.sourceforge.net/repo/http/, a version with (AFAICS) an own servlet conatiner

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Thor Heinrichs-Wolpert
Daniel: Check out RIO, which is a QoS oriented system based upon Jini. It has either completed its relicensing or will have completed its relicensing to use the Apache 2.0 license. This is the infrastructure used in Sun's RFID initiative and in their Formula1 Race Car monitoring system.

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. Alternatives So GBeans seem like the only serious alternative. I don't

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Vadim Gritsenko wrote: You forgot that since GBeans used in Geronimo, basing Cocoon on GBeans means easier integration with/into Geronimo, which is significant advantage. Might be, I don't have enough knowledge (or interest for, at least yet ;) ) about Geronimo to be

Re: svn commit: r170991 - /cocoon/blocks/core/forms/trunk/java/org/apache/cocoon/forms/transformation/EffectPipe.java

2005-05-20 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: Optimize EffectPipe buffer handling and add locator support to buffers. I think there are couple of issues here... Modified: cocoon/blocks/core/forms/trunk/java/org/apache/cocoon/forms/transformation/EffectPipe.java @@ -174,83 +175,88 @@ */ protected class

Re: JXTemplate initialization in non-flowscript scenarios

2005-05-20 Thread Reinhard Poetz
Daniel Fagerstrom wrote: Ok, but I still need to know the content of the value attribute to the jx:set that creates the problem to be able to help. From the stacktrace it seem like something goes wrong when JXPath uses reflection on the value. The debugger showed that it's this line:

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Ralph Goers
Daniel Fagerstrom wrote: OSGi specification is currently at its 3rd release. It is used as kernel for Eclipse (since 3.0), each plugin is a bundle. It is used for embeded applications e.g. BMWs 5 series, mobile phones etc. There are 12 compliant implementations and at least 3 with friendly

sorotn

2005-05-20 Thread Fabian LoneStar Frédérick
Hi, I just released a small struts parser tool under cocoon.Maybe it could be interesting to add it to Cocoon samples ? (after applying your suggestions, patches of course :) ). Screenshot code available from http://www.deepbass.net/~fabian/sorotn/ PS : could you reply directly as I'm not

DO NOT REPLY [Bug 34998] New: - ConcurrentModificationException calling session.invalidate()

2005-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=34998. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.