Cactus and Cocoon

2004-03-19 Thread Bart Molenkamp
Hi, I want to use Jakarta Cactus to test components that I've developed. How can I make a JUnit test case that has a reference to a ServiceManager, so that my test case can access my components? I prefer to use existing TestRunners (e.g. the TestRunnerServlet). Thanks, Bart.

Reconfiguring components without restarting Cocoon?

2004-06-16 Thread Bart Molenkamp
Hello, Is it possible to reconfigure a single component without having to restart Cocoon (for development purposes only)? Thanks, Bart.

RE: Reconfiguring components without restarting Cocoon?

2004-06-17 Thread Bart Molenkamp
PROTECTED] Sent: Thursday, June 17, 2004 12:24 PM To: [EMAIL PROTECTED] Subject: Re: Reconfiguring components without restarting Cocoon? Bart Molenkamp wrote: Hello, Is it possible to reconfigure a single component without having to restart Cocoon (for development purposes only)? Not a single

Throwing errors in component's initialize() method

2004-06-25 Thread Bart Molenkamp
Hello, I've written a component which uses native code. Therefore it needs to load native libraries (I do this in the initialize() method) and when something goes wrong with that, Errors get thrown (e.g. UnsatisfiedLinkError). But Cocoon doesn't seem to recognize this, and it looks like Cocoon

RE: Throwing errors in component's initialize() method

2004-06-25 Thread Bart Molenkamp
initialize() method Bart Molenkamp wrote: Hello, I've written a component which uses native code. Therefore it needs to load native libraries (I do this in the initialize() method) and when something goes wrong with that, Errors get thrown (e.g. UnsatisfiedLinkError). But Cocoon doesn't seem to recognize

JavaFlow working with Jetty but not with Tomcat

2004-06-28 Thread Bart Molenkamp
Hi, I want to use JavaFlow for writing my application flow. But I've got a problem; it isn't working with Tomcat, I'm getting a black page (view source also shows that there is really nothing). However, it is working with Jetty (both using the same webapp of couse). How is this possible, what is

RE: JavaFlow working with Jetty but not with Tomcat

2004-06-28 Thread Bart Molenkamp
class loading? Bart. -Original Message- From: Bart Molenkamp Sent: Monday, June 28, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: JavaFlow working with Jetty but not with Tomcat Hi, I want to use JavaFlow for writing my application flow. But I've got a problem; it isn't working with Tomcat

RE: JavaFlow working with Jetty but not with Tomcat

2004-06-28 Thread Bart Molenkamp
, June 28, 2004 2:57 PM To: Cocoon Developers Subject: Re: JavaFlow working with Jetty but not with Tomcat Am Mo, den 28.06.2004 schrieb Bart Molenkamp um 14:23: Hi, I want to use JavaFlow for writing my application flow. But I've got a problem; it isn't working with Tomcat, I'm getting a black

Problems with JavaFlow and lookup of components

2004-06-28 Thread Bart Molenkamp
Hello, I want to lookup a component in a JavaFlow class, but I get a BCEL error. I get the following error: org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instruction GETSTATIC constraint violated: Class 'com.bizzdesign.cms.model.StorageUnitManager' is referenced, but cannot be

Inter coplet communication

2004-06-30 Thread Bart Molenkamp
Hi, Coplets can communicate with each other by using coplet:link ... tags and using the coplet transformer. That works fine, but I can only pass one parameter. I need to pass two parameters. How can I realize this using the transformer. Thanks, Bart.

JavaFlow class problem

2004-07-30 Thread Bart Molenkamp
Hello, I've found a problem with JavaFlow. I use OJB in my flow class. When I try to execute the following code: QueryByCriteria query = new QueryByCriteria(Account.class, new Criteria()); I get a black page returned (the flow code is not executed). But the following code is correctly executed:

RE: DO NOT REPLY [Bug 30406] New: -

2004-07-30 Thread Bart Molenkamp
Note: I use Eclipse for development. I can do a lot of changes to code while running Cocoon in Tomcat, but with JavaFlow, I need to restart everytime I change the code. This made me think: maybe the problem is related to class loading somehow. I don't know if it's useful to place this information

Coplets, continuations and a href=...

2004-08-03 Thread Bart Molenkamp
Hello, I want to use continuations inside coplets. The portal engine samples shows how to do this. But link transformation only seems to work where continuation URL's are used inside form action= When I use a a href=... it doesn't work; the link get transformed by the

