On Sat, 29 Mar 2003, jcplerm wrote:
Is it possible to deploy Cocoon applications at customer sites just by installing
compiled versions of XSL stylesheets (translets) rather than supplying
them in plain text format?
Write out own Transformer, and use a serialized form of the templates, for
XALAN is an XSLT Transformation engine. By default, it is the engine used by the
cocoon XSLT Transformer, which is just a cocoon component, and not tied to any
specific engine implementation.
-Original Message-
From: Helmut Tammen [mailto:[EMAIL PROTECTED]
Sent: Monday, 31 March, 2003
Title: Question about doctype with Cocoon 1.8.2
Hi!
How can I remove the DOCTYPE declaration in an output HTML ???
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN http://www.w3.org/TR/REC-html40/strict.dtd
I have a problem with _javascript_ and I dont have a solution
Thanks!
Dave
If i remember correctly, the Request is held in the objectModel, so in your
act method you can do:
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
And get the desired paramater from there.
Best.
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hello
I need to serve with Cocoon some files stored in a Webdav repository.
The access to the WEB-DAV directory is protected via login-password and
i want this directory to be reserved to cocoon (not to each visitor).
How schould i configure my sitemap.xmap to make it possible for Cocoon
to send
If you want read-only access you can try:
map:generate src=http://user:[EMAIL PROTECTED]/doc.xml/
HTH
Guido
Guido Casper
-
sn AG, Open Source Competence Center
Tel.: +49-5251-1581-87
Klingenderstr. 5mailto:[EMAIL PROTECTED]
Hi Josema,
Do I need to override the act() method in the Action?
Regards
Sylvain
-Message d'origine-
De: Josema Alonso [mailto:[EMAIL PROTECTED]
Date: lundi, 31. mars 2003 11:58
À: [EMAIL PROTECTED]
Objet: RE: XMLForm: how to retrieve URL parameter?
If i remember correctly, the
Hi
I have some problems with the doctype of a page.
I want to set the doctype for one xsp page different from the others.
I want to have the frameset dtd on the frameset ( of course).
I have no luck adding the doctype to the the frameset. The loose.dtd is
applied to all pages. And it is even
hum, I think you have an error in your sitemap.
map:serialize name=frame/ should be map:serialize type=frame/.
Lionel
At 13:42 31/03/2003 +0200, you wrote:
Hi
I have some problems with the doctype of a page.
I want to set the doctype for one xsp page different from the others.
I want to have
Yes, if you go this way.
You can call its parent act method if needed at the beginning anyway.
When I used that code, my first line in the action was:
Map resultMap = super.act(redirector, resolver, objectModel, source,
params);
Anyway, maybe going the other way suggested in this thread would be
At 13:52 31.03.2003 +0200, you wrote:
hum, I think you have an error in your sitemap.
map:serialize name=frame/ should be map:serialize type=frame/.
Ah. That made thing a whole lot better :-)
But I still get the doctype twice in the html. Both for frameset and
'normal' pages
Magne
Lionel
File generator worked just fine. I'm using 2.something.
Best,
-cwk.
-Original Message-
From: Delis, Christopher E. [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2003 4:59 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Getting content from a URL or servlet
or if that doesn't work, try
After changing a parameter in my main sitemap, and then restoring the
original config, my Tomcat will not start.
Looking at the catalina.out log, I find the error pasted below. Clues,
please?
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at
Now, i can use protected webdav directory to serve files with Cocoon :
thanks Guido.
What i want to do yet et upload files with Cocoon to this protected
webdav directory. Is it a simple way to do this ?
Thanks
Olivier
-
To
Hi,
I'm having problems declaring Paginator in my sitemap,
I suspect this has to do with the new build system.
Here is what I have in the sitemap:
map:transformer name=paginate
src=org.apache.cocoon.transformation.pagination.Paginator/
This gives me:
ERROR (2003-03-31) 10:44.11:673
Sorry for the waste of bandwidth, but you can disregard the previous
message.
Joe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm using 2.1dev from yesterday. How would I fix the
jar?
--- Geoff Howard [EMAIL PROTECTED] wrote:
Is this 2.1dev or 2.0.4? I seem to remember this
problem from 2.1dev a
month or
so ago but it should now be fixed - if not, let me
know. Your choices will be
to update from cvs or to
OK, I fixed the jar and it worked, however, sounds
like the build still needs to be fixed.
Also, I've noticed that cocoon-scatchpad.jar does not
get copied into the WEB-INF/lib directory.
Thanks for your help, Geoff.
--- Alex Romayev [EMAIL PROTECTED] wrote:
I'm using 2.1dev from yesterday.
I'll check on this tonight. Is there any chance that
you're using an older checkout? What module name
are you using? xml-cocoon2 or cocoon-2.1 ? The
first is supposed to invisibly mirror the second (I think),
but you never know.
Geoff
At 11:31 AM 3/31/2003, you wrote:
OK, I fixed the jar and
I'm using xml-cocoon2.
--- Geoff Howard [EMAIL PROTECTED] wrote:
I'll check on this tonight. Is there any chance
that
you're using an older checkout? What module name
are you using? xml-cocoon2 or cocoon-2.1 ? The
first is supposed to invisibly mirror the second (I
think),
but you
Hello all,
I'm having issues sending email to cocoon-users from my main email ([EMAIL PROTECTED])
that I use for it, so I'm going to temporarily send email from this one.
I've got a problem with my XSLT transforms in my sitemap running a checked-out and
built version of cocoon from within the
Sure... here it is
- Original Message -
From: Geoff Howard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 11:38 AM
Subject: Re: Paginator Transformer
I'll check on this tonight. Is there any chance that
you're using an older checkout? What module name
are
sure... here it is
- Original Message -
From: Geoff Howard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 11:38 AM
Subject: Re: Paginator Transformer
I'll check on this tonight. Is there any chance that
you're using an older checkout? What module name
are you
Sure:
public Map act (Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters params) throws
java.lang.Exception {
Map resultMap = super.act(redirector, resolver, objectModel, source,
params);
Request request = (Request)
Hi
I wanted to build 2.1dev with all the samples including the
ones in the scratchpad. What is the command to build this now? I
tried this and none of the samples were built, all I got was the
Welcome to Cocoon, none of the samples dir and subdirs is on the
war file created with this command:
Hi everybody,
I got into a discussion with somebody today about the use of mod_proxy
with Apache 2 and [Tomcat|Jetty]/Cocoon. The discussion was about how
mod_proxy passes the x-forwarded-for header which contains the real
remote address of the client, because to the servlet container, the
Hi everybody,
I have a problem, maybe simple, but I don't know how to deal with.
I'm sure some of you have enough skills an experience to help me :)
In my database, I've got a table managing the users' permissions.
There's a global menu (for all the users).
To know if an user is allowed to open a
Hi all,
Previously I've had problem with JSP but I was able to fix it. Then I was using older version of Cocoon and Tomcat as the server. Now I'm using cocoon-2.0.4 on JBoss 3.0.4. Both JSP Generator and JSPReader do not seem to work. I tried adding jasper-compiler.jar and jasper-runtime.jar to
With the new build you need to edit build.properties
file and comment out the following line like this:
#exclude.scratchpad=true.
Note, you can also create local.build.properties file
and with the line about. This way you won't have to
do it again.
--- e nio [EMAIL PROTECTED] wrote:
Hi
I use Cocoon 2.0.4 for JDK1.3 on Weblogic 7.0 SP1. I need to use Xalan Extensions to write _javascript_ in my XSL. I use Xalan 2.5.D1 and the XercesImpl that comes with it. If I add the xalan.jar, xercesImpl.jar in my weblogic's classpath the Xalan Extensions work, but the Cocoon's XSP fail with
Hi Amelie,
I do a similar thing, and I use an XSP with some scripting in it.
Here's the XSP
It's not through the sitemap, but maybe this helps you.
Yves
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
This did not work either after I made the change you
suggested. Is my options correct or am I missing an option?
Btw, I have edited both the build.properties and
local.build.properties just in case.
enio
--- Alex Romayev [EMAIL PROTECTED] wrote:
With the new build you need to edit
How recent is your source? Did you get it from
xml-cocoon2 or from cocoon-2.1?
--- e nio [EMAIL PROTECTED] wrote:
This did not work either after I made the change
you
suggested. Is my options correct or am I missing an
option?
Btw, I have edited both the build.properties and
hi amelie (always reminds me of that wonderful movie ;-),
since I've not yet looked into/used the authentication framework, my first
thought would be another authorization action.
you supply the action with the respective parameters or let the action grab
it from the session, etc. from within
This I downloaded today. I retrieved it from xml-cocoon2. I
just looked at wincvs and it shows:
cvs -z9 update -d -P -r HEAD xml-cocoon2
If I didnt do the download right, what should it have been? I
think the instruction steps to download said xml-cocoon2 but
perhaps those need updating.
enio
This I downloaded today. I retrieved it from xml-cocoon2. I
just looked at wincvs and it shows:
cvs -z9 update -d -P -r HEAD xml-cocoon2
If I didnt do the download right, what should it have been? I
think the instruction steps to download said xml-cocoon2 but
perhaps those need
I've run into the same problem I had run into today.
You need to get it from cocoon-2.1, although
xml-cocoon2 apparently should mirror it, there are
differences. I just done a nice clean
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic
co cocoon-2.1
and everything worked. If you don't have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To Whom It May Concern:
I am trying to setup Forrest on my MacOSX box using jboss and tomcat.
Is anyone on this list familiar with Forrest?
David Novogrodsky
http://www.novogrodsky.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)
To Whom It May Concern:
I am trying to setup Forrest on my MacOSX box using jboss and tomcat.
Is anyone on this list familiar with Forrest?
There may be people here, but you're best of asking on the forrest-dev list.
Regards, Upayavira
I have tried several xsl and after double checking each of
them I am stumped.
Ifound several zarros in bugzilla. In mail list I
have seen several "Failed to execute pipeline" and a couple related to
NPE, but none linkingeither to "Errors in XSLT". Worse these other
msgs don't indicate what
In cases like this I do the following:
1) make sure the pipeline is giving the transformer in question the
right input. (ie comment out the transformer and any subsequent ones and
use XMLSerializer)
2) make sure the stylesheet works outside of cocoon. (you can do step
one to get the
Hi everyone,
I've been experiencing a strange crash with Cocoon Jetty. I'm not sure
if anyone can reproduce this. I'm running Cocoon 2.1-Dev and Jetty under
FreeBSD 4.5-R. JDK is 1.4.1_01.
Here's the log from Jetty after it bombs:
19:17:28.616 EVENT Started SocketListener on 0.0.0.0:
While you're waiting for someone who has the foggiest clue what is
going on (which I don't) I'd suggest two experiments:
1) saving the output of the output from the noaa.gov site to a local file
and see if that has any effect
2) try increasingly less complicated xpath statements
Geoff
Hello
I used Ant1.4.1 with JWSDP-1.0-ea1 under Win98se fairly well
until I installed Tomcat4.1.18 Cocoon2.0 and began first
Cocoon Lessons. So far, Tomcat4.1.18 Cocoon2.0 work fine.
But everytime I want to use Ant1.4.1 by command line input, it
fails with Exception in thread 'main'
(B
(B
(B
(B
(B
(B
(B
(BHi,
(B
(B
(B
(BDo you know any unit-test
(Btool for Cocoon? Please tell me.
(B
(BThanks and regards
(B
(B
(B
(BQuan
(B
(B
(B
(B
(B
(B
(B
(B
Thanks Charles.
I totally agree. and that is why I am stumped. To be sure the request is
filled beginning with a
map:generate type=session-attr
which I map:serialize type=xml/ and save the result as p1.xml.
THEN I test several xsl (just to be sure) on p1.xml. The xsl all pass both
in
you may need to post your xsl. it's unclear from what you say below -
if you comment out all transfomers, does the exception go away?
Geoff
-Original Message-
From: Don Saxton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 9:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Failed
This looks like an error in your JSP or in the Jasper compiler.
Take a look at the generated source to see what's wrong. And also it's a
little strange that the java file for your JSP is generated in a
...\Jetty...\ directory. Are you using Tomcat? I'm not sure that Jasper
compiler works with
On Mon, 31 Mar 2003, Geoff Howard wrote:
While you're waiting for someone who has the foggiest clue what is
going on (which I don't) I'd suggest two experiments:
1) saving the output of the output from the noaa.gov site to a local file
and see if that has any effect
2) try increasingly less
49 matches
Mail list logo