I've seen pages on the web on creating a minimal cocoon 2.0 setup
(only the neccecary jar files to run, a sitemap only specifying what the
app you're building needs, absolutely no cocoon samples etc. )
but haven't found one describing how to do this for the cvs development
version, cause I have to
Hi,
is it possible to cache result of generator fetching data from external url
for specified time?
So, I want to xml resulted from
map:generate src=http://external/
be cached for 1 hour and no connection with external host in that hour.
Artur
It may be a problem with your connection string. This is working for me:
jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb
Can you connect with the driver using JDBC outside of Cocoon?
Brian
On Tuesday, February 18, 2003, at 07:36 PM, Upayavira wrote:
Dear All,
Has anyone out
Hi all,
I would like to integrate a small svg barchart (that
gets actual business data from an xml file) into a
portal coplet.
I was thinking of a coplet pipeline like this:
get the xml data ('generate'), build the svg graph
('transform' with xsl, or build with js: 'action' ? ),
then transform
Hi,
I just try to create subsitemap as written in docs.
I have :
[sitemap.xmap]
...
map:pipelines
!-- very simple test --
map:pipeline
map:match pattern=view/**
map:mount uri-prefix=view check-reload=true
src=file:///D:\work\web.xmap /
/map:match
If you live in the Baltimore-Washington DC USA area...
Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and Linux Users Groups. For
more information see http://www.eccnet.com/xmlug
Don't forget to register online at
I guess that means it's not cancelled! See you there. (Any advice on
parking given the snow?)
Geoff
At 10:36 AM 2/19/2003, you wrote:
If you live in the Baltimore-Washington DC USA area...
Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and
I'll be there with my friend
-Original Message-
From: Geoff Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 5:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Joint DC SGML/XML and Linux Users Groups meeting TONIGHT
(7pm EDT)
I guess that means it's not cancelled!
Hello all,
i have tried to print my russian data in a PDF format without any
success. Serializer replaces russian characters by sharps (#). I
configured a FOP serializer as described in a cocoon documentation using
fonts from Win2000, but unfortunately this didn't help me.
How to solve this
Well, you may want to wait a little to see what Stefano comes up with in
reworking the build process - it may make things easier.
Also, do a build -projecthelp to see if there is a built in target that
does this out of the box. I think there was at some point, but don't know
if it's kept up
Hello again,
Please, any
solution?
Thanks in advance.
Eduardo.
- Original Message -
From: Eduardo Zurita
To: [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 2:59 PM
Subject: failure in request parameters
Hello,
I have the following
pipeline:
map:pipeline map:match
See you there
John Callahan wrote:
If you live in the Baltimore-Washington DC USA area...
Just a reminder that I will be giving a talk on Cocoon at the joint
meeting of the DC SGML/XML and Linux Users Groups. For
more information see http://www.eccnet.com/xmlug
Don't forget to register
Dear Brian,
It may be a problem with your connection string. This is working for
me: jdbc:firebirdsql:localhost/3050:/home/firebird/mydatabase.gdb Can
you connect with the driver using JDBC outside of Cocoon? Brian
This is my first foray into JDBC. I have just tried the JDBC sample
Hi!
Sorry if I repost a question, but I need
help!
I want to convert my JSP in XSP, and I have to
reuse complex Javabeans.
I read in the Logicsheet documentatin that there is
a xbean library that provides functionallity similar to the jsp:useBean
directives.
But I didn't found much more
I'm using sunrise authentication and I need to get the request parameter
send by the form tag.
It seems that during the pipelines processing, the request parameters are
lost so when I use xsp-request:get-parameter name=login/
in my xsp page, there is nothing.
If I don't use sunrise
Hello again,
More data about this error:
java.lang.IllegalStateException
at org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
at
Everything looks ok in your config files. It's strange that you had to
restart the server... what version of Firebird are you using? Maybe
it's a problem with the server?? Also, there is a bug in the
SQLTransformer that affects Firebird. The connection gets closed before
the data is retrieved,
Anybody hosting cocoon in the
UK?
Doug,
Anybody hosting cocoon in the UK?
I'm not hosting yet, but will hopefully soon have a dedicated server. If you want
shared hosting, a company I came across was Positive Internet:
http://www.positive-internet.com/zhosting.html
As their Z Account includes Java, it can therefore host
On Wed, 19 Feb 2003, Upayavira wrote:
I'm not hosting yet, but will hopefully soon have a dedicated server. If you want
shared hosting, a company I came across was Positive Internet:
+1 for Positive, a good bunch of guys. Not sure if they are doing Cocoon
yet or not, but they are certainly
Hi Eduardo!
I have the same problem with a jsp.
HereI forward you the (only) answer I
received from the cocoon developers mailing list, with my original
message.
Maybe it can help you.
Now I'm thinking in translate myJSPs in XSPs
as you can read on my posts (but I haven't received any answer
Lionel,
please send also the definition of the handler.
Martin
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 3:35 PM
Subject: sunrise authentication and request Object
I'm using sunrise authentication and I need to
Here is the handler :
map:action name=sunRise_auth
src=org.apache.cocoon.sunshine.sunrise.acting.AuthAction
handlers
handler name=foo_handler
xmlns:map=http://apache.org/cocoon/sitemap/1.0;
xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0;
redirect-to
Hi Upayavira,
i've had some problems similary to yours connecting cocoon to firebird.
The only solution for me was to switch to java 1.4 (from 1.3). Suddenly
everything was fine...
Bye, Nils
-Ursprungliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 19.
That's a good point. I am also using 1.4, and I've never tried it with
1.3.
Brian
On Wednesday, February 19, 2003, at 10:20 AM, Nils Le?mann wrote:
Hi Upayavira,
i've had some problems similary to yours connecting cocoon to firebird.
The only solution for me was to switch to java 1.4 (from
How can I get sunrise session values in an xsp page.
I'm trying this ?
My login page :
?xml version=1.0 encoding=UTF-8?
page
content
form
urllogin?resource=ixia_demo/url
field name=name type=text length=24 description=User/
field name=password type=password length=10
Try to replace cocoon:raw: with cocoon: in
authentication uri=cocoon:raw://authuser/
I am not sure, but I think the raw attribute causes parameters to be
lost.
Martin
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003
It's not working.
At 16:48 19/02/2003 +0100, you wrote:
Try to replace cocoon:raw: with cocoon: in
authentication uri=cocoon:raw://authuser/
I am not sure, but I think the raw attribute causes parameters to be
lost.
Martin
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
Here's the skeleton of a document I'm writing about a
procedure that worked for me. I tried to pass all of
this information via the build scripts, but all I got
back was the prompt (and no build). I ran everything
by using the Ant that comes with the CVS download of
Cocoon.
Since I currently
That's a good point. I am also using 1.4, and I've never tried it with
1.3. Brian
Hmmph.
Just got Cocoon running with Java 1.4.1_01, and it still does exactly the same
thing.
It has just started reporting:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
Hello,
I have an
application which works fine with cocoon 2.0.2 under tomcat 4.1.18 and Linux
Redhat 7.2 when I use the Sun JVM 1.4.0
When I try to use it
with the IBM latest JVM 1.4.0, it doesn't work any more and I have a "ressource
unavailable" message in response to my HTTP query.
I
It still does not work.
descriptor:
table-set name=pcm_contract
table name=pcm_contract others-mode=attribute/
/table-set
table name=pcm_contract alias=pcm_contract
keys
key name=id type=int autoincrement=true
Hi,
get the xml data ('generate'), build the svg graph
('transform' with xsl, or build with js: 'action' ? ),
then transform and serialise into an xhtml table with
the svg embedded to meet a required coplet structure.
what about simple xhtml-image-tag pointing to the map:match
which is
Brian,
I've finally got Firebird working, by switching from the SQLTransformer to the
ESQL logicsheet. What a relief!
Can you send me the patch for the SQLTransformer? I'll see if that's part of it.
Thanks for your help.
Regards, Upayavira
I have recently switched from Tomcat to Resin (for speed reasons). I have
run into a rather annoying snag, however. When I request my pages that use
xinclude tags with the xinclude transformer, I get nothing returned where
the included files should be. The xinclude tags worked fine under Tomcat.
Andre Taube wrote:
It still does not work.
table name=pcm_contract others-mode=attribute/
=
mode name=datemeta type=attrib
===
This does not match!
Chris.
Still the same:
DEBUG (2003-02-19) 12:28.28:239 [sitemap.action.DatabaseUpdateAction]
(/pcm/contract_admin.contract.html) Thread-9/DatabaseAction: Trying to set
column pcm_contract.contract_status from request-param using getAttribute
method
-Original Message-
From: Christian Haul
hi nesto,
I don't know the xbean logicsheet at all (doesn't seem to be in cocoon =
2.0.4), but anyway;
in the simplest case, the jsp:useBean boils down to a variable declaration
(scope = page):
jsp:useBean id=myBean scope=page class=mypackage.MyClass/
would have an equivalent of something like
If you want to change it for both, just remove conn.close() and conn =
null in the finally block of the Query.exceute() method in the
SQLTransformer. conn.close() is called in Query.close() and should not
be called in execute().
On Wednesday, February 19, 2003, at 02:43 PM, Upayavira wrote:
On Wed, 19 Feb 2003, Murad Jura wrote:
success. Serializer replaces russian characters by sharps (#). I
configured a FOP serializer as described in a cocoon documentation using
fonts from Win2000, but unfortunately this didn't help me.
How to solve this problem?
Get FOP installed and
no xbean logicsheet exists in 2.x. I have seen a start of such from 1.x
but it would be non-functional now. The advice below should be what you
need, with the obvious understanding that autopopulating fields as you get
with useBean does not exist.
Geoff Howard
At 02:46 PM 2/19/2003, you
Advice on parking: Use the Metro :-) (Dupont Circle Q Street exit)
Seriously, there is a parking garage across the street. Here is Betty's
note below (which you might have received if you are on the DC SGML/XML
mailing list).
See you there! I have to run NOW and catch the train!
-- jack
John
Check this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070
Antonio Gallardo
Lionel Crine dijo:
How can I get sunrise session values in an xsp page.
I'm trying this ?
My login page :
?xml version=1.0 encoding=UTF-8?
page
content
form
urllogin?resource=ixia_demo/url
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/
Thanks Jens it works, good tip :-)
- however, two questions from a bloody newby :-o
1.) The chart updates only (i.e. only reads-in a
modified xml data source) if I clear the portal cache
or close and restart Cocoon. Simple page refresh and
logoff/-on doesn't help !!?? What did I forget ?
2.) I
John and others,
it was nice to meet you all! Let's keep in touch.
Unfortunately, Vadim didn't make it. Now he'll acknowledge that public
transportation has its own little advantages :)
thanks,
Argyn
-Original Message-
From: John R. Callahan [mailto:[EMAIL PROTECTED]]
Sent:
I am having problems getting the SVG serializer to
correctly display my graphics as JPG/PNG - there
are no reported errors, and the conversion as a whole
goes OK, but many of the colors do not display properly,
font sizes and alignments are out and so on.
What do I need to do to fix this??
Apprently they're making some use of Cocoon at rit.edu:
http://www.it.rit.edu/~ell/xmlblog/
(Scroll down)
Regards,
Tony
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi,
I'm new to Cocoon, so sorry if this is a question with an obvious answer - but I can't
find anything online which explains how to do this.
I have a set of pages in XML. I pass them through an XSL transformation, which
auto-generates hyperlinks, etc. Because I want to use sessions when
Interesting :-):
http://www.econtentmag.com/ecxtra/2003/2003_0218/2003_0218_3.html
Matthew
--
Open Source Group Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
50 matches
Mail list logo