RE: Coplets, continuations and a href=...

2004-08-04 Thread Bart Molenkamp
the latest source either from trunk or from the 2.1.6 branch of this transformer. Carsten -Original Message- From: Bart Molenkamp [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 3:40 PM To: [EMAIL PROTECTED] Subject: Coplets, continuations and a href=... Hello, I want to use

RE: Coplets, continuations and a href=...

2004-08-04 Thread Bart Molenkamp
, continuations and a href=... Bart Molenkamp wrote: I'm using 2.1.5.1. 2.1.5.1 has the bug. I have tried versions 2.2.0-dev and 2.1.6-dev, and for both the links seem to work for my application. However, the hanoi game still doesn't seem to work. I don't know why. In samples/blocks

Custom JXPath binding

2004-08-09 Thread Bart Molenkamp
Hi all, I have a little problem with JXPath bindings. Suppose I have a class Person, and a class Project (persistent, via OJB). When I create a new person (using a form of course), I can select on which project he/she will be working, via a selection list. When the form is submitted, it contains

RE: JavaFlow/ CocoonFroms java.lang.VerifyError: Cocoon 2.1.5.1

2004-08-10 Thread Bart Molenkamp
I've had the same problem in 2.1.5.1. I reported a bug here: http://archives.real-time.com/pipermail/cocoon-devel/2004-July/035779.ht ml I had the problem that when I use: doSomethingWithClass(Product.class);// fails doSomethingWithClass(Product.getClass()); // ok, does not fail

Request for a small change in CustomJXPathBinding

2004-08-12 Thread Bart Molenkamp
Hi all, Three days ago, I posted an email [1] with a small change request in custom binding. There is IMO a small problem when trying to bind a value on a bean that is null (ie. the value is null before saving it in a binding). The following line in CustomJXPathBinding.java:68 throws an

RE: Request for a small change in CustomJXPathBinding

2004-08-16 Thread Bart Molenkamp
I've created a patch for an (IMO) improvement to custom bindings. A custom binding can set a value that was null before setting it (currently an JXPathException is thrown when CustomJXPathBinding is trying to create a relative context). Also, custom bindings can get access to a service manager.

RE: Javaflow status

2004-08-18 Thread Bart Molenkamp
I also want to use Javaflow, but I think it's still a bit unstable, due to the BCEL libraries that are used (I guess). Just wondering, isn't there something else that can be used instead of BCEL? Another option you can use is Apples (see the samples). This seems to work very stable, but coding

RE: Custom JXPath binding

2004-08-23 Thread Bart Molenkamp
Hi Leszek, I already provided the patch here: http://issues.apache.org/bugzilla/show_bug.cgi?id=30693 Bart. -Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED] Sent: Friday, August 20, 2004 8:47 PM To: [EMAIL PROTECTED] Subject: Re: Custom JXPath binding Bart Molenkamp

RE: continuations and session

2004-09-03 Thread Bart Molenkamp
Is it that much work to store continuations in a session? I think that the continuation manager will even become simpler than the current one. -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 11:50 PM To: [EMAIL PROTECTED] Subject: Re:

[CForms] Change proposal in Custom bindings

2004-09-06 Thread Bart Molenkamp
Hi all, A few weeks ago I made a request for a small change in CustomJXPathBinding. It can be found here [1]. I already implemented the change, made a patch, and placed it in bugzilla [2]. But noone was gave me some response to this change (maybe due to vacations?) So I was wondering; are there

RE: [CForms] Change proposal in Custom bindings

2004-09-07 Thread Bart Molenkamp
file. (you're not that far off) see http://cvs.apache.org/viewcvs.cgi/cocoon/trunk/src/blocks/forms/conf/for ms-binding.xconf?rev=30945root=Apache-SVNview=auto above seems to indicate that what you need can be done already, pls comment if that is not the case regards, -marc= Bart Molenkamp

RE: [CForms] Change proposal in Custom bindings

2004-09-07 Thread Bart Molenkamp
-Original Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 07, 2004 3:18 PM To: [EMAIL PROTECTED] Subject: Re: [CForms] Change proposal in Custom bindings Bart Molenkamp wrote: Your solution works, tetting path to . and passing another path

[CForms] Small scope patch in JXPathBindingBuilderBase.java (was: RE: [CForms] Change proposal in Custom bindings)

2004-09-08 Thread Bart Molenkamp
Hi, I've created a patch, and attached it in this mail. Do I need to put it in bugzilla (it's just a very very small patch)?? Bart. -Original Message- From: Bart Molenkamp Sent: Tuesday, September 07, 2004 3:29 PM To: [EMAIL PROTECTED] Subject: RE: [CForms] Change proposal

RE: [CForms] Small scope patch in JXPathBindingBuilderBase.java (was: RE: [CForms] Change proposal in Custom bindings)

2004-09-08 Thread Bart Molenkamp
it. Thanks so far! -marc= Bart Molenkamp wrote: Hi, I've created a patch, and attached it in this mail. Do I need to put it in bugzilla (it's just a very very small patch)?? Bart. -Original Message- From: Bart Molenkamp Sent: Tuesday, September 07, 2004 3:29 PM To: [EMAIL

Getting a cocoon:// source from a cron job

2004-09-09 Thread Bart Molenkamp
Hi, I've written a cron job that sends email on specific periods. I want to get the content of the message from a pipeline. I try to resolve it with the source resolver, but that fails. I have a flowscript, which collects data for the mail. When I try to resolve the URI, the flowscript is

RE: Getting a cocoon:// source from a cron job

2004-09-09 Thread Bart Molenkamp
If I use another pipeline, which does a map:read src=cocoon:/mail.do/, then it works. Why doesn't it work when I directly call my mail.do pipeline? -Original Message- From: Bart Molenkamp Sent: Thursday, September 09, 2004 1:59 PM To: [EMAIL PROTECTED] Subject: Getting a cocoon

[Portal engine] Portal doesn't pass all parameters

2004-09-16 Thread Bart Molenkamp
Hi, I want to use flow-applications inside coplets, and I do it exactly the same as demonstrated in the portal sample. But not all parameters are passed by the portal engine to the destination URI (the one in the coplet attribute temporary:application-uri). E.g. path/to/my/uri?boolean

RE: [CForms]When using fi:groups with style tabs calender select is behide the layer

2004-09-21 Thread Bart Molenkamp
Set the CSS property z-index to a value greater than the frame, and it will apear. In forms-calendar.css, in #forms_calendarDiv, I've added z-index: 20; and that fixed it. -Original Message- From: roy huang [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 11:24 AM To:

RE: [CForms]When using fi:groups with style tabs calender select is behide the layer

2004-09-21 Thread Bart Molenkamp
:45 AM To: [EMAIL PROTECTED] Subject: Re: [CForms]When using fi:groups with style tabs calender select is behide the layer Thanks, it works.Should this change submit in cvs? - Original Message - From: Bart Molenkamp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September

RE: [CForms]When using fi:groups with style tabs calender select is behide the layer

2004-09-21 Thread Bart Molenkamp
be good? -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 12:31 PM To: [EMAIL PROTECTED] Subject: Re: [CForms]When using fi:groups with style tabs calender select is behide the layer Bart Molenkamp wrote: Hmm, don't know, I'm

Cocoon and security (JAAS or J2EE??)

2004-09-21 Thread Bart Molenkamp
Hi all, I've been looking for a good method of securing Cocoon web applications. I think that authentication/authorization via JAAS or via the web container are good methods. Are there any implementations available that integrate Cocoon and these security mechanisms? And if so, what are the

RE: Cocoon and security (JAAS or J2EE??)

2004-09-21 Thread Bart Molenkamp
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 3:52 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and security (JAAS or J2EE??) Bart Molenkamp wrote: Hi all, I've been looking for a good method of securing Cocoon web applications. I think that authentication

RE: Cocoon and security (JAAS or J2EE??)

2004-09-21 Thread Bart Molenkamp
Okay, that probably solves my problem! -Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 4:08 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and security (JAAS or J2EE??) Bart Molenkamp wrote: I'm currently using that block

RE: Cocoon and security (JAAS or J2EE??)

2004-09-21 Thread Bart Molenkamp
??) Bart Molenkamp wrote: I also know that I can protect documents with that framework, but how can I specify that only users with a specific role can view that document (pipeline)? Do I need to write my own sitemap components for that (e.g. an action)? Your authenticator class gets

