Beta testers required !!
Kangax:
a new application
enabling the rapid development and maintainence of
professional websites while abstracting the technical details from the end
user.
leveraging the power
of new technologies including xml, xsl, soap and
java.
build websites by
Hi Dean,
Try src=downloads/{1}.exe
Roman
Dean McGowan wrote:
Cannot get the reader to recognize the application/octet-stream when I
am attempting to
Download a file.
map:match pattern=downloads/*.exe
map:readsrc=downloads/*.exe mime-type=application/octet-stream/
/map:match
can
Yes I know ... got caught up in the rush of it all ... phew LOL
-Original Message-
From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 11 April 2002 4:34 PM
To: [EMAIL PROTECTED]
Subject: Re: reader mime problem - please help
Hi Dean,
Try src=downloads/{1}.exe
Roman
Dean
Hi,
I am tried cocoon2.1-dev from cvs, tomcat 4.0.3 and jdk1.4.0
I have problem with link '/cocoon/sub/xsp
error is :
SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement
XMLReader
what is wrong ?
regards
peco
Since nobody else answered, I'll give it a try.
I don't know how that works with Access, but your datasource declaration
seems incomplete. E.g. here's mine (of course it looks differently because
your using JDBC-ODCB for Access, whereas with Oracle, there's a native
JDBC-driver):
datasources
-Original Message-
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 10:41 PM
To: [EMAIL PROTECTED]
Subject: Cookie question
Hi,
My browser does not recieve cookie... Here is XSP piece:
xsp-cookie:create-cookies
Hello,
ad 1:
Vadim, as you suggested it finally works with this expression -
thanks!:
util:include-exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/util:expr/util:include-expr
ad 2:
The contentHandler used in 2 b) is a TraxTransformer instance. Is it
possible that in this case
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
2.
Use Castor's marshalling capabilities:
some-items anAttr=aVal
xsp:logic
model.marshal(this.contentHandler);
/xsp:logic
/some-items
This
Hi,
I know this annoying issue has already been discussed here, but i want
to have today's news about it...
The bug is : AFAIK, JDBC connections don't work with JDK 1.4, the
core.log give us :
DEBUG (2002-04-11) 09:50.34:916 [core.datasources.mysql]
(Unknown-URI)
Hi Paul,
well we wrote the portal components currently in Cocoon, so I guess I can
comment on them :-).
We originally (1 1/2 years ago) looked at JetSpeed (back then) but decided
we didn't want a solution that was an add-on to Cocoon. We wanted to
integrate a solution into Cocoon and do this
Hi,
I'm have some trouble generating PNG's with the SVG serializer.
I want to include a CSS stylesheet reference in the XML so that,
for example, colours can be kept out of the SVG XML. Using the
following test.xml file:
?xml version=1.0 encoding=iso-8859-1?
?xml-stylesheet type=text/css
Did you declare a css pipeline? If Cooon gets request for a css file, but
can't map it to a specific file, it can't process it.
Add this to your sitemap:
map:match pattern=*.css
map:read src=css/{1}.css mime-type=text/css/
/map:match
make sure you place the css file in
In general my css files don't come through Cocoon, apache serves
them directly. But in this case I'm just using the file name
rather than the ful http://... reference. This is working when
batik is invoked from the shell prompt but not from Cocoon.
Sim
Bert Van Kets wrote:
Did you declare a
On Wednesday 10 Apr 2002 12:58, Brent Eades wrote:
I do agree with comments in an earlier thread about the need for more
detailed docs for Cocoon. My colleagues and I are of similar skill
levels: we're managers with IT and communications backgrounds, all of
whom do a little coding as
Sorry for this folks, stupid newbie question
I'm trying to work my way through the cocoon tutorial
(http://xml.apache.org/cocoon/tutorial.html) so I can get myself started
with form processing.
In the tutorial there are several references to transforming with
stylesheets/ipms.xsl
fo:external-graphic
display-align="center" src="logo.gif"/
- Original Message -
From:
Ferran Urgell
To: [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 12:17
PM
Subject: PDF
Hi Cocooners!!
I would to put an image (logo for example) into a
I would support this - Id like to push for wider adoption of Cocoon
in our - and clients - environment - but those approving finances
are typically not interested in detailed technical specs, but rather
the broader business advantages (read savings on bottom line)
This may be outside the scope of
Thanks a lot for your idea but it doesn't work. I'm just making test with
Access Database.
I will be very glad if you have any other idea.
- Original Message -
From: Hahn Kurt (CHA) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 8:49 AM
Subject: RE: please,
Hi,
Can anybody send me multiple samples of xsl along with xml files for
generation of PDF's in Cocoon2.0.2
So that i could be see the source code of multiple samples
If there is any link of samples than plz send me the url
Did you have a look into the samples that come with Cocoon?
--
Ok, I've made this, but not works... I think that
maybe is the src adress of the file...
- Original Message -
From:
Andrey
Demchenko
To: [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 12:36
PM
Subject: Re: PDF
fo:external-graphic
display-align="center"
Try
out entering the full address for the gif file (i.e. including
c:\blah\foo\...)
Matthew
-Original Message-From: Ferran Urgell
[mailto:[EMAIL PROTECTED]]Sent: Thursday, April 11, 2002
1:51 PMTo: [EMAIL PROTECTED]Subject: Re:
PDF
Ok, I've made this, but not works...
This works for me ..
I think you have to use an absolute url
fo:external-graphic
src = http://localhost:8080/cocoon/ images/blah.jpg height=20px width=20px
position=absolute/
-Original Message-
From: Ferran Urgell
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, 11 April 2002
Hallo
I also like to use sendmail in my XSP but if I put only in my Head
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
xmlns:sendmail=http://apache.org/cocoon/sendmail/1.0;
I got
Indeed, it seems that error message says that you needn't curved brackets in
test attribute. Try this
xsl:if test=($dayofweek=1) or ($dayofweek=7)
or even something like this
xsl:if test=/[($dayofweek=1) or ($dayofweek=7)]
And, of course, you have to use xsl:value-of whithin xsl:attribute
Hi,
I'm using Cocoon 2.0.2 here to process XML files with XSL-T stylesheets.
The relevant part of my pipeline is like this:
map:match pattern=start.xml
map:generate src=start.xml/
map:transform src=start.xsl/
Thanks for tip Konstantin. Not right away but when looking into the code I
found up that if you define your action with
store-in-cookietrue/store-in-cookie
it will do the job.
To my surprise I did not be able to find up this in any documentation.
Alex.
- Original Message -
From:
Hello,
The app we're building works great w/ the StreamGenerator. It takes XML
directly from the calling client from the HTTP stream. We would like to
be able to do some selections in our pipelines based on the incoming XML
stream. Is there something like an XPath Selector? Am I thinking of
I'm testing the JBoss-2.4.4_Tomcat-4.0.1 package with Cocoon2 and I'm trying
to get Cocoon to read an user's session name variable (employeeData) created
by the login process. Can Cocoon2 read the session information from the
JB/TC instance? (sorry if that is not the right terminology)
I can
From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
Of course that is the command..
And as run the latest snapshot or even the cocoon 2.0.2 release here
is
the error log for the javadocs.
javadocs:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc]
From: snpe [mailto:[EMAIL PROTECTED]]
Hi,
I am tried cocoon2.1-dev from cvs, tomcat 4.0.3 and jdk1.4.0
I have problem with link '/cocoon/sub/xsp
error is :
SAX2 driver class org.apache.xerces.parsers.SAXParser does not
implement
XMLReader
what is wrong ?
You have two options:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Hello,
ad 1:
Vadim, as you suggested it finally works with this expression -
thanks!:
util:include-
exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/ut
il:exp
r/util:include-expr
ad 2:
The contentHandler used in 2
A quick glance at the compile error indicates that you do not have the
javamail.jar in your classpath.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 11 April, 2002 14:13
To: [EMAIL PROTECTED]
Subject: RE: sendmail
Hmm, took a look at it, unfortuantly my
From: caleb racey [mailto:[EMAIL PROTECTED]]
Sorry for this folks, stupid newbie question
I'm trying to work my way through the cocoon tutorial
(http://xml.apache.org/cocoon/tutorial.html) so I can get myself
started
with form processing.
In the tutorial there are several references
From: Yuri Gadow [EMAIL PROTECTED]
Indeed that is the question, unfortunately NS 4.X is still in common use
and does not understand tags written as br/ or textarea/, (as do
many, still common, versions of IE.) I could certainly roll my own
serializer, wrapped around SAXON or something, but
I just did a cvs checkout -r HEAD xml-cocoon2 to a new directory, copied
xercesImpl-2.0.0.jar, xalan-2.3.1.jar, and the xml-apis.jar from the .\lib\core\ to
the %JAVA_HOME%\jre\lib\endorsed\ directory and my build javadocs gives the same
result as Marc's. Everything else seems to build and
Dear team, interested in your project Cocoon, and in the xml and new tech,
i'll start in a few months a completely free hosting on my little little
server, just for people that wants to learn but can't pay for it. Can't pay
service like
Motivational Marketing Associates, Inc - Cocoon 1.7.4
that
From: Ehms, JØrgen [mailto:[EMAIL PROTECTED]]
Hallo
I also like to use sendmail in my XSP but if I put only in my Head
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
To pass single param, see sample sitemap:
map:resource name=dynamic-page
map:generate type=serverpages src={target}.xsp/
map:transform src=stylesheets/dynamic-page2html.xsl
map:parameter name=view-source value={target}.xsp/
/map:transform
map:serialize/
Hello,
Is it possible to hook Cocoon upto a test MS Access DB? I'd like to install
MySQL, but downloading that runs me into red tape with my IS Dept.
I'm running Windows 2000; JDK1.3.1; Tomcat4.0.1; Cocoon2.0
Thanks,
Ashish Rajput
From: Seth Ladd [mailto:[EMAIL PROTECTED]]
Hello,
The app we're building works great w/ the StreamGenerator. It takes
XML
directly from the calling client from the HTTP stream. We would like
to
be able to do some selections in our pipelines based on the incoming
XML
stream. Is there
Title: RE: MS Access on Cocoon2???
Is it possible to hook Cocoon upto a test MS Access DB? I'd
like to install
MySQL, but downloading that runs me into red tape with my IS Dept.
You should be able to use a generic ODBC driver to get into Access. I havent done this with Cocoon but it
You should be able to use JDBC:ODBC bridge to connect to the datasource
-Original Message-
From: Rajput, Ashish S [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2002 20:38
To: '[EMAIL PROTECTED]'
Subject: MS Access on Cocoon2???
Hello,
Is it possible to hook Cocoon upto a test MS Access
Sean Malone wrote:
You should be able to use JDBC:ODBC bridge to connect to the datasource
You can do it, but it is not recommended. Access allows you to do too
many broken things, and forces you to use nonstandard SQL joins for
anything else.
There are other alternatives. Just be warned
Vadim,
Using the JBoss-2.4.4_Tomcat-4.0.1 package starts Tomcat within the JBoss
instance (I think). The jboss/deploy folder has:
+ cocoon.war (folder)
-- (contains same contents as standard tomcat/webapps/cocoon folder)
+ lib (folder)
-- jbosspool-jdbc.jar
-- jms-ra.jar
+ web.war
From: oggei [mailto:[EMAIL PROTECTED]]
Dear team, interested in your project Cocoon, and in the xml and new
tech,
i'll start in a few months a completely free hosting on my little
little
server, just for people that wants to learn but can't pay for it.
Can't pay
service like
Im making a website for myself, basically a portfolio/resume website with
things I've done, and projects I've worked on, but Id like to host it
myself.
Could anyone tell me the best, and possibly least expensive route to go
about this.
Any information would be greatly appreciated.
Thanks
I've solved that using MyCGIServer.com as a host for my files and then I
forwarded in a stelath way my domain name through www.mydomains.com
It works really good, my site is build absolutely on XML and works fine, you
can try it on http://www.martinmauri.com.ar/
hope this helps.
Martin
-
http://www.eweek.com/print_article/0,3668,a=23115,00.asp
It's a Database shootout, and lists troubles with Database
drivers under load. Pretty interesting.
--
They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Vadim,
Using the JBoss-2.4.4_Tomcat-4.0.1 package starts Tomcat within the
JBoss
instance (I think). The jboss/deploy folder has:
+ cocoon.war (folder)
-- (contains same contents as standard tomcat/webapps/cocoon folder)
+ lib (folder)
Thanks, Vadim. I'll check it out.
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:11 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: RE: using C2 to read sessions from JBoss/Tomcat
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Hello,
I use your thread before and now is ok.
I don't remove xerces, xalan and xml-apis from cocoon lib dir.
(batik must be in cocoon lib)
thanks
haris peco
On Thursday 11 April 2002 06:37 pm, Vadim Gritsenko wrote:
From: snpe [mailto:[EMAIL PROTECTED]]
Hi,
I am tried
Try with br name=br/
If you mean an XSLT using that syntax (otherwise, I guess I'm missing
something), I'm afraid that doesn't help. Once the elements get in the
SAX stream, how they got there (except in the case of CDATA of course)
is lost. They're all just start/endElement pairs to the
Hi,
I am using C2.0.1 with JDK1.3.1 and TOmcat 4.0.3
I have problems with calling oracle stored procedures from ESQL.
I have this simple Code:
esql:execute-query
esql:call
{call sp_proc(esql:parameter direction=inout
type=Stringbullshit/esql:parameter)}
Hi, like the subject says I'm trying to install cocoon2 to run with Jrun 3.1
I've followed all the instructions at
http://xml.apache.org/cocoon/installing/index.html
but when I try and browse to http://localhost/cocoon I get the error below.
Can anyone help?
Chris.
type fatal
message
Hi Chris,
It can't see commons-collections-xx.jar in the classpath, for some reason.
Maybe you'll have to copy that (and some others) from /lib/core into
/jrun/lib/ext, like the xerces and xml-apis jars to get it going!
Regards,
Perry
-Original Message-
From: Chris Warr
It seems that you have velocity in your cocoon.war. That's why velocity
generator got compiled and configured in the sitemap (something like
map:generator name=velocity...).
Installation instructions you are referring were written and tested
without Velocity. So you have two options:
1.
Vadim, you're a champ, I removed all references to velocity from the sitemap
and off she goes. Thanks mate.
Chris.
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12 April 2002 11:02
To: [EMAIL PROTECTED]
Subject: RE: Installing cocoon2 with Jrun 3.1
Hi, I have searched through the archives over the past hour and haven't
found anything for this problem.
What I want to do is execute a esql query that returns the results from a
table but only selects the first row. eg..
normal esql namespace excluded...
queryselect * from action where due lt;
does 'select top 1 ' do what you want. It just returns one row of the
query results. Not sure if all dbs support it though. Very handy though.
Chris.
-Original Message-
From: Sharat Koya [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12 April 2002 11:54
To: [EMAIL PROTECTED]
Subject:
unfortunatly not. I am using mysql
- Original Message -
From: Chris Warr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 3:02 AM
Subject: RE: Esql row-results
does 'select top 1 ' do what you want. It just returns one row of the
query results. Not sure if
OK, got another one for you. Cocoon is up and running now under Jrun 3.1,
now I'm trying to run my app which works under Tomcat ok. I get the error
below which from the looks of it has to do with connection pooling, the
datasource definition is below from cocoon.xconf, and I'm using mssql
Then you want to use LIMIT, I think:
SELECT blah from thetable LIMIT 1
Chris.
-Original Message-
From: Sharat Koya [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12 April 2002 12:00
To: [EMAIL PROTECTED]
Subject: Re: Esql row-results
unfortunatly not. I am using mysql
- Original
from the mysql manual -
The LIMIT clause can be used to constrain the number of rows returned by the
SELECT statement. LIMIT takes one or two numeric arguments. The arguments
must be integer constants. If two arguments are given, the first specifies
the offset of the first row to return, the
fantastic thanks
- Original Message -
From: Chris Warr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 3:16 AM
Subject: RE: Esql row-results
Then you want to use LIMIT, I think:
SELECT blah from thetable LIMIT 1
Chris.
-Original Message-
From:
I removed the pooling and it works fine? Anyone else had pooling problems
under Jrun 3.1?
Chris.
-Original Message-
From: Chris Warr [mailto:[EMAIL PROTECTED]]
Sent: Friday, 12 April 2002 12:09
To: [EMAIL PROTECTED]
Subject: RE: Installing cocoon2 with Jrun 3.1
OK, got another one
65 matches
Mail list logo