Re: [Woody] form2 XML binding example does not set id for new rows

2003-11-01 Thread Ugo Cei
Marc Portier wrote: nope, current binding doesn't do this. That's clear now. From the sample, I was under the impression that the binding would set the id attribute equal to the index of the row in the repeater. My wrong. you can: make the id visible so the user can provide it though I've tried

Re: [RT] Direct Form-SQL mapping through OJB and DynaBeans

2003-10-31 Thread Ugo Cei
version fields. Bob would not be able to commit his changes because the version number he retrieved does not match the one stored in the database because Alice incremented it. I know Hibernate handles this, don't know about JDO. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica

[Woody] form2 XML binding example does not set id for new rows

2003-10-31 Thread Ugo Cei
it to the greates current value +1. Is this possible somehow? Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [IMPIMP] care with classpath (Was: CLI: Cannot find catalogManager.properties)

2003-10-30 Thread Ugo Cei
to the classpath and the second does not. At the moment, the woody block tests seem to trigger a bug in the version of Xalan included in Sun's JDK up to version 1.4.2 (al least on Linux) and thus they fail unless you do the endorsed trick. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica

Re: [proposal] Doco

2003-10-30 Thread Ugo Cei
Stefano Mazzocchi wrote: The proposal is about the creation of a content management system for apache projects, codenamed Doco snip/ I haven't followed this thread at all, but I've just come upon this site that might be interesting: http://3d17.org : People often talk to communities, but how

Re: NPEs in FlowLayer

2003-10-29 Thread Ugo Cei
-- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: NPEs in FlowLayer

2003-10-29 Thread Ugo Cei
Christopher Oliver wrote: Ugo Cei wrote: Sorry, but I don't agree. NPE's are indications of bugs. Hiding those with checks for null doesn't help matters, IMO. I have my share of doubts when it comes to these matters. This is my line of reasoning: The Flowscript is a core component of Cocoon. We

Re: cvs commit: cocoon-2.2/src/java/org/apache/cocoon/components/flow/javascript/fom FOM_Cocoon.java FOM_JavaScriptInterpreter.java

2003-10-28 Thread Ugo Cei
[EMAIL PROTECTED] wrote: Fix bug with redirect from the flow: treeprocessor was not aware of redirect and was throwing exceptions Were those NullPointerExceptions by chance? I've been fighting for two days with NPEs when calling form.sendView twice in a row (using JXForms) and traced them to

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-24 Thread Ugo Cei
a contextObjectModel which is used to build the Context. Can you say matrioska? ;-) Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-23 Thread Ugo Cei
and docs. Thanks a lot, Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: Release 2.1.3? (Was: Re: [FYI] Apache Cocoon Directory Traversal Vulnerability)

2003-10-23 Thread Ugo Cei
Tony Collen wrote: Hm, I think we should consider releasing 2.1.3 as a security update. Thoughts? Not just for that but for incorporating all the fixes that were done at the GT and more. But, can we please make sure that the test suite runs, this time? Otherwise, +1 from me. Ugo -- Ugo Cei

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-23 Thread Ugo Cei
. Maybe something like this would work: src=xpath://path/of/collection#keyattr,valueattr but what does it buy you, besides having to parse the URI? Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail

Re: [suggestion] Method getParameterMap in Request?

2003-10-23 Thread Ugo Cei
Stephan Coboos wrote: in my opnion it would be nice to have a method like getParameterMap() from Servlet programming which returns all request parameters as name value pairs in a hash map. This method should reside in interface org.cocoon.apache.environment.Request oder http.HttpRequest.

Re: Why is FlowInterpreter SingleThreaded?

2003-10-21 Thread Ugo Cei
be. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-21 Thread Ugo Cei
flowContext) Hope this answers your doubts. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-21 Thread Ugo Cei
. So, if you're not convinced, I'll fork my own version and wait for someone to implement the full-featured solution. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-21 Thread Ugo Cei
;-). Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

[VOTE] Add parameter to Woody {SelectionList,Widget}.generateSaxFragment

2003-10-20 Thread Ugo Cei
[Is a vote needed before changing a public interface, even if it's in an unstable block? And, by the way, where are the rules detailing what needs a vode and what doesn't?] I'd like to propose changing the signature of two interface methods:

Re: cvs commit: cocoon-2.1/src/blocks/woody/test/org/apache/cocoon/woody/datatype DynamicSelectionListTestCase.dest.xml DynamicSelectionListTestCase.xtest DynamicSelectionListTestCase.java DynamicSelectionListTestCase.source.xml