RE: Cocoon and security (JAAS or J2EE??)

2004-09-21 Thread Bart Molenkamp
I think my problem is solved now... so you can go safely back to sleep ;) -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans Sent: Tuesday, September 21, 2004 4:38 PM To: [EMAIL PROTECTED] Subject: Re: Cocoon and security (JAAS or J2EE??) Your

RE: Authentication

2004-09-24 Thread Bart Molenkamp
Just curious, as I am trying to get authentication/authorization done right myself... If you only use it for authentication, then why don't you just use the security provided by J2EE? Bart. -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23,

Embedded JavaScript in form definition file to create items for selection list

2004-09-24 Thread Bart Molenkamp
Hi all, Would it possible, or a good idea to be able to build a selection list with some embedded javascript code? E.g. fd:selection-list type=javascript value-path=value label-path=label var data = new Object(); data.cityList = new Array(2); data.cityList[0] = {value:AL, label:Alabama};

Calling SitemapSource.getInputStream() more than once throws SourceException

2004-10-13 Thread Bart Molenkamp
Hi all, I've noticed that it's not possible to call the getInputStream() on instances of SitemapSource classes can only be called once. Calling it a second time throws an exception. Is that correct behaviour, or is that a bug? If this is a bug, maybe there are two solutions which I can

