But it seems setting only charset attribute in html META tag and not
infuencing
http header.
Artur
Use action org.apache.cocoon.acting.SetCharacterEncodingAction
Not helping either. The Content-Type header contains no information about
encoding.
Artur
Hi Alexander,
On Thu, Feb 27, 2003 at 05:57:24PM +0100, Alexander Enns wrote:
Hi Markus,
Thank You for quickly answer!
No problems.
Your Soap Server for Cocoon is the piece I looked for.
Great. Glad it's of use.
How intensive it is already tested? And when it is planed
Well, all the methods of o.a.c.environment.Request are available through
JXPath here. getContextPath() and getSitemapURI() carry some of the
information you are looking for.
ok, thanks.
But I thought I could get the url of the pipeline where the call is
made.
like for instance:
You have probably already done this, but it bit me once so I thought I'd
share what happened to me. Make sure the entire directory path from /
all the way down is readable and executable. I once had the same
problem, and it turned out that a directory way up in the hierarchy was
not set to
This is a question from a fellow worker :)
-- Forwarded Message --
Subject: XML Inclusions (XInclude)
Date: Monday 03 March 2003 15:18
From: Robert Kromkamp [EMAIL PROTECTED]
To: Jeroen Cranendonk [EMAIL PROTECTED]
Hi,
I've a question about validation using XMLForms. A
Hi,
I have the following problem :
I am using a sort of web service, which I need to access via a POST request.
I need to send the form data to this request.
From the documentation I have seen that the CIncludeTransformer can send
POST requests, but you need to explicitly name all the request
Hello to all interested people,
I could run Cocoon2.0.3 on Bea WebLogic5.1:
The following steps are necessary:
1) In your start-script of Bea-server add to the JAVA_CLASSPATH all the
libraries you found in your cocoon-distribution;
2) In the web.policy-file set in the last grant section add
Hello,
There is a very strange behaviour that my site exibits
ever since I've upgraded my 2.1 dev code from what it
was in Nov-Dec last year to the most current version
(less than a week old).
Here is what's going on. There is a portlet which is
generated by calling another pipeline fragment
Hello,
I have to set and get a user name in my web-application. I use a
xsp-session and followed the sample from Cocoon Developer's handbook :
using content logic XSP about authentification. But if I write exaclty
the same pages, I get this error:
org.apache.cocoon.ProcessingException: Exception
Hello,
I'm using a version of cocoon that I built from CVS
back in October of 2002, running with tomcat 4.1.12 on
WIN XP.
I have a pipeline that generates an HTML form and
passes parameters to a mod-db action which inserts DB
records successfully.
Can any of those parameters passed to the
Hello,
Is there someone that use the Tomcat plugin for Eclipse from Sysdeo and work with
Cocoon and this plugin??
If yes, I need help to load and configure my cocoon Tomcat Project.
Thanks
Sylvain
-
To unsubscribe, e-mail:
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
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 PROTECTED] wrote:
I tried out a simpler form: (don't have the source
code for
Hi,
I am trying to use the sunrise actions for my authentication but unable to
pass parameters to my xsp.
My problems:
1. My authentication fails even though I supply the correct username and
password. The fail.xsp is being generated.
2. The reason is the parameters.getParameter is not
For a context-sensitve basepath setting I want to do this.
1) Add dynamically generated xsl into each (sub-)sitemap:
--
map:match pattern=include-basepath.xsl
map:generate src=logicsheets/dynamic-basepath.xsp
Robert,
xsl:include href=include-basepath.xsl/
Is it as simple as changing this line to:
xsl:include href=cocoon:/include-basepath.xsl/
to allow the include to call an internal pipeline?
Regards, Upayavira
-
To
Do you (or anyone else) know how
to submit this as a bug to make sure the developers
know about it?
http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Cocoon%202
Never done it myself though.
-Original Message-
From: Alex Romayev [mailto:[EMAIL PROTECTED]
Sent: 03 March 2003 06:01PM
On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote:
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?
I have encountered the same bug (I think) or
Do you know the syntax for making a pipeline
noncaching?
--- Leszek Gawron [EMAIL PROTECTED] wrote:
On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev
wrote:
Hi Mark,
Thanks for your help. I like your test case -- it
simpler and cleaner. Do you (or anyone else) know
how
to
On pon, mar 03, 2003 at 11:27:10 -0800, Alex Romayev wrote:
Do you know the syntax for making a pipeline
noncaching?
first see if your main sitemap.xmap contains different pipeline implementation
(grep for caching, noncaching)
use it like this:
map:pipeline type=noncaching
!-- map:match
Samuel Bruce wrote:
Hello,
I'm using a version of cocoon that I built from CVS
back in October of 2002, running with tomcat 4.1.12 on
WIN XP.
I have a pipeline that generates an HTML form and
passes parameters to a mod-db action which inserts DB
records successfully.
Can any of those parameters
entity encoding error within an inline java script
Dear all,
I have a stylesheet with inline javascript.
I use CDATA and xsl:text as follows to avoid coding
entities:
...
script language=JavaScript type=text/javascript
xsl:text disable-output-escaping=yes
// ![CDATA[
function addgroup(){
...
Is there any way to detect when a user closes the browser and that session
is destroyed ?
There was a way under C1 using SessionListener, but I can't find an
implementation or something like that under C2.
Thanks in advance.
Alejandro
Hi,
script language=JavaScript type=text/javascript
xsl:text disable-output-escaping=yes
// ![CDATA[
function addgroup(){
while (r.childNodes.lengthgt;0){
Do you use xsltc to process your stylesheet ?
iirc it does not support 'disable-output-escaping' ...
use xalan or so instead ...
--
On pon, mar 03, 2003 at 05:31:17 -0300, Alejandro Raiczyk wrote:
Is there any way to detect when a user closes the browser and that session
is destroyed ?
There was a way under C1 using SessionListener, but I can't find an
implementation or something like that under C2.
It is not possible to
[EMAIL PROTECTED] wrote:
entity encoding error within an inline java script
Dear all,
I have a stylesheet with inline javascript.
I use CDATA and xsl:text as follows to avoid coding
entities:
...
script language=JavaScript type=text/javascript
xsl:text disable-output-escaping=yes
// ![CDATA[
Hi Jens,
thanks for your ultra-fast reply.
I am using the standard Cocoon config (Xalan, Xerces ..)
Here is a fragment of the (trivial) sitemap:
map:match pattern=histochart2
map:generate src=data.xml/
map:transform src=data.xsl/
map:serialize type=html/
/map:match
What
Geoff,
Thanks. Got it working with minimal effort.
Kumar.
-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]
Sent: Friday, January 31, 2003 9:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Question on generators...
Then yes, you can reuse it - but you should be aware that it's
Hi All,
I am using the latest build of Tomcat 4 and Cocoon 2, I was wondering which
is XML parser is best for parsing docbook content?
Thanks
In Peace,
Saqib Ali
I fear, if I rebel against my Lord, the retribution of an Awful Day (The
Day of Resurrection) Al-Quran 6:15
hi Mark,
Mark Anquoe wrote:
ok I've started pulling my hair out. I am really having problems getting
the DirectoryGenerator to display anything more than the contents of the
current directory. I can't seem to get the depth attribute to do anything.
we never had any problem with it.
I modified
no, that's not the problem. i managed to dynamically create the xsl using
a custom generator instead of a xsp, but now the xsl that includes it
complains that the variable 'basepath' has not been defined if i do it this
way:
xsl:include href=cocoon://include-basepath.xsl/
and if i do
xsl:include
sorry, should have used 'cocoon:/' instead of 'cocoon://'. that solved the
problem!
At 03:19 04.03.2003 +0100, you wrote:
no, that's not the problem. i managed to dynamically create the xsl using
a custom generator instead of a xsp, but now the xsl that includes it
complains that the variable
Thanks for responding and sorry for the ambiguity of
my post. Your reply was helpful.
The parameters that I am referring to are request
parameters sent from a post in an HTML form to a
pipeline in my sitemap. That pipeline has a mod-db
action.
I'd like to capture one of the input parameters from
I'm planning to implement a Lucene-based search, so I've been reading up on
Views.
It seems to me that a view can be selected just by adding
?cocoon-view=some-view to the URI. I've tried this and it's all OK.
But the documentation hints that there's another way, which I don't quite
understand
Du hast es hingekriegt ?!!! Yipee! Ich habs genahnt das das
geht.
Super, danke Thommi, must mir heute abend mal zeigen was bei mir falsch war.
Dann kannste ja mindestens 4 XSL wegschmeissen
Und dann gibts auch nur noch basepath und net mehr cms.
Col Rob
- Original Message
Hi,
I am using the standard Cocoon config (Xalan, Xerces ..)
The default Transformer is XSLTC. It is configured
in the sitemap.xmap in your cocoon folder.
Just search for map:transformers. You will
find there a transformer named 'xalan' and one
named 'xsltc' (and course many other
37 matches
Mail list logo