2003-10-19 Thread Ugo Cei
[EMAIL PROTECTED] wrote: Fixed test case for Woody's DynamicSelectionList class. There's a NPE when the test is finished that I wasn't able to remove, but it shouldn't influence the outcome of the test. Here's the stack trace. It would be great if someone with more Avalon knowledge than me

Re: [Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-18 Thread Ugo Cei
Bruno Dumon wrote: Unfortunately, for unit testing, we only have an AbstractCompositeTestCase which extends ExcaliburTestCase, which implements Composable and not Serviceable, right? euh... wrong I think. The ExcaliburTestCase creates an ECM, and the ECM supports both Composable and Serviceable.

Re: [Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-18 Thread Ugo Cei
Bruno Dumon wrote: euh... wrong I think. The ExcaliburTestCase creates an ECM, and the ECM supports both Composable and Serviceable. Or what problem do you see? OK, now my testcase implements ExcaliburTestCase and I get an ECM from it. Now, how do I get a ServiceManager from the ECM? Ugo

Re: [Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-18 Thread Ugo Cei
Bruno Dumon wrote: Ah, now I see what you mean. Try using this class: org.apache.avalon.framework.service.WrapperServiceManager Indeed. In the meantime, I had stumbled upon this class while browsing around the classes with Eclipse. So now I think I just need to get hold of a Datatype. Can you

Re: [Woody] woody.js (show) woody2.js (showForm) et al

2003-10-17 Thread Ugo Cei
working on it). I also resolved to document all the additions and bugfixes I commit, and write unit tests for them too. The latter is giving me more troubles than I thought, however :-(. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia

Re: [VOTE] Unico Hommes as a Cocoon/Forrest Committer [was: Re: [VOTE] Unico Hommes as a Forrest Committer]

2003-10-17 Thread Ugo Cei
Nicola Ken Barozzi wrote: Because of this, I propose Unico Hommes as a Cocoon committer. +1 Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [Proposal] Remove deprecated in 2.2

2003-10-15 Thread Ugo Cei
Carsten Ziegeler wrote: What do you think of removing all the things that we have deprecated with 2.1 in 2.2 completly. Most of it is not +1 Ugo

[Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-15 Thread Ugo Cei
To all Woddy gurus out there: what is the purpose of the DynamicSelectionList.SelectionListHandler class? Why doesn't DynamicSelectionList just spit out the SAX events generated from its source. What conversions do take place there? I'm asking because I'm writing a new type of SelectionList,

Re: [Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-15 Thread Ugo Cei
Ugo Cei wrote: To all Woddy gurus out there: what is the purpose of the DynamicSelectionList.SelectionListHandler class? Why doesn't DynamicSelectionList just spit out the SAX events generated from its source. What conversions do take place there? OK, nevermind, I just figured out that I

Re: [Woody] Purpose of DynamicSelectionList.SelectionListHandler

2003-10-15 Thread Ugo Cei
Bruno Dumon wrote: On Wed, 2003-10-15 at 22:29, Ugo Cei wrote: To all Woddy gurus out there: what is the purpose of the DynamicSelectionList.SelectionListHandler class? Why doesn't DynamicSelectionList just spit out the SAX events generated from its source. What conversions do take place

Re: Testing serviceable components

2003-10-10 Thread Ugo Cei
Steve K wrote: I don't know if this will help you, but I've been experimenting with using the CocoonBean in my test cases. You could create a subclass of the CocoonBean class that will expose the getComponentManager() method to your test case. You could then use that method to create and test

JIRA (was Re: Track feature requests in bugzilla? (was Re: DO NOT REPLY [Bug 10203] - Docs referenced by XSLT's document() are not included in cache validity))

2003-10-09 Thread Ugo Cei
Stefano Mazzocchi wrote: but I agree on your third point: locking could be applied (even if a very bad move for them). But remember that you can always export your entire JIRA database in XML with a single command. So maybe your code can be locked, but your data not. Stefano. Ugo

ResolverImpl test case broken again?

2003-10-08 Thread Ugo Cei
I'm a bit confused. First of all, I don't give a damn about ResolverImpl. It's deprecated and some time ago David Crossley proposed to remove the ResolverImplTestCase, because it caused the build to fail if deprecated classes were not compiled. But now Carsten has fixed the problem

Re: Ant/Maven/Centipede discussion

2003-10-01 Thread Ugo Cei
Stefano Mazzocchi wrote: On Tuesday, Sep 30, 2003, at 19:43 Europe/Rome, Geoff Howard wrote: Did you cheat? ;) Yes ;-) Google is your new best friend :-) Then tell me what kind of query string you used because I wasn't able to find the answer using Google :-(. Ugo -- Ugo Cei - Consorzio di

Re: Ant/Maven/Centipede discussion

2003-10-01 Thread Ugo Cei
Stefano Mazzocchi wrote: use quotes around the phrase, this tells google not to fragment the query. That did the trick! Thanks. -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

[Flow] ScriptableObject and inheritance

2003-10-01 Thread Ugo Cei
Please have a look at the attached files. If I call the test() function from the flow, the output is the following: computePI: 3.141592653589793 file:test.js, line 8: uncaught JavaScript exception: TypeError: computePI is not a function. In other words, if I define a public method in a base

Re: [Vote] Build infrastructure

2003-09-29 Thread Ugo Cei
even close?) I couldn't have said it myself better. +1 on keeping Ant for the build, otherwise what am I gonna do with my copies of Java Development With Ant and Java Tools for Extreme Programming? Use them as doorstops? ;-) Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le

Re: tests depends on deprecated.

2003-09-25 Thread Ugo Cei
again. It was marked as CLOSED FIXED but if you can confirm it, reopen it again. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: Right procedure for rebuilding a block??

2003-09-24 Thread Ugo Cei
: ServiceableGenerator.java,v 1.1 2003/09/03 15:00:56 cziegeler Exp $ If you still have problems, open an issue in bugzilla and post your diffs there, I'll try to test them ASAP. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100

Re: [Vote] Releasing next version

2003-09-24 Thread Ugo Cei
Carsten Ziegeler wrote: a) Make a 2.1.2 release on October, 1th +1

Re: Use of flowscript

2003-09-24 Thread Ugo Cei
is the technology that prevents you best from abuseing it. Abusing the flowscript might come in handy. You can do a quick javascript prototype of your logic, test it, then refactor it in Java. This is what we do all the time here. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le

Sun classes (was Re: [Vote] Releasing next version)

2003-09-24 Thread Ugo Cei
to process XML, take a look at the SAX and DOM APIs instead. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: Flow and Web Services

2003-09-23 Thread Ugo Cei
to understand how to configure Jetty for automatic class reloading, if it's possible at all), etc. However, if the problem with complex types is unsurmountable (I have exactly zero knowledge about Axis), I think we can live with generated code. Just my 0.02 , Ugo -- Ugo Cei - Consorzio di

Re: test case (class DefaultSitemapComponentSelector not found )

2003-09-21 Thread Ugo Cei
[Please do not send HTML mail to this list, thanks.] Nicolas Maisonneuve wrote: hy i would test a transformer and i used the code of the cocoon AbtractTransformerTestCase class and the TraxTransformerTestCase.xtest but i have a error : the class

Re: test case (class DefaultSitemapComponentSelector not found )

2003-09-21 Thread Ugo Cei
Stephan Michels wrote: I replaced the selector by the ExtendedComponentSelector, and it seems to work. But nevertheless the Resolver testcase break the tests. I've changed a declaration in ResolverImplTestCase.java and now the tests are OK. I've just committed the fix. Ugo

Re: [VOTE] Migrate from the aging ECM

2003-09-02 Thread Ugo Cei
Berin Loritsch wrote: The new Cocoon should be able to use the new Fortress container. This should have little to no impact on component writers. It boasts faster startup, and it provides easier component definition. I will be happy to do the work. +1 from me. +1. Ugo

Re: [Vote] Move from LogKitManager to LoggerManager

2003-09-01 Thread Ugo Cei
Carsten Ziegeler wrote: So, please vote on the change. and please vote if this is a change for 2.1.1 or 2.2. +1 on 2.1.1. Ugo

Re: [OT] Carsten's period of silence

2003-08-14 Thread Ugo Cei
and others, I would limit myself to intellectual activities in the summer, like reading books on the beach under an umbrella ;-). Get well soon. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail

Re: Garbage or The Quest for the Perfect Template Language

2003-08-14 Thread Ugo Cei
,java.text.DateFormatSymbols), (java.lang.String,java.util.Locale) Problem with static members? Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: [QUICK-VOTE] Release Date for 2.1 final