RE: Acessing request within a avalon component?

2004-10-13 Thread Bart Molenkamp
Yes: You'll have to implement org.apache.avalon.framework.context.Contextualizable. Then implement the contextualize() method: /* (non-Javadoc) * @see ... */ public void contextualize(Context context) throws ContextException { this.context = context; } Then you can do: Request

RE: CForms work to do before marking it stable

2004-10-14 Thread Bart Molenkamp
There was also a discussion also after my presentation on union class about renaming these widgets to something more meaningful to people having no C knowledge. The renaming we came up to is as follows: - fd:union -- fd:choose - fd:case -- fd:when - fd:struct -- fd:group - fd:class --

RE: Calling SitemapSource.getInputStream() more than once throws SourceException

2004-10-14 Thread Bart Molenkamp
. Again, an exception is thrown by getInputStream() when it's called for the second time. Bart. Bart Molenkamp wrote: Hi all, I've noticed that it's not possible to call the getInputStream() on instances of SitemapSource classes can only be called once. Calling it a second time throws

[Portal] passing {request:contextPath} to window.xsl

2004-10-01 Thread Bart Molenkamp
Hi, I want to pass a parameter (called contextPath, received from {request:contextPath}) to the window.xsl file. How can I do that? This file is not called in a regular pipeline, but it's configured in cocoon.xconf and (I guess) somewhere called by the portal framework. Thanks, Bart.

Merging CForm's DOMHelper with DOMUtil?

2004-10-08 Thread Bart Molenkamp
Hi all, I need to parse XML files to documents. I found out that CForm's DomHelper class could be very useful for that, mostly because it records line and character positions of nodes. Isn't this useful for other Cocoon parts as well? Thus making this class more globally available in Cocoon? Or

Using the ResourceReader over HTTPS

2004-10-19 Thread Bart Molenkamp
Hi all, There is a problem with IE when downloading files over HTTPS, using the resource reader. [1] also describes the problem. It has somehting to do with a bug in IE, which occurs when some kind of HTTP header is set. If the header Cache-control is set to no-cache, the problem occurs, see

[FIX] Downloading files over HTTPS with IE

2004-10-21 Thread Bart Molenkamp
Hi all, I've had problems downloading files over HTTPS with IE. This is a know bug in IE, and there is also a known work-around. If the headers Cache-control = no-cache and Pragma = no-cache are available, IE has problems with downloading the content. The content is all the content that is not

interface parameter for fb:insert-bean binding?

2004-10-22 Thread Bart Molenkamp
Hi all, Is is possible to specify an interface for fb:insert-bean? Without this, the binding is not able to find the correct method. E.g. addProduct(Product product);// Product is an interface ... fb:insert-bean class=ProductImpl addmethod=addProduct/ Now, the insert bean

RE: [RT] StringTemplate: The answer to our templating needs?

2004-10-29 Thread Bart Molenkamp
-Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 10:47 AM To: [EMAIL PROTECTED] Subject: RE: [RT] StringTemplate: The answer to our templating needs? Bertrand Delacretaz wrote: I don't think JXTG is broken now, it works well

