Hi,
thnaks it works at least more than ever, but
still some issues are open. First why does it
work when changing the encoding of the serializer.
I mean the serializer influence the response
and the request parameter comes from the request (the
beginning of the pipeline)??
Second if i set the ser
copy cocoon.properties to ur folder and edit web.xml
- Original Message -
From: "Cocoon User" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 3:44 AM
Subject: serving XML using cocoon (please HELP)
>
> i try some edits into sitemap.xmap
> but i still not
Hi,
i found that NS4++ can't support – and ‘ but the website generated by
cocoon2b1
will transform the – to – and ‘ to ‘ so is any configuration
can remain
the ‘ and ‘ ?
Here are the snip code for xml and sitemap:
xml file:
TableTable
About symbols
About symbols
This is only a test f
i try some edits into sitemap.xmap
but i still not can serve XML files from /home/myDit
i try to acces my files using
...src="file:///home/myDir/{1}.xml"
but i recieve error mesgs
everything work fine into ../cocoon/docs/samples/...
thanks
kounis stavros
[EMAIL PROTECTED]
-
Don't know if you're still having problems with this or not.
I'm using MySql, C2, and Tomcat 4.0
Not much to it:
* Start the MySql daemon
* Start Tomcat
* Put this into my XSP page:
org.gjt.mm.mysql.Driver
jdbc:mysql://localhost:3306/_your_app_
Well, I also managed to get it working but I can confirm your problem.
It has something to do with the order of the JARs in the classpath.
Conflicts between JRun JARs and Cocoon JARs, and off course JRun wins... :-)
You can change the order of how the classpath is composed in the
global.propertie
Thanks Cris,
Again you saved me, man. Thanks.
This works now:
...
...
Approach with generates code
in wrong place, which cause compilation error of sitemap. So I guess it
could be treated as a BUG.
Regards,
Alex.
> On 27.Nov.2001 -- 01:22 P
Nope it doesn't.
- Original Message -
From: "David Rosenstrauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 2:10 PM
Subject: Re: L&F: passing parameters to resource
> I think this works:
>
>
>
>
>
On 27.Nov.2001 -- 01:22 PM, Alexander Smirnoff wrote:
> Is there any way to pass parameters to resource from redirect-to point. for
> example:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
I think this works:
Haven't tried it though. Email back if I'm wrong.
DR
At 01:22 PM 11/27/01 -0500, you wrote:
>Is there any way to pass parameters to resource from redirect-to point
Is there any way to pass parameters to resource from redirect-to point. for
example:
Any ideas?
Alex
---
At 11:38 AM 11/27/01 -0600, you wrote:
>...not to mention Cocoon loads a lot of libraries I'll never use but that
>Cocoon depends on, like Batik, which Java 1.4 can do without.
You might want to do what I've done:
I've set up a separate dir for my app - separate from my /cocoon directory - and
That exactly what I mean on functional level, but unfortunately, this kind
connection in Cocoon causes an exception:
Original exception : java.lang.RuntimeException: Problem in
getTransformer:Error in creating Transform Handler
at
org.apache.cocoon.transformation.TraxTransformer.setConsumer(Trax
Some comments ...
At 11:35 AM 11/27/01 -0600, you wrote:
>I'm just trying to figure out if I should take the time and create a
>huge sitemap with all the functionality I want
I can understand that. You want to make sure there's enough of a benefit before you
put in the work.
>I've also loo
Thanks Cris for suggestion.
> On 26.Nov.2001 -- 06:20 PM, Alexander Smirnoff wrote:
> > OK. Then how could I implement dynamically "look-and-feel" based on user
> > credentials (customer-id, user_id) ? I see only one possible way:
inserting
> > action for each XSL transformation in each pipeline.
I guess another way to look at it is: what is cocoon well suited for, and what is it
less well suited for?
From that perspective, you might want to use cocoon if:
* you need to serve the same content, but on different devices. Cocoon is good at
dynamically generating the presentation you ne
...not to mention Cocoon loads a lot of libraries I'll never use but that
Cocoon depends on, like Batik, which Java 1.4 can do without.
Heath Stewart
Network Administrator / Web Developer
College of Veterinary Medicine
Iowa State University
http://www.vetmed.iastate.edu
- Original Message ---
Oh, I agree that XML is great. I've been following it for years and already
employ *heavy* XML usage on the ISU College of Veterinary Medicine site I
designed and implemented, only it uses ASP and ASP.NET. I could never
afford - nor would I want - an IIS server, so I have Apache/Tomcat to work
wit
Interesting question...
basically I agree with you... Cocoon is *just* a framework, so its task is
to give you one (or more) way to do things.
It oblige you and force to use a strong structure (sitemap, Generators,
transformers)...
Everything you do with cocoon can be done by servlets...
but reme
I'm trying to decide whether or not to use Cocoon
or just Tomcat (via mod_webapp with Apache/SSL) with Servlets, JSP, and Taglibs.
What does this list think? I've done stuff with Cocoon, but frankly, it's more
complicated to map servlets and tag libs which I would use extensively in my
site,
I'd suggest using Xalan directly for this instead of Cocoon then.
Ant has a "style" action, which is used to call an XSLT transformer (usually Xalan).
The style action works properly with Ant and does what you want (i.e., terminating the
build if an error occurs).
I use this in my project to g
Someone else had this same problem recently.
Use . It will parse the text that you pass in to it, and generate
SAX calls from it (as opposed to writing the text straight to the output - after
escaping all the control chars - like it's doing now).
1) Include the namespace xmlns:util="http://ap
I realise xsl:output
was disabled for various reasons in C1. Does it work in C2?
Thanks
Sharat Koya
My project compiles just fine in J++, but when I try things in Jakarta
Ant, I get the following:
[javac] file javax\servlet\http\Cookie.class not found
[javac] response.addCookie(new
org.apache.cocoon.environment.http.HttpCookie("CMSUSER",
session.getId()));
[javac]
Lookin
Try this
ISO-8859-1
-Mensagem original-
De: Max Larsson [mailto:[EMAIL PROTECTED]]
Enviada: terça-feira, 27 de Novembro de 2001 11:28
Para: 'Cocoon Users'
Assunto: Encoding
Hi,
i am testing the employee example, which is
contained with C2 distribution and accessib
Hi Nick,
What you mean by "with "redirect" it seems to work, but no index.html" -
if it does not create your file, then it does NOT work, does it? ;-)
No
I work with similar task - generating JavaDoc in pipeline and
redirecting to index.html.
So first of all:
- if your transformer generates in
Hi Eric,
What you mean by "with "redirect" it seems to work, but no index.html" -
if it does not create your file, then it does NOT work, does it? ;-)
I work with similar task - generating JavaDoc in pipeline and
redirecting to index.html.
So first of all:
- if your transformer generates index.
Hi Nick
thanks for your help!
Unfortunately, when I say:
extension-element-prefixes="xalan">
instead of:
extension-element-prefixes="redirect">
I get Parser errors,with "redirect" it seems to work, but no index.html
Any more ideas? It seems that nobody uses Cocoon with junitreport (frames)
o
Hello all,
I'm having an issue with rc2. When I upgraded to it, I started
receiving the following error when viewing the welcome page which
previously worked fine with rc1a:
The error occurs when I try the following url:
http://localhost:8080/reports/welcome
If I try
http://localhost:8080/co
Hi,
Probably a newbie question. I'm using cocoon2 to generate documentation for
my project. I run the generation as part of my Ant build. At the moment, if
there is an error in any xml file, the build does not stop. Errors are
reported in a log file and in the generated page.
I'd like to know ho
may be a longer process but read the xml query file
though DOM or SAX then pass those as parameter to a java class and then get the
results back to another xml
- Original Message -
From:
Ferran Urgell
To: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 6:06
PM
Hi,
I've a question: Now I've made a xml query in a database msql (with sql params), the queries are in a xml file, but I would to get another xml file with the results of the queries. That's possible?
How can I do this ?
Thanks
FerranDo You Yahoo!?
Yahoo! GeoCities - quick and easy web site hos
Hi,
i am testing the employee example, which is
contained with C2 distribution and accessible
under http://localhost:8080/cocoon/forms/employee.
When trying to add an employee with special
chararters like aumlaut they aren't stored correctly
in the database. Does anyone know how to avoid
this ?
Cocoon User wrote:
>
> i have install apache cocoon2 and tomcat4
>
> my web site warks when i puut all files into /cocoon/docs/samples/myDir/
>
> but i want to have my website files into /home/myDir/
>
> i have try this:
>
>
> and work fine
>
> but when i try to modify this line to this o
> i think that i can not point to files outside cocoon's path
>
I bet you can... just look at the FAQ entry called "How could I have my
Cocoon app in an URI other than /cocoon/?".
Best regards,
-
Luca Morandini
GIS Consul
i have install apache cocoon2 and tomcat4
my web site warks when i puut all files into /cocoon/docs/samples/myDir/
but i want to have my website files into /home/myDir/
i have try this:
and work fine
but when i try to modify this line to this one
i recieve errors
i think that i can not poi
I suggest that there is an easier approach to solve your look&feel issue.
Assuming that the L&F is supported by means of some transformation, then why
not use the following sitemap construct:
That way, look and feel is hand
On 26.Nov.2001 -- 06:20 PM, Alexander Smirnoff wrote:
> OK. Then how could I implement dynamically "look-and-feel" based on user
> credentials (customer-id, user_id) ? I see only one possible way: inserting
> action for each XSL transformation in each pipeline... That approach makes
> sitemap look
Hi,
the tag must be a child of the root , and not
included inside an , as you have indicated below.
Hope this helps,
Adrian
- Original Message -
From: Ratty <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 2:07 PM
Subject: xsp:include in logicsheets
> In my
39 matches
Mail list logo