Folks,
the anomaly I've found (document XSLT function returning a string instead of
a node-set) is linked to the Xalan version AND the incremental-processing
parameter.
It could be summarized as follows:
1) Xalan 2.2.0.D14 and incremental-processing set to true: Error
2) Xalan 2.2.0.D14 and
hi all!
i use cocoon 2.0.2, win2000 and weblogic 6.0sp2
sorry to write again about my problem with url-rewriting.
i want to tell again, in a detailed from, my problem. maybe
someone can help me.
i wrote a web-app using a java action described in
http://comphy.fsu.edu/xml/docs/actions.html
Hy;
Is there some logging facility, that shows me, which
resources have been utilised for one specific
browser-request ?
A list of entries in a logfile would be very helpfull
for me.
It would be rather fancy, if i could get such a list in
a separate browser window, telling me, which resources
Cocoon does not support non-US characters when posting data to the server.
Characters like è (e accent grave) are translated to two strange characters
when checking the posted data.
iso-8859-1 is the default encoding for Cocoon and it does support all
necessary West European characters (thanks
Hello everybody,
I'm writing application with Cocoon which include Cocoon portal, authentication, etc..
All you need when you use an application server.
But I think about a functionnality which would be very useful on a app server: a
scheduler (like the Cron in Unix).
So my question is: what
On Monday 28 October 2002 14:02, [EMAIL PROTECTED] wrote:
. . .
So my question is: what the solution with Cocoon if I want to automate and
execute tasks without a HTTP request (for example to execute a task every
sunday at 12 o'clock)??
. . .
Hi Sylvain,
There were some discussions about
There has been a similar thread before. dig up that one first.
Cocoon, being a servlet, only reacts to http requests.
So the only way to activate things on a timely basis is to use another
program that calls a URL, and thus a pipeline, that activates whatever you
want to get done.
A wget in a
Hi all,
Quick question to do with the way the cocoon SQL parser copes with
multiple SQL statements.
There is probably a very quick fix for this but I'm tearing my hair out
trying to find it!
When inserting using and SQL statement based in XSL like so:
execute-query
Hello Bert,
Sorry but what is a wget?
Sylvain
-Message d'origine-
De: Bert Van Kets [mailto:bert;vankets.com]
Date: lundi, 28. octobre 2002 14:21
À: [EMAIL PROTECTED]
Objet: Re: Cocoon task scheduler
There has been a similar thread before. dig up that one first.
Cocoon, being a
web get, it's a unix program. Also available (via cygwin) for windows.
J.
Hello Bert,
Sorry but what is a wget?
Sylvain
===
Information in this email and any attachments are confidential, and may
not be copied or
How about cron and a python script, which executes a localhost HTTP query?
Python has very good support for HTTP.
I'm not convinced that Cocoon needs such a beast, when so much mature
functionality is available at the OS level.
On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote:
Hello everybody,
I can't help you with your problem, but I can tell you that I am using esql
in an XSP with this. It works flawlessly when calling multiple queries one
after the other.
Bert
At 13:26 28/10/2002 +, you wrote:
Hi all,
Quick question to do with the way the cocoon SQL parser copes with
But cryptic reply John, g
wget is indeed a *nix prog that creates an http request and captures the
result.
Actually, all you need is a program doesn't matter which one that sends out
an http request. Heck, you can even use a scheduled off line favorite in
IE for this. You will need to set
I completely agree with you and Bertrand: Cocoon have already so much stuffs and it
wouldn't be a good solution to add this type of feature.
So I need a scheduler app writing in Java because I want to keep independance with OS
(my server runs on Windows but I could change this). This scheduler
If somebody implements the database-actions like in
the cocoon-example(2.03)http://localhost:8080/cocoon/forms/employeeit
is
possible to include the set-encoding action into
the map:action-sets/-section instead of including it into every
pipeline.
fragment from cocoon/sitemap.xmap with
Try Jcrontab
http://jcrontab.sourceforge.net/index.shtml
Artur...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:Sylvain.Thevoz;swisscom.com]
Sent: October 28, 2002 8:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon task scheduler
I completely agree with you and
Tom,
every query element should live within a separate execute-query one,
like in:
execute-query xmlns=http://apache.org/cocoon/SQL/2.0;
query
insert into my_table (Col1, Col2) values ('1', '2')
/query
/execute-query
execute-query xmlns=http://apache.org/cocoon/SQL/2.0;
query
Hi ALL!
I've been working and testing cocoon for about 3 weeks ... after some simple
examples i started some more complex stuff ..
Right now i´m trying to understand the proper way to work with modular
actions ..
so imagine this ...
One table, SIGLAS, is the main information table, it consists
Both python perl have ports to just about every OS, more than Java.
And python in particular is mindlessly easy to write in, and has the extra
bonus in that it has been ported to Java (Jython)
Check out ActivePerl ActivePython at http://www.activestate.com (windows
ports, unixx ports are easy
Don't get this wrong. You needn't add the action in every pipeline, just
in the ones that capture form data where you can expect non-ASCII characters.
Thanks for the addition.
Bert
At 14:59 28/10/2002 +0100, you wrote:
If somebody implements the database-actions like in the
I have tried it like you say however am still getting an internal server
error:
org.apache.cocoon.ProcessingException: Exception during processing of
file:/C:/tomcat/webapps/cocoon/autorevs/docs/doregister.xml:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.NullPointerException
On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote:
Hi ALL!
I've been working and testing cocoon for about 3 weeks ... after some simple
examples i started some more complex stuff ..
Right now i´m trying to understand the proper way to work with modular
actions ..
so imagine this ...
One
Would you mind integrating it into the CocoonWiki
(http://www.outerthought.net)? If no and it's easier for you I can do it
for
you.
Reinhard,
go ahead and add it if you wish; everything in the document is based on
stuff from the Cocoon-user archives, with some modifications. As I said,
it's
Tom,
could you post the XML document that fails ?
Best regards,
Luca Morandini
[EMAIL PROTECTED]
-Messaggio originale-
Da: Tom Place [mailto:psyttrp;nottingham.ac.uk]
Inviato: lunedì 28 ottobre 2002 15.38
A: [EMAIL PROTECTED]
Oggetto: RE: Cocoon SQL Transformation
I have tried
On 28.Oct.2002 -- 03:39 PM, Christian Haul wrote:
On 28.Oct.2002 -- 02:07 PM, Rui Leal wrote:
2.0.4-CVS will get updated. In the mean time, it should be safe to
copy it together with the AbstractMetaModule from 2.1 to 2.0.4,
rebuild, and add it to cocoon.xconf if you need it fast.
Actually
OK the full story:
The xml file that is the generator is as follows:
doregister/
This is then passed through an XSL file :
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
!-- Make the request parameter available --
xsl:param name=username/
Hallo Ivelin,
I already wrote a How To Document for this and uploaded it using
Bugzilla . I hope it will be clear and easy to follow.
and its Bug#14015.
Thanx in advance
Mohamed El-Refaey
Ivelin Ivanov wrote:
Mohamed,
would you consider submitting your email as a how-to document in
I am running into this same problem (I think) but I'm confused as to what to do about
it.
I have xsp's with generateKey() and generateValidity()methods, and when I put the xsp
in an aggregate, cocoon re-aggregates every time, instead of used the cached
aggregated value. The symptom is that it
Does anyone have recommendations on how to get from an XML stream to an
Excel file without using cocoon?
-
Please check that your question has not already been answered in the
FAQ before posting.
Look at the POI project on jakarta.apache.org specifically HSSF.
You'd need to parse the XML yourself but POI allows you to read/write Excel files.
MD
-
Please check that your question has not already been answered in the
FAQ
Hi Chris,
when you set the content-type in a servlet
like
"response.setContentType("application/vnd.ms-excel");"
a simple html-table will opened as excel-file, if
Excel is installed.
but i think it is not a question for [EMAIL PROTECTED]
Boris
- Original Message -
From:
First of all .. thanks for the help !
I've been a complete cocoon fan for 3 weeks now .. I've converted most of my
team to it ! :)
There has been a problem using nested actions in an action-set in 2.1
and most likely treeprocessor in 2.0.x.
.. Ok .. i´ve been using 2.0.3 .. it seems the
Not a full-blown solution, but you can encode a web page with tags in
the Excel namespace xmlns:x=urn:schemas-microsoft-com:office:excel
and, use formulas etc in html table cells:
td style=width:0pt x:fmla==COUNT(A4:A9) width=0 class=x868
span style=mso-spacerun: yes/
/td
Try saving an .xls
Take a look at POI at
http://jakarta.apache.org/poi/index.html
to see if it meets your needs.
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
OK the actual XML that is going into the failing XSL is as follows:
user
detail
nametomplace/name
passwordtom/password
firsttom/first
lastplace/last
/detail
existing-user
rowset /
/existing-user
/user
The fact that the existing user rowset is empty is a good
Try Perl.
I have some good experiences with CPAN modules that parse XML streams and
write to Excel.
You ony need a few lines of Perl code, it is fast, but it does exactly that
(and only that) what you are asking for: convert an XML stream into an Excel
file. Cocoon is a different kind of animal.
Hi,
I am bringing some legacy HTML content into a new site
using HTMLGenerator and a transformation that alters
the XHTML.
The content has a bunch of ISO-encoded characters in
it, which causes parse problems. After some testing on
a static file, I found that when my source XHTML uses
the
I want to be able to restrict access to my
Cocoon-based application, either by IP range, login,
or both. Is this something I can do easily in cocoon,
or should I look into doing this using Tomcat?
__
Do you Yahoo!?
Y! Web Hosting - Let the expert
Hi,
I'm using sub-sitemaps now to host several projects at once in my
development environment. I access the projects through a URL that looks
like this - http://localhost/projects/proj1;, and in the sub-sitemaps
I have a XSLTransformer prepend a sitemap variable called base to the
beginning
Hi Everyone-
Here is a newbe question: I'm trying to use the implicit 'request'
variable in a xsp page, however, whenever I try to access it like this I
get a NPE error at line x:
xsp:logic
keyword = request.getParameter(value); //line x
/xsp:logic
When I attempt to access it like this, I
Make sure you put your request inside a tag. Like this:
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
data
xsp:logic
your logic
/xsp:logic
/data
/xsp:page
You do not appear to have declared `keyword'.
i.e., try:
String keyword = request.getParameter(value);
Dave
- Original Message -
From: Eric Everman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 3:46 PM
Subject: xsp request variable is not declaired
Hi
At 10/28/2002, you wrote:
You do not appear to have declared `keyword'.
i.e., try:
String keyword = request.getParameter(value);
Dave
Ha, fair enough. But believe it or not, this is a copy/paste error. Here
is the simplest xsp page that causes the problem (verbatim this time):
Hello, all.
It's been all day long and I'm still stuck with this.
I can make the XMLForms Wizard demo to work nicely, but everytime I try to
change just one property to test a custom solution, the 'invalid for data'
message appears. I guess this is because of some mapping problems between
forms
Your xsp page requires the cocoon processing instruction:
?cocoon-process type=xsp?
I have also seen the xsp:page tag written:
xsp:page language=java xmlns:xsp=http://www.apache.org/1999/XSP/Core;
I am not clear if both are acceptable.
Dave
- Original Message -
From: Eric
Many thanks !
I will review and apply the patch.
... now only if someone would be interested to write a HOWTO on using JAAS
with Cocoon.
Best,
Ivelin
- Original Message -
From: Mohamed El-Refaey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 7:35 PM
A few other people asked the same question recently.
My personal believe is that security is orthogonal to Cocoon and belongs to
the J2EE container.
If you will have the time, please consider submitting a HOWTO patch to
Cocoon's bugzilla on using Tomcat security with Cocoon.
Regards,
Ivelin
Okay, I think I've found the problem with my aggregate caching.
I have an xsp, and I use the cocoon:/ protocol to map:aggregate that xsp. Something
like the usual:
map:match pattern=foo
map:aggregate element=site
map:part src=cocoon:/from-an-xsp.xml/
/map:aggregate
...
The symptom is that
48 matches
Mail list logo