RE: Expression languages (was Re: [RT] StringTemplate: The answer to our templating needs?)

2004-10-29 Thread Bart Molenkamp
-Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED] Bertrand Delacretaz wrote: Le 29 oct. 04, à 15:05, Vadim Gritsenko a écrit : Sylvain Wallez wrote: ...Technically this should be possible, but how do we write something like

RE: Expression languages (was Re: [RT] StringTemplate: The answer to our templating needs?)

2004-10-29 Thread Bart Molenkamp
I don't know if I'm right here, but... - For java objects, Jexl can do more than JXPath. - For DOM trees, JXPath is better (readible). Maybe it's a good idea to configure the expression language you want to use? E.g. in the configuration of the JXTG, or maybe passing it as a parameter in

RE: Templating Engine - Next steps?

2004-11-02 Thread Bart Molenkamp
-Original Message- From: Leszek Gawron [mailto:[EMAIL PROTECTED] Reinhard Poetz wrote: - control structures like for/each, if, choose (RP) what bugs me is the verbosity of choose/when/otherwise to implement if/else semantics. I've also been thinking about a simple method

RE: CForms: widget states added

2004-11-02 Thread Bart Molenkamp
Does it fix this one? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27598 Bart. -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 11:12 AM To: [EMAIL PROTECTED] Subject: CForms: widget states added Hi all, I finally added

RE: Bug in forms-lib.js when adding @id to submit buttons?

2004-11-03 Thread Bart Molenkamp
Hehe, I ran into this one several times :-) The problem is not in CForms, but in HTML: each form element (input, button, etc) is added as a property of the form it belongs to. Problem is that these new properties hide those that may already exist with the same name on the form. And a

@action-command required for submit widgets?

2004-11-03 Thread Bart Molenkamp
Hi all, Why is attribute action-command required for submit widgets? AFAICS, it's only used when firing an event, and in most cases, these events won't be captured (because submit will end processing the form, and you could see this as the event). If you don't use submit widgets but just add

RE: @action-command required for submit widgets?

2004-11-03 Thread Bart Molenkamp
Oke, thanks, I didn't know that :-) -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: Re: @action-command required for submit widgets? On 03.11.2004 12:14, Bart Molenkamp wrote: Why

RE: Bug in forms-lib.js when adding @id to submit buttons?

2004-11-03 Thread Bart Molenkamp
... It's a problem of HTML, so we should not fix it in CForms IMO. Otherwise it will be a never ending story. It's a 'feature' that should made it into the FAQ. Ok for the FAQ, but if several people fall into that trap, we may add some checks into the HMTL styling part of CForms

[CForms] I18n text on buttons

2004-11-04 Thread Bart Molenkamp
Hi all, I want to place some I18n text on a (submit) button. The difference with buttons is that the label of that button is placed inside the @value attribute of the input. By default, the I18n transformer doesn't transform these tags unless there is another tag on the input: What would be a

RE: [CForms] I18n text on buttons

2004-11-04 Thread Bart Molenkamp
Ah, great. This works even better! Thanks, Sylvain! -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 3:30 PM To: [EMAIL PROTECTED] Subject: Re: [CForms] I18n text on buttons Bart Molenkamp wrote: Hi all, I want to place

[Portal] problem with tabs and flow applications in coplets

2004-11-05 Thread Bart Molenkamp
Hi all, I have a problem with the new portal engine. I have several coplets, placed under different tabs. Most of the coplets (if not all) are flow applications, just like the coplets under the App tab in the portal sample. Some of these flow applications use CForms, and these coplets are the

[Portal] problem with tabs and flow applications in coplets

2004-11-05 Thread Bart Molenkamp
I've send this message earlier this morning, but it didn't seem that it made it to the dev-list. So I'll send it again, sorry for anyone who receives this more than once... Hi all, I have a problem with the new portal engine. I have several coplets, placed under different tabs. Most of the

Setting validation errors on repeaters?

2004-11-05 Thread Bart Molenkamp
Hi all, Why are repeaters not ValidationErrorAware? I have the requirement that my repeater contains at least 1 row. I can check that with a JavaScript validator, but where can I set the error? Should Repeater implement ValidationErrorAware for this kind of use cases? Bart.

RE: Setting validation errors on repeaters?