2003-08-14 Thread Ugo Cei
tonight, or we could call a vote, but in that case I won't be able to commit it until September (leaving tomorrow for summer vacations). Alternatively, I could post a patch to bugzilla. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia

Re: Garbage or The Quest for the Perfect Template Language

2003-08-14 Thread Ugo Cei
Christopher Oliver wrote: What was your expression? ``registrazione/dataCompilazione'' where registrazione is an instance of public class Registrazione { private java.util.Date dataCompilazione; public java.util.Date getDataCompilazione() { return dataCompilazione;

Re: Garbage or The Quest for the Perfect Template Language

2003-08-14 Thread Ugo Cei
JXTemplate until it's the perfect template language for Cocoon. I'll be glad to help you in this effort as soon as I come back from my vacations (that is, from tomorrow until Sep. 1st). Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia

Re: [QUICK-VOTE] Release Date for 2.1 final

2003-08-14 Thread Ugo Cei
I've followed the suggestion of Reinhard Pötz WRT using an imput module to provide the equivalent of the getRealPath method and Linotype is now FOM-compliant. +1 for releasing on the 12th. See you all in September, Ugo

Re: Garbage or The Quest for the Perfect Template Language

2003-08-05 Thread Ugo Cei
Ugo Cei wrote: org.apache.commons.jxpath.JXPathException: Cannot invoke public final java.lang.String java.text.Format.format(java.lang.Object); Cannot format given Object as a Date More info: printing #{getClass(myXPathExpressionThatShouldPointToADate)} yelds: class

Re: Garbage or The Quest for the Perfect Template Language

2003-08-01 Thread Ugo Cei
Christopher Oliver wrote: Ugo Cei wrote: These days I'm banging my head against the limitations of template languages. I've tried XSP and it's not in any way limited, but it has its share of problems (difficult to debug and offers too many ways to shoot oneself in the foot), JXTemplate

Re: Garbage or The Quest for the Perfect Template Language

2003-08-01 Thread Ugo Cei
-- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Getting an X from a FOM_X

2003-08-01 Thread Ugo Cei
I need to call a Java method from the flowscript that takes an org.apache.cocoon.environment.Request as a parameter. But in the flowscript, I only have cocoon.request which is a FOM_Request that wraps an o.a.c.e.Request. How do I get the latter from the former? In general, how do I get a

Re: Getting an X from a FOM_X

2003-08-01 Thread Ugo Cei
Christopher Oliver wrote: FOM_Cocoon has Java methods to get the Request, Response, Session, and Context, and ComponentManager. Like this one, I suppose: /** * Get the current request * @return The request */ public Request getRequest() { return

Re: Getting an X from a FOM_X

2003-08-01 Thread Ugo Cei
Ugo Cei wrote: Christopher Oliver wrote: FOM_Cocoon has Java methods to get the Request, Response, Session, and Context, and ComponentManager. But is it callable from Javascript? If I try to call cocoon.getRequest() I get this exception: org.apache.avalon.framework.CascadingRuntimeException

Garbage or The Quest for the Perfect Template Language

2003-07-31 Thread Ugo Cei
These days I'm banging my head against the limitations of template languages. I've tried XSP and it's not in any way limited, but it has its share of problems (difficult to debug and offers too many ways to shoot oneself in the foot), JXTemplate{Transformer,Generator} (no way to call methods on

Re: [Vote] Ugo Cei and Marc Portier as Cocoon committers

2003-07-30 Thread Ugo Cei
Sylvain Wallez wrote: Hi team, I'd like to propose two people for Cocoon committership : Ugo Cei and Marc Portier. Ugo has been there for years (the archives show his first post back in July 2000!), has been an early adopter of flowscript and wrote the first Cocoon-based blogging tool. Marc

Re: deprecated, source resolver, test case mess

2003-07-24 Thread Ugo Cei
Geoff Howard wrote: - remove the tests that don't compile without deprecated +1 -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

Re: Flow Database stuff ( The new FOM? )

2003-07-14 Thread Ugo Cei
in an idiomatic way that is more friendly to us Java programmers. Ugo -- Ugo Cei - http://www.beblogging.com/blog/

Re: [Flow] Do we allow actions to wrap call functions in the sitemap?

2003-07-03 Thread Ugo Cei
the meaning of these? Ugo -- Ugo Cei - http://www.beblogging.com/blog/

Re: [Flow] Do we allow actions to wrap call functions in the sitemap?

2003-07-03 Thread Ugo Cei
too terse ;-). I actually meant: how can you *use* those pipelines if you don't have a matcher? Sorry if this is a FAQ or a dumb question. Ugo -- Ugo Cei - http://www.beblogging.com/blog/

<    2   3   4   5   6   7