Using JAAS in a cocoon application

2001-09-26 Thread Michael Homeijer
Hi, Few months ago there was a short discussion about using JAAS in cocoon. Does anybody have some thoughts about the subject, eg. how to implement it in the protected subsitemap sample? TIA, Michael - To unsubscribe, e-mail: [

XML:DB/dbXML logic sheet, actions and sample

2001-10-22 Thread Michael Homeijer
the actions in Cocoon? The demo is going to be very basic and certainly the user interface needs a make-over when it is finished, I hope that's not going to be a problem. Greetings, Michael Homeijer - To unsubscribe, e

Release resources created by action (XMLDBGetRootCollectionAction)

2001-10-26 Thread Michael Homeijer
Hi, I am planning to create some XML:DB specific actions. One of them is XMLDBGetRootCollectionAction. It queries XML:DB for a Collection object based on the collection name and stores the collection in a request attribute. The purpose of the action is that the Collection it returned can be used

Problem with action set which contains one action (Bug in cocoon-2.0rc1a?)

2001-10-26 Thread Michael Homeijer
quest". If I change the action set and add an action to it of the form , I don't get the exception. What am I doing wrong? TIA, Michael Homeijer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Bug in code formatter?

2001-11-12 Thread Michael Homeijer
ProgramGeneratorImpl something like the following line should be: codeFormatter.setLogger(this.getLogger())? TIA, Michael Homeijer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

FW: DeltaTimeCacheValidity - Scanned for virus

2001-11-16 Thread Michael Homeijer
Is there any interest to put this into the org.apache.cocoon.caching package? Or any other comment on the approach? TIA, Michael Homeijer -Original Message- From: Michael Homeijer Sent: woensdag 14 november 2001 15:50 To: '[EMAIL PROTECTED]' Subject: DeltaTimeCacheValidity

RE: DeltaTimeCacheValidity - Scanned for virus

2001-11-16 Thread Michael Homeijer
riate Apache Licence... J. > -Original Message- > From: Michael Homeijer [mailto:[EMAIL PROTECTED]] > Sent: Friday, 16 November 2001 9:38 am > To: '[EMAIL PROTECTED]' > Subject: FW: DeltaTimeCacheValidity - Scanned for virus > > > Is there any interest to

Re: Cocoon 2 RC2 performance disappointment

2001-11-26 Thread Michael Homeijer
life hard. Greetings, Michael - Original Message - From: "Sebastien Koechlin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 12:55 PM Subject: Re: Cocoon 2 RC2 performance disappointment > Michael Homeijer wrote: > > > A

RE: XSL Based Soap Endpoint in Cocoon Examples - Scanned for virus

2001-12-17 Thread Michael Homeijer
.   I am not sure by which components the soap envelope will be represented or wether a translator and serializer are needed to create the return envelope.   Maybe someone on the cocoon mailing list is interested in continuing this discussion.   HTH   Michael Homeijer -Original Me

Cocoon scalability continued

2002-01-02 Thread Michael Homeijer
e of the many ways of implementing a C2 site, I think there should be some kind of prediction model that shows how to structure functionality in C2. I don't have a clear idea on what this should look like, but maybe someone can comment on our experienc

RE: SOAP client and server

2001-06-03 Thread Michael Homeijer
just copy those envelopes from xmethods.com and implement, replace or call a soap service. Michael Homeijer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

[C2] request:get-uri in aggregation

2001-08-08 Thread Michael Homeijer
In the beta 1 of C2, in an aggregated page request:get-uri gave as result the toplevel uri that is visible in the browser. In the beta 2 request:get-uri results in the uri of the aggregation part. How do i now get the uri of the page in the xsl for the complete page? TIA Michael Homeijer

RE: IT BREAKS !!! (production workaround)

2001-08-12 Thread Michael Homeijer
onto the precompiled generator class. That way it will be easier to switch between precompiled pages and normal pages and we don't need a production war generator. Maybe it will also help to determine were the xsp problem is? Michael Homeijer -Original Message- From: Berin Loritsch

Schecoon competitor?

2002-04-12 Thread Michael Homeijer
On tss I saw a link to ibm's SevletManager framework (http://alphaworks.ibm.com/tech/servletmanager). It implements a controller in the MVC pardadigm based on a state table defined in XML. Has anybody seen it. Is this a competitor to schecoon? Any comments? TIA, Michael

RE: Bean generator

2002-04-12 Thread Michael Homeijer
Hi, Have a look at the castortransformer. It's currently in the scratchpad and discussed in the mailing list. It probably suits your needs. HTH, Michael > -Original Message- > From: Nick Airey [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 12 april 2002 11:09 > To: [EMAIL PROTECTED] > Subj

RE: Wyona/Xopus XML editor

2002-04-12 Thread Michael Homeijer
Hi, It's in the Wyona publishing system, which is based on Cocoon. A demo is available at: http://194.191.122.220/ The problem with Xopus is that it's currently IE only (don't know about the new xopus 2.0 open source version). Xopus as wel as other approaches were discussed here. Don't know wha

RE: Cocoon book reviewers wanted

2002-05-21 Thread Michael Homeijer
Hi Matthew, What kind of readers do you expect? Skills, level etc? Michael > -Original Message- > From: Matthew Langham [mailto:[EMAIL PROTECTED]] > Sent: woensdag 22 mei 2002 8:36 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Cocoon book reviewers wanted > > > Hi, > > togeth

RE: Cocoon scalability continued

2002-01-04 Thread Michael Homeijer
Hi tom, Could you tell what part of the site is dynamic and what is dynamic? How complex are the pipelines you use (in terms of aggregations, transformations). TIA, Michael Homeijer -Original Message- From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Sent: woensdag 2 januari

RE: Cocoon scalability continued (additional machine and request info)

2002-01-04 Thread Michael Homeijer
this moment it takes too much effort and not using XSP would mean building around 50 generators for the site we built. (Still don't know if XSP is the problem, because the project is waiting for new resources right now :-( ). Michael Homeijer -Original Message- From: Michael Homeije

Cocoon and Jetspeed portal

2002-01-15 Thread Michael Homeijer
d be a lot more work and the overlap with jetspeed would probably be very big. I cannot see if jetspeed is "componentized" enough to use these components in Cocoon. Can anyone comment on this or give me some hints on the approach. TI

RE: Who needs 386% speed up?

2002-01-28 Thread Michael Homeijer
> -Original Message- > From: Sylvain Wallez [mailto:[EMAIL PROTECTED]] > Sent: maandag 28 januari 2002 10:11 > To: [EMAIL PROTECTED] > Subject: Re: Who needs 386% speed up? > > > Torsten Curdt wrote: > > >On Sun, 27 Jan 2002, Vadim Gritsenko wrote: > > > >>Hi, > >> > >>While playing w

RE: Who needs 386% speed up?

2002-01-28 Thread Michael Homeijer
> -Original Message- > From: Torsten Curdt [mailto:[EMAIL PROTECTED]] > Sent: maandag 28 januari 2002 15:25 > To: [EMAIL PROTECTED] > Subject: Re: Who needs 386% speed up? > > > > > 2) The wrapping the calls of the XSP to handle "return" > calls in the middle of > > a SAX stream.

RE: schedule/batch feature inside cocoon

2002-02-12 Thread Michael Homeijer
How about writing a transformer that writes the XML output to a file. In the output to the browser/external process you could give a message that the processing succeeded. Have a look at XMLDBTransformer in scratchpad, it writes data to an XML db as a side effect. HTH, Michael Homeijer

XML serializer adaption to simplify Client side XSLT

2002-02-13 Thread Michael Homeijer
something that a serializer is able to do. Can somebody give me some hints on how to add this to the XML serializer or implement it in an ClientSideXSLTSerializer? Does this make sense or do I have some kind of syndrom ;-) TIA, Michael Homeijer

RE: XML serializer adaption to simplify Client side XSLT

2002-02-14 Thread Michael Homeijer
I am planning to implement some sort of XML pipe interface in the serializer and then inserting the stylesheet processing instruction before serialization. Is this a good start? TIA, Michael > -Original Message- > From: Michael Homeijer > Sent: woensdag 13 februari 2002 1

RE: [PROPOSAL] cocoon-action

2002-02-14 Thread Michael Homeijer
This would still mean problems with multiple buttons on a form, right?. I think the proposal also doesn't fix the problem you have when you use multiple image buttons on a form (where you now need an ugly javascript hack), that you have to define in the following way: Maybe some sort of form n

Rewrite XMLDBTransformer or wait for dispatcher interface

2002-02-15 Thread Michael Homeijer
en the Ldap transformer as an alternative but it will still be difficult en probably causing errors if normal developers have to add commands to the transformers or write their own. Is this the way to go or should I wait for/work with the dis

Finally live worldwide

2002-02-19 Thread Michael Homeijer
Hi, Finally after some time performance tuning, checking the performance of Cocoon 2, a site we build for a customer was tuned on Cocoon 1. We now have acceptable and stable performance. The site is highly dynamic because virtually everything is personalized, the data (prices, etc) that is displa

RE: Threadsafe ServerPages (was Re: esql thread unsafe - bug)

2002-02-20 Thread Michael Homeijer
This could be a reasonable explanation for the scalability problem. Isn't this a problem with all generators? In Cocoon 1 the following method generates the output of an XSP page: public void populateDocument( HttpServletRequest request, HttpServletResponse response, Do

LinkStatusGenerator

2002-02-25 Thread Michael Homeijer
should be removed. - Use the HTMLGenerator to check sites that are not built using Cocoon. (the LinkStatusGenerator uses the cocoon-view=links construction to get all links from a page). - Create a sample that is able to check any site. I'd be happy to donate the code to Cocoon. M

RE: LinkStatusGenerator

2002-02-25 Thread Michael Homeijer
e Generator? Please add the code and > sample directly to Bugzilla so that > it does not get "lost". http://nagoya.apache.org seems to be up today. > > Thanks, > dims > > --- Michael Homeijer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've bui

RE: XML-Based Selection (feedback needed)

2002-02-27 Thread Michael Homeijer
Hi, I'd like to know what other people think of this solution, as I didn't see it in current RTs about incoming and outgoing data, sources and drains and writable sources and I too really mis something like this in Cocoon. When an action to store data from a form fails (through a transformer or

RE: XML-Based Selection (Redirect Serializer?)

2002-02-28 Thread Michael Homeijer
Hi Stephano, What do you think of the suggestion in the mailing list from Bruno Dumon? Most transformers that write data or writable sources/drains return a small amount of data (ie. success/failure, message, generated keyvalue). Would it be a performance problem to stream the result into a dom t

RE: More random thoughts on blogging and content editing

2002-03-04 Thread Michael Homeijer
Have a look at the wyona-cms (www.wyona.org). There's a form editor in the project which uses an XML file for configuration of the form. There's a version of an HTML form editor, but they are also planning an XML editing version of it in the near future (based on Xopus). As this is allready base

RE: Pipe-aware Selectors [was Re: XML-Based Selection (Redirect Serializer?)]

2002-03-05 Thread Michael Homeijer
Hi Stefano, Could you please have another look at the solution described by Bruno Dumon in the mailing list and comment on it. I'd really like to know what you think about it. It seperates the small incoming parts of data from the outgoing flow, doesn't change any cocoon interfaces, and you will

RE: Pipe-aware Selectors

2002-03-06 Thread Michael Homeijer
ed, 6 Mar 2002, Stefano Mazzocchi wrote: > > > > > Michael Homeijer wrote: > > > > > > > > Hi Stefano, > > > > > > > > Could you please have another look at the solution described by > Bruno > > > > Dumon > > > > in th

RE: Form submit to XML

2002-03-06 Thread Michael Homeijer
Hi Sam, I think I asked the same question in the discussion about "Pipe-aware Selectors". Maybe you can add your input and join the discussion? TIA, Michael > -Original Message- > From: Sam Robertson [mailto:[EMAIL PROTECTED]] > Sent: woensdag 6 maart 2002 16:36 > To: [EMAIL PROTECTED]

Wyona / Xopus

2002-03-07 Thread Michael Homeijer
Hi, A week ago q42.nl anounced Xopus 2.0 (a great wysiwyg XML editor), it's going to be open-sourced! Yesterday Wyona.org anounced on the mailing list the first integration of Xopus 1.0 into the new Wyona CMS (a Cocoon 2.0 based CMS). I've seen a first version and it's great. It looks just like

RE: [Announcement] re: HTML Form <-> XML <-> JavaBeans Binding

2002-03-10 Thread Michael Homeijer
Hi, It looks great. I think the stuff you mentioned (schematron transformer, castor, formbeans etc.) and the multiplexer (eg, determine flow of events trough the pipeline based on the outcome of the schematron transformer) proposed by Vadim will provide a way to create even more abstract and reus

RE: Pipe-aware Selectors (multiplexer sample requested)

2002-03-10 Thread Michael Homeijer
s the functionality i am looking for. TIA, Michael > -Original Message- > From: Daniel Fagerstrom [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 8 maart 2002 1:36 > To: [EMAIL PROTECTED] > Subject: RE: Pipe-aware Selectors > > > Michael Homeijer wrote: > > > I have the

Castor transformer or generator?

2002-03-11 Thread Michael Homeijer
Does anybody know why the castor transformer was actually built as a transformer while it probably fits more in Cocoon as a generator? Would the only difference be that the following two lines: are written as: Are there any other things to consider when choosing between a transformer and a

Extend castortransformer (scratchpad) to handle collections

2002-07-02 Thread Michael Homeijer
(i.hasNext()) { marshaller.marshal(i.next()); } } else { marshaller.marshal(bean); // THIS line is currently only implemented. } Michael Homeijer. - To

RE: [PROBLEM]: XSLTC does not work

2002-07-03 Thread Michael Homeijer
Hi, Should it not be as easy as to change the default transformer to XSLTC on a sample sub sitemap basis? This way not all samples have to work using xsltc and the ones that work using xsltc can be shipped using it. HTH Michael > -Original Message- > From: Piroumian Konstantin [mailto:[

Best way to start developing an application based on C2.1

2002-07-24 Thread Michael Homeijer
Hi, Can anybody give me some pointers on what is currently the best way to start developing a new Cocoon application based on Cocoon 2.1 from CVS? I plan to start to develop my application as an application that is easily mounted in new versions of Cocoon (like the new samples). Should I be dev

Writing a DigesterTransformer

2002-08-21 Thread Michael Homeijer
Hi, I am trying to find out what it takes to write a DigesterTransformer. It uses the jakarta commons Digester to transform xml to java beans. Has anybody tried something similar before? It seems the parse method on the digester cannot be intregrated directly into cocoon. Ideas on the subject ar

RE: Writing a DigesterTransformer

2002-08-22 Thread Michael Homeijer
ntly there's no output. - Have a configurable command class that is executed when the digester is finished. Here the java classes can be persisted or validated by business rules or something. As it's my first transformer, maybe someone can do a visible check if I am on the right trac

Need input on new CastorTransformer (marshal/unmarshal)

2002-09-05 Thread Michael Homeijer
Hi, I rewrote the current CastorTransformer to support both marshalling and unmarshalling of XML/Java. I am looking for someone to take a serious look at the code before the transformer is donated back to cocoon. The following has changed: - Removed deprecated code, used Castor through a Conten

Sourcewriter problem on JBoss / Jetty 3.0.2

2002-09-11 Thread Michael Homeijer
Hi, I have a problem with the sourcewritingtransformer on jboss / jetty. The problem is in org.apache.cocoon.webapps.session.xml.XMLUtil -> getFirstNodeFromPath() The code that is trying to find the first node calls "item.getLocalName().equals()". The call to item.getLocalName() returns nu

RE: WebDAV sitemap

2002-09-23 Thread Michael Homeijer
following matchers: etc. Does this make sense? Michael. -Original Message- From: Michael Homeijer To: '[EMAIL PROTECTED]' Sent: 20-9-2002 2:10 Subject: WebDAV sitemap Has anybody developed a sitemap in which webDAV reque

RE: WebDAV sitemap

2002-09-23 Thread Michael Homeijer
1:45 Subject: Re: WebDAV sitemap On Monday 23 September 2002 10:07, Michael Homeijer wrote: > Hi, > > I found and received info on slide, but I was thinking of a sitemap that > has matchers and additional actions, transformers etc. that make supporting > webdav from an application muc

RE: WebDAV sitemap

2002-09-23 Thread Michael Homeijer
ss should run without any modification (file access should be replaced by calls like ServletContext.getResource, which abstract filesystem access). This includes applications like Jasper, and any web application written according to Sun's guidelines" -Oorspronkelijk bericht

webDAV status - Separation of content and protocol

2002-10-16 Thread Michael Homeijer
Hi, I have build a prototype webapp that handles the webDAV protocol for my application. With very little pipelines and files I was able to simulate a file system that contains files from a folder in my webapp and contains files that represent rows in a database table (most "files" will be read-o

2.1 : cinclude / sourceresolver and request parameter handling changed?

2002-11-26 Thread Michael Homeijer
Hi, I have just migrated my application to the latest CVS version (xmlforms requirements). It seems that the sourceresolver handles request parameters differently. I have an xml file with the following element in it: It is transformed by the cinclude transformer. This was working in the 2.0.3

RE: 2.1 : cinclude / sourceresolver and request parameter handling changed?

2002-11-26 Thread Michael Homeijer
TIA, Michael -Original Message- From: Reinhard Poetz To: [EMAIL PROTECTED] Sent: 26-11-2002 11:31 Subject: RE: 2.1 : cinclude / sourceresolver and request parameter handling changed? Michael, try Regards, Reinhard > -Original Message- > From: Michael Homeijer [mailto:

XMLform how to (single page / dom)

2002-11-27 Thread Michael Homeijer
Hi, I am trying to use XmlForms in the following situation: I have an XML document with data in an XML database. >From a list of items, I want to show a popup with an XMLform in it. I will start with the following situation: Pipeline 1: - Load the xml data in a dom document (using a transformer

RE: DO NOT REPLY [Bug 14986] New: - [PATCH] Enables velocitygenerator to get objects from request and session

2002-12-02 Thread Michael Homeijer
Hi, A while ago I created these changes for VelocityGenerator to be able to read values from the sitemap and from the request. I have seen parts of the discussion about inputmodules (can anybody point me to an overview?), and I wonder if the generator has to be patched to use inputmodules. Do inp

RE: Blocks confusion - dependency issue

2002-12-02 Thread Michael Homeijer
Hi, My guess is that in the future there should be a contract or something for jsp-blocks/compiled-langauge-blocks or even programming-language blocks and the jsp-block and jsp-weblogic-block should implement this contract, right? I think the blocks should be as concrete as possible with the least

[possible donation] XmlForm popup sample using sourcewriter

2002-12-02 Thread Michael Homeijer
DOMTransformer.java A new version of the WriteDOMSessionTransformer that can write a dom object in the request or in the session. I think this transformer should be adapted to use outputmodules. Michael Homeijer - To unsubscribe, e-mail: [

RE: [possible donation] XmlForm popup sample using sourcewriter

2002-12-22 Thread Michael Homeijer
: "Michael Homeijer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 1:48 AM Subject: [possible donation] XmlForm popup sample using sourcewriter > Hi, > > I have prepared a sample for Cocoon 2.1 of a xml form popup that reads from > and

RE: [RT] Input Pipelines (long)

2002-12-30 Thread Michael Homeijer
Hi, I think your comment is right. It's not the (a)symmetry that's the problem, it's the "glue" that connects the input to the output thats missing or implicitly available. Most of the time when using cocoon I use a solution/workaround of having an aggregation of an "input" pipeline (for instance

RE: [RT] Input Pipelines (long)

2003-01-07 Thread Michael Homeijer
> Stefano Mazzocchi wrote: >> Michael Homeijer wrote: >> Hi, >> >> I think your comment is right. It's not the (a)symmetry that's the problem, >> it's the "glue" that connects the input to the output thats missing or >> impl

RE: XMLForm / instance data from XML / Popup sample

2003-01-09 Thread Michael Homeijer
>Christian Haul wrote: > >Hi all, > >I've spend some time now understanding XMLForm and I have looked at >the popup sample from Michael >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15100 > Hi Christian, thnx for looking at the sample. >I couldn't find a post from Josema Alonso regarding XF

Translate relative redirects in absolute redirects

2003-01-21 Thread Michael Homeijer
Hi, In org.apache.cocoon.environment.http.HttpEnvironment.redirect() I found the following code: - // redirect String redirect = this.response.encodeRedirectURL(newURL); // FIXME (VG): WebSphere 4.0/4.0.1 bug if

RE: DO NOT REPLY [Bug 16580] - Java compiler requires JARs in the FS; can not use classloader

2003-02-14 Thread Michael Homeijer
Anyone care to comment on the threads I mentioned? http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103769226701593&w=2 http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=103990910724056&w=2 When using xsp pages or actions in an ear (combined with using value objects returned from ejb's) this is a