2004-11-08 Thread Bart Molenkamp
Sounds as a reasonable solution for this problem. Thanks (again). -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 10:05 PM To: [EMAIL PROTECTED] Subject: Re: Setting validation errors on repeaters? Bart Molenkamp wrote: Hi all

RE: 2.1.6 is broken

2004-11-09 Thread Bart Molenkamp
You're right, it is broken. I found that the cocoon-ojb-block.jar is 1 k in size; it only contains 2 files in meta-inf/ I'm not familiar with Cocoon's build system, but the OJB block has a build.xml file in the root of the block, could this break the building of OJB? I've tried to remove it, then

fd:output with enum datatype does not surround the enum value with i18n:text tags

2004-11-15 Thread Bart Molenkamp
Hi all, I have a fd:output widget, with an enum as datatype. When showing the widget, it doesn't place i18n:text tags around the enum value. When I change the fd:output to fd:field, and add fi:styling type=hidden/ it does surround the enum values with the i18n:text tags. Is this a short-coming

OutOfMemoryError using cocoon:/ protocol

2004-11-17 Thread Bart Molenkamp
Hi all, Small description of my use-case: I have a cron job that runs once every night to send emails to users of my application. The content of the mail is generated from a cocoon:/ source (which uses some flowscript and the JXTemplate generator to generate the content). Content is different for

RE: i18n and CForms

2004-11-25 Thread Bart Molenkamp
Hi Jeremy, I also had that problem. My guess was that is has something to do with the I18n transformer, which gives a problem if more than one catalogue is configured. If you have only one catalogue, and add the contents of FormsMessages.xml to it, it should work. Bart. -Original

RE: i18n and CForms

2004-11-25 Thread Bart Molenkamp
Hmm that does work for me. I'm using Cocoon 2.1.6-dev (from August 8th, if I'm correct) for that. I thought it was a configuration error on my side when I wanted to use two catalogues (like you, use the forms catalogue to stay up to date), but it didn't work so I simply copied the contents to my

RE: Stripping the Cocoon source tree

2004-12-01 Thread Bart Molenkamp
To: [EMAIL PROTECTED] Subject: Re: Stripping the Cocoon source tree Bart Molenkamp wrote: Hi all, I'm also very curious how other people include Cocoon in their repositories for their Cocoon-based applications (just a guess that many of you guys use Cocoon for other projects). The entire

RE: svn commit: r111262 - in cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/components/flow webapp/WEB-INF

2004-12-08 Thread Bart Molenkamp
http://c2.com/cgi/wiki?YouArentGonnaNeedIt -Original Message- From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:53 PM To: [EMAIL PROTECTED] Subject: Re: svn commit: r111262 - in cocoon/branches/BRANCH_2_1_X/src:

[FIX] WebSphere 5.1, Cocoon 2.1, JCL

2005-02-08 Thread Bart Molenkamp
Hi all, I've managed to get Cocoon 2.1 working on WebSphere 5.1. That's not very special, as many threads in mail-archives specify how to realize this, and the page on the Wiki [1] also tells me how to do this. Only one problem remained for me. Because class-loading mode is set to PARENT_LAST,

RE: [RT] How scripting made me hate java

2005-02-16 Thread Bart Molenkamp
Niclas Hedhman wrote: On Wednesday 16 February 2005 07:06, Sylvain Wallez wrote: Something that doesn't help also is the fact that our foundations are maintained and documented (or not) elsewhere, at Excalibur. This includes the Avalon framework interfaces and SourceResolver, Store, XML

RE: [RT] How scripting made me hate java

2005-02-16 Thread Bart Molenkamp
-Original Message- From: Stefano Mazzocchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 3:14 PM To: dev@cocoon.apache.org Subject: Re: [RT] How scripting made me hate java Big -1 Not knowing where the code is is bad, having to versions that claim to be the

Write binary data to output stream from flow

2005-02-17 Thread Bart Molenkamp
Hi, Is it possible to write binary data to the HTTP response directly from the flow? I have an InputStream available in my flow, and I want to serve data from that stream directly to the HTTP response. E.g. cocoon.sendBinaryData(inputStream, application/octet-stream); Or something similar. I

RE: Write binary data to output stream from flow

