RE: [XMLForm] how to dynamically initialize a bean property?

2003-01-14 Thread Mark H
What I've done is create an action that extends AbstractXMLFormAction and overrides the getFormModel method. The following piece of code uses object persistance to get the model from the database. protected Object getFormModel(){ //If there is an non-zero id request parameter i.e. form?id=11

Logicsheet problems - global XSLT variables

2003-01-19 Thread Mark H
I'm having a hard time with logicsheets at the moment. I can't seem to get global XSLT variables working. Am I doing something wrong? xsl:stylesheet version=1.0... xsl:variable name=datasourceinput:get-attribute module=global name=datasource as=string//xsl:variable nor xsl:variable

RE: Logicsheet problems - global XSLT variables

2003-01-21 Thread Mark H
Thanks Antonio, I'll try it out. How does the reload-method=synchron improve things? -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 06:34 To: [EMAIL PROTECTED] Subject: Re: Logicsheet problems - global XSLT variables Also, do others find

Aggregating XSPs

2003-01-21 Thread Mark H
Can someone give me an example of how to use the sel logicsheet? or maybe point me to some documentation? just looking at alternatives to map:aggregate in the sitemap. thx, Mark - Please check that your question has not

RE: 10 basic survival tips for cocoon users (was: Logicsheet problems - global XSLT variables)

2003-01-21 Thread Mark H
For XSLT processing i have added Saxon-6.5.2. Are you saying that Xerces doesn't deal with global XSLT variables properly? 4.) Proceed in baby steps when changing things in your cocoon app But it really slows up development 8.) I started using the coocon developers handbook I got Cocoon -

XSLT debugger (was RE: .Net port of Cocoon)

2003-01-24 Thread Mark H
AFAIK, there is no single debugger like this, only a patchwork of debuggers, one for XSLT, one for Java... Where can I get hold of a XSLT debugger to use with cocoon? a lot of times cocoon doesn't provide much debugging information when there is something wrong with your stylesheets. Mark

RE: [ANNONUNCEMENT] ChartTransformer 0.0.4 released

2003-01-24 Thread Mark H
Luca, Great work! Should be very useful in a lot of applications. I was thinking I could use it to present a report of a database in a project I'm working on. Mark -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: 24 January 2003 15:17 To: [EMAIL PROTECTED] Cc:

RE: XSLT debugger (was RE: .Net port of Cocoon)

2003-01-27 Thread Mark H
/index.html - -Original Message- From: Mark H [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:20 PM To: [EMAIL PROTECTED] Subject: XSLT debugger (was RE: .Net port of Cocoon) AFAIK, there is no single debugger like this, only

Passing parameters to an XSP

2003-01-30 Thread Mark H
I'm trying to pass parameters to an XSP but I'm getting an exception: unreported exception: org.apache.avalon.framework.parameters.ParameterException; must be caught or declared to be thrown I saw a similar post in the archives but when I tried the recommended solution it still didn't work, any

RE: AW: XSP question

2003-02-19 Thread Mark H
I use helpbean logicsheet http://www.oio.de/m/taglib/beanhelp.zip xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:help=http://www.oio.de/help; page help:useBean id=vm scope=page class=Common/ help:setProperty name=vm property=path param=path/

Accessing cocoon datasource from a servlet

2003-02-24 Thread Mark H
Does anybody know how to access a cocoon datasource (DataSourceComponent) from a standard servlet? Thx, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ChartTransformer problems (deleting tag names)

2003-02-27 Thread Mark H
I'm trying to get chart transformer working but it seems to be deleting the tag names in the output. I'm not sure if this is a cocoon issue or chartTransformer. Anybody else come across this? Mark output: xmlns=http://www.w3.org/2000/svg; xmlns:chart=http://ipzs.it/chart; fill-opacity=1

RE: ChartTransformer problems (deleting tag names)

2003-02-27 Thread Mark H
seems to have problems with it also. Mark -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED] Sent: 27 February 2003 08:06PM To: [EMAIL PROTECTED] Subject: RE: ChartTransformer problems (deleting tag names) -Original Message- From: Mark H [mailto:[EMAIL PROTECTED

Re: Transformer problem in Cocoon 2.1

2003-02-27 Thread Mark H
? Mark -Original Message- From: Mark H [mailto:[EMAIL PROTECTED] Sent: 27 February 2003 08:18PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: ChartTransformer problems (deleting tag names) Luca, I'm using version 2.1 (Tomcat, W2K). I suspect it is a cocoon issue. I've serialized

Downloading Cocoon 2.1 with CVS ?

2003-02-27 Thread Mark H
The dev snapshot section seems to be empty. Whats the CVS command for version 2.1 dev? Want to see if a more up to date version will solve the transformer/default-namespace problem/bug. Thx, Mark - To unsubscribe, e-mail:

SourceWritingTransformer, namespaces problem with Cocoon 2.1

2003-03-01 Thread Mark H
I'm trying to write an XSP to a file using SourceWritingTransformer but the latest DOMStreamer (v2.1) with setNormalizeNamespacesOn to true adds a namespace to every element rather than to the xsp:page element (so that the logicsheets don't work), when I setNormalizeNamespacesOn to false it

Getting a datasource in the latest CVS of Cocoon 2.1 ?

2003-03-01 Thread Mark H
I'm using a CVS version that is around a day or two old and the code for getting a datasource in an action doesn't seem to work anymore. I'm also getting depreciation warnings when using Avalon's ComponentSelector, it seems Avalon is moving from a component selector to a service selector (not that

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
I tried out a simpler form: (don't have the source code for your actions/stylesheets) map:components map:actions map:action name=request src=org.apache.cocoon.acting.RequestParamAction/ /map:actions /map:components map:pipelines map:pipeline map:match

c2.1: Excalibur version ?

2003-03-03 Thread Mark H
Can any cocoon developers tell me what version of Excalibur is used in the latest CVS? I've downloaded v4.1's source but the class structure doesn't seem to match whats used in Cocoon. (can't find org.apache.excalibur.source.impl.URLSource) Thx, Mark

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
To: [EMAIL PROTECTED] Subject: RE: Very strange behaviour -- caching bug? Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? Cheers, -Alex --- Mark H [EMAIL

Actions and mutli-user environment

2003-03-07 Thread Mark H
Can anybody tell me how actions work in a multi-user environment. Is an action instance shared across multiple requests like a servlet? and hence member fields should be avoided in favour of local fields created in the act method or use of session attributes ? Mark

XSP generating CDDATA section?

2003-05-27 Thread Mark H
Is there anyway for XSP to insert a generated CDDATA section into the SAX stream? I'm trying to modify the esql logicsheet so it outputs a string unescaped (there are HTML entities in the field's content). Mark - To

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
have you tried putting the jars in the jre endorsed directory as well ? Yes, I have, no difference, though you should only need to have one endorsed directory, I've added the endorsed switch to make sure java is using Tomcat's endorsed directory (-Djava.endorsed.dirs=) but it's looking for

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
Uncommenting #exclude.block.axis=true from local.blocks.properties file and rebuilding it seems to have done the trick. -Original Message- From: Mark H [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 19:40 To: [EMAIL PROTECTED] Subject: RE: Can't get v2.1, m1 or m2 working have you tried

Deli in 2.1m1 - can't get it working

2003-06-27 Thread Mark H
When I try out the demo supplied in the deli documentation I get: java.lang.RuntimeException: Invalid conversion from 'reference' to 'java.lang.String'. None of the suggestions in the archives seem to work (changing the sitemap tag in cocoon.xconf). Has anybody got it working in 2.1 M1 or M2?