Hey,
I think I had similar problems with PostgreSQL. The problem might be
that that esql charset's are different than those in SQL-database (like
utf-8 - iso-8859-1). I made it so, that data in PostgreSQL is stored
as unicode but that didn't solve that problem yet. Last thing I did to
solve
Because If I do not write it, I don't get the Document coming from the
pipeline.
At 10:37 11/12/2003 +0100, you wrote:
Lionel Crine wrote:
/**
* Get the DOM return it in the flow.
*/
protected Document transform(Document doc) {
doc = this.builder.getDocument(); //get the doc as DOM
doc =
Joe D. Williams wrote:
Working on the examples in Chapter 12 of Lajos and Jeremy's book, I cannot
get the new ticket form to return the results. It just keeps displaying the
blank form,
without updating the database.
I am running Cocoon 2.0.4 on Tomcat 4.1.27 standalone with J2SDK1.4.1 and
MySQL
Hi,
i'm trying to find my way around the
portal-engine. Looking at the example i was able to figure out how the
layout and skin of the portal works.
What i couldn't find is where the allocation
useroles/user to portlet takes place.
Is there something similar to the user/role/global
deltas
Hi,
I actually use chaperon with cocoon and it worked with 2.1.1 cocoon version.
I changed to 2.1.3 version and i have some problem, with gram.xlex
file, during the transformation.
It seems the problem occurs on the chaperon sample too, with that version.
Does Someone know if the problem is
Hi,
I've studied the Petstore flowscript sample in coocon 2.1.3.
While inserting new Element in Database whith javascript method, first
we select the max of the id in the table, then we insert a new element
with an id:
new_id=max(id) +1.
It seems a problem can occur because, the two requests
Hi,
Is it a feature that the profilingcachingeventpipeline does not record
profiling information about cached items (2.0.4)? Is there a parameter
to set maybe to enable this?
Thanks
Jorg
-
To unsubscribe, e-mail: [EMAIL
Hi, all!
I repost my mount-question:
I've just installed cocoon 2.1.3 on a debian linux system under tomcat
4.1.27.
My own examples are under /var/www/cocoon/myexamples (the directory name
cocoon has nothing to do with Cocoon's installation directory!!),
whith its own sitemap.xmap.
With
this is my pipeline in cocoon's main sitemap that handle all
/cocoon/domain.gr
map:pipeline
map:match pattern=*.gr/**
map:mount check-reload=yes
src=file://c:/Server/xwww/{1}.gr/conf/sitemap.xmap uri-prefix={1}.gr/
We had a similar problem... We ended up using UTF-8 for everything; it
manifests itself in a couple of places. Here's what we did - your mileage
may vary:
1. In your web.xml for your webapp, you'll want to set these params:
init-param
param-namecontainer-encoding/param-name
I have a data consumer who is pulling XML from our Cocoon webapp. They
couldn't handle UTF-8 on their end, so I gave them the option to pull data
in US-ASCII encoding. However, when I did that, symbol characters such as
Greek and math symbols got sent over even though they aren't in the
I'm building a database request using ESQL. Let's say I have a table with
two columns in the table i'm requesting. This is the xsp snippet I use to
get the results from the request :
esql:results
esql:row-results
first_table_col_1
esql:get-string column=1/
I have been wading through the Cocoon documentation but
have been unable to answer a question:
Can Cocoon (or modules of it) be easily used outside of a
servlet container?
I like the generator, transformer, serializer paradigm, but
from what I can tell, these pipelines are triggered via an
Never mind. I just looked at the output with a different editor; it looks
like the characters are getting put in as entity references. Not sure now
what is going on, I'll have to investigate further. Perhaps my end user
can't handle US-ASCII, either :(
From: Jeffrey Winter [mailto:[EMAIL PROTECTED]
I have been wading through the Cocoon documentation but
have been unable to answer a question:
Can Cocoon (or modules of it) be easily used outside of a
servlet container?
I like the generator, transformer, serializer paradigm, but
try this:
xsp:logic
String s1 = junk;
String s2 = stuff;
/xsp:logic
xsp:element
xsp:param name=namexsp:exprs1/xsp:expr/xsp:param
xsp:attribute
xsp:param name=namexsp:exprs
2/xsp:expr/xsp:param
Reinhard Poetz wrote:
From: Jeffrey Winter [mailto:[EMAIL PROTECTED]
I have been wading through the Cocoon documentation but
have been unable to answer a question:
Can Cocoon (or modules of it) be easily used outside of a
servlet container?
I like the generator, transformer, serializer
It works perfectly as I wanted.
Thanks a lot Christopher!
Julien
- Original Message -
From: Christopher Painter-Wakefield [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 15, 2003 5:01 PM
Subject: Re: ESQL : creating dynamic elements ?
try this:
xsp:logic
Title: cocoon and svg rasteriser
Hi
I am using cocoon 2.0.3. I have a transform to a xml file which contains a xlink to an cocoon pipeline for static images but it does not get rendered into jpeg.
image
xsl:attribute namespace=http://www.w3.org/1999/xlink
Hi all,
Does someone how can I make some action that activates compressing output data using
GZip? Gzip compression is an HTTP 1.1 standard feature.
Ideally it would be great if it could be like an action, so that it's easy to activate
it on or off.
I have tried this code:
import
If you use Apache in front of your servlet container, you could use
mod_deflate, I believe. Really, HTTP compression of pages is not a job
for Cocoon as such, but for the servlet container or front end server.
Upayavira
Carmona Perez, David wrote:
Hi all,
Does someone how can I make some
Apache could do that automatically...
Otherwise, I'd use Tomcat and a filter servlet to do it: you could find some
all ready to be used on the Web...
Le Lundi 15 Décembre 2003 18:46, Carmona Perez, David a écrit :
Hi all,
Does someone how can I make some action that activates compressing
Hi,
Unless I'm missing something, it looks like you've got one too many / in
your cocoon: statement. How's about:
cocoon://svgdiagram/
HTH,
Steve
I am using cocoon 2.0.3. I have a transform to a xml file which contains a
xlink to an cocoon pipeline for static images but it does not get rendered
Title: RE: cocoon and svg rasteriser
yeah I found that extra / but still it doesn't work, thanks.
I just wonder if I can resolve/expand this url:
cocoon://svgdiagram/image.jpg
via java in my xsp to the full one...
http://server:port/cocoon/svgdiagram/image.jpg
using come java call
Hi
Sorry I guess I did misunderstand your request.
A couple ideas:
- recently in the mail lists I seem to recall discussions about using source
resolver to do this. But I'm not an XSP guy so I don't know how you go about
accessing the source resolver w/in xsp...
- another post for this type of
Hi,
And how about obtaining it outside a flow? How to get the instance of
the component selector that I could run something similar to
cocoon.getComponent() from the example below?
Regards,
Marcin Okraszewski
Suggested using flowscript, then try sth like this:
try {
var dbSelector
There are two possibities I know:
1) flowscript
2) Avalon Component.
Please give some context. I guess the flowscript is the easiest
solution, I've adopted it from the code of database action, and it
looks almost the same (but written in javascript instead of java).
Because Cocoon is Avalon based
OK, the answer is yes. We can. :-D
Best Regards,
Antonio Gallardo
Antonio Gallardo dijo:
Hi:
Can we define more attributes for styling the widget in the sample?
Sample:
wt:widget id=pit_prinProd
wi:styling type=textarea/
/wt:widget
We need to define the size of the textarea. Is
28 matches
Mail list logo