2005-02-18 Thread Bart Molenkamp
-Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 5:19 PM To: dev@cocoon.apache.org Subject: Re: Write binary data to output stream from flow Bart Molenkamp wrote: Hi, Is it possible to write binary data to the HTTP response

RE: Write binary data to output stream from flow

2005-02-18 Thread Bart Molenkamp
binary data to output stream from flow Bart Molenkamp wrote: Ok, sorry, I didn't understand you but now it makes perfect sense. Thanks for your advise! Well, I had a chance to express myself more clearly, and think it through a bit more. Basically, what you're doing is implementing

RE: Write binary data to output stream from flow

2005-02-18 Thread Bart Molenkamp
-Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:20 AM To: dev@cocoon.apache.org Subject: Re: Write binary data to output stream from flow Bart Molenkamp wrote: Yes, it makes even better sense. Would such a more generic, JXPath

RE: Write binary data to output stream from flow

2005-02-18 Thread Bart Molenkamp
expressions... Would that be a good idea? -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:47 AM To: dev@cocoon.apache.org Subject: Re: Write binary data to output stream from flow Bart Molenkamp wrote: -Original Message

RE: JX generates weird NameSpace???

2005-02-28 Thread Bart Molenkamp
Hi Tibor, I had the same problems, also with the combination JX template/Cforms. I couldn't figure out where these namespaces were generated, but I suspected it was somewhere in the Xalan transformer. I used Saxon and these namespaces where gone. HTH, Bart. -Original Message- From:

AbstractResourceReader?

2005-03-02 Thread Bart Molenkamp
Hi, A while ago I was discussing how to build a reader that could get it's input stream from the context object using JXPath. It gets the following information from the context object using configurable Xpath expressions: - the content stream - the mime type - the content length I've created the

RE: cocoon:// protocol and map:mount

2005-03-21 Thread Bart Molenkamp
Maybe you're using a file://... source in one of the generator/transformer components behind the pipeline? And maybe a little bit off-topic, but from a CRON job (CRON thread), the cocoon:// source resolving is extremely slow and causes OutOfMemory errors (in my use-case, I used the cocoon:/

RE: AbstractResourceReader?

2005-03-22 Thread Bart Molenkamp
-Original Message- From: Alfred Nathaniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 5:30 PM To: dev@cocoon.apache.org Subject: Re: AbstractResourceReader? On Wed, 2005-03-02 at 15:38, Bart Molenkamp wrote: Hi, A while ago I was discussing how to build a reader that could

RE: [FYI] How IE handles PDFs

