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 g
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?
nor
dkitCareers
work
...
I've looked at the generated java code and it's replacing {$datasource} with
nothing
Thx in advance,
Mark
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 wo
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 alread
> 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 "Coco
> Are you saying that Xerces doesn't deal with global XSLT variables
properly?
sorry, that should be Xalan
-Original Message-
From: Mark H [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2003 13:58
To: [EMAIL PROTECTED]
Subject: RE: 10 basic survival tips for cocoon users (was: Lo
>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: Coc
L PROTECTED]
http://utenti.tripod.it/lmorandini/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 Coc
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
I'm having problems with HTML serialization: it's putting tags on a new line
which is making a DIV section higher than it should be i.e.
...
turns into:
...
Is there anyway to control the HTML output?
BTW I'm very impressed with Cocoon. XML really is the way to go with content
heavy websit
>Then write it to a file on my TomCat server (I NEED THIS)
http://xml.apache.org/cocoon/userdocs/transformers/sourcewriting-transformer
.html
sitemap:
...
writeSource.xsl:
http://www.w3.org/1999/XSL/Transform";
xmlns:source="http://apache.org/cocoon/source/1.0";>
I use helpbean logicsheet http://www.oio.de/m/taglib/beanhelp.zip
http://apache.org/xsp";
xmlns:help="http://www.oio.de/help";>
Mark
-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: 19 February 20
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"
serializer 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
Cocoon 2.1?
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
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: [EMAI
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 outputs
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)
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
h 2003 06:01PM
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
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 unsubscribe
I can't get milestone 1 or 2 of v2.1 working. I've copied xalan,xercesImpl
and xml-apis to Tomcat's endorsed directory but I still get the following
error:
java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializationContext
I grabbed XML-RPC jar from the latest web services pack from Sun
> 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
XML-R
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 worki
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?
Th
29 matches
Mail list logo