Hi Guys
Between Action - DatabaseSelectAction and XSP +
ESQL
Which is better?
Which is easier to code?
How am I suppose to get the results on the Action -
DatabaseSelectAction?
Thanks
Richard
On 31.Jul.2002 -- 03:48 PM, Richard wrote:
Hi Guys
Between Action - DatabaseSelectAction and XSP + ESQL
Which is better?
They target different use cases. To output the values, esql is easier
and leaner. You might want to consider the SQLTransformer as well. If
you use XSP, I would still
Thanks.
- Original Message -
From: Christian Haul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Richard [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 4:00 PM
Subject: Re: Action - DatabaseSelectAction and XSP + ESQL
On 31.Jul.2002 -- 03:48 PM, Richard wrote:
Hi Guys
Between Action
OK thanks!
It was because of spurious whitespaces before the xml declaration.
It runs well now...;-)
Cyril.
- Original Message -
From: Joerg Heinicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 3:15 AM
Subject: Re: pb with http request
This has
- Original Message -
From: Christian Haul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 7:42 PM
Subject: Re: esql - oracle stored procedure returns resultset
I'm certain that others do use oracle sps the way described. Actually,
the esql sp support started that
Hi Vadim,
I tried several possibilities, and I found a few points regarding my webapp
(I'm sure they're not C2 issues:-)):
1) A resource which contains no serializer stops the pipeline, returning no
output.
Such a sitemap fragment:
[...]
map:resource name=crea-form-dati
map:transform
Hi all!
Can anyone help me with following problem:
I place russian text into attributes in my tags (for example: a
href=ÔÅÓÔ/).
And I see unicode encoding text in the attribute in output HTML :(
Any way for solve this problem?
Thanx.
Yury.
Frank,
just for the record: I use SQLTransformer, which runs smoothly even with multiple
cursors returned by SPs.
I used this method for a couple of projects and for some dozens SPs... not a glitch.
Best regards,
-
Luca Morandini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have a second problem with LinkSerializer. Sometimes I can only see href's
(no src), sometimes I can't see any links. The cocoon examples work without
problems.
The xhtml output validates against the DTD.
If this helps you, DOCTYPE isn't
Since the root of the document returned by map:generate type=request/
contains xmlns declaration, my xpath query against this document does not
work. Using xalan 2.3.1.
Any workaround ? or would need to have another stylesheet to move xmlns
declaration ?
?xml version=1.0 encoding=UTF-8?
request
The newest preview version of our Cocoon IDE plugin for eclipse - sunBow -
is now available. More information here:
http://radio.weblogs.com/0108489/2002/07/31.html#a6
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
OK I have the solution :
in the xsl declare rg namespace as
http://xml.apache.org/cocoon/requestgenerator/2.0 and then prefix every
element in xpath queries by it...
Learned something !
Barbara
- Original Message -
From: Barbara Post [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi Barbara,
I already spent a couple of time about this problem and found the following,
suboptimal solution:
I created an XSP, called the xsp-request:get-parameter-values name=foo/ and filled
all the parameter name/value pairs in a loop into an XML element. Then I used the
aggregate tag in
Hi all,
I am trying to get the SourceWritingTransformer to create a new XML
file. Is this possible at all? All the samples I find write to existing
files. The portal is the only sample that writes new files, but it's using
session:target to create the new files.
Anyway, here's my code snip
Hi Elmar, I found a close solution : use request generator to get all the
parameters, then apply an xsl to get only the family of parameters I want
(name starting with a special word) then I can use the resulting xml by
aggregation too..
Thanks
Babs
- Original Message -
From: Sternath
Hi,
Is there a way to protect resources in a
way that only
certain roles have access to them? Already tried Session Selector, but
I wasn't able to access the session context that the auth-login action
creates.
I'd also like to know if it's possible for a user to have multiple roles
defined (for
Robert,
it worked perfectly on a fresh Resin installation.
Since it's by far much easier and cleaner than the procedure for previous
versions, I suggest it be added to the documentation.
How can we achieve this?
L.
-Messaggio originale-
Da: Robert S. Koberg [mailto:[EMAIL
thanks so much for explaining! I had not understood that the serialise would always
terminate the sitemap processing.
At 9:49 AM -0400 30/7/02, Vadim Gritsenko wrote:
From: Jo Bourne [mailto:[EMAIL PROTECTED]]
Hi Vadim,
I am confused by your example, the way it reads to me the default xsl
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
If I do the following in an XSP, the CInclude transformer doesn't
recognize
the cinclude:include element because it has no namespace
associated with it.
xsp:element name=cinclude:include
This is incorrect.
Of course. I
Hi all,
I need advice on the various options available for building a simple versioning system
for xml files. I went through the list archives looking for pointers, but I did not
find much (apart from some very interesting, but old, conversation about cms
implementation issues).
Very
Hello,
I have two question and hope somebody can help me:
1.) Are there any examples how to redirect with an Action that inherits
from AbstractXMLFormAction - how do I get the Redirector there -
if this is the right object to redirect?
2.) How do I access the
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Since the root of the document returned by map:generate
type=request/
contains xmlns declaration, my xpath query against this document does
not
work. Using xalan 2.3.1.
Any workaround ? or would need to have another stylesheet to move
xmlns
From: Torsten Knodt [mailto:[EMAIL PROTECTED]]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have a second problem with LinkSerializer. Sometimes I can only see
href's
(no src),
Give an example (reproducible).
sometimes I can't see any links.
Same here.
Vadim
The
hy,
In the last message, I've asked
a question about a small factorial program, dynamically written with a
recursive XSLT named-template call and getting a parameter via HTTP
request.
xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]]
Hi Vadim,
I tried several possibilities, and I found a few points regarding my
webapp
(I'm sure they're not C2 issues:-)):
...
So it seems like:
a) A resource needs a serializer;
Yes, I looked into the code and I can confirm this. At
Hello, can an xsl directly access http request header (like http request
parameters) or should I use request generator ?
I want a text field to have a size specified by the kind of browser...
Maybe rather use browser selector to pass a parameter to my xsl...?
Babs
From: [EMAIL PROTECTED]
Hello,
I have two question and hope somebody can help me:
1.) Are there any examples how to redirect with an Action that
inherits
from AbstractXMLFormAction - how do I get the Redirector there
-
if this is the right object to redirect?
I think that you can do that using a xsl document() pointing to a
cocoon url with http generator and xml serializer.
This is a VERY powerful option of Cocoon.
-Message d'origine-
De: Barbara Post [mailto:[EMAIL PROTECTED]]
Date: mercredi 31 juillet 2002 15:51
À: [EMAIL PROTECTED]
Thank you, it does work :
xsl:when
test=document('cocoon://httprequest')/rg:request/rg:requestHeaders/rg:heade
r[@name='user-agent' and contains(., 'MSIE')]80/xsl:when
- Original Message -
From: ROSSEL Olivier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 3:56
OK :-))
-Messaggio originale-
Da: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 31 luglio 2002 15.45
A: [EMAIL PROTECTED]
Oggetto: RE: Multiple map:resource calls
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]]
Hi Vadim,
I tried several possibilities, and I found
Hello,
I already tried
Context context = ObjectModelHelper.getContext(objectModel);
String param = context.getInitParameter(param_one);
but also there my String is null.
Is there another way?
Thanx again for any help,
miHam
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]]
Robert,
it worked perfectly on a fresh Resin installation.
You mean no modifications to resin? No, it does not work. Have you tried
http://localhost:8080/cocoon/xscript/soap-getquote1 sample?
However,
- Original Message -
From: Luca Morandini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 11:36 AM
Subject: RE: esql - oracle stored procedure returns resultset
just for the record: I use SQLTransformer, which runs smoothly even with
multiple cursors returned by
On Wednesday 31 July 2002 14:51, Giuseppe Bonelli wrote:
. . .
3. I have the impression that a CVS like system could be an option, but I
don't know the details of the system, so I cannot tell for sure and I am
not able to evaluate the implications of using it as a xml document based
(vs. a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Vadim,
I have a second problem with LinkSerializer. Sometimes I can only see
href's
(no src),
Give an example (reproducible).
sometimes I can't see any links.
Same here.
I wasn't able to reproduce the version, where only href's where
Hi All,
I'd like to write my own generator. I have written the following generator
according to the documents on the Cocoon 2 site, by extending an example.
I can start the generator properly, but I can not pass any parameter to it.
Somehow I'd like to reach the HTTP request itself (requested
From: Istvan Beszteri [mailto:[EMAIL PROTECTED]]
Hi All,
I'd like to write my own generator. I have written the following
generator
according to the documents on the Cocoon 2 site, by extending an
example.
I can start the generator properly, but I can not pass any parameter
to it.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I've a question regarding href's in the image tag of SVG's. Is there a way to
access the actual sitemap context from an svg?
Example Sitemap:
map:pipeline
map:match pattern=resources/**
map:mount check-reload=yes
How about this? If I read you right, what you're really going for is not
getting the sitemap parameters but the request parameters. There's a
difference between doing that from within the sitemap and within java code
like this. I'm not positive this will compile, and I'm not 100% positive
that
im trying to use the objectrexx script within an xsltransformation
my xsl-file has this:
lxslt:component prefix=my-ext elements=timelapse functions=calc
lxslt:script lang=ObjectRexx
![CDATA[
/* calc rexx - Object Rexx, ---rgf, 2002-07-30, 03:03, wuw */
parse arg mon +3 . day , year /* parse date
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
...
Since it's by far much easier and cleaner than the procedure for
previous
versions, I suggest it be added to the documentation.
How can we achieve this?
Please check it out:
Hello there. I am trying to get cocoon up and running in tomcat 3.2.4.
I have done the following:
1. Installed tomcat.
2. Loaded the cocoon.war file into $tomcat_home/webapps.
3. Removed the jaxp.jar file from tomcat/lib. I would remove
parser.jar but parser.jar does not exist.
4.
Hi Guys,
Good Day!
On http://xml.apache.org/cocoon/tutorial/tutorial-develop-webapp.html
It is written that...
The website specification
is missing the tags for form building, we will provide an example
here:
Where can I find the "tags for form building" syntax and description?
in the
43 matches
Mail list logo