2005-03-29 Thread Bart Molenkamp
Hi, -Original Message- From: depub2 [mailto:[EMAIL PROTECTED] ... Give IEx the opportunity to cache. In particular, ensure the server does not set any headers causing IEx not to cache the content. This may be a real problem if the document is sent over HTTPS, because most IEx

Mock for org.apache.ojb.odmg.OJB required?

2005-04-13 Thread Bart Molenkamp
Hi all, The OJB block contains a mock for org.apache.ojb.odmg.OJB. Is this one needed, as db-ojb.jar is in lib/optional and that library contains the real class? Thanks, Bart.

RE: Fork Xalan?

2005-04-19 Thread Bart Molenkamp
Can you tell when this error occurs? Or what to do to avoid it? Bart. -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 3:17 PM To: Cocoon Developers Subject: Fork Xalan? Hey guys, Here is controversial thought: may be we should

[CForms] having more control over showing/processing a form

2005-05-09 Thread Bart Molenkamp
Hi all, Currently, in flowscript, you display a form by calling form.showForm(uri). This function loops until the form is successfully processed. There is, as far as I can see, no way to get between there. I wonder if it would be useful to define two more functions in Form.js, that allow me to

RE: [CForms] having more control over showing/processing a form

2005-05-12 Thread Bart Molenkamp
Does it answer your need? Yes it does, thank you! Sylvain -- Sylvain WallezAnyware Technologies http://apache.org/~sylvainhttp://anyware-tech.com Apache Software Foundation Member Research Technology Director Bart.

RE: [CForms] having more control over showing/processing a form

2005-05-12 Thread Bart Molenkamp
in this case. Does this case make sense to add the two functions? Thanks, Bart. -Oorspronkelijk bericht- Van: Bart Molenkamp Verzonden: donderdag 12 mei 2005 11:26 Aan: dev@cocoon.apache.org Onderwerp: RE: [CForms] having more control over showing/processing a form Does it answer your

RE: [CForms] having more control over showing/processing a form

2005-05-13 Thread Bart Molenkamp
Ok, thanks! Bart. -Oorspronkelijk bericht- Van: Sylvain Wallez [mailto:[EMAIL PROTECTED] Verzonden: donderdag 12 mei 2005 19:04 Aan: dev@cocoon.apache.org Onderwerp: Re: [CForms] having more control over showing/processing a form Bart Molenkamp wrote: Well, I still have

RE: [CForms] Field definitions aren't contextualizable

2005-05-17 Thread Bart Molenkamp
Why isn't the org.apache.cocoon.components.LifecycleHelper used? That should hide all those details. -Oorspronkelijk bericht- Van: Sylvain Wallez [mailto:[EMAIL PROTECTED] Verzonden: maandag 16 mei 2005 18:22 Aan: dev@cocoon.apache.org Onderwerp: Re: [CForms] Field definitions aren't

RE: ValidationAware forms

2005-06-03 Thread Bart Molenkamp
-Oorspronkelijk bericht- Van: Reinhard Poetz [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 3 juni 2005 9:46 Aan: dev@cocoon.apache.org Onderwerp: ValidationAware forms AFAICS the widget Form doesn't implement ValidationAware. Is there a special reason why this feature hasn't

RE: ValidationAware forms

2005-06-03 Thread Bart Molenkamp
Van: Sylvain Wallez [mailto:[EMAIL PROTECTED] Bart Molenkamp wrote: I'm not sure, but I think it is because a form doesn't have a visual representation in HTML, where other widgets do have a visual representation. Where should CForms place the error marker (the red !) for a form

RE: Weird multithreading bug in Cron block

2005-06-08 Thread Bart Molenkamp
A little bit off-toptic, but some time ago I used the pipeline machinery to generate mail-content for users, somewhere at night by a CRON job. For each user, the pipeline was called and the results were sent to that user. Processing such a pipeline from CRON took about 2 seconds for each mail,

RE: CForms stabilization tasks (was Re: Marking cforms stable in 2.1.8)

2005-06-09 Thread Bart Molenkamp
-Oorspronkelijk bericht- Van: Leszek Gawron [mailto:[EMAIL PROTECTED] 5 - flatten the configuration to allow for easier extension with the xconf include mechanism in 2.2 I could give it a shot but I have no deeper knowledge of cocoon.xconf syntax in this case. Do we have to

[CForms] Plain convertor for Enum datatype is null, throws NPE for MultiValueFields

2005-06-13 Thread Bart Molenkamp
Hi, I have a multi-value field widget, with datatype enum (so that users can select 0 or more values from an enum). But, when I load my object model in the form (setting the enum values from my model into the formmodel), then show the form, I get a NullPointerException in

Dependency injection in Cocoon 2.1

2005-07-05 Thread Bart Molenkamp
Hi, I want to get rid of the Avalon interfaces in my code. Is there something like dependency injection (e.g. setter injection or constructor injection - similar to Spring framework) possible using ECM? (ECM is the component engine of Cocoon, right?) I couldn't find anything, so I started a

ClassNotFoundExceptions after using FOPSerializer

2005-09-23 Thread Bart Molenkamp
Hi, I've run into a very weird problem. After generating a PDF page, our web application breaks, and reports ClassNotFoundExceptions. The exceptions look like: java.lang.ClassNotFoundException: com/bizzdesign/risks/assessment/UploadedEvidence It looks like somewhere before, during or after the

RE: [2.1.8-dev] Real exception is not logged anymore

2005-09-23 Thread Bart Molenkamp
-Oorspronkelijk bericht- Van: Sylvain Wallez [mailto:[EMAIL PROTECTED] HEY PEOPLE, can someone else check this also? Using JDK 1.4.2_05-b04. The exception seems to be logged correctly in cocoon.log: ERROR (2005-09-23) 11:05.22:363 [sitemap.handled-errors]

RE: [RT] Are svn externals a good idea?

2005-09-23 Thread Bart Molenkamp
You can specify a revision within the svn:external property. Something like (got this sample from the svn book): -Oorspronkelijk bericht- Van: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 23 september 2005 11:49 Aan: Cocoon-Dev Onderwerp: [RT] Are svn externals a

  1   2   >