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
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
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
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
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 -
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
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:
/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
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
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/
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]
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
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
?
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
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:
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
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
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
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
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
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
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
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
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
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?
25 matches
Mail list logo